Documentation ¶
Overview ¶
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.16.2 DO NOT EDIT.
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.16.2 DO NOT EDIT.
Index ¶
- Constants
- func NewActivateRequest(server string, ref string) (*http.Request, error)
- func NewActivateVanitySubdomainPleaseRequest(server string, ref string, body ActivateVanitySubdomainPleaseJSONRequestBody) (*http.Request, error)
- func NewActivateVanitySubdomainPleaseRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
- func NewApplyNetworkRestrictionsRequest(server string, ref string, body ApplyNetworkRestrictionsJSONRequestBody) (*http.Request, error)
- func NewApplyNetworkRestrictionsRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
- func NewAuthorizeRequest(server string, params *AuthorizeParams) (*http.Request, error)
- func NewCheckServiceHealthRequest(server string, ref string, params *CheckServiceHealthParams) (*http.Request, error)
- func NewCheckVanitySubdomainAvailabilityRequest(server string, ref string, ...) (*http.Request, error)
- func NewCheckVanitySubdomainAvailabilityRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateBranchRequest(server string, ref string, body CreateBranchJSONRequestBody) (*http.Request, error)
- func NewCreateBranchRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateCustomHostnameConfigRequest(server string, ref string, body CreateCustomHostnameConfigJSONRequestBody) (*http.Request, error)
- func NewCreateCustomHostnameConfigRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateFunctionRequest(server string, ref string, params *CreateFunctionParams, ...) (*http.Request, error)
- func NewCreateFunctionRequestWithBody(server string, ref string, params *CreateFunctionParams, contentType string, ...) (*http.Request, error)
- func NewCreateOrganizationRequest(server string, body CreateOrganizationJSONRequestBody) (*http.Request, error)
- func NewCreateOrganizationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateProjectRequest(server string, body CreateProjectJSONRequestBody) (*http.Request, error)
- func NewCreateProjectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateProviderForProjectRequest(server string, ref string, body CreateProviderForProjectJSONRequestBody) (*http.Request, error)
- func NewCreateProviderForProjectRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSecretsRequest(server string, ref string, body CreateSecretsJSONRequestBody) (*http.Request, error)
- func NewCreateSecretsRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteBranchRequest(server string, branchId string) (*http.Request, error)
- func NewDeleteFunctionRequest(server string, ref string, functionSlug string) (*http.Request, error)
- func NewDeleteProjectRequest(server string, ref string) (*http.Request, error)
- func NewDeleteSecretsRequest(server string, ref string, body DeleteSecretsJSONRequestBody) (*http.Request, error)
- func NewDeleteSecretsRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
- func NewDisableBranchRequest(server string, ref string) (*http.Request, error)
- func NewGetBranchDetailsRequest(server string, branchId string) (*http.Request, error)
- func NewGetBranchesRequest(server string, ref string) (*http.Request, error)
- func NewGetConfigRequest(server string, ref string) (*http.Request, error)
- func NewGetCustomHostnameConfigRequest(server string, ref string) (*http.Request, error)
- func NewGetFunctionBodyRequest(server string, ref string, functionSlug string) (*http.Request, error)
- func NewGetFunctionRequest(server string, ref string, functionSlug string) (*http.Request, error)
- func NewGetFunctionsRequest(server string, ref string) (*http.Request, error)
- func NewGetNetworkBansRequest(server string, ref string) (*http.Request, error)
- func NewGetNetworkRestrictionsRequest(server string, ref string) (*http.Request, error)
- func NewGetOrganizationsRequest(server string) (*http.Request, error)
- func NewGetPgsodiumConfigRequest(server string, ref string) (*http.Request, error)
- func NewGetPostgRESTConfigRequest(server string, ref string) (*http.Request, error)
- func NewGetProjectApiKeysRequest(server string, ref string) (*http.Request, error)
- func NewGetProjectsRequest(server string) (*http.Request, error)
- func NewGetProviderByIdRequest(server string, ref string, providerId string) (*http.Request, error)
- func NewGetReadOnlyModeStatusRequest(server string, ref string) (*http.Request, error)
- func NewGetSecretsRequest(server string, ref string) (*http.Request, error)
- func NewGetSnippetRequest(server string, id string) (*http.Request, error)
- func NewGetSslEnforcementConfigRequest(server string, ref string) (*http.Request, error)
- func NewGetTypescriptTypesRequest(server string, ref string, params *GetTypescriptTypesParams) (*http.Request, error)
- func NewGetUpgradeStatusRequest(server string, ref string) (*http.Request, error)
- func NewGetV1AuthConfigRequest(server string, ref string) (*http.Request, error)
- func NewGetVanitySubdomainConfigRequest(server string, ref string) (*http.Request, error)
- func NewListAllProvidersRequest(server string, ref string) (*http.Request, error)
- func NewListSnippetsRequest(server string, params *ListSnippetsParams) (*http.Request, error)
- func NewRemoveCustomHostnameConfigRequest(server string, ref string) (*http.Request, error)
- func NewRemoveNetworkBanRequest(server string, ref string, body RemoveNetworkBanJSONRequestBody) (*http.Request, error)
- func NewRemoveNetworkBanRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
- func NewRemoveProviderByIdRequest(server string, ref string, providerId string) (*http.Request, error)
- func NewRemoveVanitySubdomainConfigRequest(server string, ref string) (*http.Request, error)
- func NewReverifyRequest(server string, ref string) (*http.Request, error)
- func NewTemporarilyDisableReadonlyModeRequest(server string, ref string) (*http.Request, error)
- func NewTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTokenRequestWithFormdataBody(server string, body TokenFormdataRequestBody) (*http.Request, error)
- func NewUpdateBranchRequest(server string, branchId string, body UpdateBranchJSONRequestBody) (*http.Request, error)
- func NewUpdateBranchRequestWithBody(server string, branchId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateConfigRequest(server string, ref string, body UpdateConfigJSONRequestBody) (*http.Request, error)
- func NewUpdateConfigRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateFunctionRequest(server string, ref string, functionSlug string, params *UpdateFunctionParams, ...) (*http.Request, error)
- func NewUpdateFunctionRequestWithBody(server string, ref string, functionSlug string, params *UpdateFunctionParams, ...) (*http.Request, error)
- func NewUpdatePgsodiumConfigRequest(server string, ref string, body UpdatePgsodiumConfigJSONRequestBody) (*http.Request, error)
- func NewUpdatePgsodiumConfigRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdatePostgRESTConfigRequest(server string, ref string, body UpdatePostgRESTConfigJSONRequestBody) (*http.Request, error)
- func NewUpdatePostgRESTConfigRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateProviderByIdRequest(server string, ref string, providerId string, ...) (*http.Request, error)
- func NewUpdateProviderByIdRequestWithBody(server string, ref string, providerId string, contentType string, ...) (*http.Request, error)
- func NewUpdateSslEnforcementConfigRequest(server string, ref string, body UpdateSslEnforcementConfigJSONRequestBody) (*http.Request, error)
- func NewUpdateSslEnforcementConfigRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateV1AuthConfigRequest(server string, ref string, body UpdateV1AuthConfigJSONRequestBody) (*http.Request, error)
- func NewUpdateV1AuthConfigRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpgradeEligibilityInformationRequest(server string, ref string) (*http.Request, error)
- func NewUpgradeProjectRequest(server string, ref string, body UpgradeProjectJSONRequestBody) (*http.Request, error)
- func NewUpgradeProjectRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
- func NewV1EnableDatabaseWebhooksRequest(server string, ref string) (*http.Request, error)
- func NewV1GetPgbouncerConfigRequest(server string, ref string) (*http.Request, error)
- func NewV1ListOrganizationMembersRequest(server string, slug string) (*http.Request, error)
- func NewV1RestorePitrRequest(server string, ref string, body V1RestorePitrJSONRequestBody) (*http.Request, error)
- func NewV1RestorePitrRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
- func NewV1RunQueryRequest(server string, ref string, body V1RunQueryJSONRequestBody) (*http.Request, error)
- func NewV1RunQueryRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
- type ActivateResponse
- type ActivateVanitySubdomainPleaseJSONRequestBody
- type ActivateVanitySubdomainPleaseResponse
- type ActivateVanitySubdomainResponse
- type ApiKeyResponse
- type ApplyNetworkRestrictionsJSONRequestBody
- type ApplyNetworkRestrictionsResponse
- type AttributeMapping
- type AttributeValue
- type AttributeValueDefault0
- type AttributeValueDefault1
- type AttributeValueDefault2
- type AttributeValueDefault3
- type AttributeValue_Default
- func (t AttributeValue_Default) AsAttributeValueDefault0() (AttributeValueDefault0, error)
- func (t AttributeValue_Default) AsAttributeValueDefault1() (AttributeValueDefault1, error)
- func (t AttributeValue_Default) AsAttributeValueDefault2() (AttributeValueDefault2, error)
- func (t AttributeValue_Default) AsAttributeValueDefault3() (AttributeValueDefault3, error)
- func (t *AttributeValue_Default) FromAttributeValueDefault0(v AttributeValueDefault0) error
- func (t *AttributeValue_Default) FromAttributeValueDefault1(v AttributeValueDefault1) error
- func (t *AttributeValue_Default) FromAttributeValueDefault2(v AttributeValueDefault2) error
- func (t *AttributeValue_Default) FromAttributeValueDefault3(v AttributeValueDefault3) error
- func (t AttributeValue_Default) MarshalJSON() ([]byte, error)
- func (t *AttributeValue_Default) MergeAttributeValueDefault0(v AttributeValueDefault0) error
- func (t *AttributeValue_Default) MergeAttributeValueDefault1(v AttributeValueDefault1) error
- func (t *AttributeValue_Default) MergeAttributeValueDefault2(v AttributeValueDefault2) error
- func (t *AttributeValue_Default) MergeAttributeValueDefault3(v AttributeValueDefault3) error
- func (t *AttributeValue_Default) UnmarshalJSON(b []byte) error
- type AuthConfigResponse
- type AuthHealthResponse
- type AuthorizeParams
- type AuthorizeParamsCodeChallengeMethod
- type AuthorizeParamsResponseType
- type AuthorizeResponse
- type BranchDetailResponse
- type BranchDetailResponseStatus
- type BranchResponse
- type CheckServiceHealthParams
- type CheckServiceHealthParamsServices
- type CheckServiceHealthResponse
- type CheckVanitySubdomainAvailabilityJSONRequestBody
- type CheckVanitySubdomainAvailabilityResponse
- type Client
- func (c *Client) Activate(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ActivateVanitySubdomainPlease(ctx context.Context, ref string, ...) (*http.Response, error)
- func (c *Client) ActivateVanitySubdomainPleaseWithBody(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ApplyNetworkRestrictions(ctx context.Context, ref string, body ApplyNetworkRestrictionsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ApplyNetworkRestrictionsWithBody(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) Authorize(ctx context.Context, params *AuthorizeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CheckServiceHealth(ctx context.Context, ref string, params *CheckServiceHealthParams, ...) (*http.Response, error)
- func (c *Client) CheckVanitySubdomainAvailability(ctx context.Context, ref string, ...) (*http.Response, error)
- func (c *Client) CheckVanitySubdomainAvailabilityWithBody(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateBranch(ctx context.Context, ref string, body CreateBranchJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateBranchWithBody(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateCustomHostnameConfig(ctx context.Context, ref string, ...) (*http.Response, error)
- func (c *Client) CreateCustomHostnameConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateFunction(ctx context.Context, ref string, params *CreateFunctionParams, ...) (*http.Response, error)
- func (c *Client) CreateFunctionWithBody(ctx context.Context, ref string, params *CreateFunctionParams, ...) (*http.Response, error)
- func (c *Client) CreateOrganization(ctx context.Context, body CreateOrganizationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateOrganizationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateProject(ctx context.Context, body CreateProjectJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateProjectWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateProviderForProject(ctx context.Context, ref string, body CreateProviderForProjectJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateProviderForProjectWithBody(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateSecrets(ctx context.Context, ref string, body CreateSecretsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateSecretsWithBody(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteBranch(ctx context.Context, branchId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteFunction(ctx context.Context, ref string, functionSlug string, ...) (*http.Response, error)
- func (c *Client) DeleteProject(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteSecrets(ctx context.Context, ref string, body DeleteSecretsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DeleteSecretsWithBody(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DisableBranch(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetBranchDetails(ctx context.Context, branchId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetBranches(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCustomHostnameConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFunction(ctx context.Context, ref string, functionSlug string, ...) (*http.Response, error)
- func (c *Client) GetFunctionBody(ctx context.Context, ref string, functionSlug string, ...) (*http.Response, error)
- func (c *Client) GetFunctions(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNetworkBans(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNetworkRestrictions(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOrganizations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPgsodiumConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPostgRESTConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetProjectApiKeys(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetProjects(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetProviderById(ctx context.Context, ref string, providerId string, ...) (*http.Response, error)
- func (c *Client) GetReadOnlyModeStatus(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSecrets(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSnippet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSslEnforcementConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTypescriptTypes(ctx context.Context, ref string, params *GetTypescriptTypesParams, ...) (*http.Response, error)
- func (c *Client) GetUpgradeStatus(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1AuthConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetVanitySubdomainConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListAllProviders(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListSnippets(ctx context.Context, params *ListSnippetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RemoveCustomHostnameConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RemoveNetworkBan(ctx context.Context, ref string, body RemoveNetworkBanJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) RemoveNetworkBanWithBody(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RemoveProviderById(ctx context.Context, ref string, providerId string, ...) (*http.Response, error)
- func (c *Client) RemoveVanitySubdomainConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) Reverify(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TemporarilyDisableReadonlyMode(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TokenWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TokenWithFormdataBody(ctx context.Context, body TokenFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateBranch(ctx context.Context, branchId string, body UpdateBranchJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateBranchWithBody(ctx context.Context, branchId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateConfig(ctx context.Context, ref string, body UpdateConfigJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateFunction(ctx context.Context, ref string, functionSlug string, ...) (*http.Response, error)
- func (c *Client) UpdateFunctionWithBody(ctx context.Context, ref string, functionSlug string, ...) (*http.Response, error)
- func (c *Client) UpdatePgsodiumConfig(ctx context.Context, ref string, body UpdatePgsodiumConfigJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdatePgsodiumConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdatePostgRESTConfig(ctx context.Context, ref string, body UpdatePostgRESTConfigJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdatePostgRESTConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateProviderById(ctx context.Context, ref string, providerId string, ...) (*http.Response, error)
- func (c *Client) UpdateProviderByIdWithBody(ctx context.Context, ref string, providerId string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateSslEnforcementConfig(ctx context.Context, ref string, ...) (*http.Response, error)
- func (c *Client) UpdateSslEnforcementConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateV1AuthConfig(ctx context.Context, ref string, body UpdateV1AuthConfigJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateV1AuthConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpgradeEligibilityInformation(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UpgradeProject(ctx context.Context, ref string, body UpgradeProjectJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpgradeProjectWithBody(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) V1EnableDatabaseWebhooks(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) V1GetPgbouncerConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) V1ListOrganizationMembers(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) V1RestorePitr(ctx context.Context, ref string, body V1RestorePitrJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) V1RestorePitrWithBody(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) V1RunQuery(ctx context.Context, ref string, body V1RunQueryJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) V1RunQueryWithBody(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) ActivateVanitySubdomainPleaseWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*ActivateVanitySubdomainPleaseResponse, error)
- func (c *ClientWithResponses) ActivateVanitySubdomainPleaseWithResponse(ctx context.Context, ref string, ...) (*ActivateVanitySubdomainPleaseResponse, error)
- func (c *ClientWithResponses) ActivateWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*ActivateResponse, error)
- func (c *ClientWithResponses) ApplyNetworkRestrictionsWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*ApplyNetworkRestrictionsResponse, error)
- func (c *ClientWithResponses) ApplyNetworkRestrictionsWithResponse(ctx context.Context, ref string, body ApplyNetworkRestrictionsJSONRequestBody, ...) (*ApplyNetworkRestrictionsResponse, error)
- func (c *ClientWithResponses) AuthorizeWithResponse(ctx context.Context, params *AuthorizeParams, reqEditors ...RequestEditorFn) (*AuthorizeResponse, error)
- func (c *ClientWithResponses) CheckServiceHealthWithResponse(ctx context.Context, ref string, params *CheckServiceHealthParams, ...) (*CheckServiceHealthResponse, error)
- func (c *ClientWithResponses) CheckVanitySubdomainAvailabilityWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*CheckVanitySubdomainAvailabilityResponse, error)
- func (c *ClientWithResponses) CheckVanitySubdomainAvailabilityWithResponse(ctx context.Context, ref string, ...) (*CheckVanitySubdomainAvailabilityResponse, error)
- func (c *ClientWithResponses) CreateBranchWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*CreateBranchResponse, error)
- func (c *ClientWithResponses) CreateBranchWithResponse(ctx context.Context, ref string, body CreateBranchJSONRequestBody, ...) (*CreateBranchResponse, error)
- func (c *ClientWithResponses) CreateCustomHostnameConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*CreateCustomHostnameConfigResponse, error)
- func (c *ClientWithResponses) CreateCustomHostnameConfigWithResponse(ctx context.Context, ref string, ...) (*CreateCustomHostnameConfigResponse, error)
- func (c *ClientWithResponses) CreateFunctionWithBodyWithResponse(ctx context.Context, ref string, params *CreateFunctionParams, ...) (*CreateFunctionResponse, error)
- func (c *ClientWithResponses) CreateFunctionWithResponse(ctx context.Context, ref string, params *CreateFunctionParams, ...) (*CreateFunctionResponse, error)
- func (c *ClientWithResponses) CreateOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateOrganizationResponse, error)
- func (c *ClientWithResponses) CreateOrganizationWithResponse(ctx context.Context, body CreateOrganizationJSONRequestBody, ...) (*CreateOrganizationResponse, error)
- func (c *ClientWithResponses) CreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateProjectResponse, error)
- func (c *ClientWithResponses) CreateProjectWithResponse(ctx context.Context, body CreateProjectJSONRequestBody, ...) (*CreateProjectResponse, error)
- func (c *ClientWithResponses) CreateProviderForProjectWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*CreateProviderForProjectResponse, error)
- func (c *ClientWithResponses) CreateProviderForProjectWithResponse(ctx context.Context, ref string, body CreateProviderForProjectJSONRequestBody, ...) (*CreateProviderForProjectResponse, error)
- func (c *ClientWithResponses) CreateSecretsWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*CreateSecretsResponse, error)
- func (c *ClientWithResponses) CreateSecretsWithResponse(ctx context.Context, ref string, body CreateSecretsJSONRequestBody, ...) (*CreateSecretsResponse, error)
- func (c *ClientWithResponses) DeleteBranchWithResponse(ctx context.Context, branchId string, reqEditors ...RequestEditorFn) (*DeleteBranchResponse, error)
- func (c *ClientWithResponses) DeleteFunctionWithResponse(ctx context.Context, ref string, functionSlug string, ...) (*DeleteFunctionResponse, error)
- func (c *ClientWithResponses) DeleteProjectWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*DeleteProjectResponse, error)
- func (c *ClientWithResponses) DeleteSecretsWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*DeleteSecretsResponse, error)
- func (c *ClientWithResponses) DeleteSecretsWithResponse(ctx context.Context, ref string, body DeleteSecretsJSONRequestBody, ...) (*DeleteSecretsResponse, error)
- func (c *ClientWithResponses) DisableBranchWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*DisableBranchResponse, error)
- func (c *ClientWithResponses) GetBranchDetailsWithResponse(ctx context.Context, branchId string, reqEditors ...RequestEditorFn) (*GetBranchDetailsResponse, error)
- func (c *ClientWithResponses) GetBranchesWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetBranchesResponse, error)
- func (c *ClientWithResponses) GetConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetConfigResponse, error)
- func (c *ClientWithResponses) GetCustomHostnameConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetCustomHostnameConfigResponse, error)
- func (c *ClientWithResponses) GetFunctionBodyWithResponse(ctx context.Context, ref string, functionSlug string, ...) (*GetFunctionBodyResponse, error)
- func (c *ClientWithResponses) GetFunctionWithResponse(ctx context.Context, ref string, functionSlug string, ...) (*GetFunctionResponse, error)
- func (c *ClientWithResponses) GetFunctionsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetFunctionsResponse, error)
- func (c *ClientWithResponses) GetNetworkBansWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetNetworkBansResponse, error)
- func (c *ClientWithResponses) GetNetworkRestrictionsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetNetworkRestrictionsResponse, error)
- func (c *ClientWithResponses) GetOrganizationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOrganizationsResponse, error)
- func (c *ClientWithResponses) GetPgsodiumConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetPgsodiumConfigResponse, error)
- func (c *ClientWithResponses) GetPostgRESTConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetPostgRESTConfigResponse, error)
- func (c *ClientWithResponses) GetProjectApiKeysWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetProjectApiKeysResponse, error)
- func (c *ClientWithResponses) GetProjectsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetProjectsResponse, error)
- func (c *ClientWithResponses) GetProviderByIdWithResponse(ctx context.Context, ref string, providerId string, ...) (*GetProviderByIdResponse, error)
- func (c *ClientWithResponses) GetReadOnlyModeStatusWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetReadOnlyModeStatusResponse, error)
- func (c *ClientWithResponses) GetSecretsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetSecretsResponse, error)
- func (c *ClientWithResponses) GetSnippetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSnippetResponse, error)
- func (c *ClientWithResponses) GetSslEnforcementConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetSslEnforcementConfigResponse, error)
- func (c *ClientWithResponses) GetTypescriptTypesWithResponse(ctx context.Context, ref string, params *GetTypescriptTypesParams, ...) (*GetTypescriptTypesResponse, error)
- func (c *ClientWithResponses) GetUpgradeStatusWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetUpgradeStatusResponse, error)
- func (c *ClientWithResponses) GetV1AuthConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetV1AuthConfigResponse, error)
- func (c *ClientWithResponses) GetVanitySubdomainConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetVanitySubdomainConfigResponse, error)
- func (c *ClientWithResponses) ListAllProvidersWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*ListAllProvidersResponse, error)
- func (c *ClientWithResponses) ListSnippetsWithResponse(ctx context.Context, params *ListSnippetsParams, reqEditors ...RequestEditorFn) (*ListSnippetsResponse, error)
- func (c *ClientWithResponses) RemoveCustomHostnameConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*RemoveCustomHostnameConfigResponse, error)
- func (c *ClientWithResponses) RemoveNetworkBanWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*RemoveNetworkBanResponse, error)
- func (c *ClientWithResponses) RemoveNetworkBanWithResponse(ctx context.Context, ref string, body RemoveNetworkBanJSONRequestBody, ...) (*RemoveNetworkBanResponse, error)
- func (c *ClientWithResponses) RemoveProviderByIdWithResponse(ctx context.Context, ref string, providerId string, ...) (*RemoveProviderByIdResponse, error)
- func (c *ClientWithResponses) RemoveVanitySubdomainConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*RemoveVanitySubdomainConfigResponse, error)
- func (c *ClientWithResponses) ReverifyWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*ReverifyResponse, error)
- func (c *ClientWithResponses) TemporarilyDisableReadonlyModeWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*TemporarilyDisableReadonlyModeResponse, error)
- func (c *ClientWithResponses) TokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TokenResponse, error)
- func (c *ClientWithResponses) TokenWithFormdataBodyWithResponse(ctx context.Context, body TokenFormdataRequestBody, ...) (*TokenResponse, error)
- func (c *ClientWithResponses) UpdateBranchWithBodyWithResponse(ctx context.Context, branchId string, contentType string, body io.Reader, ...) (*UpdateBranchResponse, error)
- func (c *ClientWithResponses) UpdateBranchWithResponse(ctx context.Context, branchId string, body UpdateBranchJSONRequestBody, ...) (*UpdateBranchResponse, error)
- func (c *ClientWithResponses) UpdateConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*UpdateConfigResponse, error)
- func (c *ClientWithResponses) UpdateConfigWithResponse(ctx context.Context, ref string, body UpdateConfigJSONRequestBody, ...) (*UpdateConfigResponse, error)
- func (c *ClientWithResponses) UpdateFunctionWithBodyWithResponse(ctx context.Context, ref string, functionSlug string, ...) (*UpdateFunctionResponse, error)
- func (c *ClientWithResponses) UpdateFunctionWithResponse(ctx context.Context, ref string, functionSlug string, ...) (*UpdateFunctionResponse, error)
- func (c *ClientWithResponses) UpdatePgsodiumConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*UpdatePgsodiumConfigResponse, error)
- func (c *ClientWithResponses) UpdatePgsodiumConfigWithResponse(ctx context.Context, ref string, body UpdatePgsodiumConfigJSONRequestBody, ...) (*UpdatePgsodiumConfigResponse, error)
- func (c *ClientWithResponses) UpdatePostgRESTConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*UpdatePostgRESTConfigResponse, error)
- func (c *ClientWithResponses) UpdatePostgRESTConfigWithResponse(ctx context.Context, ref string, body UpdatePostgRESTConfigJSONRequestBody, ...) (*UpdatePostgRESTConfigResponse, error)
- func (c *ClientWithResponses) UpdateProviderByIdWithBodyWithResponse(ctx context.Context, ref string, providerId string, contentType string, ...) (*UpdateProviderByIdResponse, error)
- func (c *ClientWithResponses) UpdateProviderByIdWithResponse(ctx context.Context, ref string, providerId string, ...) (*UpdateProviderByIdResponse, error)
- func (c *ClientWithResponses) UpdateSslEnforcementConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*UpdateSslEnforcementConfigResponse, error)
- func (c *ClientWithResponses) UpdateSslEnforcementConfigWithResponse(ctx context.Context, ref string, ...) (*UpdateSslEnforcementConfigResponse, error)
- func (c *ClientWithResponses) UpdateV1AuthConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*UpdateV1AuthConfigResponse, error)
- func (c *ClientWithResponses) UpdateV1AuthConfigWithResponse(ctx context.Context, ref string, body UpdateV1AuthConfigJSONRequestBody, ...) (*UpdateV1AuthConfigResponse, error)
- func (c *ClientWithResponses) UpgradeEligibilityInformationWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*UpgradeEligibilityInformationResponse, error)
- func (c *ClientWithResponses) UpgradeProjectWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*UpgradeProjectResponse, error)
- func (c *ClientWithResponses) UpgradeProjectWithResponse(ctx context.Context, ref string, body UpgradeProjectJSONRequestBody, ...) (*UpgradeProjectResponse, error)
- func (c *ClientWithResponses) V1EnableDatabaseWebhooksWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1EnableDatabaseWebhooksResponse, error)
- func (c *ClientWithResponses) V1GetPgbouncerConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetPgbouncerConfigResponse, error)
- func (c *ClientWithResponses) V1ListOrganizationMembersWithResponse(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*V1ListOrganizationMembersResponse, error)
- func (c *ClientWithResponses) V1RestorePitrWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*V1RestorePitrResponse, error)
- func (c *ClientWithResponses) V1RestorePitrWithResponse(ctx context.Context, ref string, body V1RestorePitrJSONRequestBody, ...) (*V1RestorePitrResponse, error)
- func (c *ClientWithResponses) V1RunQueryWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*V1RunQueryResponse, error)
- func (c *ClientWithResponses) V1RunQueryWithResponse(ctx context.Context, ref string, body V1RunQueryJSONRequestBody, ...) (*V1RunQueryResponse, error)
- type ClientWithResponsesInterface
- type CreateBranchBody
- type CreateBranchJSONRequestBody
- type CreateBranchResponse
- type CreateCustomHostnameConfigJSONRequestBody
- type CreateCustomHostnameConfigResponse
- type CreateFunctionBody
- type CreateFunctionJSONRequestBody
- type CreateFunctionParams
- type CreateFunctionResponse
- type CreateOrganizationBodyV1
- type CreateOrganizationJSONRequestBody
- type CreateOrganizationResponse
- type CreateProjectBody
- type CreateProjectBodyPlan
- type CreateProjectBodyRegion
- type CreateProjectJSONRequestBody
- type CreateProjectResponse
- type CreateProviderBody
- type CreateProviderBodyType
- type CreateProviderForProjectJSONRequestBody
- type CreateProviderForProjectResponse
- type CreateProviderResponse
- type CreateSecretBody
- type CreateSecretsJSONBody
- type CreateSecretsJSONRequestBody
- type CreateSecretsResponse
- type DatabaseResponse
- type DatabaseUpgradeStatus
- type DatabaseUpgradeStatusError
- type DatabaseUpgradeStatusProgress
- type DatabaseUpgradeStatusResponse
- type DatabaseUpgradeStatusStatus
- type DeleteBranchResponse
- type DeleteFunctionResponse
- type DeleteProjectResponse
- type DeleteProviderResponse
- type DeleteSecretsJSONBody
- type DeleteSecretsJSONRequestBody
- type DeleteSecretsResponse
- type DisableBranchResponse
- type Domain
- type FunctionResponse
- type FunctionResponseStatus
- type FunctionSlugResponse
- type FunctionSlugResponseStatus
- type GetBranchDetailsResponse
- type GetBranchesResponse
- type GetConfigResponse
- type GetCustomHostnameConfigResponse
- type GetFunctionBodyResponse
- type GetFunctionResponse
- type GetFunctionsResponse
- type GetNetworkBansResponse
- type GetNetworkRestrictionsResponse
- type GetOrganizationsResponse
- type GetPgsodiumConfigResponse
- type GetPostgRESTConfigResponse
- type GetProjectApiKeysResponse
- type GetProjectsResponse
- type GetProviderByIdResponse
- type GetProviderResponse
- type GetReadOnlyModeStatusResponse
- type GetSecretsResponse
- type GetSnippetResponse
- type GetSslEnforcementConfigResponse
- type GetTypescriptTypesParams
- type GetTypescriptTypesResponse
- type GetUpgradeStatusResponse
- type GetV1AuthConfigResponse
- type GetVanitySubdomainConfigResponse
- type HttpRequestDoer
- type ListAllProvidersResponse
- type ListProvidersResponse
- type ListSnippetsParams
- type ListSnippetsResponse
- type NetworkBanResponse
- type NetworkRestrictionsRequest
- type NetworkRestrictionsResponse
- type NetworkRestrictionsResponseEntitlement
- type NetworkRestrictionsResponseStatus
- type OAuthTokenBody
- type OAuthTokenBodyGrantType
- type OAuthTokenResponse
- type OAuthTokenResponseTokenType
- type OrganizationResponseV1
- type PgsodiumConfigResponse
- type PostgresConfigResponse
- type PostgresConfigResponseSessionReplicationRole
- type PostgrestConfigResponse
- type PostgrestConfigWithJWTSecretResponse
- type ProjectRefResponse
- type ProjectResponse
- type ProjectUpgradeEligibilityResponse
- type ProjectUpgradeInitiateResponse
- type ProjectVersion
- type Provider
- type ReadOnlyStatusResponse
- type RealtimeHealthResponse
- type RemoveCustomHostnameConfigResponse
- type RemoveNetworkBanJSONRequestBody
- type RemoveNetworkBanRequest
- type RemoveNetworkBanResponse
- type RemoveProviderByIdResponse
- type RemoveVanitySubdomainConfigResponse
- type RequestEditorFn
- type ReverifyResponse
- type RunQueryBody
- type SamlDescriptor
- type SecretResponse
- type ServiceHealthResponse
- type ServiceHealthResponseName
- type ServiceHealthResponse_Info
- func (t ServiceHealthResponse_Info) AsAuthHealthResponse() (AuthHealthResponse, error)
- func (t ServiceHealthResponse_Info) AsRealtimeHealthResponse() (RealtimeHealthResponse, error)
- func (t *ServiceHealthResponse_Info) FromAuthHealthResponse(v AuthHealthResponse) error
- func (t *ServiceHealthResponse_Info) FromRealtimeHealthResponse(v RealtimeHealthResponse) error
- func (t ServiceHealthResponse_Info) MarshalJSON() ([]byte, error)
- func (t *ServiceHealthResponse_Info) MergeAuthHealthResponse(v AuthHealthResponse) error
- func (t *ServiceHealthResponse_Info) MergeRealtimeHealthResponse(v RealtimeHealthResponse) error
- func (t *ServiceHealthResponse_Info) UnmarshalJSON(b []byte) error
- type SnippetContent
- type SnippetList
- type SnippetMeta
- type SnippetMetaType
- type SnippetMetaVisibility
- type SnippetProject
- type SnippetResponse
- type SnippetResponseType
- type SnippetResponseVisibility
- type SnippetUser
- type SslEnforcementRequest
- type SslEnforcementResponse
- type SslEnforcements
- type SubdomainAvailabilityResponse
- type TemporarilyDisableReadonlyModeResponse
- type TokenFormdataRequestBody
- type TokenResponse
- type TypescriptResponse
- type UpdateAuthConfigBody
- type UpdateBranchBody
- type UpdateBranchJSONRequestBody
- type UpdateBranchResponse
- type UpdateConfigJSONRequestBody
- type UpdateConfigResponse
- type UpdateCustomHostnameBody
- type UpdateCustomHostnameResponse
- type UpdateCustomHostnameResponseStatus
- type UpdateFunctionBody
- type UpdateFunctionJSONRequestBody
- type UpdateFunctionParams
- type UpdateFunctionResponse
- type UpdatePgsodiumConfigBody
- type UpdatePgsodiumConfigJSONRequestBody
- type UpdatePgsodiumConfigResponse
- type UpdatePostgRESTConfigJSONRequestBody
- type UpdatePostgRESTConfigResponse
- type UpdatePostgresConfigBody
- type UpdatePostgresConfigBodySessionReplicationRole
- type UpdatePostgrestConfigBody
- type UpdateProviderBody
- type UpdateProviderByIdJSONRequestBody
- type UpdateProviderByIdResponse
- type UpdateProviderResponse
- type UpdateSslEnforcementConfigJSONRequestBody
- type UpdateSslEnforcementConfigResponse
- type UpdateV1AuthConfigJSONRequestBody
- type UpdateV1AuthConfigResponse
- type UpgradeDatabaseBody
- type UpgradeEligibilityInformationResponse
- type UpgradeProjectJSONRequestBody
- type UpgradeProjectResponse
- type V1EnableDatabaseWebhooksResponse
- type V1GetPgbouncerConfigResponse
- type V1ListOrganizationMembersResponse
- type V1OrganizationMemberResponse
- type V1PgbouncerConfigResponse
- type V1PgbouncerConfigResponsePoolMode
- type V1RestorePitrBody
- type V1RestorePitrJSONRequestBody
- type V1RestorePitrResponse
- type V1RunQueryJSONRequestBody
- type V1RunQueryResponse
- type VanitySubdomainBody
- type VanitySubdomainConfigResponse
- type VanitySubdomainConfigResponseStatus
Constants ¶
const (
BearerScopes = "bearer.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func NewActivateRequest ¶ added in v1.10.0
NewActivateRequest generates requests for Activate
func NewActivateVanitySubdomainPleaseRequest ¶ added in v1.22.0
func NewActivateVanitySubdomainPleaseRequest(server string, ref string, body ActivateVanitySubdomainPleaseJSONRequestBody) (*http.Request, error)
NewActivateVanitySubdomainPleaseRequest calls the generic ActivateVanitySubdomainPlease builder with application/json body
func NewActivateVanitySubdomainPleaseRequestWithBody ¶ added in v1.22.0
func NewActivateVanitySubdomainPleaseRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
NewActivateVanitySubdomainPleaseRequestWithBody generates requests for ActivateVanitySubdomainPlease with any type of body
func NewApplyNetworkRestrictionsRequest ¶ added in v1.20.0
func NewApplyNetworkRestrictionsRequest(server string, ref string, body ApplyNetworkRestrictionsJSONRequestBody) (*http.Request, error)
NewApplyNetworkRestrictionsRequest calls the generic ApplyNetworkRestrictions builder with application/json body
func NewApplyNetworkRestrictionsRequestWithBody ¶ added in v1.20.0
func NewApplyNetworkRestrictionsRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
NewApplyNetworkRestrictionsRequestWithBody generates requests for ApplyNetworkRestrictions with any type of body
func NewAuthorizeRequest ¶ added in v1.57.5
func NewAuthorizeRequest(server string, params *AuthorizeParams) (*http.Request, error)
NewAuthorizeRequest generates requests for Authorize
func NewCheckServiceHealthRequest ¶ added in v1.106.0
func NewCheckServiceHealthRequest(server string, ref string, params *CheckServiceHealthParams) (*http.Request, error)
NewCheckServiceHealthRequest generates requests for CheckServiceHealth
func NewCheckVanitySubdomainAvailabilityRequest ¶ added in v1.22.0
func NewCheckVanitySubdomainAvailabilityRequest(server string, ref string, body CheckVanitySubdomainAvailabilityJSONRequestBody) (*http.Request, error)
NewCheckVanitySubdomainAvailabilityRequest calls the generic CheckVanitySubdomainAvailability builder with application/json body
func NewCheckVanitySubdomainAvailabilityRequestWithBody ¶ added in v1.22.0
func NewCheckVanitySubdomainAvailabilityRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
NewCheckVanitySubdomainAvailabilityRequestWithBody generates requests for CheckVanitySubdomainAvailability with any type of body
func NewCreateBranchRequest ¶ added in v1.79.0
func NewCreateBranchRequest(server string, ref string, body CreateBranchJSONRequestBody) (*http.Request, error)
NewCreateBranchRequest calls the generic CreateBranch builder with application/json body
func NewCreateBranchRequestWithBody ¶ added in v1.79.0
func NewCreateBranchRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
NewCreateBranchRequestWithBody generates requests for CreateBranch with any type of body
func NewCreateCustomHostnameConfigRequest ¶ added in v1.10.0
func NewCreateCustomHostnameConfigRequest(server string, ref string, body CreateCustomHostnameConfigJSONRequestBody) (*http.Request, error)
NewCreateCustomHostnameConfigRequest calls the generic CreateCustomHostnameConfig builder with application/json body
func NewCreateCustomHostnameConfigRequestWithBody ¶ added in v1.10.0
func NewCreateCustomHostnameConfigRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
NewCreateCustomHostnameConfigRequestWithBody generates requests for CreateCustomHostnameConfig with any type of body
func NewCreateFunctionRequest ¶
func NewCreateFunctionRequest(server string, ref string, params *CreateFunctionParams, body CreateFunctionJSONRequestBody) (*http.Request, error)
NewCreateFunctionRequest calls the generic CreateFunction builder with application/json body
func NewCreateFunctionRequestWithBody ¶
func NewCreateFunctionRequestWithBody(server string, ref string, params *CreateFunctionParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateFunctionRequestWithBody generates requests for CreateFunction with any type of body
func NewCreateOrganizationRequest ¶
func NewCreateOrganizationRequest(server string, body CreateOrganizationJSONRequestBody) (*http.Request, error)
NewCreateOrganizationRequest calls the generic CreateOrganization builder with application/json body
func NewCreateOrganizationRequestWithBody ¶
func NewCreateOrganizationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateOrganizationRequestWithBody generates requests for CreateOrganization with any type of body
func NewCreateProjectRequest ¶
func NewCreateProjectRequest(server string, body CreateProjectJSONRequestBody) (*http.Request, error)
NewCreateProjectRequest calls the generic CreateProject builder with application/json body
func NewCreateProjectRequestWithBody ¶
func NewCreateProjectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateProjectRequestWithBody generates requests for CreateProject with any type of body
func NewCreateProviderForProjectRequest ¶ added in v1.45.3
func NewCreateProviderForProjectRequest(server string, ref string, body CreateProviderForProjectJSONRequestBody) (*http.Request, error)
NewCreateProviderForProjectRequest calls the generic CreateProviderForProject builder with application/json body
func NewCreateProviderForProjectRequestWithBody ¶ added in v1.45.3
func NewCreateProviderForProjectRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
NewCreateProviderForProjectRequestWithBody generates requests for CreateProviderForProject with any type of body
func NewCreateSecretsRequest ¶
func NewCreateSecretsRequest(server string, ref string, body CreateSecretsJSONRequestBody) (*http.Request, error)
NewCreateSecretsRequest calls the generic CreateSecrets builder with application/json body
func NewCreateSecretsRequestWithBody ¶
func NewCreateSecretsRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSecretsRequestWithBody generates requests for CreateSecrets with any type of body
func NewDeleteBranchRequest ¶ added in v1.79.0
NewDeleteBranchRequest generates requests for DeleteBranch
func NewDeleteFunctionRequest ¶
func NewDeleteFunctionRequest(server string, ref string, functionSlug string) (*http.Request, error)
NewDeleteFunctionRequest generates requests for DeleteFunction
func NewDeleteProjectRequest ¶ added in v1.106.0
NewDeleteProjectRequest generates requests for DeleteProject
func NewDeleteSecretsRequest ¶
func NewDeleteSecretsRequest(server string, ref string, body DeleteSecretsJSONRequestBody) (*http.Request, error)
NewDeleteSecretsRequest calls the generic DeleteSecrets builder with application/json body
func NewDeleteSecretsRequestWithBody ¶
func NewDeleteSecretsRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteSecretsRequestWithBody generates requests for DeleteSecrets with any type of body
func NewDisableBranchRequest ¶ added in v1.79.0
NewDisableBranchRequest generates requests for DisableBranch
func NewGetBranchDetailsRequest ¶ added in v1.79.0
NewGetBranchDetailsRequest generates requests for GetBranchDetails
func NewGetBranchesRequest ¶ added in v1.79.0
NewGetBranchesRequest generates requests for GetBranches
func NewGetConfigRequest ¶ added in v1.8.0
NewGetConfigRequest generates requests for GetConfig
func NewGetCustomHostnameConfigRequest ¶ added in v1.10.0
NewGetCustomHostnameConfigRequest generates requests for GetCustomHostnameConfig
func NewGetFunctionBodyRequest ¶ added in v1.17.2
func NewGetFunctionBodyRequest(server string, ref string, functionSlug string) (*http.Request, error)
NewGetFunctionBodyRequest generates requests for GetFunctionBody
func NewGetFunctionRequest ¶
NewGetFunctionRequest generates requests for GetFunction
func NewGetFunctionsRequest ¶
NewGetFunctionsRequest generates requests for GetFunctions
func NewGetNetworkBansRequest ¶ added in v1.12.3
NewGetNetworkBansRequest generates requests for GetNetworkBans
func NewGetNetworkRestrictionsRequest ¶ added in v1.20.0
NewGetNetworkRestrictionsRequest generates requests for GetNetworkRestrictions
func NewGetOrganizationsRequest ¶
NewGetOrganizationsRequest generates requests for GetOrganizations
func NewGetPgsodiumConfigRequest ¶ added in v1.57.5
NewGetPgsodiumConfigRequest generates requests for GetPgsodiumConfig
func NewGetPostgRESTConfigRequest ¶ added in v1.22.2
NewGetPostgRESTConfigRequest generates requests for GetPostgRESTConfig
func NewGetProjectApiKeysRequest ¶ added in v1.57.5
NewGetProjectApiKeysRequest generates requests for GetProjectApiKeys
func NewGetProjectsRequest ¶
NewGetProjectsRequest generates requests for GetProjects
func NewGetProviderByIdRequest ¶ added in v1.45.3
NewGetProviderByIdRequest generates requests for GetProviderById
func NewGetReadOnlyModeStatusRequest ¶ added in v1.45.3
NewGetReadOnlyModeStatusRequest generates requests for GetReadOnlyModeStatus
func NewGetSecretsRequest ¶
NewGetSecretsRequest generates requests for GetSecrets
func NewGetSnippetRequest ¶ added in v1.96.0
NewGetSnippetRequest generates requests for GetSnippet
func NewGetSslEnforcementConfigRequest ¶ added in v1.25.0
NewGetSslEnforcementConfigRequest generates requests for GetSslEnforcementConfig
func NewGetTypescriptTypesRequest ¶ added in v1.8.0
func NewGetTypescriptTypesRequest(server string, ref string, params *GetTypescriptTypesParams) (*http.Request, error)
NewGetTypescriptTypesRequest generates requests for GetTypescriptTypes
func NewGetUpgradeStatusRequest ¶ added in v1.45.3
NewGetUpgradeStatusRequest generates requests for GetUpgradeStatus
func NewGetV1AuthConfigRequest ¶ added in v1.93.0
NewGetV1AuthConfigRequest generates requests for GetV1AuthConfig
func NewGetVanitySubdomainConfigRequest ¶ added in v1.22.0
NewGetVanitySubdomainConfigRequest generates requests for GetVanitySubdomainConfig
func NewListAllProvidersRequest ¶ added in v1.45.3
NewListAllProvidersRequest generates requests for ListAllProviders
func NewListSnippetsRequest ¶ added in v1.96.0
func NewListSnippetsRequest(server string, params *ListSnippetsParams) (*http.Request, error)
NewListSnippetsRequest generates requests for ListSnippets
func NewRemoveCustomHostnameConfigRequest ¶ added in v1.12.3
NewRemoveCustomHostnameConfigRequest generates requests for RemoveCustomHostnameConfig
func NewRemoveNetworkBanRequest ¶ added in v1.12.3
func NewRemoveNetworkBanRequest(server string, ref string, body RemoveNetworkBanJSONRequestBody) (*http.Request, error)
NewRemoveNetworkBanRequest calls the generic RemoveNetworkBan builder with application/json body
func NewRemoveNetworkBanRequestWithBody ¶ added in v1.12.3
func NewRemoveNetworkBanRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
NewRemoveNetworkBanRequestWithBody generates requests for RemoveNetworkBan with any type of body
func NewRemoveProviderByIdRequest ¶ added in v1.45.3
func NewRemoveProviderByIdRequest(server string, ref string, providerId string) (*http.Request, error)
NewRemoveProviderByIdRequest generates requests for RemoveProviderById
func NewRemoveVanitySubdomainConfigRequest ¶ added in v1.22.0
NewRemoveVanitySubdomainConfigRequest generates requests for RemoveVanitySubdomainConfig
func NewReverifyRequest ¶ added in v1.10.0
NewReverifyRequest generates requests for Reverify
func NewTemporarilyDisableReadonlyModeRequest ¶ added in v1.45.3
NewTemporarilyDisableReadonlyModeRequest generates requests for TemporarilyDisableReadonlyMode
func NewTokenRequestWithBody ¶ added in v1.93.0
func NewTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTokenRequestWithBody generates requests for Token with any type of body
func NewTokenRequestWithFormdataBody ¶ added in v1.93.0
func NewTokenRequestWithFormdataBody(server string, body TokenFormdataRequestBody) (*http.Request, error)
NewTokenRequestWithFormdataBody calls the generic Token builder with application/x-www-form-urlencoded body
func NewUpdateBranchRequest ¶ added in v1.79.0
func NewUpdateBranchRequest(server string, branchId string, body UpdateBranchJSONRequestBody) (*http.Request, error)
NewUpdateBranchRequest calls the generic UpdateBranch builder with application/json body
func NewUpdateBranchRequestWithBody ¶ added in v1.79.0
func NewUpdateBranchRequestWithBody(server string, branchId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateBranchRequestWithBody generates requests for UpdateBranch with any type of body
func NewUpdateConfigRequest ¶ added in v1.8.0
func NewUpdateConfigRequest(server string, ref string, body UpdateConfigJSONRequestBody) (*http.Request, error)
NewUpdateConfigRequest calls the generic UpdateConfig builder with application/json body
func NewUpdateConfigRequestWithBody ¶ added in v1.8.0
func NewUpdateConfigRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateConfigRequestWithBody generates requests for UpdateConfig with any type of body
func NewUpdateFunctionRequest ¶
func NewUpdateFunctionRequest(server string, ref string, functionSlug string, params *UpdateFunctionParams, body UpdateFunctionJSONRequestBody) (*http.Request, error)
NewUpdateFunctionRequest calls the generic UpdateFunction builder with application/json body
func NewUpdateFunctionRequestWithBody ¶
func NewUpdateFunctionRequestWithBody(server string, ref string, functionSlug string, params *UpdateFunctionParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateFunctionRequestWithBody generates requests for UpdateFunction with any type of body
func NewUpdatePgsodiumConfigRequest ¶ added in v1.57.5
func NewUpdatePgsodiumConfigRequest(server string, ref string, body UpdatePgsodiumConfigJSONRequestBody) (*http.Request, error)
NewUpdatePgsodiumConfigRequest calls the generic UpdatePgsodiumConfig builder with application/json body
func NewUpdatePgsodiumConfigRequestWithBody ¶ added in v1.57.5
func NewUpdatePgsodiumConfigRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
NewUpdatePgsodiumConfigRequestWithBody generates requests for UpdatePgsodiumConfig with any type of body
func NewUpdatePostgRESTConfigRequest ¶ added in v1.22.2
func NewUpdatePostgRESTConfigRequest(server string, ref string, body UpdatePostgRESTConfigJSONRequestBody) (*http.Request, error)
NewUpdatePostgRESTConfigRequest calls the generic UpdatePostgRESTConfig builder with application/json body
func NewUpdatePostgRESTConfigRequestWithBody ¶ added in v1.22.2
func NewUpdatePostgRESTConfigRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
NewUpdatePostgRESTConfigRequestWithBody generates requests for UpdatePostgRESTConfig with any type of body
func NewUpdateProviderByIdRequest ¶ added in v1.45.3
func NewUpdateProviderByIdRequest(server string, ref string, providerId string, body UpdateProviderByIdJSONRequestBody) (*http.Request, error)
NewUpdateProviderByIdRequest calls the generic UpdateProviderById builder with application/json body
func NewUpdateProviderByIdRequestWithBody ¶ added in v1.45.3
func NewUpdateProviderByIdRequestWithBody(server string, ref string, providerId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateProviderByIdRequestWithBody generates requests for UpdateProviderById with any type of body
func NewUpdateSslEnforcementConfigRequest ¶ added in v1.25.0
func NewUpdateSslEnforcementConfigRequest(server string, ref string, body UpdateSslEnforcementConfigJSONRequestBody) (*http.Request, error)
NewUpdateSslEnforcementConfigRequest calls the generic UpdateSslEnforcementConfig builder with application/json body
func NewUpdateSslEnforcementConfigRequestWithBody ¶ added in v1.25.0
func NewUpdateSslEnforcementConfigRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSslEnforcementConfigRequestWithBody generates requests for UpdateSslEnforcementConfig with any type of body
func NewUpdateV1AuthConfigRequest ¶ added in v1.93.0
func NewUpdateV1AuthConfigRequest(server string, ref string, body UpdateV1AuthConfigJSONRequestBody) (*http.Request, error)
NewUpdateV1AuthConfigRequest calls the generic UpdateV1AuthConfig builder with application/json body
func NewUpdateV1AuthConfigRequestWithBody ¶ added in v1.93.0
func NewUpdateV1AuthConfigRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateV1AuthConfigRequestWithBody generates requests for UpdateV1AuthConfig with any type of body
func NewUpgradeEligibilityInformationRequest ¶ added in v1.45.3
NewUpgradeEligibilityInformationRequest generates requests for UpgradeEligibilityInformation
func NewUpgradeProjectRequest ¶ added in v1.45.3
func NewUpgradeProjectRequest(server string, ref string, body UpgradeProjectJSONRequestBody) (*http.Request, error)
NewUpgradeProjectRequest calls the generic UpgradeProject builder with application/json body
func NewUpgradeProjectRequestWithBody ¶ added in v1.45.3
func NewUpgradeProjectRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
NewUpgradeProjectRequestWithBody generates requests for UpgradeProject with any type of body
func NewV1EnableDatabaseWebhooksRequest ¶ added in v1.93.0
NewV1EnableDatabaseWebhooksRequest generates requests for V1EnableDatabaseWebhooks
func NewV1GetPgbouncerConfigRequest ¶ added in v1.93.0
NewV1GetPgbouncerConfigRequest generates requests for V1GetPgbouncerConfig
func NewV1ListOrganizationMembersRequest ¶ added in v1.93.0
NewV1ListOrganizationMembersRequest generates requests for V1ListOrganizationMembers
func NewV1RestorePitrRequest ¶ added in v1.106.0
func NewV1RestorePitrRequest(server string, ref string, body V1RestorePitrJSONRequestBody) (*http.Request, error)
NewV1RestorePitrRequest calls the generic V1RestorePitr builder with application/json body
func NewV1RestorePitrRequestWithBody ¶ added in v1.106.0
func NewV1RestorePitrRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
NewV1RestorePitrRequestWithBody generates requests for V1RestorePitr with any type of body
func NewV1RunQueryRequest ¶ added in v1.93.0
func NewV1RunQueryRequest(server string, ref string, body V1RunQueryJSONRequestBody) (*http.Request, error)
NewV1RunQueryRequest calls the generic V1RunQuery builder with application/json body
Types ¶
type ActivateResponse ¶ added in v1.10.0
type ActivateResponse struct { Body []byte HTTPResponse *http.Response JSON201 *UpdateCustomHostnameResponse }
func ParseActivateResponse ¶ added in v1.10.0
func ParseActivateResponse(rsp *http.Response) (*ActivateResponse, error)
ParseActivateResponse parses an HTTP response from a ActivateWithResponse call
func (ActivateResponse) Status ¶ added in v1.10.0
func (r ActivateResponse) Status() string
Status returns HTTPResponse.Status
func (ActivateResponse) StatusCode ¶ added in v1.10.0
func (r ActivateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ActivateVanitySubdomainPleaseJSONRequestBody ¶ added in v1.22.0
type ActivateVanitySubdomainPleaseJSONRequestBody = VanitySubdomainBody
ActivateVanitySubdomainPleaseJSONRequestBody defines body for ActivateVanitySubdomainPlease for application/json ContentType.
type ActivateVanitySubdomainPleaseResponse ¶ added in v1.22.0
type ActivateVanitySubdomainPleaseResponse struct { Body []byte HTTPResponse *http.Response JSON201 *ActivateVanitySubdomainResponse }
func ParseActivateVanitySubdomainPleaseResponse ¶ added in v1.22.0
func ParseActivateVanitySubdomainPleaseResponse(rsp *http.Response) (*ActivateVanitySubdomainPleaseResponse, error)
ParseActivateVanitySubdomainPleaseResponse parses an HTTP response from a ActivateVanitySubdomainPleaseWithResponse call
func (ActivateVanitySubdomainPleaseResponse) Status ¶ added in v1.22.0
func (r ActivateVanitySubdomainPleaseResponse) Status() string
Status returns HTTPResponse.Status
func (ActivateVanitySubdomainPleaseResponse) StatusCode ¶ added in v1.22.0
func (r ActivateVanitySubdomainPleaseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ActivateVanitySubdomainResponse ¶ added in v1.22.0
type ActivateVanitySubdomainResponse struct {
CustomDomain string `json:"custom_domain"`
}
ActivateVanitySubdomainResponse defines model for ActivateVanitySubdomainResponse.
type ApiKeyResponse ¶ added in v1.57.5
ApiKeyResponse defines model for ApiKeyResponse.
type ApplyNetworkRestrictionsJSONRequestBody ¶ added in v1.20.0
type ApplyNetworkRestrictionsJSONRequestBody = NetworkRestrictionsRequest
ApplyNetworkRestrictionsJSONRequestBody defines body for ApplyNetworkRestrictions for application/json ContentType.
type ApplyNetworkRestrictionsResponse ¶ added in v1.20.0
type ApplyNetworkRestrictionsResponse struct { Body []byte HTTPResponse *http.Response JSON201 *NetworkRestrictionsResponse }
func ParseApplyNetworkRestrictionsResponse ¶ added in v1.20.0
func ParseApplyNetworkRestrictionsResponse(rsp *http.Response) (*ApplyNetworkRestrictionsResponse, error)
ParseApplyNetworkRestrictionsResponse parses an HTTP response from a ApplyNetworkRestrictionsWithResponse call
func (ApplyNetworkRestrictionsResponse) Status ¶ added in v1.20.0
func (r ApplyNetworkRestrictionsResponse) Status() string
Status returns HTTPResponse.Status
func (ApplyNetworkRestrictionsResponse) StatusCode ¶ added in v1.20.0
func (r ApplyNetworkRestrictionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AttributeMapping ¶ added in v1.45.3
type AttributeMapping struct {
Keys map[string]AttributeValue `json:"keys"`
}
AttributeMapping defines model for AttributeMapping.
type AttributeValue ¶ added in v1.45.3
type AttributeValue struct { Default *AttributeValue_Default `json:"default,omitempty"` Name *string `json:"name,omitempty"` Names *[]string `json:"names,omitempty"` }
AttributeValue defines model for AttributeValue.
type AttributeValueDefault0 ¶ added in v1.46.0
type AttributeValueDefault0 = map[string]interface{}
AttributeValueDefault0 defines model for .
type AttributeValueDefault1 ¶ added in v1.46.0
type AttributeValueDefault1 = float32
AttributeValueDefault1 defines model for .
type AttributeValueDefault2 ¶ added in v1.46.0
type AttributeValueDefault2 = string
AttributeValueDefault2 defines model for .
type AttributeValueDefault3 ¶ added in v1.46.0
type AttributeValueDefault3 = bool
AttributeValueDefault3 defines model for .
type AttributeValue_Default ¶ added in v1.46.0
type AttributeValue_Default struct {
// contains filtered or unexported fields
}
AttributeValue_Default defines model for AttributeValue.Default.
func (AttributeValue_Default) AsAttributeValueDefault0 ¶ added in v1.46.0
func (t AttributeValue_Default) AsAttributeValueDefault0() (AttributeValueDefault0, error)
AsAttributeValueDefault0 returns the union data inside the AttributeValue_Default as a AttributeValueDefault0
func (AttributeValue_Default) AsAttributeValueDefault1 ¶ added in v1.46.0
func (t AttributeValue_Default) AsAttributeValueDefault1() (AttributeValueDefault1, error)
AsAttributeValueDefault1 returns the union data inside the AttributeValue_Default as a AttributeValueDefault1
func (AttributeValue_Default) AsAttributeValueDefault2 ¶ added in v1.46.0
func (t AttributeValue_Default) AsAttributeValueDefault2() (AttributeValueDefault2, error)
AsAttributeValueDefault2 returns the union data inside the AttributeValue_Default as a AttributeValueDefault2
func (AttributeValue_Default) AsAttributeValueDefault3 ¶ added in v1.46.0
func (t AttributeValue_Default) AsAttributeValueDefault3() (AttributeValueDefault3, error)
AsAttributeValueDefault3 returns the union data inside the AttributeValue_Default as a AttributeValueDefault3
func (*AttributeValue_Default) FromAttributeValueDefault0 ¶ added in v1.46.0
func (t *AttributeValue_Default) FromAttributeValueDefault0(v AttributeValueDefault0) error
FromAttributeValueDefault0 overwrites any union data inside the AttributeValue_Default as the provided AttributeValueDefault0
func (*AttributeValue_Default) FromAttributeValueDefault1 ¶ added in v1.46.0
func (t *AttributeValue_Default) FromAttributeValueDefault1(v AttributeValueDefault1) error
FromAttributeValueDefault1 overwrites any union data inside the AttributeValue_Default as the provided AttributeValueDefault1
func (*AttributeValue_Default) FromAttributeValueDefault2 ¶ added in v1.46.0
func (t *AttributeValue_Default) FromAttributeValueDefault2(v AttributeValueDefault2) error
FromAttributeValueDefault2 overwrites any union data inside the AttributeValue_Default as the provided AttributeValueDefault2
func (*AttributeValue_Default) FromAttributeValueDefault3 ¶ added in v1.46.0
func (t *AttributeValue_Default) FromAttributeValueDefault3(v AttributeValueDefault3) error
FromAttributeValueDefault3 overwrites any union data inside the AttributeValue_Default as the provided AttributeValueDefault3
func (AttributeValue_Default) MarshalJSON ¶ added in v1.46.0
func (t AttributeValue_Default) MarshalJSON() ([]byte, error)
func (*AttributeValue_Default) MergeAttributeValueDefault0 ¶ added in v1.46.0
func (t *AttributeValue_Default) MergeAttributeValueDefault0(v AttributeValueDefault0) error
MergeAttributeValueDefault0 performs a merge with any union data inside the AttributeValue_Default, using the provided AttributeValueDefault0
func (*AttributeValue_Default) MergeAttributeValueDefault1 ¶ added in v1.46.0
func (t *AttributeValue_Default) MergeAttributeValueDefault1(v AttributeValueDefault1) error
MergeAttributeValueDefault1 performs a merge with any union data inside the AttributeValue_Default, using the provided AttributeValueDefault1
func (*AttributeValue_Default) MergeAttributeValueDefault2 ¶ added in v1.46.0
func (t *AttributeValue_Default) MergeAttributeValueDefault2(v AttributeValueDefault2) error
MergeAttributeValueDefault2 performs a merge with any union data inside the AttributeValue_Default, using the provided AttributeValueDefault2
func (*AttributeValue_Default) MergeAttributeValueDefault3 ¶ added in v1.46.0
func (t *AttributeValue_Default) MergeAttributeValueDefault3(v AttributeValueDefault3) error
MergeAttributeValueDefault3 performs a merge with any union data inside the AttributeValue_Default, using the provided AttributeValueDefault3
func (*AttributeValue_Default) UnmarshalJSON ¶ added in v1.46.0
func (t *AttributeValue_Default) UnmarshalJSON(b []byte) error
type AuthConfigResponse ¶ added in v1.93.0
type AuthConfigResponse struct { RateLimitEmailSent *float32 `json:"rate_limit_email_sent,omitempty"` SmtpAdminEmail *string `json:"smtp_admin_email,omitempty"` SmtpHost *string `json:"smtp_host,omitempty"` SmtpMaxFrequency *float32 `json:"smtp_max_frequency,omitempty"` SmtpPass *string `json:"smtp_pass,omitempty"` SmtpPort *string `json:"smtp_port,omitempty"` SmtpSenderName *string `json:"smtp_sender_name,omitempty"` SmtpUser *string `json:"smtp_user,omitempty"` }
AuthConfigResponse defines model for AuthConfigResponse.
type AuthHealthResponse ¶ added in v1.106.0
type AuthHealthResponse struct { Description string `json:"description"` Name string `json:"name"` Version string `json:"version"` }
AuthHealthResponse defines model for AuthHealthResponse.
type AuthorizeParams ¶ added in v1.57.5
type AuthorizeParams struct { ClientId string `form:"client_id" json:"client_id"` ResponseType AuthorizeParamsResponseType `form:"response_type" json:"response_type"` RedirectUri string `form:"redirect_uri" json:"redirect_uri"` Scope *string `form:"scope,omitempty" json:"scope,omitempty"` State *string `form:"state,omitempty" json:"state,omitempty"` ResponseMode *string `form:"response_mode,omitempty" json:"response_mode,omitempty"` CodeChallenge *string `form:"code_challenge,omitempty" json:"code_challenge,omitempty"` CodeChallengeMethod *AuthorizeParamsCodeChallengeMethod `form:"code_challenge_method,omitempty" json:"code_challenge_method,omitempty"` }
AuthorizeParams defines parameters for Authorize.
type AuthorizeParamsCodeChallengeMethod ¶ added in v1.57.5
type AuthorizeParamsCodeChallengeMethod string
AuthorizeParamsCodeChallengeMethod defines parameters for Authorize.
const ( Plain AuthorizeParamsCodeChallengeMethod = "plain" S256 AuthorizeParamsCodeChallengeMethod = "S256" Sha256 AuthorizeParamsCodeChallengeMethod = "sha256" )
Defines values for AuthorizeParamsCodeChallengeMethod.
type AuthorizeParamsResponseType ¶ added in v1.57.5
type AuthorizeParamsResponseType string
AuthorizeParamsResponseType defines parameters for Authorize.
const ( Code AuthorizeParamsResponseType = "code" IdTokenToken AuthorizeParamsResponseType = "id_token token" Token AuthorizeParamsResponseType = "token" )
Defines values for AuthorizeParamsResponseType.
type AuthorizeResponse ¶ added in v1.57.5
func ParseAuthorizeResponse ¶ added in v1.57.5
func ParseAuthorizeResponse(rsp *http.Response) (*AuthorizeResponse, error)
ParseAuthorizeResponse parses an HTTP response from a AuthorizeWithResponse call
func (AuthorizeResponse) Status ¶ added in v1.57.5
func (r AuthorizeResponse) Status() string
Status returns HTTPResponse.Status
func (AuthorizeResponse) StatusCode ¶ added in v1.57.5
func (r AuthorizeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BranchDetailResponse ¶ added in v1.79.0
type BranchDetailResponse struct { DbHost string `json:"db_host"` DbPass *string `json:"db_pass,omitempty"` DbPort int `json:"db_port"` DbUser *string `json:"db_user,omitempty"` JwtSecret *string `json:"jwt_secret,omitempty"` PostgresVersion string `json:"postgres_version"` Ref string `json:"ref"` Status BranchDetailResponseStatus `json:"status"` }
BranchDetailResponse defines model for BranchDetailResponse.
type BranchDetailResponseStatus ¶ added in v1.79.0
type BranchDetailResponseStatus string
BranchDetailResponseStatus defines model for BranchDetailResponse.Status.
const ( BranchDetailResponseStatusACTIVEHEALTHY BranchDetailResponseStatus = "ACTIVE_HEALTHY" BranchDetailResponseStatusACTIVEUNHEALTHY BranchDetailResponseStatus = "ACTIVE_UNHEALTHY" BranchDetailResponseStatusCOMINGUP BranchDetailResponseStatus = "COMING_UP" BranchDetailResponseStatusGOINGDOWN BranchDetailResponseStatus = "GOING_DOWN" BranchDetailResponseStatusINACTIVE BranchDetailResponseStatus = "INACTIVE" BranchDetailResponseStatusINITFAILED BranchDetailResponseStatus = "INIT_FAILED" BranchDetailResponseStatusPAUSING BranchDetailResponseStatus = "PAUSING" BranchDetailResponseStatusREMOVED BranchDetailResponseStatus = "REMOVED" BranchDetailResponseStatusRESTORING BranchDetailResponseStatus = "RESTORING" BranchDetailResponseStatusUNKNOWN BranchDetailResponseStatus = "UNKNOWN" BranchDetailResponseStatusUPGRADING BranchDetailResponseStatus = "UPGRADING" )
Defines values for BranchDetailResponseStatus.
type BranchResponse ¶ added in v1.79.0
type BranchResponse struct { CreatedAt string `json:"created_at"` GitBranch *string `json:"git_branch,omitempty"` Id string `json:"id"` IsDefault bool `json:"is_default"` Name string `json:"name"` ParentProjectRef string `json:"parent_project_ref"` PrNumber *float32 `json:"pr_number,omitempty"` ProjectRef string `json:"project_ref"` ResetOnPush bool `json:"reset_on_push"` UpdatedAt string `json:"updated_at"` }
BranchResponse defines model for BranchResponse.
type CheckServiceHealthParams ¶ added in v1.106.0
type CheckServiceHealthParams struct { TimeoutMs *int `form:"timeout_ms,omitempty" json:"timeout_ms,omitempty"` Services []CheckServiceHealthParamsServices `form:"services" json:"services"` }
CheckServiceHealthParams defines parameters for CheckServiceHealth.
type CheckServiceHealthParamsServices ¶ added in v1.106.0
type CheckServiceHealthParamsServices string
CheckServiceHealthParamsServices defines parameters for CheckServiceHealth.
const ( CheckServiceHealthParamsServicesAuth CheckServiceHealthParamsServices = "auth" CheckServiceHealthParamsServicesDb CheckServiceHealthParamsServices = "db" CheckServiceHealthParamsServicesRealtime CheckServiceHealthParamsServices = "realtime" CheckServiceHealthParamsServicesRest CheckServiceHealthParamsServices = "rest" CheckServiceHealthParamsServicesStorage CheckServiceHealthParamsServices = "storage" )
Defines values for CheckServiceHealthParamsServices.
type CheckServiceHealthResponse ¶ added in v1.106.0
type CheckServiceHealthResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]ServiceHealthResponse }
func ParseCheckServiceHealthResponse ¶ added in v1.106.0
func ParseCheckServiceHealthResponse(rsp *http.Response) (*CheckServiceHealthResponse, error)
ParseCheckServiceHealthResponse parses an HTTP response from a CheckServiceHealthWithResponse call
func (CheckServiceHealthResponse) Status ¶ added in v1.106.0
func (r CheckServiceHealthResponse) Status() string
Status returns HTTPResponse.Status
func (CheckServiceHealthResponse) StatusCode ¶ added in v1.106.0
func (r CheckServiceHealthResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CheckVanitySubdomainAvailabilityJSONRequestBody ¶ added in v1.22.0
type CheckVanitySubdomainAvailabilityJSONRequestBody = VanitySubdomainBody
CheckVanitySubdomainAvailabilityJSONRequestBody defines body for CheckVanitySubdomainAvailability for application/json ContentType.
type CheckVanitySubdomainAvailabilityResponse ¶ added in v1.22.0
type CheckVanitySubdomainAvailabilityResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SubdomainAvailabilityResponse }
func ParseCheckVanitySubdomainAvailabilityResponse ¶ added in v1.22.0
func ParseCheckVanitySubdomainAvailabilityResponse(rsp *http.Response) (*CheckVanitySubdomainAvailabilityResponse, error)
ParseCheckVanitySubdomainAvailabilityResponse parses an HTTP response from a CheckVanitySubdomainAvailabilityWithResponse call
func (CheckVanitySubdomainAvailabilityResponse) Status ¶ added in v1.22.0
func (r CheckVanitySubdomainAvailabilityResponse) Status() string
Status returns HTTPResponse.Status
func (CheckVanitySubdomainAvailabilityResponse) StatusCode ¶ added in v1.22.0
func (r CheckVanitySubdomainAvailabilityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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) ActivateVanitySubdomainPlease ¶ added in v1.22.0
func (c *Client) ActivateVanitySubdomainPlease(ctx context.Context, ref string, body ActivateVanitySubdomainPleaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ActivateVanitySubdomainPleaseWithBody ¶ added in v1.22.0
func (*Client) ApplyNetworkRestrictions ¶ added in v1.20.0
func (c *Client) ApplyNetworkRestrictions(ctx context.Context, ref string, body ApplyNetworkRestrictionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ApplyNetworkRestrictionsWithBody ¶ added in v1.20.0
func (*Client) Authorize ¶ added in v1.57.5
func (c *Client) Authorize(ctx context.Context, params *AuthorizeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CheckServiceHealth ¶ added in v1.106.0
func (c *Client) CheckServiceHealth(ctx context.Context, ref string, params *CheckServiceHealthParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CheckVanitySubdomainAvailability ¶ added in v1.22.0
func (c *Client) CheckVanitySubdomainAvailability(ctx context.Context, ref string, body CheckVanitySubdomainAvailabilityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CheckVanitySubdomainAvailabilityWithBody ¶ added in v1.22.0
func (*Client) CreateBranch ¶ added in v1.79.0
func (c *Client) CreateBranch(ctx context.Context, ref string, body CreateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateBranchWithBody ¶ added in v1.79.0
func (*Client) CreateCustomHostnameConfig ¶ added in v1.10.0
func (c *Client) CreateCustomHostnameConfig(ctx context.Context, ref string, body CreateCustomHostnameConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateCustomHostnameConfigWithBody ¶ added in v1.10.0
func (*Client) CreateFunction ¶
func (c *Client) CreateFunction(ctx context.Context, ref string, params *CreateFunctionParams, body CreateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateFunctionWithBody ¶
func (*Client) CreateOrganization ¶
func (c *Client) CreateOrganization(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateOrganizationWithBody ¶
func (*Client) CreateProject ¶
func (c *Client) CreateProject(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateProjectWithBody ¶
func (*Client) CreateProviderForProject ¶ added in v1.45.3
func (c *Client) CreateProviderForProject(ctx context.Context, ref string, body CreateProviderForProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateProviderForProjectWithBody ¶ added in v1.45.3
func (*Client) CreateSecrets ¶
func (c *Client) CreateSecrets(ctx context.Context, ref string, body CreateSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateSecretsWithBody ¶
func (*Client) DeleteBranch ¶ added in v1.79.0
func (*Client) DeleteFunction ¶
func (*Client) DeleteProject ¶ added in v1.106.0
func (*Client) DeleteSecrets ¶
func (c *Client) DeleteSecrets(ctx context.Context, ref string, body DeleteSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteSecretsWithBody ¶
func (*Client) DisableBranch ¶ added in v1.79.0
func (*Client) GetBranchDetails ¶ added in v1.79.0
func (*Client) GetBranches ¶ added in v1.79.0
func (*Client) GetCustomHostnameConfig ¶ added in v1.10.0
func (*Client) GetFunction ¶
func (*Client) GetFunctionBody ¶ added in v1.17.2
func (*Client) GetFunctions ¶
func (*Client) GetNetworkBans ¶ added in v1.12.3
func (*Client) GetNetworkRestrictions ¶ added in v1.20.0
func (*Client) GetOrganizations ¶
func (*Client) GetPgsodiumConfig ¶ added in v1.57.5
func (*Client) GetPostgRESTConfig ¶ added in v1.22.2
func (*Client) GetProjectApiKeys ¶ added in v1.57.5
func (*Client) GetProjects ¶
func (*Client) GetProviderById ¶ added in v1.45.3
func (*Client) GetReadOnlyModeStatus ¶ added in v1.45.3
func (*Client) GetSecrets ¶
func (*Client) GetSnippet ¶ added in v1.96.0
func (*Client) GetSslEnforcementConfig ¶ added in v1.25.0
func (*Client) GetTypescriptTypes ¶ added in v1.8.0
func (c *Client) GetTypescriptTypes(ctx context.Context, ref string, params *GetTypescriptTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetUpgradeStatus ¶ added in v1.45.3
func (*Client) GetV1AuthConfig ¶ added in v1.93.0
func (*Client) GetVanitySubdomainConfig ¶ added in v1.22.0
func (*Client) ListAllProviders ¶ added in v1.45.3
func (*Client) ListSnippets ¶ added in v1.96.0
func (c *Client) ListSnippets(ctx context.Context, params *ListSnippetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RemoveCustomHostnameConfig ¶ added in v1.12.3
func (*Client) RemoveNetworkBan ¶ added in v1.12.3
func (c *Client) RemoveNetworkBan(ctx context.Context, ref string, body RemoveNetworkBanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RemoveNetworkBanWithBody ¶ added in v1.12.3
func (*Client) RemoveProviderById ¶ added in v1.45.3
func (*Client) RemoveVanitySubdomainConfig ¶ added in v1.22.0
func (*Client) TemporarilyDisableReadonlyMode ¶ added in v1.45.3
func (*Client) TokenWithBody ¶ added in v1.93.0
func (*Client) TokenWithFormdataBody ¶ added in v1.93.0
func (c *Client) TokenWithFormdataBody(ctx context.Context, body TokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateBranch ¶ added in v1.79.0
func (c *Client) UpdateBranch(ctx context.Context, branchId string, body UpdateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateBranchWithBody ¶ added in v1.79.0
func (*Client) UpdateConfig ¶ added in v1.8.0
func (c *Client) UpdateConfig(ctx context.Context, ref string, body UpdateConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateConfigWithBody ¶ added in v1.8.0
func (*Client) UpdateFunction ¶
func (c *Client) UpdateFunction(ctx context.Context, ref string, functionSlug string, params *UpdateFunctionParams, body UpdateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateFunctionWithBody ¶
func (*Client) UpdatePgsodiumConfig ¶ added in v1.57.5
func (c *Client) UpdatePgsodiumConfig(ctx context.Context, ref string, body UpdatePgsodiumConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdatePgsodiumConfigWithBody ¶ added in v1.57.5
func (*Client) UpdatePostgRESTConfig ¶ added in v1.22.2
func (c *Client) UpdatePostgRESTConfig(ctx context.Context, ref string, body UpdatePostgRESTConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdatePostgRESTConfigWithBody ¶ added in v1.22.2
func (*Client) UpdateProviderById ¶ added in v1.45.3
func (c *Client) UpdateProviderById(ctx context.Context, ref string, providerId string, body UpdateProviderByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateProviderByIdWithBody ¶ added in v1.45.3
func (*Client) UpdateSslEnforcementConfig ¶ added in v1.25.0
func (c *Client) UpdateSslEnforcementConfig(ctx context.Context, ref string, body UpdateSslEnforcementConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateSslEnforcementConfigWithBody ¶ added in v1.25.0
func (*Client) UpdateV1AuthConfig ¶ added in v1.93.0
func (c *Client) UpdateV1AuthConfig(ctx context.Context, ref string, body UpdateV1AuthConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateV1AuthConfigWithBody ¶ added in v1.93.0
func (*Client) UpgradeEligibilityInformation ¶ added in v1.45.3
func (*Client) UpgradeProject ¶ added in v1.45.3
func (c *Client) UpgradeProject(ctx context.Context, ref string, body UpgradeProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpgradeProjectWithBody ¶ added in v1.45.3
func (*Client) V1EnableDatabaseWebhooks ¶ added in v1.93.0
func (*Client) V1GetPgbouncerConfig ¶ added in v1.93.0
func (*Client) V1ListOrganizationMembers ¶ added in v1.93.0
func (*Client) V1RestorePitr ¶ added in v1.106.0
func (c *Client) V1RestorePitr(ctx context.Context, ref string, body V1RestorePitrJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) V1RestorePitrWithBody ¶ added in v1.106.0
func (*Client) V1RunQuery ¶ added in v1.93.0
func (c *Client) V1RunQuery(ctx context.Context, ref string, body V1RunQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface { // DeleteBranch request DeleteBranch(ctx context.Context, branchId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetBranchDetails request GetBranchDetails(ctx context.Context, branchId string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateBranchWithBody request with any body UpdateBranchWithBody(ctx context.Context, branchId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateBranch(ctx context.Context, branchId string, body UpdateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // Authorize request Authorize(ctx context.Context, params *AuthorizeParams, reqEditors ...RequestEditorFn) (*http.Response, error) // TokenWithBody request with any body TokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TokenWithFormdataBody(ctx context.Context, body TokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetOrganizations request GetOrganizations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateOrganizationWithBody request with any body CreateOrganizationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateOrganization(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // V1ListOrganizationMembers request V1ListOrganizationMembers(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetProjects request GetProjects(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateProjectWithBody request with any body CreateProjectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateProject(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteProject request DeleteProject(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetProjectApiKeys request GetProjectApiKeys(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // DisableBranch request DisableBranch(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetBranches request GetBranches(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateBranchWithBody request with any body CreateBranchWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateBranch(ctx context.Context, ref string, body CreateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetV1AuthConfig request GetV1AuthConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateV1AuthConfigWithBody request with any body UpdateV1AuthConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateV1AuthConfig(ctx context.Context, ref string, body UpdateV1AuthConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ListAllProviders request ListAllProviders(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateProviderForProjectWithBody request with any body CreateProviderForProjectWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateProviderForProject(ctx context.Context, ref string, body CreateProviderForProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // RemoveProviderById request RemoveProviderById(ctx context.Context, ref string, providerId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetProviderById request GetProviderById(ctx context.Context, ref string, providerId string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateProviderByIdWithBody request with any body UpdateProviderByIdWithBody(ctx context.Context, ref string, providerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateProviderById(ctx context.Context, ref string, providerId string, body UpdateProviderByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // V1GetPgbouncerConfig request V1GetPgbouncerConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetConfig request GetConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateConfigWithBody request with any body UpdateConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateConfig(ctx context.Context, ref string, body UpdateConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // RemoveCustomHostnameConfig request RemoveCustomHostnameConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCustomHostnameConfig request GetCustomHostnameConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // Activate request Activate(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateCustomHostnameConfigWithBody request with any body CreateCustomHostnameConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateCustomHostnameConfig(ctx context.Context, ref string, body CreateCustomHostnameConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // Reverify request Reverify(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // V1RestorePitrWithBody request with any body V1RestorePitrWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) V1RestorePitr(ctx context.Context, ref string, body V1RestorePitrJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // V1RunQueryWithBody request with any body V1RunQueryWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) V1RunQuery(ctx context.Context, ref string, body V1RunQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // V1EnableDatabaseWebhooks request V1EnableDatabaseWebhooks(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetFunctions request GetFunctions(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateFunctionWithBody request with any body CreateFunctionWithBody(ctx context.Context, ref string, params *CreateFunctionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateFunction(ctx context.Context, ref string, params *CreateFunctionParams, body CreateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteFunction request DeleteFunction(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetFunction request GetFunction(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateFunctionWithBody request with any body UpdateFunctionWithBody(ctx context.Context, ref string, functionSlug string, params *UpdateFunctionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateFunction(ctx context.Context, ref string, functionSlug string, params *UpdateFunctionParams, body UpdateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetFunctionBody request GetFunctionBody(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*http.Response, error) // CheckServiceHealth request CheckServiceHealth(ctx context.Context, ref string, params *CheckServiceHealthParams, reqEditors ...RequestEditorFn) (*http.Response, error) // RemoveNetworkBanWithBody request with any body RemoveNetworkBanWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) RemoveNetworkBan(ctx context.Context, ref string, body RemoveNetworkBanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetNetworkBans request GetNetworkBans(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetNetworkRestrictions request GetNetworkRestrictions(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // ApplyNetworkRestrictionsWithBody request with any body ApplyNetworkRestrictionsWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ApplyNetworkRestrictions(ctx context.Context, ref string, body ApplyNetworkRestrictionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetPgsodiumConfig request GetPgsodiumConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdatePgsodiumConfigWithBody request with any body UpdatePgsodiumConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdatePgsodiumConfig(ctx context.Context, ref string, body UpdatePgsodiumConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetPostgRESTConfig request GetPostgRESTConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdatePostgRESTConfigWithBody request with any body UpdatePostgRESTConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdatePostgRESTConfig(ctx context.Context, ref string, body UpdatePostgRESTConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetReadOnlyModeStatus request GetReadOnlyModeStatus(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // TemporarilyDisableReadonlyMode request TemporarilyDisableReadonlyMode(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteSecretsWithBody request with any body DeleteSecretsWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) DeleteSecrets(ctx context.Context, ref string, body DeleteSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSecrets request GetSecrets(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateSecretsWithBody request with any body CreateSecretsWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateSecrets(ctx context.Context, ref string, body CreateSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSslEnforcementConfig request GetSslEnforcementConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateSslEnforcementConfigWithBody request with any body UpdateSslEnforcementConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateSslEnforcementConfig(ctx context.Context, ref string, body UpdateSslEnforcementConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetTypescriptTypes request GetTypescriptTypes(ctx context.Context, ref string, params *GetTypescriptTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // UpgradeProjectWithBody request with any body UpgradeProjectWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpgradeProject(ctx context.Context, ref string, body UpgradeProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // UpgradeEligibilityInformation request UpgradeEligibilityInformation(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetUpgradeStatus request GetUpgradeStatus(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // RemoveVanitySubdomainConfig request RemoveVanitySubdomainConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetVanitySubdomainConfig request GetVanitySubdomainConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // ActivateVanitySubdomainPleaseWithBody request with any body ActivateVanitySubdomainPleaseWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ActivateVanitySubdomainPlease(ctx context.Context, ref string, body ActivateVanitySubdomainPleaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // CheckVanitySubdomainAvailabilityWithBody request with any body CheckVanitySubdomainAvailabilityWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CheckVanitySubdomainAvailability(ctx context.Context, ref string, body CheckVanitySubdomainAvailabilityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ListSnippets request ListSnippets(ctx context.Context, params *ListSnippetsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSnippet request GetSnippet(ctx context.Context, id string, 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) ActivateVanitySubdomainPleaseWithBodyWithResponse ¶ added in v1.22.0
func (c *ClientWithResponses) ActivateVanitySubdomainPleaseWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActivateVanitySubdomainPleaseResponse, error)
ActivateVanitySubdomainPleaseWithBodyWithResponse request with arbitrary body returning *ActivateVanitySubdomainPleaseResponse
func (*ClientWithResponses) ActivateVanitySubdomainPleaseWithResponse ¶ added in v1.22.0
func (c *ClientWithResponses) ActivateVanitySubdomainPleaseWithResponse(ctx context.Context, ref string, body ActivateVanitySubdomainPleaseJSONRequestBody, reqEditors ...RequestEditorFn) (*ActivateVanitySubdomainPleaseResponse, error)
func (*ClientWithResponses) ActivateWithResponse ¶ added in v1.10.0
func (c *ClientWithResponses) ActivateWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*ActivateResponse, error)
ActivateWithResponse request returning *ActivateResponse
func (*ClientWithResponses) ApplyNetworkRestrictionsWithBodyWithResponse ¶ added in v1.20.0
func (c *ClientWithResponses) ApplyNetworkRestrictionsWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplyNetworkRestrictionsResponse, error)
ApplyNetworkRestrictionsWithBodyWithResponse request with arbitrary body returning *ApplyNetworkRestrictionsResponse
func (*ClientWithResponses) ApplyNetworkRestrictionsWithResponse ¶ added in v1.20.0
func (c *ClientWithResponses) ApplyNetworkRestrictionsWithResponse(ctx context.Context, ref string, body ApplyNetworkRestrictionsJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplyNetworkRestrictionsResponse, error)
func (*ClientWithResponses) AuthorizeWithResponse ¶ added in v1.57.5
func (c *ClientWithResponses) AuthorizeWithResponse(ctx context.Context, params *AuthorizeParams, reqEditors ...RequestEditorFn) (*AuthorizeResponse, error)
AuthorizeWithResponse request returning *AuthorizeResponse
func (*ClientWithResponses) CheckServiceHealthWithResponse ¶ added in v1.106.0
func (c *ClientWithResponses) CheckServiceHealthWithResponse(ctx context.Context, ref string, params *CheckServiceHealthParams, reqEditors ...RequestEditorFn) (*CheckServiceHealthResponse, error)
CheckServiceHealthWithResponse request returning *CheckServiceHealthResponse
func (*ClientWithResponses) CheckVanitySubdomainAvailabilityWithBodyWithResponse ¶ added in v1.22.0
func (c *ClientWithResponses) CheckVanitySubdomainAvailabilityWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CheckVanitySubdomainAvailabilityResponse, error)
CheckVanitySubdomainAvailabilityWithBodyWithResponse request with arbitrary body returning *CheckVanitySubdomainAvailabilityResponse
func (*ClientWithResponses) CheckVanitySubdomainAvailabilityWithResponse ¶ added in v1.22.0
func (c *ClientWithResponses) CheckVanitySubdomainAvailabilityWithResponse(ctx context.Context, ref string, body CheckVanitySubdomainAvailabilityJSONRequestBody, reqEditors ...RequestEditorFn) (*CheckVanitySubdomainAvailabilityResponse, error)
func (*ClientWithResponses) CreateBranchWithBodyWithResponse ¶ added in v1.79.0
func (c *ClientWithResponses) CreateBranchWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBranchResponse, error)
CreateBranchWithBodyWithResponse request with arbitrary body returning *CreateBranchResponse
func (*ClientWithResponses) CreateBranchWithResponse ¶ added in v1.79.0
func (c *ClientWithResponses) CreateBranchWithResponse(ctx context.Context, ref string, body CreateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBranchResponse, error)
func (*ClientWithResponses) CreateCustomHostnameConfigWithBodyWithResponse ¶ added in v1.10.0
func (c *ClientWithResponses) CreateCustomHostnameConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCustomHostnameConfigResponse, error)
CreateCustomHostnameConfigWithBodyWithResponse request with arbitrary body returning *CreateCustomHostnameConfigResponse
func (*ClientWithResponses) CreateCustomHostnameConfigWithResponse ¶ added in v1.10.0
func (c *ClientWithResponses) CreateCustomHostnameConfigWithResponse(ctx context.Context, ref string, body CreateCustomHostnameConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCustomHostnameConfigResponse, error)
func (*ClientWithResponses) CreateFunctionWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateFunctionWithBodyWithResponse(ctx context.Context, ref string, params *CreateFunctionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFunctionResponse, error)
CreateFunctionWithBodyWithResponse request with arbitrary body returning *CreateFunctionResponse
func (*ClientWithResponses) CreateFunctionWithResponse ¶
func (c *ClientWithResponses) CreateFunctionWithResponse(ctx context.Context, ref string, params *CreateFunctionParams, body CreateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFunctionResponse, error)
func (*ClientWithResponses) CreateOrganizationWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error)
CreateOrganizationWithBodyWithResponse request with arbitrary body returning *CreateOrganizationResponse
func (*ClientWithResponses) CreateOrganizationWithResponse ¶
func (c *ClientWithResponses) CreateOrganizationWithResponse(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error)
func (*ClientWithResponses) CreateProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)
CreateProjectWithBodyWithResponse request with arbitrary body returning *CreateProjectResponse
func (*ClientWithResponses) CreateProjectWithResponse ¶
func (c *ClientWithResponses) CreateProjectWithResponse(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)
func (*ClientWithResponses) CreateProviderForProjectWithBodyWithResponse ¶ added in v1.45.3
func (c *ClientWithResponses) CreateProviderForProjectWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProviderForProjectResponse, error)
CreateProviderForProjectWithBodyWithResponse request with arbitrary body returning *CreateProviderForProjectResponse
func (*ClientWithResponses) CreateProviderForProjectWithResponse ¶ added in v1.45.3
func (c *ClientWithResponses) CreateProviderForProjectWithResponse(ctx context.Context, ref string, body CreateProviderForProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProviderForProjectResponse, error)
func (*ClientWithResponses) CreateSecretsWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSecretsWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecretsResponse, error)
CreateSecretsWithBodyWithResponse request with arbitrary body returning *CreateSecretsResponse
func (*ClientWithResponses) CreateSecretsWithResponse ¶
func (c *ClientWithResponses) CreateSecretsWithResponse(ctx context.Context, ref string, body CreateSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecretsResponse, error)
func (*ClientWithResponses) DeleteBranchWithResponse ¶ added in v1.79.0
func (c *ClientWithResponses) DeleteBranchWithResponse(ctx context.Context, branchId string, reqEditors ...RequestEditorFn) (*DeleteBranchResponse, error)
DeleteBranchWithResponse request returning *DeleteBranchResponse
func (*ClientWithResponses) DeleteFunctionWithResponse ¶
func (c *ClientWithResponses) DeleteFunctionWithResponse(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*DeleteFunctionResponse, error)
DeleteFunctionWithResponse request returning *DeleteFunctionResponse
func (*ClientWithResponses) DeleteProjectWithResponse ¶ added in v1.106.0
func (c *ClientWithResponses) DeleteProjectWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*DeleteProjectResponse, error)
DeleteProjectWithResponse request returning *DeleteProjectResponse
func (*ClientWithResponses) DeleteSecretsWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteSecretsWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteSecretsResponse, error)
DeleteSecretsWithBodyWithResponse request with arbitrary body returning *DeleteSecretsResponse
func (*ClientWithResponses) DeleteSecretsWithResponse ¶
func (c *ClientWithResponses) DeleteSecretsWithResponse(ctx context.Context, ref string, body DeleteSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteSecretsResponse, error)
func (*ClientWithResponses) DisableBranchWithResponse ¶ added in v1.79.0
func (c *ClientWithResponses) DisableBranchWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*DisableBranchResponse, error)
DisableBranchWithResponse request returning *DisableBranchResponse
func (*ClientWithResponses) GetBranchDetailsWithResponse ¶ added in v1.79.0
func (c *ClientWithResponses) GetBranchDetailsWithResponse(ctx context.Context, branchId string, reqEditors ...RequestEditorFn) (*GetBranchDetailsResponse, error)
GetBranchDetailsWithResponse request returning *GetBranchDetailsResponse
func (*ClientWithResponses) GetBranchesWithResponse ¶ added in v1.79.0
func (c *ClientWithResponses) GetBranchesWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetBranchesResponse, error)
GetBranchesWithResponse request returning *GetBranchesResponse
func (*ClientWithResponses) GetConfigWithResponse ¶ added in v1.8.0
func (c *ClientWithResponses) GetConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetConfigResponse, error)
GetConfigWithResponse request returning *GetConfigResponse
func (*ClientWithResponses) GetCustomHostnameConfigWithResponse ¶ added in v1.10.0
func (c *ClientWithResponses) GetCustomHostnameConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetCustomHostnameConfigResponse, error)
GetCustomHostnameConfigWithResponse request returning *GetCustomHostnameConfigResponse
func (*ClientWithResponses) GetFunctionBodyWithResponse ¶ added in v1.17.2
func (c *ClientWithResponses) GetFunctionBodyWithResponse(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*GetFunctionBodyResponse, error)
GetFunctionBodyWithResponse request returning *GetFunctionBodyResponse
func (*ClientWithResponses) GetFunctionWithResponse ¶
func (c *ClientWithResponses) GetFunctionWithResponse(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*GetFunctionResponse, error)
GetFunctionWithResponse request returning *GetFunctionResponse
func (*ClientWithResponses) GetFunctionsWithResponse ¶
func (c *ClientWithResponses) GetFunctionsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetFunctionsResponse, error)
GetFunctionsWithResponse request returning *GetFunctionsResponse
func (*ClientWithResponses) GetNetworkBansWithResponse ¶ added in v1.12.3
func (c *ClientWithResponses) GetNetworkBansWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetNetworkBansResponse, error)
GetNetworkBansWithResponse request returning *GetNetworkBansResponse
func (*ClientWithResponses) GetNetworkRestrictionsWithResponse ¶ added in v1.20.0
func (c *ClientWithResponses) GetNetworkRestrictionsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetNetworkRestrictionsResponse, error)
GetNetworkRestrictionsWithResponse request returning *GetNetworkRestrictionsResponse
func (*ClientWithResponses) GetOrganizationsWithResponse ¶
func (c *ClientWithResponses) GetOrganizationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOrganizationsResponse, error)
GetOrganizationsWithResponse request returning *GetOrganizationsResponse
func (*ClientWithResponses) GetPgsodiumConfigWithResponse ¶ added in v1.57.5
func (c *ClientWithResponses) GetPgsodiumConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetPgsodiumConfigResponse, error)
GetPgsodiumConfigWithResponse request returning *GetPgsodiumConfigResponse
func (*ClientWithResponses) GetPostgRESTConfigWithResponse ¶ added in v1.22.2
func (c *ClientWithResponses) GetPostgRESTConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetPostgRESTConfigResponse, error)
GetPostgRESTConfigWithResponse request returning *GetPostgRESTConfigResponse
func (*ClientWithResponses) GetProjectApiKeysWithResponse ¶ added in v1.57.5
func (c *ClientWithResponses) GetProjectApiKeysWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetProjectApiKeysResponse, error)
GetProjectApiKeysWithResponse request returning *GetProjectApiKeysResponse
func (*ClientWithResponses) GetProjectsWithResponse ¶
func (c *ClientWithResponses) GetProjectsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetProjectsResponse, error)
GetProjectsWithResponse request returning *GetProjectsResponse
func (*ClientWithResponses) GetProviderByIdWithResponse ¶ added in v1.45.3
func (c *ClientWithResponses) GetProviderByIdWithResponse(ctx context.Context, ref string, providerId string, reqEditors ...RequestEditorFn) (*GetProviderByIdResponse, error)
GetProviderByIdWithResponse request returning *GetProviderByIdResponse
func (*ClientWithResponses) GetReadOnlyModeStatusWithResponse ¶ added in v1.45.3
func (c *ClientWithResponses) GetReadOnlyModeStatusWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetReadOnlyModeStatusResponse, error)
GetReadOnlyModeStatusWithResponse request returning *GetReadOnlyModeStatusResponse
func (*ClientWithResponses) GetSecretsWithResponse ¶
func (c *ClientWithResponses) GetSecretsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetSecretsResponse, error)
GetSecretsWithResponse request returning *GetSecretsResponse
func (*ClientWithResponses) GetSnippetWithResponse ¶ added in v1.96.0
func (c *ClientWithResponses) GetSnippetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSnippetResponse, error)
GetSnippetWithResponse request returning *GetSnippetResponse
func (*ClientWithResponses) GetSslEnforcementConfigWithResponse ¶ added in v1.25.0
func (c *ClientWithResponses) GetSslEnforcementConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetSslEnforcementConfigResponse, error)
GetSslEnforcementConfigWithResponse request returning *GetSslEnforcementConfigResponse
func (*ClientWithResponses) GetTypescriptTypesWithResponse ¶ added in v1.8.0
func (c *ClientWithResponses) GetTypescriptTypesWithResponse(ctx context.Context, ref string, params *GetTypescriptTypesParams, reqEditors ...RequestEditorFn) (*GetTypescriptTypesResponse, error)
GetTypescriptTypesWithResponse request returning *GetTypescriptTypesResponse
func (*ClientWithResponses) GetUpgradeStatusWithResponse ¶ added in v1.45.3
func (c *ClientWithResponses) GetUpgradeStatusWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetUpgradeStatusResponse, error)
GetUpgradeStatusWithResponse request returning *GetUpgradeStatusResponse
func (*ClientWithResponses) GetV1AuthConfigWithResponse ¶ added in v1.93.0
func (c *ClientWithResponses) GetV1AuthConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetV1AuthConfigResponse, error)
GetV1AuthConfigWithResponse request returning *GetV1AuthConfigResponse
func (*ClientWithResponses) GetVanitySubdomainConfigWithResponse ¶ added in v1.22.0
func (c *ClientWithResponses) GetVanitySubdomainConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetVanitySubdomainConfigResponse, error)
GetVanitySubdomainConfigWithResponse request returning *GetVanitySubdomainConfigResponse
func (*ClientWithResponses) ListAllProvidersWithResponse ¶ added in v1.45.3
func (c *ClientWithResponses) ListAllProvidersWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*ListAllProvidersResponse, error)
ListAllProvidersWithResponse request returning *ListAllProvidersResponse
func (*ClientWithResponses) ListSnippetsWithResponse ¶ added in v1.96.0
func (c *ClientWithResponses) ListSnippetsWithResponse(ctx context.Context, params *ListSnippetsParams, reqEditors ...RequestEditorFn) (*ListSnippetsResponse, error)
ListSnippetsWithResponse request returning *ListSnippetsResponse
func (*ClientWithResponses) RemoveCustomHostnameConfigWithResponse ¶ added in v1.12.3
func (c *ClientWithResponses) RemoveCustomHostnameConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*RemoveCustomHostnameConfigResponse, error)
RemoveCustomHostnameConfigWithResponse request returning *RemoveCustomHostnameConfigResponse
func (*ClientWithResponses) RemoveNetworkBanWithBodyWithResponse ¶ added in v1.12.3
func (c *ClientWithResponses) RemoveNetworkBanWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveNetworkBanResponse, error)
RemoveNetworkBanWithBodyWithResponse request with arbitrary body returning *RemoveNetworkBanResponse
func (*ClientWithResponses) RemoveNetworkBanWithResponse ¶ added in v1.12.3
func (c *ClientWithResponses) RemoveNetworkBanWithResponse(ctx context.Context, ref string, body RemoveNetworkBanJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveNetworkBanResponse, error)
func (*ClientWithResponses) RemoveProviderByIdWithResponse ¶ added in v1.45.3
func (c *ClientWithResponses) RemoveProviderByIdWithResponse(ctx context.Context, ref string, providerId string, reqEditors ...RequestEditorFn) (*RemoveProviderByIdResponse, error)
RemoveProviderByIdWithResponse request returning *RemoveProviderByIdResponse
func (*ClientWithResponses) RemoveVanitySubdomainConfigWithResponse ¶ added in v1.22.0
func (c *ClientWithResponses) RemoveVanitySubdomainConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*RemoveVanitySubdomainConfigResponse, error)
RemoveVanitySubdomainConfigWithResponse request returning *RemoveVanitySubdomainConfigResponse
func (*ClientWithResponses) ReverifyWithResponse ¶ added in v1.10.0
func (c *ClientWithResponses) ReverifyWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*ReverifyResponse, error)
ReverifyWithResponse request returning *ReverifyResponse
func (*ClientWithResponses) TemporarilyDisableReadonlyModeWithResponse ¶ added in v1.45.3
func (c *ClientWithResponses) TemporarilyDisableReadonlyModeWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*TemporarilyDisableReadonlyModeResponse, error)
TemporarilyDisableReadonlyModeWithResponse request returning *TemporarilyDisableReadonlyModeResponse
func (*ClientWithResponses) TokenWithBodyWithResponse ¶ added in v1.93.0
func (c *ClientWithResponses) TokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TokenResponse, error)
TokenWithBodyWithResponse request with arbitrary body returning *TokenResponse
func (*ClientWithResponses) TokenWithFormdataBodyWithResponse ¶ added in v1.93.0
func (c *ClientWithResponses) TokenWithFormdataBodyWithResponse(ctx context.Context, body TokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*TokenResponse, error)
func (*ClientWithResponses) UpdateBranchWithBodyWithResponse ¶ added in v1.79.0
func (c *ClientWithResponses) UpdateBranchWithBodyWithResponse(ctx context.Context, branchId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBranchResponse, error)
UpdateBranchWithBodyWithResponse request with arbitrary body returning *UpdateBranchResponse
func (*ClientWithResponses) UpdateBranchWithResponse ¶ added in v1.79.0
func (c *ClientWithResponses) UpdateBranchWithResponse(ctx context.Context, branchId string, body UpdateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBranchResponse, error)
func (*ClientWithResponses) UpdateConfigWithBodyWithResponse ¶ added in v1.8.0
func (c *ClientWithResponses) UpdateConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateConfigResponse, error)
UpdateConfigWithBodyWithResponse request with arbitrary body returning *UpdateConfigResponse
func (*ClientWithResponses) UpdateConfigWithResponse ¶ added in v1.8.0
func (c *ClientWithResponses) UpdateConfigWithResponse(ctx context.Context, ref string, body UpdateConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateConfigResponse, error)
func (*ClientWithResponses) UpdateFunctionWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateFunctionWithBodyWithResponse(ctx context.Context, ref string, functionSlug string, params *UpdateFunctionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFunctionResponse, error)
UpdateFunctionWithBodyWithResponse request with arbitrary body returning *UpdateFunctionResponse
func (*ClientWithResponses) UpdateFunctionWithResponse ¶
func (c *ClientWithResponses) UpdateFunctionWithResponse(ctx context.Context, ref string, functionSlug string, params *UpdateFunctionParams, body UpdateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFunctionResponse, error)
func (*ClientWithResponses) UpdatePgsodiumConfigWithBodyWithResponse ¶ added in v1.57.5
func (c *ClientWithResponses) UpdatePgsodiumConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePgsodiumConfigResponse, error)
UpdatePgsodiumConfigWithBodyWithResponse request with arbitrary body returning *UpdatePgsodiumConfigResponse
func (*ClientWithResponses) UpdatePgsodiumConfigWithResponse ¶ added in v1.57.5
func (c *ClientWithResponses) UpdatePgsodiumConfigWithResponse(ctx context.Context, ref string, body UpdatePgsodiumConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePgsodiumConfigResponse, error)
func (*ClientWithResponses) UpdatePostgRESTConfigWithBodyWithResponse ¶ added in v1.22.2
func (c *ClientWithResponses) UpdatePostgRESTConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePostgRESTConfigResponse, error)
UpdatePostgRESTConfigWithBodyWithResponse request with arbitrary body returning *UpdatePostgRESTConfigResponse
func (*ClientWithResponses) UpdatePostgRESTConfigWithResponse ¶ added in v1.22.2
func (c *ClientWithResponses) UpdatePostgRESTConfigWithResponse(ctx context.Context, ref string, body UpdatePostgRESTConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePostgRESTConfigResponse, error)
func (*ClientWithResponses) UpdateProviderByIdWithBodyWithResponse ¶ added in v1.45.3
func (c *ClientWithResponses) UpdateProviderByIdWithBodyWithResponse(ctx context.Context, ref string, providerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProviderByIdResponse, error)
UpdateProviderByIdWithBodyWithResponse request with arbitrary body returning *UpdateProviderByIdResponse
func (*ClientWithResponses) UpdateProviderByIdWithResponse ¶ added in v1.45.3
func (c *ClientWithResponses) UpdateProviderByIdWithResponse(ctx context.Context, ref string, providerId string, body UpdateProviderByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProviderByIdResponse, error)
func (*ClientWithResponses) UpdateSslEnforcementConfigWithBodyWithResponse ¶ added in v1.25.0
func (c *ClientWithResponses) UpdateSslEnforcementConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSslEnforcementConfigResponse, error)
UpdateSslEnforcementConfigWithBodyWithResponse request with arbitrary body returning *UpdateSslEnforcementConfigResponse
func (*ClientWithResponses) UpdateSslEnforcementConfigWithResponse ¶ added in v1.25.0
func (c *ClientWithResponses) UpdateSslEnforcementConfigWithResponse(ctx context.Context, ref string, body UpdateSslEnforcementConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSslEnforcementConfigResponse, error)
func (*ClientWithResponses) UpdateV1AuthConfigWithBodyWithResponse ¶ added in v1.93.0
func (c *ClientWithResponses) UpdateV1AuthConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateV1AuthConfigResponse, error)
UpdateV1AuthConfigWithBodyWithResponse request with arbitrary body returning *UpdateV1AuthConfigResponse
func (*ClientWithResponses) UpdateV1AuthConfigWithResponse ¶ added in v1.93.0
func (c *ClientWithResponses) UpdateV1AuthConfigWithResponse(ctx context.Context, ref string, body UpdateV1AuthConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateV1AuthConfigResponse, error)
func (*ClientWithResponses) UpgradeEligibilityInformationWithResponse ¶ added in v1.45.3
func (c *ClientWithResponses) UpgradeEligibilityInformationWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*UpgradeEligibilityInformationResponse, error)
UpgradeEligibilityInformationWithResponse request returning *UpgradeEligibilityInformationResponse
func (*ClientWithResponses) UpgradeProjectWithBodyWithResponse ¶ added in v1.45.3
func (c *ClientWithResponses) UpgradeProjectWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpgradeProjectResponse, error)
UpgradeProjectWithBodyWithResponse request with arbitrary body returning *UpgradeProjectResponse
func (*ClientWithResponses) UpgradeProjectWithResponse ¶ added in v1.45.3
func (c *ClientWithResponses) UpgradeProjectWithResponse(ctx context.Context, ref string, body UpgradeProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*UpgradeProjectResponse, error)
func (*ClientWithResponses) V1EnableDatabaseWebhooksWithResponse ¶ added in v1.93.0
func (c *ClientWithResponses) V1EnableDatabaseWebhooksWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1EnableDatabaseWebhooksResponse, error)
V1EnableDatabaseWebhooksWithResponse request returning *V1EnableDatabaseWebhooksResponse
func (*ClientWithResponses) V1GetPgbouncerConfigWithResponse ¶ added in v1.93.0
func (c *ClientWithResponses) V1GetPgbouncerConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetPgbouncerConfigResponse, error)
V1GetPgbouncerConfigWithResponse request returning *V1GetPgbouncerConfigResponse
func (*ClientWithResponses) V1ListOrganizationMembersWithResponse ¶ added in v1.93.0
func (c *ClientWithResponses) V1ListOrganizationMembersWithResponse(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*V1ListOrganizationMembersResponse, error)
V1ListOrganizationMembersWithResponse request returning *V1ListOrganizationMembersResponse
func (*ClientWithResponses) V1RestorePitrWithBodyWithResponse ¶ added in v1.106.0
func (c *ClientWithResponses) V1RestorePitrWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1RestorePitrResponse, error)
V1RestorePitrWithBodyWithResponse request with arbitrary body returning *V1RestorePitrResponse
func (*ClientWithResponses) V1RestorePitrWithResponse ¶ added in v1.106.0
func (c *ClientWithResponses) V1RestorePitrWithResponse(ctx context.Context, ref string, body V1RestorePitrJSONRequestBody, reqEditors ...RequestEditorFn) (*V1RestorePitrResponse, error)
func (*ClientWithResponses) V1RunQueryWithBodyWithResponse ¶ added in v1.93.0
func (c *ClientWithResponses) V1RunQueryWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1RunQueryResponse, error)
V1RunQueryWithBodyWithResponse request with arbitrary body returning *V1RunQueryResponse
func (*ClientWithResponses) V1RunQueryWithResponse ¶ added in v1.93.0
func (c *ClientWithResponses) V1RunQueryWithResponse(ctx context.Context, ref string, body V1RunQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*V1RunQueryResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // DeleteBranchWithResponse request DeleteBranchWithResponse(ctx context.Context, branchId string, reqEditors ...RequestEditorFn) (*DeleteBranchResponse, error) // GetBranchDetailsWithResponse request GetBranchDetailsWithResponse(ctx context.Context, branchId string, reqEditors ...RequestEditorFn) (*GetBranchDetailsResponse, error) // UpdateBranchWithBodyWithResponse request with any body UpdateBranchWithBodyWithResponse(ctx context.Context, branchId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBranchResponse, error) UpdateBranchWithResponse(ctx context.Context, branchId string, body UpdateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBranchResponse, error) // AuthorizeWithResponse request AuthorizeWithResponse(ctx context.Context, params *AuthorizeParams, reqEditors ...RequestEditorFn) (*AuthorizeResponse, error) // TokenWithBodyWithResponse request with any body TokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TokenResponse, error) TokenWithFormdataBodyWithResponse(ctx context.Context, body TokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*TokenResponse, error) // GetOrganizationsWithResponse request GetOrganizationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOrganizationsResponse, error) // CreateOrganizationWithBodyWithResponse request with any body CreateOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error) CreateOrganizationWithResponse(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error) // V1ListOrganizationMembersWithResponse request V1ListOrganizationMembersWithResponse(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*V1ListOrganizationMembersResponse, error) // GetProjectsWithResponse request GetProjectsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetProjectsResponse, error) // CreateProjectWithBodyWithResponse request with any body CreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error) CreateProjectWithResponse(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error) // DeleteProjectWithResponse request DeleteProjectWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*DeleteProjectResponse, error) // GetProjectApiKeysWithResponse request GetProjectApiKeysWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetProjectApiKeysResponse, error) // DisableBranchWithResponse request DisableBranchWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*DisableBranchResponse, error) // GetBranchesWithResponse request GetBranchesWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetBranchesResponse, error) // CreateBranchWithBodyWithResponse request with any body CreateBranchWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBranchResponse, error) CreateBranchWithResponse(ctx context.Context, ref string, body CreateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBranchResponse, error) // GetV1AuthConfigWithResponse request GetV1AuthConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetV1AuthConfigResponse, error) // UpdateV1AuthConfigWithBodyWithResponse request with any body UpdateV1AuthConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateV1AuthConfigResponse, error) UpdateV1AuthConfigWithResponse(ctx context.Context, ref string, body UpdateV1AuthConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateV1AuthConfigResponse, error) // ListAllProvidersWithResponse request ListAllProvidersWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*ListAllProvidersResponse, error) // CreateProviderForProjectWithBodyWithResponse request with any body CreateProviderForProjectWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProviderForProjectResponse, error) CreateProviderForProjectWithResponse(ctx context.Context, ref string, body CreateProviderForProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProviderForProjectResponse, error) // RemoveProviderByIdWithResponse request RemoveProviderByIdWithResponse(ctx context.Context, ref string, providerId string, reqEditors ...RequestEditorFn) (*RemoveProviderByIdResponse, error) // GetProviderByIdWithResponse request GetProviderByIdWithResponse(ctx context.Context, ref string, providerId string, reqEditors ...RequestEditorFn) (*GetProviderByIdResponse, error) // UpdateProviderByIdWithBodyWithResponse request with any body UpdateProviderByIdWithBodyWithResponse(ctx context.Context, ref string, providerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProviderByIdResponse, error) UpdateProviderByIdWithResponse(ctx context.Context, ref string, providerId string, body UpdateProviderByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProviderByIdResponse, error) // V1GetPgbouncerConfigWithResponse request V1GetPgbouncerConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetPgbouncerConfigResponse, error) // GetConfigWithResponse request GetConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetConfigResponse, error) // UpdateConfigWithBodyWithResponse request with any body UpdateConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateConfigResponse, error) UpdateConfigWithResponse(ctx context.Context, ref string, body UpdateConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateConfigResponse, error) // RemoveCustomHostnameConfigWithResponse request RemoveCustomHostnameConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*RemoveCustomHostnameConfigResponse, error) // GetCustomHostnameConfigWithResponse request GetCustomHostnameConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetCustomHostnameConfigResponse, error) // ActivateWithResponse request ActivateWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*ActivateResponse, error) // CreateCustomHostnameConfigWithBodyWithResponse request with any body CreateCustomHostnameConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCustomHostnameConfigResponse, error) CreateCustomHostnameConfigWithResponse(ctx context.Context, ref string, body CreateCustomHostnameConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCustomHostnameConfigResponse, error) // ReverifyWithResponse request ReverifyWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*ReverifyResponse, error) // V1RestorePitrWithBodyWithResponse request with any body V1RestorePitrWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1RestorePitrResponse, error) V1RestorePitrWithResponse(ctx context.Context, ref string, body V1RestorePitrJSONRequestBody, reqEditors ...RequestEditorFn) (*V1RestorePitrResponse, error) // V1RunQueryWithBodyWithResponse request with any body V1RunQueryWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1RunQueryResponse, error) V1RunQueryWithResponse(ctx context.Context, ref string, body V1RunQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*V1RunQueryResponse, error) // V1EnableDatabaseWebhooksWithResponse request V1EnableDatabaseWebhooksWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1EnableDatabaseWebhooksResponse, error) // GetFunctionsWithResponse request GetFunctionsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetFunctionsResponse, error) // CreateFunctionWithBodyWithResponse request with any body CreateFunctionWithBodyWithResponse(ctx context.Context, ref string, params *CreateFunctionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFunctionResponse, error) CreateFunctionWithResponse(ctx context.Context, ref string, params *CreateFunctionParams, body CreateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFunctionResponse, error) // DeleteFunctionWithResponse request DeleteFunctionWithResponse(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*DeleteFunctionResponse, error) // GetFunctionWithResponse request GetFunctionWithResponse(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*GetFunctionResponse, error) // UpdateFunctionWithBodyWithResponse request with any body UpdateFunctionWithBodyWithResponse(ctx context.Context, ref string, functionSlug string, params *UpdateFunctionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFunctionResponse, error) UpdateFunctionWithResponse(ctx context.Context, ref string, functionSlug string, params *UpdateFunctionParams, body UpdateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFunctionResponse, error) // GetFunctionBodyWithResponse request GetFunctionBodyWithResponse(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*GetFunctionBodyResponse, error) // CheckServiceHealthWithResponse request CheckServiceHealthWithResponse(ctx context.Context, ref string, params *CheckServiceHealthParams, reqEditors ...RequestEditorFn) (*CheckServiceHealthResponse, error) // RemoveNetworkBanWithBodyWithResponse request with any body RemoveNetworkBanWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveNetworkBanResponse, error) RemoveNetworkBanWithResponse(ctx context.Context, ref string, body RemoveNetworkBanJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveNetworkBanResponse, error) // GetNetworkBansWithResponse request GetNetworkBansWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetNetworkBansResponse, error) // GetNetworkRestrictionsWithResponse request GetNetworkRestrictionsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetNetworkRestrictionsResponse, error) // ApplyNetworkRestrictionsWithBodyWithResponse request with any body ApplyNetworkRestrictionsWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplyNetworkRestrictionsResponse, error) ApplyNetworkRestrictionsWithResponse(ctx context.Context, ref string, body ApplyNetworkRestrictionsJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplyNetworkRestrictionsResponse, error) // GetPgsodiumConfigWithResponse request GetPgsodiumConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetPgsodiumConfigResponse, error) // UpdatePgsodiumConfigWithBodyWithResponse request with any body UpdatePgsodiumConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePgsodiumConfigResponse, error) UpdatePgsodiumConfigWithResponse(ctx context.Context, ref string, body UpdatePgsodiumConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePgsodiumConfigResponse, error) // GetPostgRESTConfigWithResponse request GetPostgRESTConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetPostgRESTConfigResponse, error) // UpdatePostgRESTConfigWithBodyWithResponse request with any body UpdatePostgRESTConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePostgRESTConfigResponse, error) UpdatePostgRESTConfigWithResponse(ctx context.Context, ref string, body UpdatePostgRESTConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePostgRESTConfigResponse, error) // GetReadOnlyModeStatusWithResponse request GetReadOnlyModeStatusWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetReadOnlyModeStatusResponse, error) // TemporarilyDisableReadonlyModeWithResponse request TemporarilyDisableReadonlyModeWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*TemporarilyDisableReadonlyModeResponse, error) // DeleteSecretsWithBodyWithResponse request with any body DeleteSecretsWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteSecretsResponse, error) DeleteSecretsWithResponse(ctx context.Context, ref string, body DeleteSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteSecretsResponse, error) // GetSecretsWithResponse request GetSecretsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetSecretsResponse, error) // CreateSecretsWithBodyWithResponse request with any body CreateSecretsWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecretsResponse, error) CreateSecretsWithResponse(ctx context.Context, ref string, body CreateSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecretsResponse, error) // GetSslEnforcementConfigWithResponse request GetSslEnforcementConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetSslEnforcementConfigResponse, error) // UpdateSslEnforcementConfigWithBodyWithResponse request with any body UpdateSslEnforcementConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSslEnforcementConfigResponse, error) UpdateSslEnforcementConfigWithResponse(ctx context.Context, ref string, body UpdateSslEnforcementConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSslEnforcementConfigResponse, error) // GetTypescriptTypesWithResponse request GetTypescriptTypesWithResponse(ctx context.Context, ref string, params *GetTypescriptTypesParams, reqEditors ...RequestEditorFn) (*GetTypescriptTypesResponse, error) // UpgradeProjectWithBodyWithResponse request with any body UpgradeProjectWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpgradeProjectResponse, error) UpgradeProjectWithResponse(ctx context.Context, ref string, body UpgradeProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*UpgradeProjectResponse, error) // UpgradeEligibilityInformationWithResponse request UpgradeEligibilityInformationWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*UpgradeEligibilityInformationResponse, error) // GetUpgradeStatusWithResponse request GetUpgradeStatusWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetUpgradeStatusResponse, error) // RemoveVanitySubdomainConfigWithResponse request RemoveVanitySubdomainConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*RemoveVanitySubdomainConfigResponse, error) // GetVanitySubdomainConfigWithResponse request GetVanitySubdomainConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetVanitySubdomainConfigResponse, error) // ActivateVanitySubdomainPleaseWithBodyWithResponse request with any body ActivateVanitySubdomainPleaseWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActivateVanitySubdomainPleaseResponse, error) ActivateVanitySubdomainPleaseWithResponse(ctx context.Context, ref string, body ActivateVanitySubdomainPleaseJSONRequestBody, reqEditors ...RequestEditorFn) (*ActivateVanitySubdomainPleaseResponse, error) // CheckVanitySubdomainAvailabilityWithBodyWithResponse request with any body CheckVanitySubdomainAvailabilityWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CheckVanitySubdomainAvailabilityResponse, error) CheckVanitySubdomainAvailabilityWithResponse(ctx context.Context, ref string, body CheckVanitySubdomainAvailabilityJSONRequestBody, reqEditors ...RequestEditorFn) (*CheckVanitySubdomainAvailabilityResponse, error) // ListSnippetsWithResponse request ListSnippetsWithResponse(ctx context.Context, params *ListSnippetsParams, reqEditors ...RequestEditorFn) (*ListSnippetsResponse, error) // GetSnippetWithResponse request GetSnippetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSnippetResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreateBranchBody ¶ added in v1.79.0
type CreateBranchBody struct { BranchName string `json:"branch_name"` GitBranch *string `json:"git_branch,omitempty"` Region *string `json:"region,omitempty"` }
CreateBranchBody defines model for CreateBranchBody.
type CreateBranchJSONRequestBody ¶ added in v1.79.0
type CreateBranchJSONRequestBody = CreateBranchBody
CreateBranchJSONRequestBody defines body for CreateBranch for application/json ContentType.
type CreateBranchResponse ¶ added in v1.79.0
type CreateBranchResponse struct { Body []byte HTTPResponse *http.Response JSON201 *BranchResponse }
func ParseCreateBranchResponse ¶ added in v1.79.0
func ParseCreateBranchResponse(rsp *http.Response) (*CreateBranchResponse, error)
ParseCreateBranchResponse parses an HTTP response from a CreateBranchWithResponse call
func (CreateBranchResponse) Status ¶ added in v1.79.0
func (r CreateBranchResponse) Status() string
Status returns HTTPResponse.Status
func (CreateBranchResponse) StatusCode ¶ added in v1.79.0
func (r CreateBranchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateCustomHostnameConfigJSONRequestBody ¶ added in v1.10.0
type CreateCustomHostnameConfigJSONRequestBody = UpdateCustomHostnameBody
CreateCustomHostnameConfigJSONRequestBody defines body for CreateCustomHostnameConfig for application/json ContentType.
type CreateCustomHostnameConfigResponse ¶ added in v1.10.0
type CreateCustomHostnameConfigResponse struct { Body []byte HTTPResponse *http.Response JSON201 *UpdateCustomHostnameResponse }
func ParseCreateCustomHostnameConfigResponse ¶ added in v1.10.0
func ParseCreateCustomHostnameConfigResponse(rsp *http.Response) (*CreateCustomHostnameConfigResponse, error)
ParseCreateCustomHostnameConfigResponse parses an HTTP response from a CreateCustomHostnameConfigWithResponse call
func (CreateCustomHostnameConfigResponse) Status ¶ added in v1.10.0
func (r CreateCustomHostnameConfigResponse) Status() string
Status returns HTTPResponse.Status
func (CreateCustomHostnameConfigResponse) StatusCode ¶ added in v1.10.0
func (r CreateCustomHostnameConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateFunctionBody ¶
type CreateFunctionBody struct { Body string `json:"body"` Name string `json:"name"` Slug string `json:"slug"` VerifyJwt *bool `json:"verify_jwt,omitempty"` }
CreateFunctionBody defines model for CreateFunctionBody.
type CreateFunctionJSONRequestBody ¶
type CreateFunctionJSONRequestBody = CreateFunctionBody
CreateFunctionJSONRequestBody defines body for CreateFunction for application/json ContentType.
type CreateFunctionParams ¶ added in v1.12.3
type CreateFunctionParams struct { Slug *string `form:"slug,omitempty" json:"slug,omitempty"` Name *string `form:"name,omitempty" json:"name,omitempty"` VerifyJwt *bool `form:"verify_jwt,omitempty" json:"verify_jwt,omitempty"` ImportMap *bool `form:"import_map,omitempty" json:"import_map,omitempty"` EntrypointPath *string `form:"entrypoint_path,omitempty" json:"entrypoint_path,omitempty"` ImportMapPath *string `form:"import_map_path,omitempty" json:"import_map_path,omitempty"` }
CreateFunctionParams defines parameters for CreateFunction.
type CreateFunctionResponse ¶
type CreateFunctionResponse struct { Body []byte HTTPResponse *http.Response JSON201 *FunctionResponse }
func ParseCreateFunctionResponse ¶
func ParseCreateFunctionResponse(rsp *http.Response) (*CreateFunctionResponse, error)
ParseCreateFunctionResponse parses an HTTP response from a CreateFunctionWithResponse call
func (CreateFunctionResponse) Status ¶
func (r CreateFunctionResponse) Status() string
Status returns HTTPResponse.Status
func (CreateFunctionResponse) StatusCode ¶
func (r CreateFunctionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateOrganizationBodyV1 ¶ added in v1.119.0
type CreateOrganizationBodyV1 struct {
Name string `json:"name"`
}
CreateOrganizationBodyV1 defines model for CreateOrganizationBodyV1.
type CreateOrganizationJSONRequestBody ¶
type CreateOrganizationJSONRequestBody = CreateOrganizationBodyV1
CreateOrganizationJSONRequestBody defines body for CreateOrganization for application/json ContentType.
type CreateOrganizationResponse ¶
type CreateOrganizationResponse struct { Body []byte HTTPResponse *http.Response JSON201 *OrganizationResponseV1 }
func ParseCreateOrganizationResponse ¶
func ParseCreateOrganizationResponse(rsp *http.Response) (*CreateOrganizationResponse, error)
ParseCreateOrganizationResponse parses an HTTP response from a CreateOrganizationWithResponse call
func (CreateOrganizationResponse) Status ¶
func (r CreateOrganizationResponse) Status() string
Status returns HTTPResponse.Status
func (CreateOrganizationResponse) StatusCode ¶
func (r CreateOrganizationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateProjectBody ¶
type CreateProjectBody struct { // DbPass Database password DbPass string `json:"db_pass"` // Deprecated: KpsEnabled *bool `json:"kps_enabled,omitempty"` // Name Name of your project, should not contain dots Name string `json:"name"` // OrganizationId Slug of your organization OrganizationId string `json:"organization_id"` // Plan Subscription plan is now set on organization level and is ignored in this request // Deprecated: Plan CreateProjectBodyPlan `json:"plan"` // Region Region you want your server to reside in Region CreateProjectBodyRegion `json:"region"` }
CreateProjectBody defines model for CreateProjectBody.
type CreateProjectBodyPlan ¶
type CreateProjectBodyPlan string
CreateProjectBodyPlan Subscription plan is now set on organization level and is ignored in this request
const ( Free CreateProjectBodyPlan = "free" Pro CreateProjectBodyPlan = "pro" )
Defines values for CreateProjectBodyPlan.
type CreateProjectBodyRegion ¶
type CreateProjectBodyRegion string
CreateProjectBodyRegion Region you want your server to reside in
const ( ApNortheast1 CreateProjectBodyRegion = "ap-northeast-1" ApNortheast2 CreateProjectBodyRegion = "ap-northeast-2" ApSouth1 CreateProjectBodyRegion = "ap-south-1" ApSoutheast1 CreateProjectBodyRegion = "ap-southeast-1" ApSoutheast2 CreateProjectBodyRegion = "ap-southeast-2" CaCentral1 CreateProjectBodyRegion = "ca-central-1" EuCentral1 CreateProjectBodyRegion = "eu-central-1" EuWest1 CreateProjectBodyRegion = "eu-west-1" EuWest2 CreateProjectBodyRegion = "eu-west-2" EuWest3 CreateProjectBodyRegion = "eu-west-3" SaEast1 CreateProjectBodyRegion = "sa-east-1" UsEast1 CreateProjectBodyRegion = "us-east-1" UsWest1 CreateProjectBodyRegion = "us-west-1" UsWest2 CreateProjectBodyRegion = "us-west-2" )
Defines values for CreateProjectBodyRegion.
type CreateProjectJSONRequestBody ¶
type CreateProjectJSONRequestBody = CreateProjectBody
CreateProjectJSONRequestBody defines body for CreateProject for application/json ContentType.
type CreateProjectResponse ¶
type CreateProjectResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ProjectResponse JSON201 *ProjectResponse }
func ParseCreateProjectResponse ¶
func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, error)
ParseCreateProjectResponse parses an HTTP response from a CreateProjectWithResponse call
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 CreateProviderBody ¶ added in v1.45.3
type CreateProviderBody struct { AttributeMapping *AttributeMapping `json:"attribute_mapping,omitempty"` Domains *[]string `json:"domains,omitempty"` MetadataUrl *string `json:"metadata_url,omitempty"` MetadataXml *string `json:"metadata_xml,omitempty"` // Type What type of provider will be created Type CreateProviderBodyType `json:"type"` }
CreateProviderBody defines model for CreateProviderBody.
type CreateProviderBodyType ¶ added in v1.45.3
type CreateProviderBodyType string
CreateProviderBodyType What type of provider will be created
const (
Saml CreateProviderBodyType = "saml"
)
Defines values for CreateProviderBodyType.
type CreateProviderForProjectJSONRequestBody ¶ added in v1.45.3
type CreateProviderForProjectJSONRequestBody = CreateProviderBody
CreateProviderForProjectJSONRequestBody defines body for CreateProviderForProject for application/json ContentType.
type CreateProviderForProjectResponse ¶ added in v1.45.3
type CreateProviderForProjectResponse struct { Body []byte HTTPResponse *http.Response JSON201 *CreateProviderResponse }
func ParseCreateProviderForProjectResponse ¶ added in v1.45.3
func ParseCreateProviderForProjectResponse(rsp *http.Response) (*CreateProviderForProjectResponse, error)
ParseCreateProviderForProjectResponse parses an HTTP response from a CreateProviderForProjectWithResponse call
func (CreateProviderForProjectResponse) Status ¶ added in v1.45.3
func (r CreateProviderForProjectResponse) Status() string
Status returns HTTPResponse.Status
func (CreateProviderForProjectResponse) StatusCode ¶ added in v1.45.3
func (r CreateProviderForProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateProviderResponse ¶ added in v1.45.3
type CreateProviderResponse struct { CreatedAt *string `json:"created_at,omitempty"` Domains *[]Domain `json:"domains,omitempty"` Id string `json:"id"` Saml *SamlDescriptor `json:"saml,omitempty"` UpdatedAt *string `json:"updated_at,omitempty"` }
CreateProviderResponse defines model for CreateProviderResponse.
type CreateSecretBody ¶
type CreateSecretBody struct { // Name Secret name must not start with the SUPABASE_ prefix. Name string `json:"name"` Value string `json:"value"` }
CreateSecretBody defines model for CreateSecretBody.
type CreateSecretsJSONBody ¶
type CreateSecretsJSONBody = []CreateSecretBody
CreateSecretsJSONBody defines parameters for CreateSecrets.
type CreateSecretsJSONRequestBody ¶
type CreateSecretsJSONRequestBody = CreateSecretsJSONBody
CreateSecretsJSONRequestBody defines body for CreateSecrets for application/json ContentType.
type CreateSecretsResponse ¶
func ParseCreateSecretsResponse ¶
func ParseCreateSecretsResponse(rsp *http.Response) (*CreateSecretsResponse, error)
ParseCreateSecretsResponse parses an HTTP response from a CreateSecretsWithResponse call
func (CreateSecretsResponse) Status ¶
func (r CreateSecretsResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSecretsResponse) StatusCode ¶
func (r CreateSecretsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DatabaseResponse ¶ added in v1.17.2
type DatabaseResponse struct { // Host Database host Host string `json:"host"` // Version Database version Version string `json:"version"` }
DatabaseResponse defines model for DatabaseResponse.
type DatabaseUpgradeStatus ¶ added in v1.45.3
type DatabaseUpgradeStatus struct { Error *DatabaseUpgradeStatusError `json:"error,omitempty"` InitiatedAt string `json:"initiated_at"` Progress *DatabaseUpgradeStatusProgress `json:"progress,omitempty"` Status DatabaseUpgradeStatusStatus `json:"status"` TargetVersion float32 `json:"target_version"` }
DatabaseUpgradeStatus defines model for DatabaseUpgradeStatus.
type DatabaseUpgradeStatusError ¶ added in v1.45.3
type DatabaseUpgradeStatusError string
DatabaseUpgradeStatusError defines model for DatabaseUpgradeStatus.Error.
const ( N1UpgradedInstanceLaunchFailed DatabaseUpgradeStatusError = "1_upgraded_instance_launch_failed" N2VolumeDetachchmentFromUpgradedInstanceFailed DatabaseUpgradeStatusError = "2_volume_detachchment_from_upgraded_instance_failed" N3VolumeAttachmentToOriginalInstanceFailed DatabaseUpgradeStatusError = "3_volume_attachment_to_original_instance_failed" N4DataUpgradeInitiationFailed DatabaseUpgradeStatusError = "4_data_upgrade_initiation_failed" N5DataUpgradeCompletionFailed DatabaseUpgradeStatusError = "5_data_upgrade_completion_failed" N6VolumeDetachchmentFromOriginalInstanceFailed DatabaseUpgradeStatusError = "6_volume_detachchment_from_original_instance_failed" N7VolumeAttachmentToUpgradedInstanceFailed DatabaseUpgradeStatusError = "7_volume_attachment_to_upgraded_instance_failed" N8UpgradeCompletionFailed DatabaseUpgradeStatusError = "8_upgrade_completion_failed" )
Defines values for DatabaseUpgradeStatusError.
type DatabaseUpgradeStatusProgress ¶ added in v1.45.3
type DatabaseUpgradeStatusProgress string
DatabaseUpgradeStatusProgress defines model for DatabaseUpgradeStatus.Progress.
const ( N1Started DatabaseUpgradeStatusProgress = "1_started" N2LaunchedUpgradedInstance DatabaseUpgradeStatusProgress = "2_launched_upgraded_instance" N3DetachedVolumeFromUpgradedInstance DatabaseUpgradeStatusProgress = "3_detached_volume_from_upgraded_instance" N4AttachedVolumeToOriginalInstance DatabaseUpgradeStatusProgress = "4_attached_volume_to_original_instance" N5InitiatedDataUpgrade DatabaseUpgradeStatusProgress = "5_initiated_data_upgrade" N6CompletedDataUpgrade DatabaseUpgradeStatusProgress = "6_completed_data_upgrade" N7DetachedVolumeFromOriginalInstance DatabaseUpgradeStatusProgress = "7_detached_volume_from_original_instance" N8AttachedVolumeToUpgradedInstance DatabaseUpgradeStatusProgress = "8_attached_volume_to_upgraded_instance" N9CompletedUpgrade DatabaseUpgradeStatusProgress = "9_completed_upgrade" )
Defines values for DatabaseUpgradeStatusProgress.
type DatabaseUpgradeStatusResponse ¶ added in v1.45.3
type DatabaseUpgradeStatusResponse struct {
DatabaseUpgradeStatus *DatabaseUpgradeStatus `json:"databaseUpgradeStatus"`
}
DatabaseUpgradeStatusResponse defines model for DatabaseUpgradeStatusResponse.
type DatabaseUpgradeStatusStatus ¶ added in v1.45.3
type DatabaseUpgradeStatusStatus float32
DatabaseUpgradeStatusStatus defines model for DatabaseUpgradeStatus.Status.
const ( N0 DatabaseUpgradeStatusStatus = 0 N1 DatabaseUpgradeStatusStatus = 1 N2 DatabaseUpgradeStatusStatus = 2 )
Defines values for DatabaseUpgradeStatusStatus.
type DeleteBranchResponse ¶ added in v1.79.0
func ParseDeleteBranchResponse ¶ added in v1.79.0
func ParseDeleteBranchResponse(rsp *http.Response) (*DeleteBranchResponse, error)
ParseDeleteBranchResponse parses an HTTP response from a DeleteBranchWithResponse call
func (DeleteBranchResponse) Status ¶ added in v1.79.0
func (r DeleteBranchResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteBranchResponse) StatusCode ¶ added in v1.79.0
func (r DeleteBranchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteFunctionResponse ¶
func ParseDeleteFunctionResponse ¶
func ParseDeleteFunctionResponse(rsp *http.Response) (*DeleteFunctionResponse, error)
ParseDeleteFunctionResponse parses an HTTP response from a DeleteFunctionWithResponse call
func (DeleteFunctionResponse) Status ¶
func (r DeleteFunctionResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteFunctionResponse) StatusCode ¶
func (r DeleteFunctionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteProjectResponse ¶ added in v1.106.0
type DeleteProjectResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ProjectRefResponse }
func ParseDeleteProjectResponse ¶ added in v1.106.0
func ParseDeleteProjectResponse(rsp *http.Response) (*DeleteProjectResponse, error)
ParseDeleteProjectResponse parses an HTTP response from a DeleteProjectWithResponse call
func (DeleteProjectResponse) Status ¶ added in v1.106.0
func (r DeleteProjectResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteProjectResponse) StatusCode ¶ added in v1.106.0
func (r DeleteProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteProviderResponse ¶ added in v1.45.3
type DeleteProviderResponse struct { CreatedAt *string `json:"created_at,omitempty"` Domains *[]Domain `json:"domains,omitempty"` Id string `json:"id"` Saml *SamlDescriptor `json:"saml,omitempty"` UpdatedAt *string `json:"updated_at,omitempty"` }
DeleteProviderResponse defines model for DeleteProviderResponse.
type DeleteSecretsJSONBody ¶
type DeleteSecretsJSONBody = []string
DeleteSecretsJSONBody defines parameters for DeleteSecrets.
type DeleteSecretsJSONRequestBody ¶
type DeleteSecretsJSONRequestBody = DeleteSecretsJSONBody
DeleteSecretsJSONRequestBody defines body for DeleteSecrets for application/json ContentType.
type DeleteSecretsResponse ¶
type DeleteSecretsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *map[string]interface{} }
func ParseDeleteSecretsResponse ¶
func ParseDeleteSecretsResponse(rsp *http.Response) (*DeleteSecretsResponse, error)
ParseDeleteSecretsResponse parses an HTTP response from a DeleteSecretsWithResponse call
func (DeleteSecretsResponse) Status ¶
func (r DeleteSecretsResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSecretsResponse) StatusCode ¶
func (r DeleteSecretsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DisableBranchResponse ¶ added in v1.79.0
func ParseDisableBranchResponse ¶ added in v1.79.0
func ParseDisableBranchResponse(rsp *http.Response) (*DisableBranchResponse, error)
ParseDisableBranchResponse parses an HTTP response from a DisableBranchWithResponse call
func (DisableBranchResponse) Status ¶ added in v1.79.0
func (r DisableBranchResponse) Status() string
Status returns HTTPResponse.Status
func (DisableBranchResponse) StatusCode ¶ added in v1.79.0
func (r DisableBranchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Domain ¶ added in v1.45.3
type Domain struct { CreatedAt *string `json:"created_at,omitempty"` Domain *string `json:"domain,omitempty"` Id string `json:"id"` UpdatedAt *string `json:"updated_at,omitempty"` }
Domain defines model for Domain.
type FunctionResponse ¶
type FunctionResponse struct { CreatedAt float32 `json:"created_at"` EntrypointPath *string `json:"entrypoint_path,omitempty"` Id string `json:"id"` ImportMap *bool `json:"import_map,omitempty"` ImportMapPath *string `json:"import_map_path,omitempty"` Name string `json:"name"` Slug string `json:"slug"` Status FunctionResponseStatus `json:"status"` UpdatedAt float32 `json:"updated_at"` VerifyJwt *bool `json:"verify_jwt,omitempty"` Version float32 `json:"version"` }
FunctionResponse defines model for FunctionResponse.
type FunctionResponseStatus ¶
type FunctionResponseStatus string
FunctionResponseStatus defines model for FunctionResponse.Status.
const ( FunctionResponseStatusACTIVE FunctionResponseStatus = "ACTIVE" FunctionResponseStatusREMOVED FunctionResponseStatus = "REMOVED" FunctionResponseStatusTHROTTLED FunctionResponseStatus = "THROTTLED" )
Defines values for FunctionResponseStatus.
type FunctionSlugResponse ¶
type FunctionSlugResponse struct { CreatedAt float32 `json:"created_at"` EntrypointPath *string `json:"entrypoint_path,omitempty"` Id string `json:"id"` ImportMap *bool `json:"import_map,omitempty"` ImportMapPath *string `json:"import_map_path,omitempty"` Name string `json:"name"` Slug string `json:"slug"` Status FunctionSlugResponseStatus `json:"status"` UpdatedAt float32 `json:"updated_at"` VerifyJwt *bool `json:"verify_jwt,omitempty"` Version float32 `json:"version"` }
FunctionSlugResponse defines model for FunctionSlugResponse.
type FunctionSlugResponseStatus ¶
type FunctionSlugResponseStatus string
FunctionSlugResponseStatus defines model for FunctionSlugResponse.Status.
const ( ACTIVE FunctionSlugResponseStatus = "ACTIVE" REMOVED FunctionSlugResponseStatus = "REMOVED" THROTTLED FunctionSlugResponseStatus = "THROTTLED" )
Defines values for FunctionSlugResponseStatus.
type GetBranchDetailsResponse ¶ added in v1.79.0
type GetBranchDetailsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *BranchDetailResponse }
func ParseGetBranchDetailsResponse ¶ added in v1.79.0
func ParseGetBranchDetailsResponse(rsp *http.Response) (*GetBranchDetailsResponse, error)
ParseGetBranchDetailsResponse parses an HTTP response from a GetBranchDetailsWithResponse call
func (GetBranchDetailsResponse) Status ¶ added in v1.79.0
func (r GetBranchDetailsResponse) Status() string
Status returns HTTPResponse.Status
func (GetBranchDetailsResponse) StatusCode ¶ added in v1.79.0
func (r GetBranchDetailsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBranchesResponse ¶ added in v1.79.0
type GetBranchesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]BranchResponse }
func ParseGetBranchesResponse ¶ added in v1.79.0
func ParseGetBranchesResponse(rsp *http.Response) (*GetBranchesResponse, error)
ParseGetBranchesResponse parses an HTTP response from a GetBranchesWithResponse call
func (GetBranchesResponse) Status ¶ added in v1.79.0
func (r GetBranchesResponse) Status() string
Status returns HTTPResponse.Status
func (GetBranchesResponse) StatusCode ¶ added in v1.79.0
func (r GetBranchesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetConfigResponse ¶ added in v1.8.0
type GetConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PostgresConfigResponse }
func ParseGetConfigResponse ¶ added in v1.8.0
func ParseGetConfigResponse(rsp *http.Response) (*GetConfigResponse, error)
ParseGetConfigResponse parses an HTTP response from a GetConfigWithResponse call
func (GetConfigResponse) Status ¶ added in v1.8.0
func (r GetConfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetConfigResponse) StatusCode ¶ added in v1.8.0
func (r GetConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCustomHostnameConfigResponse ¶ added in v1.10.0
type GetCustomHostnameConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *UpdateCustomHostnameResponse }
func ParseGetCustomHostnameConfigResponse ¶ added in v1.10.0
func ParseGetCustomHostnameConfigResponse(rsp *http.Response) (*GetCustomHostnameConfigResponse, error)
ParseGetCustomHostnameConfigResponse parses an HTTP response from a GetCustomHostnameConfigWithResponse call
func (GetCustomHostnameConfigResponse) Status ¶ added in v1.10.0
func (r GetCustomHostnameConfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetCustomHostnameConfigResponse) StatusCode ¶ added in v1.10.0
func (r GetCustomHostnameConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFunctionBodyResponse ¶ added in v1.17.2
func ParseGetFunctionBodyResponse ¶ added in v1.17.2
func ParseGetFunctionBodyResponse(rsp *http.Response) (*GetFunctionBodyResponse, error)
ParseGetFunctionBodyResponse parses an HTTP response from a GetFunctionBodyWithResponse call
func (GetFunctionBodyResponse) Status ¶ added in v1.17.2
func (r GetFunctionBodyResponse) Status() string
Status returns HTTPResponse.Status
func (GetFunctionBodyResponse) StatusCode ¶ added in v1.17.2
func (r GetFunctionBodyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFunctionResponse ¶
type GetFunctionResponse struct { Body []byte HTTPResponse *http.Response JSON200 *FunctionSlugResponse }
func ParseGetFunctionResponse ¶
func ParseGetFunctionResponse(rsp *http.Response) (*GetFunctionResponse, error)
ParseGetFunctionResponse parses an HTTP response from a GetFunctionWithResponse call
func (GetFunctionResponse) Status ¶
func (r GetFunctionResponse) Status() string
Status returns HTTPResponse.Status
func (GetFunctionResponse) StatusCode ¶
func (r GetFunctionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFunctionsResponse ¶
type GetFunctionsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]FunctionResponse }
func ParseGetFunctionsResponse ¶
func ParseGetFunctionsResponse(rsp *http.Response) (*GetFunctionsResponse, error)
ParseGetFunctionsResponse parses an HTTP response from a GetFunctionsWithResponse call
func (GetFunctionsResponse) Status ¶
func (r GetFunctionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetFunctionsResponse) StatusCode ¶
func (r GetFunctionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNetworkBansResponse ¶ added in v1.12.3
type GetNetworkBansResponse struct { Body []byte HTTPResponse *http.Response JSON201 *NetworkBanResponse }
func ParseGetNetworkBansResponse ¶ added in v1.12.3
func ParseGetNetworkBansResponse(rsp *http.Response) (*GetNetworkBansResponse, error)
ParseGetNetworkBansResponse parses an HTTP response from a GetNetworkBansWithResponse call
func (GetNetworkBansResponse) Status ¶ added in v1.12.3
func (r GetNetworkBansResponse) Status() string
Status returns HTTPResponse.Status
func (GetNetworkBansResponse) StatusCode ¶ added in v1.12.3
func (r GetNetworkBansResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNetworkRestrictionsResponse ¶ added in v1.20.0
type GetNetworkRestrictionsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *NetworkRestrictionsResponse }
func ParseGetNetworkRestrictionsResponse ¶ added in v1.20.0
func ParseGetNetworkRestrictionsResponse(rsp *http.Response) (*GetNetworkRestrictionsResponse, error)
ParseGetNetworkRestrictionsResponse parses an HTTP response from a GetNetworkRestrictionsWithResponse call
func (GetNetworkRestrictionsResponse) Status ¶ added in v1.20.0
func (r GetNetworkRestrictionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetNetworkRestrictionsResponse) StatusCode ¶ added in v1.20.0
func (r GetNetworkRestrictionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOrganizationsResponse ¶
type GetOrganizationsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]OrganizationResponseV1 }
func ParseGetOrganizationsResponse ¶
func ParseGetOrganizationsResponse(rsp *http.Response) (*GetOrganizationsResponse, error)
ParseGetOrganizationsResponse parses an HTTP response from a GetOrganizationsWithResponse call
func (GetOrganizationsResponse) Status ¶
func (r GetOrganizationsResponse) Status() string
Status returns HTTPResponse.Status
func (GetOrganizationsResponse) StatusCode ¶
func (r GetOrganizationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPgsodiumConfigResponse ¶ added in v1.57.5
type GetPgsodiumConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PgsodiumConfigResponse }
func ParseGetPgsodiumConfigResponse ¶ added in v1.57.5
func ParseGetPgsodiumConfigResponse(rsp *http.Response) (*GetPgsodiumConfigResponse, error)
ParseGetPgsodiumConfigResponse parses an HTTP response from a GetPgsodiumConfigWithResponse call
func (GetPgsodiumConfigResponse) Status ¶ added in v1.57.5
func (r GetPgsodiumConfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetPgsodiumConfigResponse) StatusCode ¶ added in v1.57.5
func (r GetPgsodiumConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPostgRESTConfigResponse ¶ added in v1.22.2
type GetPostgRESTConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PostgrestConfigWithJWTSecretResponse }
func ParseGetPostgRESTConfigResponse ¶ added in v1.22.2
func ParseGetPostgRESTConfigResponse(rsp *http.Response) (*GetPostgRESTConfigResponse, error)
ParseGetPostgRESTConfigResponse parses an HTTP response from a GetPostgRESTConfigWithResponse call
func (GetPostgRESTConfigResponse) Status ¶ added in v1.22.2
func (r GetPostgRESTConfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetPostgRESTConfigResponse) StatusCode ¶ added in v1.22.2
func (r GetPostgRESTConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProjectApiKeysResponse ¶ added in v1.57.5
type GetProjectApiKeysResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]ApiKeyResponse }
func ParseGetProjectApiKeysResponse ¶ added in v1.57.5
func ParseGetProjectApiKeysResponse(rsp *http.Response) (*GetProjectApiKeysResponse, error)
ParseGetProjectApiKeysResponse parses an HTTP response from a GetProjectApiKeysWithResponse call
func (GetProjectApiKeysResponse) Status ¶ added in v1.57.5
func (r GetProjectApiKeysResponse) Status() string
Status returns HTTPResponse.Status
func (GetProjectApiKeysResponse) StatusCode ¶ added in v1.57.5
func (r GetProjectApiKeysResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProjectsResponse ¶
type GetProjectsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]ProjectResponse }
func ParseGetProjectsResponse ¶
func ParseGetProjectsResponse(rsp *http.Response) (*GetProjectsResponse, error)
ParseGetProjectsResponse parses an HTTP response from a GetProjectsWithResponse call
func (GetProjectsResponse) Status ¶
func (r GetProjectsResponse) Status() string
Status returns HTTPResponse.Status
func (GetProjectsResponse) StatusCode ¶
func (r GetProjectsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProviderByIdResponse ¶ added in v1.45.3
type GetProviderByIdResponse struct { Body []byte HTTPResponse *http.Response JSON200 *GetProviderResponse }
func ParseGetProviderByIdResponse ¶ added in v1.45.3
func ParseGetProviderByIdResponse(rsp *http.Response) (*GetProviderByIdResponse, error)
ParseGetProviderByIdResponse parses an HTTP response from a GetProviderByIdWithResponse call
func (GetProviderByIdResponse) Status ¶ added in v1.45.3
func (r GetProviderByIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetProviderByIdResponse) StatusCode ¶ added in v1.45.3
func (r GetProviderByIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProviderResponse ¶ added in v1.45.3
type GetProviderResponse struct { CreatedAt *string `json:"created_at,omitempty"` Domains *[]Domain `json:"domains,omitempty"` Id string `json:"id"` Saml *SamlDescriptor `json:"saml,omitempty"` UpdatedAt *string `json:"updated_at,omitempty"` }
GetProviderResponse defines model for GetProviderResponse.
type GetReadOnlyModeStatusResponse ¶ added in v1.45.3
type GetReadOnlyModeStatusResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ReadOnlyStatusResponse }
func ParseGetReadOnlyModeStatusResponse ¶ added in v1.45.3
func ParseGetReadOnlyModeStatusResponse(rsp *http.Response) (*GetReadOnlyModeStatusResponse, error)
ParseGetReadOnlyModeStatusResponse parses an HTTP response from a GetReadOnlyModeStatusWithResponse call
func (GetReadOnlyModeStatusResponse) Status ¶ added in v1.45.3
func (r GetReadOnlyModeStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetReadOnlyModeStatusResponse) StatusCode ¶ added in v1.45.3
func (r GetReadOnlyModeStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSecretsResponse ¶
type GetSecretsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]SecretResponse }
func ParseGetSecretsResponse ¶
func ParseGetSecretsResponse(rsp *http.Response) (*GetSecretsResponse, error)
ParseGetSecretsResponse parses an HTTP response from a GetSecretsWithResponse call
func (GetSecretsResponse) Status ¶
func (r GetSecretsResponse) Status() string
Status returns HTTPResponse.Status
func (GetSecretsResponse) StatusCode ¶
func (r GetSecretsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSnippetResponse ¶ added in v1.96.0
type GetSnippetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SnippetResponse }
func ParseGetSnippetResponse ¶ added in v1.96.0
func ParseGetSnippetResponse(rsp *http.Response) (*GetSnippetResponse, error)
ParseGetSnippetResponse parses an HTTP response from a GetSnippetWithResponse call
func (GetSnippetResponse) Status ¶ added in v1.96.0
func (r GetSnippetResponse) Status() string
Status returns HTTPResponse.Status
func (GetSnippetResponse) StatusCode ¶ added in v1.96.0
func (r GetSnippetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSslEnforcementConfigResponse ¶ added in v1.25.0
type GetSslEnforcementConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SslEnforcementResponse }
func ParseGetSslEnforcementConfigResponse ¶ added in v1.25.0
func ParseGetSslEnforcementConfigResponse(rsp *http.Response) (*GetSslEnforcementConfigResponse, error)
ParseGetSslEnforcementConfigResponse parses an HTTP response from a GetSslEnforcementConfigWithResponse call
func (GetSslEnforcementConfigResponse) Status ¶ added in v1.25.0
func (r GetSslEnforcementConfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetSslEnforcementConfigResponse) StatusCode ¶ added in v1.25.0
func (r GetSslEnforcementConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTypescriptTypesParams ¶ added in v1.8.0
type GetTypescriptTypesParams struct {
IncludedSchemas *string `form:"included_schemas,omitempty" json:"included_schemas,omitempty"`
}
GetTypescriptTypesParams defines parameters for GetTypescriptTypes.
type GetTypescriptTypesResponse ¶ added in v1.8.0
type GetTypescriptTypesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *TypescriptResponse }
func ParseGetTypescriptTypesResponse ¶ added in v1.8.0
func ParseGetTypescriptTypesResponse(rsp *http.Response) (*GetTypescriptTypesResponse, error)
ParseGetTypescriptTypesResponse parses an HTTP response from a GetTypescriptTypesWithResponse call
func (GetTypescriptTypesResponse) Status ¶ added in v1.8.0
func (r GetTypescriptTypesResponse) Status() string
Status returns HTTPResponse.Status
func (GetTypescriptTypesResponse) StatusCode ¶ added in v1.8.0
func (r GetTypescriptTypesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUpgradeStatusResponse ¶ added in v1.45.3
type GetUpgradeStatusResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DatabaseUpgradeStatusResponse }
func ParseGetUpgradeStatusResponse ¶ added in v1.45.3
func ParseGetUpgradeStatusResponse(rsp *http.Response) (*GetUpgradeStatusResponse, error)
ParseGetUpgradeStatusResponse parses an HTTP response from a GetUpgradeStatusWithResponse call
func (GetUpgradeStatusResponse) Status ¶ added in v1.45.3
func (r GetUpgradeStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetUpgradeStatusResponse) StatusCode ¶ added in v1.45.3
func (r GetUpgradeStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1AuthConfigResponse ¶ added in v1.93.0
type GetV1AuthConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *AuthConfigResponse }
func ParseGetV1AuthConfigResponse ¶ added in v1.93.0
func ParseGetV1AuthConfigResponse(rsp *http.Response) (*GetV1AuthConfigResponse, error)
ParseGetV1AuthConfigResponse parses an HTTP response from a GetV1AuthConfigWithResponse call
func (GetV1AuthConfigResponse) Status ¶ added in v1.93.0
func (r GetV1AuthConfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1AuthConfigResponse) StatusCode ¶ added in v1.93.0
func (r GetV1AuthConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVanitySubdomainConfigResponse ¶ added in v1.22.0
type GetVanitySubdomainConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *VanitySubdomainConfigResponse }
func ParseGetVanitySubdomainConfigResponse ¶ added in v1.22.0
func ParseGetVanitySubdomainConfigResponse(rsp *http.Response) (*GetVanitySubdomainConfigResponse, error)
ParseGetVanitySubdomainConfigResponse parses an HTTP response from a GetVanitySubdomainConfigWithResponse call
func (GetVanitySubdomainConfigResponse) Status ¶ added in v1.22.0
func (r GetVanitySubdomainConfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetVanitySubdomainConfigResponse) StatusCode ¶ added in v1.22.0
func (r GetVanitySubdomainConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type ListAllProvidersResponse ¶ added in v1.45.3
type ListAllProvidersResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListProvidersResponse }
func ParseListAllProvidersResponse ¶ added in v1.45.3
func ParseListAllProvidersResponse(rsp *http.Response) (*ListAllProvidersResponse, error)
ParseListAllProvidersResponse parses an HTTP response from a ListAllProvidersWithResponse call
func (ListAllProvidersResponse) Status ¶ added in v1.45.3
func (r ListAllProvidersResponse) Status() string
Status returns HTTPResponse.Status
func (ListAllProvidersResponse) StatusCode ¶ added in v1.45.3
func (r ListAllProvidersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListProvidersResponse ¶ added in v1.45.3
type ListProvidersResponse struct {
Items []Provider `json:"items"`
}
ListProvidersResponse defines model for ListProvidersResponse.
type ListSnippetsParams ¶ added in v1.96.0
type ListSnippetsParams struct {
ProjectRef *string `form:"project_ref,omitempty" json:"project_ref,omitempty"`
}
ListSnippetsParams defines parameters for ListSnippets.
type ListSnippetsResponse ¶ added in v1.96.0
type ListSnippetsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SnippetList }
func ParseListSnippetsResponse ¶ added in v1.96.0
func ParseListSnippetsResponse(rsp *http.Response) (*ListSnippetsResponse, error)
ParseListSnippetsResponse parses an HTTP response from a ListSnippetsWithResponse call
func (ListSnippetsResponse) Status ¶ added in v1.96.0
func (r ListSnippetsResponse) Status() string
Status returns HTTPResponse.Status
func (ListSnippetsResponse) StatusCode ¶ added in v1.96.0
func (r ListSnippetsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type NetworkBanResponse ¶ added in v1.12.3
type NetworkBanResponse struct {
BannedIpv4Addresses []string `json:"banned_ipv4_addresses"`
}
NetworkBanResponse defines model for NetworkBanResponse.
type NetworkRestrictionsRequest ¶ added in v1.20.0
type NetworkRestrictionsRequest struct {
DbAllowedCidrs []string `json:"dbAllowedCidrs"`
}
NetworkRestrictionsRequest defines model for NetworkRestrictionsRequest.
type NetworkRestrictionsResponse ¶ added in v1.20.0
type NetworkRestrictionsResponse struct { Config NetworkRestrictionsRequest `json:"config"` Entitlement NetworkRestrictionsResponseEntitlement `json:"entitlement"` OldConfig *NetworkRestrictionsRequest `json:"old_config,omitempty"` Status NetworkRestrictionsResponseStatus `json:"status"` }
NetworkRestrictionsResponse defines model for NetworkRestrictionsResponse.
type NetworkRestrictionsResponseEntitlement ¶ added in v1.20.0
type NetworkRestrictionsResponseEntitlement string
NetworkRestrictionsResponseEntitlement defines model for NetworkRestrictionsResponse.Entitlement.
const ( Allowed NetworkRestrictionsResponseEntitlement = "allowed" Disallowed NetworkRestrictionsResponseEntitlement = "disallowed" )
Defines values for NetworkRestrictionsResponseEntitlement.
type NetworkRestrictionsResponseStatus ¶ added in v1.20.0
type NetworkRestrictionsResponseStatus string
NetworkRestrictionsResponseStatus defines model for NetworkRestrictionsResponse.Status.
const ( Applied NetworkRestrictionsResponseStatus = "applied" Stored NetworkRestrictionsResponseStatus = "stored" )
Defines values for NetworkRestrictionsResponseStatus.
type OAuthTokenBody ¶ added in v1.93.0
type OAuthTokenBody struct { ClientId string `json:"client_id"` ClientSecret string `json:"client_secret"` Code *string `json:"code,omitempty"` CodeVerifier *string `json:"code_verifier,omitempty"` GrantType OAuthTokenBodyGrantType `json:"grant_type"` RedirectUri *string `json:"redirect_uri,omitempty"` RefreshToken *string `json:"refresh_token,omitempty"` }
OAuthTokenBody defines model for OAuthTokenBody.
type OAuthTokenBodyGrantType ¶ added in v1.93.0
type OAuthTokenBodyGrantType string
OAuthTokenBodyGrantType defines model for OAuthTokenBody.GrantType.
const ( AuthorizationCode OAuthTokenBodyGrantType = "authorization_code" RefreshToken OAuthTokenBodyGrantType = "refresh_token" )
Defines values for OAuthTokenBodyGrantType.
type OAuthTokenResponse ¶ added in v1.93.0
type OAuthTokenResponse struct { AccessToken string `json:"access_token"` ExpiresIn float32 `json:"expires_in"` RefreshToken string `json:"refresh_token"` TokenType OAuthTokenResponseTokenType `json:"token_type"` }
OAuthTokenResponse defines model for OAuthTokenResponse.
type OAuthTokenResponseTokenType ¶ added in v1.93.0
type OAuthTokenResponseTokenType string
OAuthTokenResponseTokenType defines model for OAuthTokenResponse.TokenType.
const (
Bearer OAuthTokenResponseTokenType = "Bearer"
)
Defines values for OAuthTokenResponseTokenType.
type OrganizationResponseV1 ¶ added in v1.119.0
OrganizationResponseV1 defines model for OrganizationResponseV1.
type PgsodiumConfigResponse ¶ added in v1.22.2
type PgsodiumConfigResponse struct {
RootKey string `json:"root_key"`
}
PgsodiumConfigResponse defines model for PgsodiumConfigResponse.
type PostgresConfigResponse ¶ added in v1.57.5
type PostgresConfigResponse struct { EffectiveCacheSize *string `json:"effective_cache_size,omitempty"` MaintenanceWorkMem *string `json:"maintenance_work_mem,omitempty"` MaxConnections *int `json:"max_connections,omitempty"` MaxParallelMaintenanceWorkers *int `json:"max_parallel_maintenance_workers,omitempty"` MaxParallelWorkers *int `json:"max_parallel_workers,omitempty"` MaxParallelWorkersPerGather *int `json:"max_parallel_workers_per_gather,omitempty"` MaxWorkerProcesses *int `json:"max_worker_processes,omitempty"` SessionReplicationRole *PostgresConfigResponseSessionReplicationRole `json:"session_replication_role,omitempty"` StatementTimeout *string `json:"statement_timeout,omitempty"` WorkMem *string `json:"work_mem,omitempty"` }
PostgresConfigResponse defines model for PostgresConfigResponse.
type PostgresConfigResponseSessionReplicationRole ¶ added in v1.57.5
type PostgresConfigResponseSessionReplicationRole string
PostgresConfigResponseSessionReplicationRole defines model for PostgresConfigResponse.SessionReplicationRole.
const ( PostgresConfigResponseSessionReplicationRoleLocal PostgresConfigResponseSessionReplicationRole = "local" PostgresConfigResponseSessionReplicationRoleOrigin PostgresConfigResponseSessionReplicationRole = "origin" PostgresConfigResponseSessionReplicationRoleReplica PostgresConfigResponseSessionReplicationRole = "replica" )
Defines values for PostgresConfigResponseSessionReplicationRole.
type PostgrestConfigResponse ¶ added in v1.22.2
type PostgrestConfigResponse struct { DbExtraSearchPath string `json:"db_extra_search_path"` DbSchema string `json:"db_schema"` MaxRows int `json:"max_rows"` }
PostgrestConfigResponse defines model for PostgrestConfigResponse.
type PostgrestConfigWithJWTSecretResponse ¶ added in v1.57.5
type PostgrestConfigWithJWTSecretResponse struct { DbExtraSearchPath string `json:"db_extra_search_path"` DbSchema string `json:"db_schema"` JwtSecret *string `json:"jwt_secret,omitempty"` MaxRows int `json:"max_rows"` }
PostgrestConfigWithJWTSecretResponse defines model for PostgrestConfigWithJWTSecretResponse.
type ProjectRefResponse ¶ added in v1.106.0
type ProjectRefResponse struct { Id float32 `json:"id"` Name string `json:"name"` Ref string `json:"ref"` }
ProjectRefResponse defines model for ProjectRefResponse.
type ProjectResponse ¶
type ProjectResponse struct { // CreatedAt Creation timestamp CreatedAt string `json:"created_at"` Database *DatabaseResponse `json:"database,omitempty"` // Id Id of your project Id string `json:"id"` // Name Name of your project Name string `json:"name"` // OrganizationId Slug of your organization OrganizationId string `json:"organization_id"` // Region Region of your project Region string `json:"region"` }
ProjectResponse defines model for ProjectResponse.
type ProjectUpgradeEligibilityResponse ¶ added in v1.45.3
type ProjectUpgradeEligibilityResponse struct { CurrentAppVersion string `json:"current_app_version"` DurationEstimateHours float32 `json:"duration_estimate_hours"` Eligible bool `json:"eligible"` ExtensionDependentObjects []string `json:"extension_dependent_objects"` LatestAppVersion string `json:"latest_app_version"` LegacyAuthCustomRoles []string `json:"legacy_auth_custom_roles"` PotentialBreakingChanges []string `json:"potential_breaking_changes"` RequiresManualIntervention *string `json:"requires_manual_intervention"` TargetUpgradeVersions []ProjectVersion `json:"target_upgrade_versions"` }
ProjectUpgradeEligibilityResponse defines model for ProjectUpgradeEligibilityResponse.
type ProjectUpgradeInitiateResponse ¶ added in v1.119.0
type ProjectUpgradeInitiateResponse struct {
TrackingId string `json:"tracking_id"`
}
ProjectUpgradeInitiateResponse defines model for ProjectUpgradeInitiateResponse.
type ProjectVersion ¶ added in v1.45.3
type ProjectVersion struct { AppVersion string `json:"app_version"` PostgresVersion float32 `json:"postgres_version"` }
ProjectVersion defines model for ProjectVersion.
type Provider ¶ added in v1.45.3
type Provider struct { CreatedAt *string `json:"created_at,omitempty"` Domains *[]Domain `json:"domains,omitempty"` Id string `json:"id"` Saml *SamlDescriptor `json:"saml,omitempty"` UpdatedAt *string `json:"updated_at,omitempty"` }
Provider defines model for Provider.
type ReadOnlyStatusResponse ¶ added in v1.45.3
type ReadOnlyStatusResponse struct { Enabled bool `json:"enabled"` OverrideActiveUntil string `json:"override_active_until"` OverrideEnabled bool `json:"override_enabled"` }
ReadOnlyStatusResponse defines model for ReadOnlyStatusResponse.
type RealtimeHealthResponse ¶ added in v1.106.0
type RealtimeHealthResponse struct { ConnectedCluster float32 `json:"connected_cluster"` DbConnected bool `json:"db_connected"` Healthy bool `json:"healthy"` }
RealtimeHealthResponse defines model for RealtimeHealthResponse.
type RemoveCustomHostnameConfigResponse ¶ added in v1.12.3
func ParseRemoveCustomHostnameConfigResponse ¶ added in v1.12.3
func ParseRemoveCustomHostnameConfigResponse(rsp *http.Response) (*RemoveCustomHostnameConfigResponse, error)
ParseRemoveCustomHostnameConfigResponse parses an HTTP response from a RemoveCustomHostnameConfigWithResponse call
func (RemoveCustomHostnameConfigResponse) Status ¶ added in v1.12.3
func (r RemoveCustomHostnameConfigResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveCustomHostnameConfigResponse) StatusCode ¶ added in v1.12.3
func (r RemoveCustomHostnameConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveNetworkBanJSONRequestBody ¶ added in v1.12.3
type RemoveNetworkBanJSONRequestBody = RemoveNetworkBanRequest
RemoveNetworkBanJSONRequestBody defines body for RemoveNetworkBan for application/json ContentType.
type RemoveNetworkBanRequest ¶ added in v1.12.3
type RemoveNetworkBanRequest struct {
Ipv4Addresses []string `json:"ipv4_addresses"`
}
RemoveNetworkBanRequest defines model for RemoveNetworkBanRequest.
type RemoveNetworkBanResponse ¶ added in v1.12.3
func ParseRemoveNetworkBanResponse ¶ added in v1.12.3
func ParseRemoveNetworkBanResponse(rsp *http.Response) (*RemoveNetworkBanResponse, error)
ParseRemoveNetworkBanResponse parses an HTTP response from a RemoveNetworkBanWithResponse call
func (RemoveNetworkBanResponse) Status ¶ added in v1.12.3
func (r RemoveNetworkBanResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveNetworkBanResponse) StatusCode ¶ added in v1.12.3
func (r RemoveNetworkBanResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveProviderByIdResponse ¶ added in v1.45.3
type RemoveProviderByIdResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DeleteProviderResponse }
func ParseRemoveProviderByIdResponse ¶ added in v1.45.3
func ParseRemoveProviderByIdResponse(rsp *http.Response) (*RemoveProviderByIdResponse, error)
ParseRemoveProviderByIdResponse parses an HTTP response from a RemoveProviderByIdWithResponse call
func (RemoveProviderByIdResponse) Status ¶ added in v1.45.3
func (r RemoveProviderByIdResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveProviderByIdResponse) StatusCode ¶ added in v1.45.3
func (r RemoveProviderByIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveVanitySubdomainConfigResponse ¶ added in v1.22.0
func ParseRemoveVanitySubdomainConfigResponse ¶ added in v1.22.0
func ParseRemoveVanitySubdomainConfigResponse(rsp *http.Response) (*RemoveVanitySubdomainConfigResponse, error)
ParseRemoveVanitySubdomainConfigResponse parses an HTTP response from a RemoveVanitySubdomainConfigWithResponse call
func (RemoveVanitySubdomainConfigResponse) Status ¶ added in v1.22.0
func (r RemoveVanitySubdomainConfigResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveVanitySubdomainConfigResponse) StatusCode ¶ added in v1.22.0
func (r RemoveVanitySubdomainConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ReverifyResponse ¶ added in v1.10.0
type ReverifyResponse struct { Body []byte HTTPResponse *http.Response JSON201 *UpdateCustomHostnameResponse }
func ParseReverifyResponse ¶ added in v1.10.0
func ParseReverifyResponse(rsp *http.Response) (*ReverifyResponse, error)
ParseReverifyResponse parses an HTTP response from a ReverifyWithResponse call
func (ReverifyResponse) Status ¶ added in v1.10.0
func (r ReverifyResponse) Status() string
Status returns HTTPResponse.Status
func (ReverifyResponse) StatusCode ¶ added in v1.10.0
func (r ReverifyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RunQueryBody ¶ added in v1.79.0
type RunQueryBody struct {
Query string `json:"query"`
}
RunQueryBody defines model for RunQueryBody.
type SamlDescriptor ¶ added in v1.45.3
type SamlDescriptor struct { AttributeMapping *AttributeMapping `json:"attribute_mapping,omitempty"` EntityId string `json:"entity_id"` Id string `json:"id"` MetadataUrl *string `json:"metadata_url,omitempty"` MetadataXml *string `json:"metadata_xml,omitempty"` }
SamlDescriptor defines model for SamlDescriptor.
type SecretResponse ¶
SecretResponse defines model for SecretResponse.
type ServiceHealthResponse ¶ added in v1.106.0
type ServiceHealthResponse struct { Error *string `json:"error,omitempty"` Healthy bool `json:"healthy"` Info *ServiceHealthResponse_Info `json:"info,omitempty"` Name ServiceHealthResponseName `json:"name"` }
ServiceHealthResponse defines model for ServiceHealthResponse.
type ServiceHealthResponseName ¶ added in v1.106.0
type ServiceHealthResponseName string
ServiceHealthResponseName defines model for ServiceHealthResponse.Name.
const ( ServiceHealthResponseNameAuth ServiceHealthResponseName = "auth" ServiceHealthResponseNameDb ServiceHealthResponseName = "db" ServiceHealthResponseNameRealtime ServiceHealthResponseName = "realtime" ServiceHealthResponseNameRest ServiceHealthResponseName = "rest" ServiceHealthResponseNameStorage ServiceHealthResponseName = "storage" )
Defines values for ServiceHealthResponseName.
type ServiceHealthResponse_Info ¶ added in v1.106.0
type ServiceHealthResponse_Info struct {
// contains filtered or unexported fields
}
ServiceHealthResponse_Info defines model for ServiceHealthResponse.Info.
func (ServiceHealthResponse_Info) AsAuthHealthResponse ¶ added in v1.106.0
func (t ServiceHealthResponse_Info) AsAuthHealthResponse() (AuthHealthResponse, error)
AsAuthHealthResponse returns the union data inside the ServiceHealthResponse_Info as a AuthHealthResponse
func (ServiceHealthResponse_Info) AsRealtimeHealthResponse ¶ added in v1.106.0
func (t ServiceHealthResponse_Info) AsRealtimeHealthResponse() (RealtimeHealthResponse, error)
AsRealtimeHealthResponse returns the union data inside the ServiceHealthResponse_Info as a RealtimeHealthResponse
func (*ServiceHealthResponse_Info) FromAuthHealthResponse ¶ added in v1.106.0
func (t *ServiceHealthResponse_Info) FromAuthHealthResponse(v AuthHealthResponse) error
FromAuthHealthResponse overwrites any union data inside the ServiceHealthResponse_Info as the provided AuthHealthResponse
func (*ServiceHealthResponse_Info) FromRealtimeHealthResponse ¶ added in v1.106.0
func (t *ServiceHealthResponse_Info) FromRealtimeHealthResponse(v RealtimeHealthResponse) error
FromRealtimeHealthResponse overwrites any union data inside the ServiceHealthResponse_Info as the provided RealtimeHealthResponse
func (ServiceHealthResponse_Info) MarshalJSON ¶ added in v1.106.0
func (t ServiceHealthResponse_Info) MarshalJSON() ([]byte, error)
func (*ServiceHealthResponse_Info) MergeAuthHealthResponse ¶ added in v1.106.0
func (t *ServiceHealthResponse_Info) MergeAuthHealthResponse(v AuthHealthResponse) error
MergeAuthHealthResponse performs a merge with any union data inside the ServiceHealthResponse_Info, using the provided AuthHealthResponse
func (*ServiceHealthResponse_Info) MergeRealtimeHealthResponse ¶ added in v1.106.0
func (t *ServiceHealthResponse_Info) MergeRealtimeHealthResponse(v RealtimeHealthResponse) error
MergeRealtimeHealthResponse performs a merge with any union data inside the ServiceHealthResponse_Info, using the provided RealtimeHealthResponse
func (*ServiceHealthResponse_Info) UnmarshalJSON ¶ added in v1.106.0
func (t *ServiceHealthResponse_Info) UnmarshalJSON(b []byte) error
type SnippetContent ¶ added in v1.96.0
type SnippetContent struct { Favorite bool `json:"favorite"` SchemaVersion string `json:"schema_version"` Sql string `json:"sql"` }
SnippetContent defines model for SnippetContent.
type SnippetList ¶ added in v1.96.0
type SnippetList struct {
Data []SnippetMeta `json:"data"`
}
SnippetList defines model for SnippetList.
type SnippetMeta ¶ added in v1.96.0
type SnippetMeta struct { Description *string `json:"description"` Id string `json:"id"` InsertedAt string `json:"inserted_at"` Name string `json:"name"` Owner SnippetUser `json:"owner"` Project SnippetProject `json:"project"` Type SnippetMetaType `json:"type"` UpdatedAt string `json:"updated_at"` UpdatedBy SnippetUser `json:"updated_by"` Visibility SnippetMetaVisibility `json:"visibility"` }
SnippetMeta defines model for SnippetMeta.
type SnippetMetaType ¶ added in v1.96.0
type SnippetMetaType string
SnippetMetaType defines model for SnippetMeta.Type.
const (
SnippetMetaTypeSql SnippetMetaType = "sql"
)
Defines values for SnippetMetaType.
type SnippetMetaVisibility ¶ added in v1.96.0
type SnippetMetaVisibility string
SnippetMetaVisibility defines model for SnippetMeta.Visibility.
const ( SnippetMetaVisibilityOrg SnippetMetaVisibility = "org" SnippetMetaVisibilityProject SnippetMetaVisibility = "project" SnippetMetaVisibilityPublic SnippetMetaVisibility = "public" SnippetMetaVisibilityUser SnippetMetaVisibility = "user" )
Defines values for SnippetMetaVisibility.
type SnippetProject ¶ added in v1.96.0
SnippetProject defines model for SnippetProject.
type SnippetResponse ¶ added in v1.96.0
type SnippetResponse struct { Content SnippetContent `json:"content"` Description *string `json:"description"` Id string `json:"id"` InsertedAt string `json:"inserted_at"` Name string `json:"name"` Owner SnippetUser `json:"owner"` Project SnippetProject `json:"project"` Type SnippetResponseType `json:"type"` UpdatedAt string `json:"updated_at"` UpdatedBy SnippetUser `json:"updated_by"` Visibility SnippetResponseVisibility `json:"visibility"` }
SnippetResponse defines model for SnippetResponse.
type SnippetResponseType ¶ added in v1.96.0
type SnippetResponseType string
SnippetResponseType defines model for SnippetResponse.Type.
const (
SnippetResponseTypeSql SnippetResponseType = "sql"
)
Defines values for SnippetResponseType.
type SnippetResponseVisibility ¶ added in v1.96.0
type SnippetResponseVisibility string
SnippetResponseVisibility defines model for SnippetResponse.Visibility.
const ( SnippetResponseVisibilityOrg SnippetResponseVisibility = "org" SnippetResponseVisibilityProject SnippetResponseVisibility = "project" SnippetResponseVisibilityPublic SnippetResponseVisibility = "public" SnippetResponseVisibilityUser SnippetResponseVisibility = "user" )
Defines values for SnippetResponseVisibility.
type SnippetUser ¶ added in v1.96.0
SnippetUser defines model for SnippetUser.
type SslEnforcementRequest ¶ added in v1.25.0
type SslEnforcementRequest struct {
RequestedConfig SslEnforcements `json:"requestedConfig"`
}
SslEnforcementRequest defines model for SslEnforcementRequest.
type SslEnforcementResponse ¶ added in v1.25.0
type SslEnforcementResponse struct { AppliedSuccessfully bool `json:"appliedSuccessfully"` CurrentConfig SslEnforcements `json:"currentConfig"` }
SslEnforcementResponse defines model for SslEnforcementResponse.
type SslEnforcements ¶ added in v1.25.0
type SslEnforcements struct {
Database bool `json:"database"`
}
SslEnforcements defines model for SslEnforcements.
type SubdomainAvailabilityResponse ¶ added in v1.22.0
type SubdomainAvailabilityResponse struct {
Available bool `json:"available"`
}
SubdomainAvailabilityResponse defines model for SubdomainAvailabilityResponse.
type TemporarilyDisableReadonlyModeResponse ¶ added in v1.45.3
func ParseTemporarilyDisableReadonlyModeResponse ¶ added in v1.45.3
func ParseTemporarilyDisableReadonlyModeResponse(rsp *http.Response) (*TemporarilyDisableReadonlyModeResponse, error)
ParseTemporarilyDisableReadonlyModeResponse parses an HTTP response from a TemporarilyDisableReadonlyModeWithResponse call
func (TemporarilyDisableReadonlyModeResponse) Status ¶ added in v1.45.3
func (r TemporarilyDisableReadonlyModeResponse) Status() string
Status returns HTTPResponse.Status
func (TemporarilyDisableReadonlyModeResponse) StatusCode ¶ added in v1.45.3
func (r TemporarilyDisableReadonlyModeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TokenFormdataRequestBody ¶ added in v1.93.0
type TokenFormdataRequestBody = OAuthTokenBody
TokenFormdataRequestBody defines body for Token for application/x-www-form-urlencoded ContentType.
type TokenResponse ¶ added in v1.57.5
type TokenResponse struct { Body []byte HTTPResponse *http.Response JSON201 *OAuthTokenResponse }
func ParseTokenResponse ¶ added in v1.57.5
func ParseTokenResponse(rsp *http.Response) (*TokenResponse, error)
ParseTokenResponse parses an HTTP response from a TokenWithResponse call
func (TokenResponse) Status ¶ added in v1.57.5
func (r TokenResponse) Status() string
Status returns HTTPResponse.Status
func (TokenResponse) StatusCode ¶ added in v1.57.5
func (r TokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TypescriptResponse ¶ added in v1.8.0
type TypescriptResponse struct {
Types string `json:"types"`
}
TypescriptResponse defines model for TypescriptResponse.
type UpdateAuthConfigBody ¶ added in v1.93.0
type UpdateAuthConfigBody struct { RateLimitEmailSent *float32 `json:"rate_limit_email_sent,omitempty"` SmtpAdminEmail *string `json:"smtp_admin_email,omitempty"` SmtpHost *string `json:"smtp_host,omitempty"` SmtpMaxFrequency *float32 `json:"smtp_max_frequency,omitempty"` SmtpPass *string `json:"smtp_pass,omitempty"` SmtpPort *string `json:"smtp_port,omitempty"` SmtpSenderName *string `json:"smtp_sender_name,omitempty"` SmtpUser *string `json:"smtp_user,omitempty"` }
UpdateAuthConfigBody defines model for UpdateAuthConfigBody.
type UpdateBranchBody ¶ added in v1.79.0
type UpdateBranchBody struct { BranchName *string `json:"branch_name,omitempty"` GitBranch *string `json:"git_branch,omitempty"` ResetOnPush *bool `json:"reset_on_push,omitempty"` }
UpdateBranchBody defines model for UpdateBranchBody.
type UpdateBranchJSONRequestBody ¶ added in v1.79.0
type UpdateBranchJSONRequestBody = UpdateBranchBody
UpdateBranchJSONRequestBody defines body for UpdateBranch for application/json ContentType.
type UpdateBranchResponse ¶ added in v1.79.0
type UpdateBranchResponse struct { Body []byte HTTPResponse *http.Response JSON200 *BranchResponse }
func ParseUpdateBranchResponse ¶ added in v1.79.0
func ParseUpdateBranchResponse(rsp *http.Response) (*UpdateBranchResponse, error)
ParseUpdateBranchResponse parses an HTTP response from a UpdateBranchWithResponse call
func (UpdateBranchResponse) Status ¶ added in v1.79.0
func (r UpdateBranchResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateBranchResponse) StatusCode ¶ added in v1.79.0
func (r UpdateBranchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateConfigJSONRequestBody ¶ added in v1.8.0
type UpdateConfigJSONRequestBody = UpdatePostgresConfigBody
UpdateConfigJSONRequestBody defines body for UpdateConfig for application/json ContentType.
type UpdateConfigResponse ¶ added in v1.8.0
type UpdateConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PostgresConfigResponse }
func ParseUpdateConfigResponse ¶ added in v1.8.0
func ParseUpdateConfigResponse(rsp *http.Response) (*UpdateConfigResponse, error)
ParseUpdateConfigResponse parses an HTTP response from a UpdateConfigWithResponse call
func (UpdateConfigResponse) Status ¶ added in v1.8.0
func (r UpdateConfigResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateConfigResponse) StatusCode ¶ added in v1.8.0
func (r UpdateConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateCustomHostnameBody ¶ added in v1.10.0
type UpdateCustomHostnameBody struct {
CustomHostname string `json:"custom_hostname"`
}
UpdateCustomHostnameBody defines model for UpdateCustomHostnameBody.
type UpdateCustomHostnameResponse ¶ added in v1.10.0
type UpdateCustomHostnameResponse struct { CustomHostname string `json:"custom_hostname"` Data map[string]interface{} `json:"data"` Status UpdateCustomHostnameResponseStatus `json:"status"` }
UpdateCustomHostnameResponse defines model for UpdateCustomHostnameResponse.
type UpdateCustomHostnameResponseStatus ¶ added in v1.10.0
type UpdateCustomHostnameResponseStatus string
UpdateCustomHostnameResponseStatus defines model for UpdateCustomHostnameResponse.Status.
const ( N1NotStarted UpdateCustomHostnameResponseStatus = "1_not_started" N2Initiated UpdateCustomHostnameResponseStatus = "2_initiated" N3ChallengeVerified UpdateCustomHostnameResponseStatus = "3_challenge_verified" N4OriginSetupCompleted UpdateCustomHostnameResponseStatus = "4_origin_setup_completed" N5ServicesReconfigured UpdateCustomHostnameResponseStatus = "5_services_reconfigured" )
Defines values for UpdateCustomHostnameResponseStatus.
type UpdateFunctionBody ¶
type UpdateFunctionBody struct { Body *string `json:"body,omitempty"` Name *string `json:"name,omitempty"` VerifyJwt *bool `json:"verify_jwt,omitempty"` }
UpdateFunctionBody defines model for UpdateFunctionBody.
type UpdateFunctionJSONRequestBody ¶
type UpdateFunctionJSONRequestBody = UpdateFunctionBody
UpdateFunctionJSONRequestBody defines body for UpdateFunction for application/json ContentType.
type UpdateFunctionParams ¶ added in v1.12.3
type UpdateFunctionParams struct { Slug *string `form:"slug,omitempty" json:"slug,omitempty"` Name *string `form:"name,omitempty" json:"name,omitempty"` VerifyJwt *bool `form:"verify_jwt,omitempty" json:"verify_jwt,omitempty"` ImportMap *bool `form:"import_map,omitempty" json:"import_map,omitempty"` EntrypointPath *string `form:"entrypoint_path,omitempty" json:"entrypoint_path,omitempty"` ImportMapPath *string `form:"import_map_path,omitempty" json:"import_map_path,omitempty"` }
UpdateFunctionParams defines parameters for UpdateFunction.
type UpdateFunctionResponse ¶
type UpdateFunctionResponse struct { Body []byte HTTPResponse *http.Response JSON200 *FunctionResponse }
func ParseUpdateFunctionResponse ¶
func ParseUpdateFunctionResponse(rsp *http.Response) (*UpdateFunctionResponse, error)
ParseUpdateFunctionResponse parses an HTTP response from a UpdateFunctionWithResponse call
func (UpdateFunctionResponse) Status ¶
func (r UpdateFunctionResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateFunctionResponse) StatusCode ¶
func (r UpdateFunctionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdatePgsodiumConfigBody ¶ added in v1.8.0
type UpdatePgsodiumConfigBody struct {
RootKey string `json:"root_key"`
}
UpdatePgsodiumConfigBody defines model for UpdatePgsodiumConfigBody.
type UpdatePgsodiumConfigJSONRequestBody ¶ added in v1.57.5
type UpdatePgsodiumConfigJSONRequestBody = UpdatePgsodiumConfigBody
UpdatePgsodiumConfigJSONRequestBody defines body for UpdatePgsodiumConfig for application/json ContentType.
type UpdatePgsodiumConfigResponse ¶ added in v1.57.5
type UpdatePgsodiumConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PgsodiumConfigResponse }
func ParseUpdatePgsodiumConfigResponse ¶ added in v1.57.5
func ParseUpdatePgsodiumConfigResponse(rsp *http.Response) (*UpdatePgsodiumConfigResponse, error)
ParseUpdatePgsodiumConfigResponse parses an HTTP response from a UpdatePgsodiumConfigWithResponse call
func (UpdatePgsodiumConfigResponse) Status ¶ added in v1.57.5
func (r UpdatePgsodiumConfigResponse) Status() string
Status returns HTTPResponse.Status
func (UpdatePgsodiumConfigResponse) StatusCode ¶ added in v1.57.5
func (r UpdatePgsodiumConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdatePostgRESTConfigJSONRequestBody ¶ added in v1.22.2
type UpdatePostgRESTConfigJSONRequestBody = UpdatePostgrestConfigBody
UpdatePostgRESTConfigJSONRequestBody defines body for UpdatePostgRESTConfig for application/json ContentType.
type UpdatePostgRESTConfigResponse ¶ added in v1.22.2
type UpdatePostgRESTConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PostgrestConfigResponse }
func ParseUpdatePostgRESTConfigResponse ¶ added in v1.22.2
func ParseUpdatePostgRESTConfigResponse(rsp *http.Response) (*UpdatePostgRESTConfigResponse, error)
ParseUpdatePostgRESTConfigResponse parses an HTTP response from a UpdatePostgRESTConfigWithResponse call
func (UpdatePostgRESTConfigResponse) Status ¶ added in v1.22.2
func (r UpdatePostgRESTConfigResponse) Status() string
Status returns HTTPResponse.Status
func (UpdatePostgRESTConfigResponse) StatusCode ¶ added in v1.22.2
func (r UpdatePostgRESTConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdatePostgresConfigBody ¶ added in v1.57.5
type UpdatePostgresConfigBody struct { EffectiveCacheSize *string `json:"effective_cache_size,omitempty"` MaintenanceWorkMem *string `json:"maintenance_work_mem,omitempty"` MaxConnections *int `json:"max_connections,omitempty"` MaxParallelMaintenanceWorkers *int `json:"max_parallel_maintenance_workers,omitempty"` MaxParallelWorkers *int `json:"max_parallel_workers,omitempty"` MaxParallelWorkersPerGather *int `json:"max_parallel_workers_per_gather,omitempty"` MaxWorkerProcesses *int `json:"max_worker_processes,omitempty"` SessionReplicationRole *UpdatePostgresConfigBodySessionReplicationRole `json:"session_replication_role,omitempty"` StatementTimeout *string `json:"statement_timeout,omitempty"` WorkMem *string `json:"work_mem,omitempty"` }
UpdatePostgresConfigBody defines model for UpdatePostgresConfigBody.
type UpdatePostgresConfigBodySessionReplicationRole ¶ added in v1.57.5
type UpdatePostgresConfigBodySessionReplicationRole string
UpdatePostgresConfigBodySessionReplicationRole defines model for UpdatePostgresConfigBody.SessionReplicationRole.
const ( UpdatePostgresConfigBodySessionReplicationRoleLocal UpdatePostgresConfigBodySessionReplicationRole = "local" UpdatePostgresConfigBodySessionReplicationRoleOrigin UpdatePostgresConfigBodySessionReplicationRole = "origin" UpdatePostgresConfigBodySessionReplicationRoleReplica UpdatePostgresConfigBodySessionReplicationRole = "replica" )
Defines values for UpdatePostgresConfigBodySessionReplicationRole.
type UpdatePostgrestConfigBody ¶ added in v1.22.2
type UpdatePostgrestConfigBody struct { DbExtraSearchPath *string `json:"db_extra_search_path,omitempty"` DbSchema *string `json:"db_schema,omitempty"` MaxRows *int `json:"max_rows,omitempty"` }
UpdatePostgrestConfigBody defines model for UpdatePostgrestConfigBody.
type UpdateProviderBody ¶ added in v1.45.3
type UpdateProviderBody struct { AttributeMapping *AttributeMapping `json:"attribute_mapping,omitempty"` Domains *[]string `json:"domains,omitempty"` MetadataUrl *string `json:"metadata_url,omitempty"` MetadataXml *string `json:"metadata_xml,omitempty"` }
UpdateProviderBody defines model for UpdateProviderBody.
type UpdateProviderByIdJSONRequestBody ¶ added in v1.45.3
type UpdateProviderByIdJSONRequestBody = UpdateProviderBody
UpdateProviderByIdJSONRequestBody defines body for UpdateProviderById for application/json ContentType.
type UpdateProviderByIdResponse ¶ added in v1.45.3
type UpdateProviderByIdResponse struct { Body []byte HTTPResponse *http.Response JSON200 *UpdateProviderResponse }
func ParseUpdateProviderByIdResponse ¶ added in v1.45.3
func ParseUpdateProviderByIdResponse(rsp *http.Response) (*UpdateProviderByIdResponse, error)
ParseUpdateProviderByIdResponse parses an HTTP response from a UpdateProviderByIdWithResponse call
func (UpdateProviderByIdResponse) Status ¶ added in v1.45.3
func (r UpdateProviderByIdResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateProviderByIdResponse) StatusCode ¶ added in v1.45.3
func (r UpdateProviderByIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateProviderResponse ¶ added in v1.45.3
type UpdateProviderResponse struct { CreatedAt *string `json:"created_at,omitempty"` Domains *[]Domain `json:"domains,omitempty"` Id string `json:"id"` Saml *SamlDescriptor `json:"saml,omitempty"` UpdatedAt *string `json:"updated_at,omitempty"` }
UpdateProviderResponse defines model for UpdateProviderResponse.
type UpdateSslEnforcementConfigJSONRequestBody ¶ added in v1.25.0
type UpdateSslEnforcementConfigJSONRequestBody = SslEnforcementRequest
UpdateSslEnforcementConfigJSONRequestBody defines body for UpdateSslEnforcementConfig for application/json ContentType.
type UpdateSslEnforcementConfigResponse ¶ added in v1.25.0
type UpdateSslEnforcementConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SslEnforcementResponse }
func ParseUpdateSslEnforcementConfigResponse ¶ added in v1.25.0
func ParseUpdateSslEnforcementConfigResponse(rsp *http.Response) (*UpdateSslEnforcementConfigResponse, error)
ParseUpdateSslEnforcementConfigResponse parses an HTTP response from a UpdateSslEnforcementConfigWithResponse call
func (UpdateSslEnforcementConfigResponse) Status ¶ added in v1.25.0
func (r UpdateSslEnforcementConfigResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateSslEnforcementConfigResponse) StatusCode ¶ added in v1.25.0
func (r UpdateSslEnforcementConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateV1AuthConfigJSONRequestBody ¶ added in v1.93.0
type UpdateV1AuthConfigJSONRequestBody = UpdateAuthConfigBody
UpdateV1AuthConfigJSONRequestBody defines body for UpdateV1AuthConfig for application/json ContentType.
type UpdateV1AuthConfigResponse ¶ added in v1.93.0
type UpdateV1AuthConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *AuthConfigResponse }
func ParseUpdateV1AuthConfigResponse ¶ added in v1.93.0
func ParseUpdateV1AuthConfigResponse(rsp *http.Response) (*UpdateV1AuthConfigResponse, error)
ParseUpdateV1AuthConfigResponse parses an HTTP response from a UpdateV1AuthConfigWithResponse call
func (UpdateV1AuthConfigResponse) Status ¶ added in v1.93.0
func (r UpdateV1AuthConfigResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateV1AuthConfigResponse) StatusCode ¶ added in v1.93.0
func (r UpdateV1AuthConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpgradeDatabaseBody ¶ added in v1.45.3
type UpgradeDatabaseBody struct {
TargetVersion float32 `json:"target_version"`
}
UpgradeDatabaseBody defines model for UpgradeDatabaseBody.
type UpgradeEligibilityInformationResponse ¶ added in v1.45.3
type UpgradeEligibilityInformationResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ProjectUpgradeEligibilityResponse }
func ParseUpgradeEligibilityInformationResponse ¶ added in v1.45.3
func ParseUpgradeEligibilityInformationResponse(rsp *http.Response) (*UpgradeEligibilityInformationResponse, error)
ParseUpgradeEligibilityInformationResponse parses an HTTP response from a UpgradeEligibilityInformationWithResponse call
func (UpgradeEligibilityInformationResponse) Status ¶ added in v1.45.3
func (r UpgradeEligibilityInformationResponse) Status() string
Status returns HTTPResponse.Status
func (UpgradeEligibilityInformationResponse) StatusCode ¶ added in v1.45.3
func (r UpgradeEligibilityInformationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpgradeProjectJSONRequestBody ¶ added in v1.45.3
type UpgradeProjectJSONRequestBody = UpgradeDatabaseBody
UpgradeProjectJSONRequestBody defines body for UpgradeProject for application/json ContentType.
type UpgradeProjectResponse ¶ added in v1.45.3
type UpgradeProjectResponse struct { Body []byte HTTPResponse *http.Response JSON201 *ProjectUpgradeInitiateResponse }
func ParseUpgradeProjectResponse ¶ added in v1.45.3
func ParseUpgradeProjectResponse(rsp *http.Response) (*UpgradeProjectResponse, error)
ParseUpgradeProjectResponse parses an HTTP response from a UpgradeProjectWithResponse call
func (UpgradeProjectResponse) Status ¶ added in v1.45.3
func (r UpgradeProjectResponse) Status() string
Status returns HTTPResponse.Status
func (UpgradeProjectResponse) StatusCode ¶ added in v1.45.3
func (r UpgradeProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V1EnableDatabaseWebhooksResponse ¶ added in v1.93.0
func ParseV1EnableDatabaseWebhooksResponse ¶ added in v1.93.0
func ParseV1EnableDatabaseWebhooksResponse(rsp *http.Response) (*V1EnableDatabaseWebhooksResponse, error)
ParseV1EnableDatabaseWebhooksResponse parses an HTTP response from a V1EnableDatabaseWebhooksWithResponse call
func (V1EnableDatabaseWebhooksResponse) Status ¶ added in v1.93.0
func (r V1EnableDatabaseWebhooksResponse) Status() string
Status returns HTTPResponse.Status
func (V1EnableDatabaseWebhooksResponse) StatusCode ¶ added in v1.93.0
func (r V1EnableDatabaseWebhooksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V1GetPgbouncerConfigResponse ¶ added in v1.93.0
type V1GetPgbouncerConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *V1PgbouncerConfigResponse }
func ParseV1GetPgbouncerConfigResponse ¶ added in v1.93.0
func ParseV1GetPgbouncerConfigResponse(rsp *http.Response) (*V1GetPgbouncerConfigResponse, error)
ParseV1GetPgbouncerConfigResponse parses an HTTP response from a V1GetPgbouncerConfigWithResponse call
func (V1GetPgbouncerConfigResponse) Status ¶ added in v1.93.0
func (r V1GetPgbouncerConfigResponse) Status() string
Status returns HTTPResponse.Status
func (V1GetPgbouncerConfigResponse) StatusCode ¶ added in v1.93.0
func (r V1GetPgbouncerConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V1ListOrganizationMembersResponse ¶ added in v1.93.0
type V1ListOrganizationMembersResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]V1OrganizationMemberResponse }
func ParseV1ListOrganizationMembersResponse ¶ added in v1.93.0
func ParseV1ListOrganizationMembersResponse(rsp *http.Response) (*V1ListOrganizationMembersResponse, error)
ParseV1ListOrganizationMembersResponse parses an HTTP response from a V1ListOrganizationMembersWithResponse call
func (V1ListOrganizationMembersResponse) Status ¶ added in v1.93.0
func (r V1ListOrganizationMembersResponse) Status() string
Status returns HTTPResponse.Status
func (V1ListOrganizationMembersResponse) StatusCode ¶ added in v1.93.0
func (r V1ListOrganizationMembersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V1OrganizationMemberResponse ¶ added in v1.93.0
type V1OrganizationMemberResponse struct { Email *string `json:"email,omitempty"` MfaEnabled bool `json:"mfa_enabled"` RoleName string `json:"role_name"` UserId string `json:"user_id"` UserName string `json:"user_name"` }
V1OrganizationMemberResponse defines model for V1OrganizationMemberResponse.
type V1PgbouncerConfigResponse ¶ added in v1.93.0
type V1PgbouncerConfigResponse struct { DefaultPoolSize *float32 `json:"default_pool_size,omitempty"` IgnoreStartupParameters *string `json:"ignore_startup_parameters,omitempty"` MaxClientConn *float32 `json:"max_client_conn,omitempty"` PoolMode *V1PgbouncerConfigResponsePoolMode `json:"pool_mode,omitempty"` }
V1PgbouncerConfigResponse defines model for V1PgbouncerConfigResponse.
type V1PgbouncerConfigResponsePoolMode ¶ added in v1.93.0
type V1PgbouncerConfigResponsePoolMode string
V1PgbouncerConfigResponsePoolMode defines model for V1PgbouncerConfigResponse.PoolMode.
const ( Session V1PgbouncerConfigResponsePoolMode = "session" Statement V1PgbouncerConfigResponsePoolMode = "statement" Transaction V1PgbouncerConfigResponsePoolMode = "transaction" )
Defines values for V1PgbouncerConfigResponsePoolMode.
type V1RestorePitrBody ¶ added in v1.106.0
type V1RestorePitrBody struct {
RecoveryTimeTargetUnix float32 `json:"recovery_time_target_unix"`
}
V1RestorePitrBody defines model for V1RestorePitrBody.
type V1RestorePitrJSONRequestBody ¶ added in v1.106.0
type V1RestorePitrJSONRequestBody = V1RestorePitrBody
V1RestorePitrJSONRequestBody defines body for V1RestorePitr for application/json ContentType.
type V1RestorePitrResponse ¶ added in v1.106.0
func ParseV1RestorePitrResponse ¶ added in v1.106.0
func ParseV1RestorePitrResponse(rsp *http.Response) (*V1RestorePitrResponse, error)
ParseV1RestorePitrResponse parses an HTTP response from a V1RestorePitrWithResponse call
func (V1RestorePitrResponse) Status ¶ added in v1.106.0
func (r V1RestorePitrResponse) Status() string
Status returns HTTPResponse.Status
func (V1RestorePitrResponse) StatusCode ¶ added in v1.106.0
func (r V1RestorePitrResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V1RunQueryJSONRequestBody ¶ added in v1.93.0
type V1RunQueryJSONRequestBody = RunQueryBody
V1RunQueryJSONRequestBody defines body for V1RunQuery for application/json ContentType.
type V1RunQueryResponse ¶ added in v1.93.0
type V1RunQueryResponse struct { Body []byte HTTPResponse *http.Response JSON201 *map[string]interface{} }
func ParseV1RunQueryResponse ¶ added in v1.93.0
func ParseV1RunQueryResponse(rsp *http.Response) (*V1RunQueryResponse, error)
ParseV1RunQueryResponse parses an HTTP response from a V1RunQueryWithResponse call
func (V1RunQueryResponse) Status ¶ added in v1.93.0
func (r V1RunQueryResponse) Status() string
Status returns HTTPResponse.Status
func (V1RunQueryResponse) StatusCode ¶ added in v1.93.0
func (r V1RunQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VanitySubdomainBody ¶ added in v1.22.0
type VanitySubdomainBody struct {
VanitySubdomain string `json:"vanity_subdomain"`
}
VanitySubdomainBody defines model for VanitySubdomainBody.
type VanitySubdomainConfigResponse ¶ added in v1.22.0
type VanitySubdomainConfigResponse struct { CustomDomain *string `json:"custom_domain,omitempty"` Status VanitySubdomainConfigResponseStatus `json:"status"` }
VanitySubdomainConfigResponse defines model for VanitySubdomainConfigResponse.
type VanitySubdomainConfigResponseStatus ¶ added in v1.22.0
type VanitySubdomainConfigResponseStatus string
VanitySubdomainConfigResponseStatus defines model for VanitySubdomainConfigResponse.Status.
const ( Active VanitySubdomainConfigResponseStatus = "active" CustomDomainUsed VanitySubdomainConfigResponseStatus = "custom-domain-used" NotUsed VanitySubdomainConfigResponseStatus = "not-used" )
Defines values for VanitySubdomainConfigResponseStatus.