Documentation ¶
Overview ¶
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.13.0 DO NOT EDIT.
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.13.0 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 NewApproveAuthorizationRequestRequest(server string, id string, body ApproveAuthorizationRequestJSONRequestBody) (*http.Request, error)
- func NewApproveAuthorizationRequestRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewAuthorizeRequest(server string, params *AuthorizeParams) (*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 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 NewDeclineAuthorizationRequestRequest(server string, id string) (*http.Request, error)
- func NewDeleteFunctionRequest(server string, ref string, functionSlug 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 NewGetAuthorizationRequestRequest(server string, id 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 NewGetPgbouncerConfigRequest(server string, ref 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 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 NewGetVanitySubdomainConfigRequest(server string, ref string) (*http.Request, error)
- func NewListAllProvidersRequest(server string, ref string) (*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 NewTokenRequest(server string, params *TokenParams) (*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 NewUpdatePgbouncerConfigRequest(server string, ref string, body UpdatePgbouncerConfigJSONRequestBody) (*http.Request, error)
- func NewUpdatePgbouncerConfigRequestWithBody(server string, ref string, contentType string, body io.Reader) (*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 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)
- type ActivateResponse
- type ActivateVanitySubdomainPleaseJSONRequestBody
- type ActivateVanitySubdomainPleaseResponse
- type ActivateVanitySubdomainResponse
- type ApiKeyResponse
- type ApplyNetworkRestrictionsJSONRequestBody
- type ApplyNetworkRestrictionsResponse
- type ApproveAuthorizationRequestJSONRequestBody
- type ApproveAuthorizationRequestResponse
- 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 AuthorizationsApproveBody
- type AuthorizeParams
- type AuthorizeParamsCodeChallengeMethod
- type AuthorizeParamsResponseType
- type AuthorizeResponse
- 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) ApproveAuthorizationRequest(ctx context.Context, id string, ...) (*http.Response, error)
- func (c *Client) ApproveAuthorizationRequestWithBody(ctx context.Context, id 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) 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) 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) DeclineAuthorizationRequest(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteFunction(ctx context.Context, ref string, functionSlug string, ...) (*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) GetAuthorizationRequest(ctx context.Context, id 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) GetPgbouncerConfig(ctx context.Context, ref string, 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) 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) 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) 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) Token(ctx context.Context, params *TokenParams, reqEditors ...RequestEditorFn) (*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) UpdatePgbouncerConfig(ctx context.Context, ref string, body UpdatePgbouncerConfigJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdatePgbouncerConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*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) 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)
- 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) ApproveAuthorizationRequestWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*ApproveAuthorizationRequestResponse, error)
- func (c *ClientWithResponses) ApproveAuthorizationRequestWithResponse(ctx context.Context, id string, ...) (*ApproveAuthorizationRequestResponse, error)
- func (c *ClientWithResponses) AuthorizeWithResponse(ctx context.Context, params *AuthorizeParams, reqEditors ...RequestEditorFn) (*AuthorizeResponse, 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) 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) DeclineAuthorizationRequestWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeclineAuthorizationRequestResponse, error)
- func (c *ClientWithResponses) DeleteFunctionWithResponse(ctx context.Context, ref string, functionSlug string, ...) (*DeleteFunctionResponse, 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) GetAuthorizationRequestWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAuthorizationRequestResponse, 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) GetPgbouncerConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetPgbouncerConfigResponse, 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) 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) 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) 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) TokenWithResponse(ctx context.Context, params *TokenParams, reqEditors ...RequestEditorFn) (*TokenResponse, 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) UpdatePgbouncerConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, ...) (*UpdatePgbouncerConfigResponse, error)
- func (c *ClientWithResponses) UpdatePgbouncerConfigWithResponse(ctx context.Context, ref string, body UpdatePgbouncerConfigJSONRequestBody, ...) (*UpdatePgbouncerConfigResponse, 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) 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)
- type ClientWithResponsesInterface
- type CreateCustomHostnameConfigJSONRequestBody
- type CreateCustomHostnameConfigResponse
- type CreateFunctionBody
- type CreateFunctionJSONRequestBody
- type CreateFunctionParams
- type CreateFunctionResponse
- type CreateOrganizationBody
- 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 DeclineAuthorizationRequestResponse
- type DeleteFunctionResponse
- type DeleteProviderResponse
- type DeleteSecretsJSONBody
- type DeleteSecretsJSONRequestBody
- type DeleteSecretsResponse
- type Domain
- type FunctionResponse
- type FunctionResponseStatus
- type FunctionSlugResponse
- type FunctionSlugResponseStatus
- type GetAuthorizationRequestResponse
- type GetConfigResponse
- type GetCustomHostnameConfigResponse
- type GetFunctionBodyResponse
- type GetFunctionResponse
- type GetFunctionsResponse
- type GetNetworkBansResponse
- type GetNetworkRestrictionsResponse
- type GetOrganizationsResponse
- type GetPgbouncerConfigResponse
- type GetPgsodiumConfigResponse
- type GetPostgRESTConfigResponse
- type GetProjectApiKeysResponse
- type GetProjectsResponse
- type GetProviderByIdResponse
- type GetProviderResponse
- type GetReadOnlyModeStatusResponse
- type GetSecretsResponse
- type GetSslEnforcementConfigResponse
- type GetTypescriptTypesParams
- type GetTypescriptTypesResponse
- type GetUpgradeStatusResponse
- type GetVanitySubdomainConfigResponse
- type HttpRequestDoer
- type ListAllProvidersResponse
- type ListProvidersResponse
- type NetworkBanResponse
- type NetworkRestrictionsRequest
- type NetworkRestrictionsResponse
- type NetworkRestrictionsResponseEntitlement
- type NetworkRestrictionsResponseStatus
- type OrganizationResponse
- type PgsodiumConfigResponse
- type PostgresConfigResponse
- type PostgresConfigResponseSessionReplicationRole
- type PostgrestConfigResponse
- type PostgrestConfigWithJWTSecretResponse
- type ProjectPgBouncerConfig
- type ProjectPgBouncerConfigPgbouncerStatus
- type ProjectPgBouncerConfigPoolMode
- type ProjectResponse
- type ProjectUpgradeEligibilityResponse
- type ProjectVersion
- type Provider
- type ReadOnlyStatusResponse
- type RemoveCustomHostnameConfigResponse
- type RemoveNetworkBanJSONRequestBody
- type RemoveNetworkBanRequest
- type RemoveNetworkBanResponse
- type RemoveProviderByIdResponse
- type RemoveVanitySubdomainConfigResponse
- type RequestEditorFn
- type ReverifyResponse
- type SamlDescriptor
- type SecretResponse
- type SslEnforcementRequest
- type SslEnforcementResponse
- type SslEnforcements
- type SubdomainAvailabilityResponse
- type TemporarilyDisableReadonlyModeResponse
- type TokenParams
- type TokenParamsGrantType
- type TokenResponse
- type TypescriptResponse
- type UpdateConfigJSONRequestBody
- type UpdateConfigResponse
- type UpdateCustomHostnameBody
- type UpdateCustomHostnameResponse
- type UpdateCustomHostnameResponseStatus
- type UpdateFunctionBody
- type UpdateFunctionJSONRequestBody
- type UpdateFunctionParams
- type UpdateFunctionResponse
- type UpdatePgbouncerConfigBody
- type UpdatePgbouncerConfigBodyPoolMode
- type UpdatePgbouncerConfigJSONRequestBody
- type UpdatePgbouncerConfigResponse
- type UpdatePgsodiumConfigBody
- type UpdatePgsodiumConfigJSONRequestBody
- type UpdatePgsodiumConfigResponse
- type UpdatePoolingConfigResponse
- type UpdatePoolingConfigResponsePgbouncerStatus
- type UpdatePoolingConfigResponsePoolMode
- type UpdatePostgRESTConfigJSONRequestBody
- type UpdatePostgRESTConfigResponse
- type UpdatePostgresConfigBody
- type UpdatePostgresConfigBodySessionReplicationRole
- type UpdatePostgrestConfigBody
- type UpdateProviderBody
- type UpdateProviderByIdJSONRequestBody
- type UpdateProviderByIdResponse
- type UpdateProviderResponse
- type UpdateSslEnforcementConfigJSONRequestBody
- type UpdateSslEnforcementConfigResponse
- type UpgradeDatabaseBody
- type UpgradeEligibilityInformationResponse
- type UpgradeProjectJSONRequestBody
- type UpgradeProjectResponse
- type VanitySubdomainBody
- type VanitySubdomainConfigResponse
- type VanitySubdomainConfigResponseStatus
Constants ¶
const ( ApiKeyHeaderScopes = "apiKeyHeader.Scopes" ApiKeyParamScopes = "apiKeyParam.Scopes" 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 NewApproveAuthorizationRequestRequest ¶ added in v1.57.5
func NewApproveAuthorizationRequestRequest(server string, id string, body ApproveAuthorizationRequestJSONRequestBody) (*http.Request, error)
NewApproveAuthorizationRequestRequest calls the generic ApproveAuthorizationRequest builder with application/json body
func NewApproveAuthorizationRequestRequestWithBody ¶ added in v1.57.5
func NewApproveAuthorizationRequestRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewApproveAuthorizationRequestRequestWithBody generates requests for ApproveAuthorizationRequest 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 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 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 NewDeclineAuthorizationRequestRequest ¶ added in v1.57.5
NewDeclineAuthorizationRequestRequest generates requests for DeclineAuthorizationRequest
func NewDeleteFunctionRequest ¶
func NewDeleteFunctionRequest(server string, ref string, functionSlug string) (*http.Request, error)
NewDeleteFunctionRequest generates requests for DeleteFunction
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 NewGetAuthorizationRequestRequest ¶ added in v1.57.5
NewGetAuthorizationRequestRequest generates requests for GetAuthorizationRequest
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 NewGetPgbouncerConfigRequest ¶ added in v1.57.5
NewGetPgbouncerConfigRequest generates requests for GetPgbouncerConfig
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 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 NewGetVanitySubdomainConfigRequest ¶ added in v1.22.0
NewGetVanitySubdomainConfigRequest generates requests for GetVanitySubdomainConfig
func NewListAllProvidersRequest ¶ added in v1.45.3
NewListAllProvidersRequest generates requests for ListAllProviders
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 NewTokenRequest ¶ added in v1.57.5
func NewTokenRequest(server string, params *TokenParams) (*http.Request, error)
NewTokenRequest generates requests for Token
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 NewUpdatePgbouncerConfigRequest ¶ added in v1.57.5
func NewUpdatePgbouncerConfigRequest(server string, ref string, body UpdatePgbouncerConfigJSONRequestBody) (*http.Request, error)
NewUpdatePgbouncerConfigRequest calls the generic UpdatePgbouncerConfig builder with application/json body
func NewUpdatePgbouncerConfigRequestWithBody ¶ added in v1.57.5
func NewUpdatePgbouncerConfigRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)
NewUpdatePgbouncerConfigRequestWithBody generates requests for UpdatePgbouncerConfig 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 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
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 ApproveAuthorizationRequestJSONRequestBody ¶ added in v1.57.5
type ApproveAuthorizationRequestJSONRequestBody = AuthorizationsApproveBody
ApproveAuthorizationRequestJSONRequestBody defines body for ApproveAuthorizationRequest for application/json ContentType.
type ApproveAuthorizationRequestResponse ¶ added in v1.57.5
func ParseApproveAuthorizationRequestResponse ¶ added in v1.57.5
func ParseApproveAuthorizationRequestResponse(rsp *http.Response) (*ApproveAuthorizationRequestResponse, error)
ParseApproveAuthorizationRequestResponse parses an HTTP response from a ApproveAuthorizationRequestWithResponse call
func (ApproveAuthorizationRequestResponse) Status ¶ added in v1.57.5
func (r ApproveAuthorizationRequestResponse) Status() string
Status returns HTTPResponse.Status
func (ApproveAuthorizationRequestResponse) StatusCode ¶ added in v1.57.5
func (r ApproveAuthorizationRequestResponse) 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 AuthorizationsApproveBody ¶ added in v1.57.5
type AuthorizationsApproveBody struct {
OrganizationId string `json:"organization_id"`
}
AuthorizationsApproveBody defines model for AuthorizationsApproveBody.
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" json:"scope"` 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" 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 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) ApproveAuthorizationRequest ¶ added in v1.57.5
func (c *Client) ApproveAuthorizationRequest(ctx context.Context, id string, body ApproveAuthorizationRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ApproveAuthorizationRequestWithBody ¶ added in v1.57.5
func (*Client) Authorize ¶ added in v1.57.5
func (c *Client) Authorize(ctx context.Context, params *AuthorizeParams, 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) 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) DeclineAuthorizationRequest ¶ added in v1.57.5
func (*Client) DeleteFunction ¶
func (*Client) DeleteSecrets ¶
func (c *Client) DeleteSecrets(ctx context.Context, ref string, body DeleteSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteSecretsWithBody ¶
func (*Client) GetAuthorizationRequest ¶ added in v1.57.5
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) GetPgbouncerConfig ¶ added in v1.57.5
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) 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) GetVanitySubdomainConfig ¶ added in v1.22.0
func (*Client) ListAllProviders ¶ added in v1.45.3
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) Token ¶ added in v1.57.5
func (c *Client) Token(ctx context.Context, params *TokenParams, reqEditors ...RequestEditorFn) (*http.Response, error)
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) UpdatePgbouncerConfig ¶ added in v1.57.5
func (c *Client) UpdatePgbouncerConfig(ctx context.Context, ref string, body UpdatePgbouncerConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdatePgbouncerConfigWithBody ¶ added in v1.57.5
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) 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)
type ClientInterface ¶
type ClientInterface interface { // DeclineAuthorizationRequest request DeclineAuthorizationRequest(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAuthorizationRequest request GetAuthorizationRequest(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // ApproveAuthorizationRequest request with any body ApproveAuthorizationRequestWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ApproveAuthorizationRequest(ctx context.Context, id string, body ApproveAuthorizationRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // Authorize request Authorize(ctx context.Context, params *AuthorizeParams, reqEditors ...RequestEditorFn) (*http.Response, error) // Token request Token(ctx context.Context, params *TokenParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetOrganizations request GetOrganizations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateOrganization 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) // GetProjects request GetProjects(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateProject 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) // GetProjectApiKeys request GetProjectApiKeys(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // ListAllProviders request ListAllProviders(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateProviderForProject 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) // UpdateProviderById 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) // GetPgbouncerConfig request GetPgbouncerConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdatePgbouncerConfig request with any body UpdatePgbouncerConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdatePgbouncerConfig(ctx context.Context, ref string, body UpdatePgbouncerConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetConfig request GetConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateConfig 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) // CreateCustomHostnameConfig 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) // GetFunctions request GetFunctions(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateFunction 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) // UpdateFunction 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) // RemoveNetworkBan 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) // ApplyNetworkRestrictions 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) // UpdatePgsodiumConfig 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) // UpdatePostgRESTConfig 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) // DeleteSecrets 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) // CreateSecrets 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) // UpdateSslEnforcementConfig 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) // UpgradeProject 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) // ActivateVanitySubdomainPlease 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) // CheckVanitySubdomainAvailability 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) }
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) ApproveAuthorizationRequestWithBodyWithResponse ¶ added in v1.57.5
func (c *ClientWithResponses) ApproveAuthorizationRequestWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApproveAuthorizationRequestResponse, error)
ApproveAuthorizationRequestWithBodyWithResponse request with arbitrary body returning *ApproveAuthorizationRequestResponse
func (*ClientWithResponses) ApproveAuthorizationRequestWithResponse ¶ added in v1.57.5
func (c *ClientWithResponses) ApproveAuthorizationRequestWithResponse(ctx context.Context, id string, body ApproveAuthorizationRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*ApproveAuthorizationRequestResponse, 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) 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) 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) DeclineAuthorizationRequestWithResponse ¶ added in v1.57.5
func (c *ClientWithResponses) DeclineAuthorizationRequestWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeclineAuthorizationRequestResponse, error)
DeclineAuthorizationRequestWithResponse request returning *DeclineAuthorizationRequestResponse
func (*ClientWithResponses) DeleteFunctionWithResponse ¶
func (c *ClientWithResponses) DeleteFunctionWithResponse(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*DeleteFunctionResponse, error)
DeleteFunctionWithResponse request returning *DeleteFunctionResponse
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) GetAuthorizationRequestWithResponse ¶ added in v1.57.5
func (c *ClientWithResponses) GetAuthorizationRequestWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAuthorizationRequestResponse, error)
GetAuthorizationRequestWithResponse request returning *GetAuthorizationRequestResponse
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) GetPgbouncerConfigWithResponse ¶ added in v1.57.5
func (c *ClientWithResponses) GetPgbouncerConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetPgbouncerConfigResponse, error)
GetPgbouncerConfigWithResponse request returning *GetPgbouncerConfigResponse
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) 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) 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) 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) TokenWithResponse ¶ added in v1.57.5
func (c *ClientWithResponses) TokenWithResponse(ctx context.Context, params *TokenParams, reqEditors ...RequestEditorFn) (*TokenResponse, error)
TokenWithResponse request returning *TokenResponse
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) UpdatePgbouncerConfigWithBodyWithResponse ¶ added in v1.57.5
func (c *ClientWithResponses) UpdatePgbouncerConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePgbouncerConfigResponse, error)
UpdatePgbouncerConfigWithBodyWithResponse request with arbitrary body returning *UpdatePgbouncerConfigResponse
func (*ClientWithResponses) UpdatePgbouncerConfigWithResponse ¶ added in v1.57.5
func (c *ClientWithResponses) UpdatePgbouncerConfigWithResponse(ctx context.Context, ref string, body UpdatePgbouncerConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePgbouncerConfigResponse, 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) 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)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // DeclineAuthorizationRequest request DeclineAuthorizationRequestWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeclineAuthorizationRequestResponse, error) // GetAuthorizationRequest request GetAuthorizationRequestWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAuthorizationRequestResponse, error) // ApproveAuthorizationRequest request with any body ApproveAuthorizationRequestWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApproveAuthorizationRequestResponse, error) ApproveAuthorizationRequestWithResponse(ctx context.Context, id string, body ApproveAuthorizationRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*ApproveAuthorizationRequestResponse, error) // Authorize request AuthorizeWithResponse(ctx context.Context, params *AuthorizeParams, reqEditors ...RequestEditorFn) (*AuthorizeResponse, error) // Token request TokenWithResponse(ctx context.Context, params *TokenParams, reqEditors ...RequestEditorFn) (*TokenResponse, error) // GetOrganizations request GetOrganizationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOrganizationsResponse, error) // CreateOrganization 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) // GetProjects request GetProjectsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetProjectsResponse, error) // CreateProject 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) // GetProjectApiKeys request GetProjectApiKeysWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetProjectApiKeysResponse, error) // ListAllProviders request ListAllProvidersWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*ListAllProvidersResponse, error) // CreateProviderForProject 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) // RemoveProviderById request RemoveProviderByIdWithResponse(ctx context.Context, ref string, providerId string, reqEditors ...RequestEditorFn) (*RemoveProviderByIdResponse, error) // GetProviderById request GetProviderByIdWithResponse(ctx context.Context, ref string, providerId string, reqEditors ...RequestEditorFn) (*GetProviderByIdResponse, error) // UpdateProviderById 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) // GetPgbouncerConfig request GetPgbouncerConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetPgbouncerConfigResponse, error) // UpdatePgbouncerConfig request with any body UpdatePgbouncerConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePgbouncerConfigResponse, error) UpdatePgbouncerConfigWithResponse(ctx context.Context, ref string, body UpdatePgbouncerConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePgbouncerConfigResponse, error) // GetConfig request GetConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetConfigResponse, error) // UpdateConfig 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) // RemoveCustomHostnameConfig request RemoveCustomHostnameConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*RemoveCustomHostnameConfigResponse, error) // GetCustomHostnameConfig request GetCustomHostnameConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetCustomHostnameConfigResponse, error) // Activate request ActivateWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*ActivateResponse, error) // CreateCustomHostnameConfig 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) // Reverify request ReverifyWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*ReverifyResponse, error) // GetFunctions request GetFunctionsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetFunctionsResponse, error) // CreateFunction 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) // DeleteFunction request DeleteFunctionWithResponse(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*DeleteFunctionResponse, error) // GetFunction request GetFunctionWithResponse(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*GetFunctionResponse, error) // UpdateFunction 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) // GetFunctionBody request GetFunctionBodyWithResponse(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*GetFunctionBodyResponse, error) // RemoveNetworkBan 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) // GetNetworkBans request GetNetworkBansWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetNetworkBansResponse, error) // GetNetworkRestrictions request GetNetworkRestrictionsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetNetworkRestrictionsResponse, error) // ApplyNetworkRestrictions 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) // GetPgsodiumConfig request GetPgsodiumConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetPgsodiumConfigResponse, error) // UpdatePgsodiumConfig 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) // GetPostgRESTConfig request GetPostgRESTConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetPostgRESTConfigResponse, error) // UpdatePostgRESTConfig 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) // GetReadOnlyModeStatus request GetReadOnlyModeStatusWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetReadOnlyModeStatusResponse, error) // TemporarilyDisableReadonlyMode request TemporarilyDisableReadonlyModeWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*TemporarilyDisableReadonlyModeResponse, error) // DeleteSecrets 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) // GetSecrets request GetSecretsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetSecretsResponse, error) // CreateSecrets 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) // GetSslEnforcementConfig request GetSslEnforcementConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetSslEnforcementConfigResponse, error) // UpdateSslEnforcementConfig 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) // GetTypescriptTypes request GetTypescriptTypesWithResponse(ctx context.Context, ref string, params *GetTypescriptTypesParams, reqEditors ...RequestEditorFn) (*GetTypescriptTypesResponse, error) // UpgradeProject 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) // UpgradeEligibilityInformation request UpgradeEligibilityInformationWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*UpgradeEligibilityInformationResponse, error) // GetUpgradeStatus request GetUpgradeStatusWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetUpgradeStatusResponse, error) // RemoveVanitySubdomainConfig request RemoveVanitySubdomainConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*RemoveVanitySubdomainConfigResponse, error) // GetVanitySubdomainConfig request GetVanitySubdomainConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetVanitySubdomainConfigResponse, error) // ActivateVanitySubdomainPlease 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) // CheckVanitySubdomainAvailability 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) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
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 CreateOrganizationBody ¶
type CreateOrganizationBody struct {
Name string `json:"name"`
}
CreateOrganizationBody defines model for CreateOrganizationBody.
type CreateOrganizationJSONRequestBody ¶
type CreateOrganizationJSONRequestBody = CreateOrganizationBody
CreateOrganizationJSONRequestBody defines body for CreateOrganization for application/json ContentType.
type CreateOrganizationResponse ¶
type CreateOrganizationResponse struct { Body []byte HTTPResponse *http.Response JSON201 *OrganizationResponse }
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"` 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 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
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 ¶
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 DeclineAuthorizationRequestResponse ¶ added in v1.57.5
func ParseDeclineAuthorizationRequestResponse ¶ added in v1.57.5
func ParseDeclineAuthorizationRequestResponse(rsp *http.Response) (*DeclineAuthorizationRequestResponse, error)
ParseDeclineAuthorizationRequestResponse parses an HTTP response from a DeclineAuthorizationRequestWithResponse call
func (DeclineAuthorizationRequestResponse) Status ¶ added in v1.57.5
func (r DeclineAuthorizationRequestResponse) Status() string
Status returns HTTPResponse.Status
func (DeclineAuthorizationRequestResponse) StatusCode ¶ added in v1.57.5
func (r DeclineAuthorizationRequestResponse) 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 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 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 ( FunctionSlugResponseStatusACTIVE FunctionSlugResponseStatus = "ACTIVE" FunctionSlugResponseStatusREMOVED FunctionSlugResponseStatus = "REMOVED" FunctionSlugResponseStatusTHROTTLED FunctionSlugResponseStatus = "THROTTLED" )
Defines values for FunctionSlugResponseStatus.
type GetAuthorizationRequestResponse ¶ added in v1.57.5
func ParseGetAuthorizationRequestResponse ¶ added in v1.57.5
func ParseGetAuthorizationRequestResponse(rsp *http.Response) (*GetAuthorizationRequestResponse, error)
ParseGetAuthorizationRequestResponse parses an HTTP response from a GetAuthorizationRequestWithResponse call
func (GetAuthorizationRequestResponse) Status ¶ added in v1.57.5
func (r GetAuthorizationRequestResponse) Status() string
Status returns HTTPResponse.Status
func (GetAuthorizationRequestResponse) StatusCode ¶ added in v1.57.5
func (r GetAuthorizationRequestResponse) 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 *[]OrganizationResponse }
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 GetPgbouncerConfigResponse ¶ added in v1.57.5
type GetPgbouncerConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ProjectPgBouncerConfig }
func ParseGetPgbouncerConfigResponse ¶ added in v1.57.5
func ParseGetPgbouncerConfigResponse(rsp *http.Response) (*GetPgbouncerConfigResponse, error)
ParseGetPgbouncerConfigResponse parses an HTTP response from a GetPgbouncerConfigWithResponse call
func (GetPgbouncerConfigResponse) Status ¶ added in v1.57.5
func (r GetPgbouncerConfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetPgbouncerConfigResponse) StatusCode ¶ added in v1.57.5
func (r GetPgbouncerConfigResponse) 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 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 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 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 OrganizationResponse ¶
OrganizationResponse defines model for OrganizationResponse.
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 int `json:"effective_cache_size"` MaintenanceWorkMem int `json:"maintenance_work_mem"` MaxConnections int `json:"max_connections"` MaxParallelMaintenanceWorkers int `json:"max_parallel_maintenance_workers"` MaxParallelWorkers int `json:"max_parallel_workers"` MaxParallelWorkersPerGather int `json:"max_parallel_workers_per_gather"` MaxWorkerProcesses int `json:"max_worker_processes"` SessionReplicationRole PostgresConfigResponseSessionReplicationRole `json:"session_replication_role"` StatementTimeout int `json:"statement_timeout"` WorkMem int `json:"work_mem"` }
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 ProjectPgBouncerConfig ¶ added in v1.57.5
type ProjectPgBouncerConfig struct { DbDnsName string `json:"db_dns_name"` DbHost string `json:"db_host"` DbName string `json:"db_name"` DbPort float32 `json:"db_port"` DbSsl bool `json:"db_ssl"` DbUser string `json:"db_user"` DefaultPoolSize float32 `json:"default_pool_size"` IgnoreStartupParameters string `json:"ignore_startup_parameters"` InsertedAt string `json:"inserted_at"` MaxClientConn *float32 `json:"max_client_conn"` PgbouncerEnabled bool `json:"pgbouncer_enabled"` PgbouncerStatus ProjectPgBouncerConfigPgbouncerStatus `json:"pgbouncer_status"` PoolMode ProjectPgBouncerConfigPoolMode `json:"pool_mode"` }
ProjectPgBouncerConfig defines model for ProjectPgBouncerConfig.
type ProjectPgBouncerConfigPgbouncerStatus ¶ added in v1.57.5
type ProjectPgBouncerConfigPgbouncerStatus string
ProjectPgBouncerConfigPgbouncerStatus defines model for ProjectPgBouncerConfig.PgbouncerStatus.
const ( ProjectPgBouncerConfigPgbouncerStatusCOMINGDOWN ProjectPgBouncerConfigPgbouncerStatus = "COMING_DOWN" ProjectPgBouncerConfigPgbouncerStatusCOMINGUP ProjectPgBouncerConfigPgbouncerStatus = "COMING_UP" ProjectPgBouncerConfigPgbouncerStatusDISABLED ProjectPgBouncerConfigPgbouncerStatus = "DISABLED" ProjectPgBouncerConfigPgbouncerStatusENABLED ProjectPgBouncerConfigPgbouncerStatus = "ENABLED" ProjectPgBouncerConfigPgbouncerStatusRELOADING ProjectPgBouncerConfigPgbouncerStatus = "RELOADING" )
Defines values for ProjectPgBouncerConfigPgbouncerStatus.
type ProjectPgBouncerConfigPoolMode ¶ added in v1.57.5
type ProjectPgBouncerConfigPoolMode string
ProjectPgBouncerConfigPoolMode defines model for ProjectPgBouncerConfig.PoolMode.
const ( ProjectPgBouncerConfigPoolModeSession ProjectPgBouncerConfigPoolMode = "session" ProjectPgBouncerConfigPoolModeStatement ProjectPgBouncerConfigPoolMode = "statement" ProjectPgBouncerConfigPoolModeTransaction ProjectPgBouncerConfigPoolMode = "transaction" )
Defines values for ProjectPgBouncerConfigPoolMode.
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"` Eligible bool `json:"eligible"` LatestAppVersion string `json:"latest_app_version"` PotentialBreakingChanges []string `json:"potential_breaking_changes"` RequiresManualIntervention *string `json:"requires_manual_intervention"` TargetUpgradeVersions []ProjectVersion `json:"target_upgrade_versions"` }
ProjectUpgradeEligibilityResponse defines model for ProjectUpgradeEligibilityResponse.
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 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 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 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 TokenParams ¶ added in v1.57.5
type TokenParams struct { GrantType TokenParamsGrantType `form:"grant_type" json:"grant_type"` ClientId string `form:"client_id" json:"client_id"` ClientSecret string `form:"client_secret" json:"client_secret"` Code *string `form:"code,omitempty" json:"code,omitempty"` CodeVerifier *string `form:"code_verifier,omitempty" json:"code_verifier,omitempty"` RedirectUri string `form:"redirect_uri" json:"redirect_uri"` RefreshToken *string `form:"refresh_token,omitempty" json:"refresh_token,omitempty"` }
TokenParams defines parameters for Token.
type TokenParamsGrantType ¶ added in v1.57.5
type TokenParamsGrantType string
TokenParamsGrantType defines parameters for Token.
const ( AuthorizationCode TokenParamsGrantType = "authorization_code" RefreshToken TokenParamsGrantType = "refresh_token" )
Defines values for TokenParamsGrantType.
type TokenResponse ¶ added in v1.57.5
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 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 UpdatePgbouncerConfigBody ¶ added in v1.57.5
type UpdatePgbouncerConfigBody struct { DefaultPoolSize int `json:"default_pool_size"` IgnoreStartupParameters string `json:"ignore_startup_parameters"` MaxClientConn *int `json:"max_client_conn"` PgbouncerEnabled bool `json:"pgbouncer_enabled"` PoolMode UpdatePgbouncerConfigBodyPoolMode `json:"pool_mode"` }
UpdatePgbouncerConfigBody defines model for UpdatePgbouncerConfigBody.
type UpdatePgbouncerConfigBodyPoolMode ¶ added in v1.57.5
type UpdatePgbouncerConfigBodyPoolMode string
UpdatePgbouncerConfigBodyPoolMode defines model for UpdatePgbouncerConfigBody.PoolMode.
const ( UpdatePgbouncerConfigBodyPoolModeSession UpdatePgbouncerConfigBodyPoolMode = "session" UpdatePgbouncerConfigBodyPoolModeStatement UpdatePgbouncerConfigBodyPoolMode = "statement" UpdatePgbouncerConfigBodyPoolModeTransaction UpdatePgbouncerConfigBodyPoolMode = "transaction" )
Defines values for UpdatePgbouncerConfigBodyPoolMode.
type UpdatePgbouncerConfigJSONRequestBody ¶ added in v1.57.5
type UpdatePgbouncerConfigJSONRequestBody = UpdatePgbouncerConfigBody
UpdatePgbouncerConfigJSONRequestBody defines body for UpdatePgbouncerConfig for application/json ContentType.
type UpdatePgbouncerConfigResponse ¶ added in v1.57.5
type UpdatePgbouncerConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *UpdatePoolingConfigResponse }
func ParseUpdatePgbouncerConfigResponse ¶ added in v1.57.5
func ParseUpdatePgbouncerConfigResponse(rsp *http.Response) (*UpdatePgbouncerConfigResponse, error)
ParseUpdatePgbouncerConfigResponse parses an HTTP response from a UpdatePgbouncerConfigWithResponse call
func (UpdatePgbouncerConfigResponse) Status ¶ added in v1.57.5
func (r UpdatePgbouncerConfigResponse) Status() string
Status returns HTTPResponse.Status
func (UpdatePgbouncerConfigResponse) StatusCode ¶ added in v1.57.5
func (r UpdatePgbouncerConfigResponse) 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 UpdatePoolingConfigResponse ¶ added in v1.57.5
type UpdatePoolingConfigResponse struct { DefaultPoolSize int `json:"default_pool_size"` IgnoreStartupParameters string `json:"ignore_startup_parameters"` MaxClientConn *int `json:"max_client_conn"` PgbouncerEnabled bool `json:"pgbouncer_enabled"` PgbouncerStatus UpdatePoolingConfigResponsePgbouncerStatus `json:"pgbouncer_status"` PoolMode UpdatePoolingConfigResponsePoolMode `json:"pool_mode"` }
UpdatePoolingConfigResponse defines model for UpdatePoolingConfigResponse.
type UpdatePoolingConfigResponsePgbouncerStatus ¶ added in v1.57.5
type UpdatePoolingConfigResponsePgbouncerStatus string
UpdatePoolingConfigResponsePgbouncerStatus defines model for UpdatePoolingConfigResponse.PgbouncerStatus.
const ( UpdatePoolingConfigResponsePgbouncerStatusCOMINGDOWN UpdatePoolingConfigResponsePgbouncerStatus = "COMING_DOWN" UpdatePoolingConfigResponsePgbouncerStatusCOMINGUP UpdatePoolingConfigResponsePgbouncerStatus = "COMING_UP" UpdatePoolingConfigResponsePgbouncerStatusDISABLED UpdatePoolingConfigResponsePgbouncerStatus = "DISABLED" UpdatePoolingConfigResponsePgbouncerStatusENABLED UpdatePoolingConfigResponsePgbouncerStatus = "ENABLED" UpdatePoolingConfigResponsePgbouncerStatusRELOADING UpdatePoolingConfigResponsePgbouncerStatus = "RELOADING" )
Defines values for UpdatePoolingConfigResponsePgbouncerStatus.
type UpdatePoolingConfigResponsePoolMode ¶ added in v1.57.5
type UpdatePoolingConfigResponsePoolMode string
UpdatePoolingConfigResponsePoolMode defines model for UpdatePoolingConfigResponse.PoolMode.
const ( Session UpdatePoolingConfigResponsePoolMode = "session" Statement UpdatePoolingConfigResponsePoolMode = "statement" Transaction UpdatePoolingConfigResponsePoolMode = "transaction" )
Defines values for UpdatePoolingConfigResponsePoolMode.
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 int `json:"effective_cache_size"` MaintenanceWorkMem int `json:"maintenance_work_mem"` MaxConnections int `json:"max_connections"` MaxParallelMaintenanceWorkers int `json:"max_parallel_maintenance_workers"` MaxParallelWorkers int `json:"max_parallel_workers"` MaxParallelWorkersPerGather int `json:"max_parallel_workers_per_gather"` MaxWorkerProcesses int `json:"max_worker_processes"` SessionReplicationRole UpdatePostgresConfigBodySessionReplicationRole `json:"session_replication_role"` StatementTimeout int `json:"statement_timeout"` WorkMem int `json:"work_mem"` }
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 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
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 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.