Documentation
¶
Overview ¶
Package client provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.12.4 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 ¶
NewActivateRequest generates requests for Activate
func NewActivateVanitySubdomainPleaseRequest ¶
func NewActivateVanitySubdomainPleaseRequest(server string, ref string, body ActivateVanitySubdomainPleaseJSONRequestBody) (*http.Request, error)
NewActivateVanitySubdomainPleaseRequest calls the generic ActivateVanitySubdomainPlease builder with application/json body
func NewActivateVanitySubdomainPleaseRequestWithBody ¶
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 ¶
func NewApplyNetworkRestrictionsRequest(server string, ref string, body ApplyNetworkRestrictionsJSONRequestBody) (*http.Request, error)
NewApplyNetworkRestrictionsRequest calls the generic ApplyNetworkRestrictions builder with application/json body
func NewApplyNetworkRestrictionsRequestWithBody ¶
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 ¶
func NewApproveAuthorizationRequestRequest(server string, id string, body ApproveAuthorizationRequestJSONRequestBody) (*http.Request, error)
NewApproveAuthorizationRequestRequest calls the generic ApproveAuthorizationRequest builder with application/json body
func NewApproveAuthorizationRequestRequestWithBody ¶
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 ¶
func NewAuthorizeRequest(server string, params *AuthorizeParams) (*http.Request, error)
NewAuthorizeRequest generates requests for Authorize
func NewCheckVanitySubdomainAvailabilityRequest ¶
func NewCheckVanitySubdomainAvailabilityRequest(server string, ref string, body CheckVanitySubdomainAvailabilityJSONRequestBody) (*http.Request, error)
NewCheckVanitySubdomainAvailabilityRequest calls the generic CheckVanitySubdomainAvailability builder with application/json body
func NewCheckVanitySubdomainAvailabilityRequestWithBody ¶
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 ¶
func NewCreateCustomHostnameConfigRequest(server string, ref string, body CreateCustomHostnameConfigJSONRequestBody) (*http.Request, error)
NewCreateCustomHostnameConfigRequest calls the generic CreateCustomHostnameConfig builder with application/json body
func NewCreateCustomHostnameConfigRequestWithBody ¶
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 ¶
func NewCreateProviderForProjectRequest(server string, ref string, body CreateProviderForProjectJSONRequestBody) (*http.Request, error)
NewCreateProviderForProjectRequest calls the generic CreateProviderForProject builder with application/json body
func NewCreateProviderForProjectRequestWithBody ¶
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 ¶
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 ¶
NewGetAuthorizationRequestRequest generates requests for GetAuthorizationRequest
func NewGetConfigRequest ¶
NewGetConfigRequest generates requests for GetConfig
func NewGetCustomHostnameConfigRequest ¶
NewGetCustomHostnameConfigRequest generates requests for GetCustomHostnameConfig
func NewGetFunctionBodyRequest ¶
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 ¶
NewGetNetworkBansRequest generates requests for GetNetworkBans
func NewGetNetworkRestrictionsRequest ¶
NewGetNetworkRestrictionsRequest generates requests for GetNetworkRestrictions
func NewGetOrganizationsRequest ¶
NewGetOrganizationsRequest generates requests for GetOrganizations
func NewGetPgbouncerConfigRequest ¶
NewGetPgbouncerConfigRequest generates requests for GetPgbouncerConfig
func NewGetPgsodiumConfigRequest ¶
NewGetPgsodiumConfigRequest generates requests for GetPgsodiumConfig
func NewGetPostgRESTConfigRequest ¶
NewGetPostgRESTConfigRequest generates requests for GetPostgRESTConfig
func NewGetProjectApiKeysRequest ¶
NewGetProjectApiKeysRequest generates requests for GetProjectApiKeys
func NewGetProjectsRequest ¶
NewGetProjectsRequest generates requests for GetProjects
func NewGetProviderByIdRequest ¶
NewGetProviderByIdRequest generates requests for GetProviderById
func NewGetReadOnlyModeStatusRequest ¶
NewGetReadOnlyModeStatusRequest generates requests for GetReadOnlyModeStatus
func NewGetSecretsRequest ¶
NewGetSecretsRequest generates requests for GetSecrets
func NewGetSslEnforcementConfigRequest ¶
NewGetSslEnforcementConfigRequest generates requests for GetSslEnforcementConfig
func NewGetTypescriptTypesRequest ¶
func NewGetTypescriptTypesRequest(server string, ref string, params *GetTypescriptTypesParams) (*http.Request, error)
NewGetTypescriptTypesRequest generates requests for GetTypescriptTypes
func NewGetUpgradeStatusRequest ¶
NewGetUpgradeStatusRequest generates requests for GetUpgradeStatus
func NewGetVanitySubdomainConfigRequest ¶
NewGetVanitySubdomainConfigRequest generates requests for GetVanitySubdomainConfig
func NewListAllProvidersRequest ¶
NewListAllProvidersRequest generates requests for ListAllProviders
func NewRemoveCustomHostnameConfigRequest ¶
NewRemoveCustomHostnameConfigRequest generates requests for RemoveCustomHostnameConfig
func NewRemoveNetworkBanRequest ¶
func NewRemoveNetworkBanRequest(server string, ref string, body RemoveNetworkBanJSONRequestBody) (*http.Request, error)
NewRemoveNetworkBanRequest calls the generic RemoveNetworkBan builder with application/json body
func NewRemoveNetworkBanRequestWithBody ¶
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 ¶
func NewRemoveProviderByIdRequest(server string, ref string, providerId string) (*http.Request, error)
NewRemoveProviderByIdRequest generates requests for RemoveProviderById
func NewRemoveVanitySubdomainConfigRequest ¶
NewRemoveVanitySubdomainConfigRequest generates requests for RemoveVanitySubdomainConfig
func NewReverifyRequest ¶
NewReverifyRequest generates requests for Reverify
func NewTemporarilyDisableReadonlyModeRequest ¶
NewTemporarilyDisableReadonlyModeRequest generates requests for TemporarilyDisableReadonlyMode
func NewTokenRequest ¶
func NewTokenRequest(server string, params *TokenParams) (*http.Request, error)
NewTokenRequest generates requests for Token
func NewUpdateConfigRequest ¶
func NewUpdateConfigRequest(server string, ref string, body UpdateConfigJSONRequestBody) (*http.Request, error)
NewUpdateConfigRequest calls the generic UpdateConfig builder with application/json body
func NewUpdateConfigRequestWithBody ¶
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 ¶
func NewUpdatePgbouncerConfigRequest(server string, ref string, body UpdatePgbouncerConfigJSONRequestBody) (*http.Request, error)
NewUpdatePgbouncerConfigRequest calls the generic UpdatePgbouncerConfig builder with application/json body
func NewUpdatePgbouncerConfigRequestWithBody ¶
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 ¶
func NewUpdatePgsodiumConfigRequest(server string, ref string, body UpdatePgsodiumConfigJSONRequestBody) (*http.Request, error)
NewUpdatePgsodiumConfigRequest calls the generic UpdatePgsodiumConfig builder with application/json body
func NewUpdatePgsodiumConfigRequestWithBody ¶
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 ¶
func NewUpdatePostgRESTConfigRequest(server string, ref string, body UpdatePostgRESTConfigJSONRequestBody) (*http.Request, error)
NewUpdatePostgRESTConfigRequest calls the generic UpdatePostgRESTConfig builder with application/json body
func NewUpdatePostgRESTConfigRequestWithBody ¶
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 ¶
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 ¶
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 ¶
func NewUpdateSslEnforcementConfigRequest(server string, ref string, body UpdateSslEnforcementConfigJSONRequestBody) (*http.Request, error)
NewUpdateSslEnforcementConfigRequest calls the generic UpdateSslEnforcementConfig builder with application/json body
func NewUpdateSslEnforcementConfigRequestWithBody ¶
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 ¶
NewUpgradeEligibilityInformationRequest generates requests for UpgradeEligibilityInformation
func NewUpgradeProjectRequest ¶
func NewUpgradeProjectRequest(server string, ref string, body UpgradeProjectJSONRequestBody) (*http.Request, error)
NewUpgradeProjectRequest calls the generic UpgradeProject builder with application/json body
Types ¶
type ActivateResponse ¶
type ActivateResponse struct { Body []byte HTTPResponse *http.Response JSON201 *UpdateCustomHostnameResponse }
func ParseActivateResponse ¶
func ParseActivateResponse(rsp *http.Response) (*ActivateResponse, error)
ParseActivateResponse parses an HTTP response from a ActivateWithResponse call
func (ActivateResponse) Status ¶
func (r ActivateResponse) Status() string
Status returns HTTPResponse.Status
func (ActivateResponse) StatusCode ¶
func (r ActivateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ActivateVanitySubdomainPleaseJSONRequestBody ¶
type ActivateVanitySubdomainPleaseJSONRequestBody = VanitySubdomainBody
ActivateVanitySubdomainPleaseJSONRequestBody defines body for ActivateVanitySubdomainPlease for application/json ContentType.
type ActivateVanitySubdomainPleaseResponse ¶
type ActivateVanitySubdomainPleaseResponse struct { Body []byte HTTPResponse *http.Response JSON201 *ActivateVanitySubdomainResponse }
func ParseActivateVanitySubdomainPleaseResponse ¶
func ParseActivateVanitySubdomainPleaseResponse(rsp *http.Response) (*ActivateVanitySubdomainPleaseResponse, error)
ParseActivateVanitySubdomainPleaseResponse parses an HTTP response from a ActivateVanitySubdomainPleaseWithResponse call
func (ActivateVanitySubdomainPleaseResponse) Status ¶
func (r ActivateVanitySubdomainPleaseResponse) Status() string
Status returns HTTPResponse.Status
func (ActivateVanitySubdomainPleaseResponse) StatusCode ¶
func (r ActivateVanitySubdomainPleaseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ActivateVanitySubdomainResponse ¶
type ActivateVanitySubdomainResponse struct {
CustomDomain string `json:"custom_domain"`
}
ActivateVanitySubdomainResponse defines model for ActivateVanitySubdomainResponse.
type ApiKeyResponse ¶
ApiKeyResponse defines model for ApiKeyResponse.
type ApplyNetworkRestrictionsJSONRequestBody ¶
type ApplyNetworkRestrictionsJSONRequestBody = NetworkRestrictionsRequest
ApplyNetworkRestrictionsJSONRequestBody defines body for ApplyNetworkRestrictions for application/json ContentType.
type ApplyNetworkRestrictionsResponse ¶
type ApplyNetworkRestrictionsResponse struct { Body []byte HTTPResponse *http.Response JSON201 *NetworkRestrictionsResponse }
func ParseApplyNetworkRestrictionsResponse ¶
func ParseApplyNetworkRestrictionsResponse(rsp *http.Response) (*ApplyNetworkRestrictionsResponse, error)
ParseApplyNetworkRestrictionsResponse parses an HTTP response from a ApplyNetworkRestrictionsWithResponse call
func (ApplyNetworkRestrictionsResponse) Status ¶
func (r ApplyNetworkRestrictionsResponse) Status() string
Status returns HTTPResponse.Status
func (ApplyNetworkRestrictionsResponse) StatusCode ¶
func (r ApplyNetworkRestrictionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApproveAuthorizationRequestJSONRequestBody ¶
type ApproveAuthorizationRequestJSONRequestBody = AuthorizationsApproveBody
ApproveAuthorizationRequestJSONRequestBody defines body for ApproveAuthorizationRequest for application/json ContentType.
type ApproveAuthorizationRequestResponse ¶
func ParseApproveAuthorizationRequestResponse ¶
func ParseApproveAuthorizationRequestResponse(rsp *http.Response) (*ApproveAuthorizationRequestResponse, error)
ParseApproveAuthorizationRequestResponse parses an HTTP response from a ApproveAuthorizationRequestWithResponse call
func (ApproveAuthorizationRequestResponse) Status ¶
func (r ApproveAuthorizationRequestResponse) Status() string
Status returns HTTPResponse.Status
func (ApproveAuthorizationRequestResponse) StatusCode ¶
func (r ApproveAuthorizationRequestResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AttributeMapping ¶
type AttributeMapping struct {
Keys map[string]AttributeValue `json:"keys"`
}
AttributeMapping defines model for AttributeMapping.
type AttributeValue ¶
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 ¶
type AttributeValueDefault0 = map[string]interface{}
AttributeValueDefault0 defines model for .
type AttributeValueDefault1 ¶
type AttributeValueDefault1 = float32
AttributeValueDefault1 defines model for .
type AttributeValueDefault2 ¶
type AttributeValueDefault2 = string
AttributeValueDefault2 defines model for .
type AttributeValueDefault3 ¶
type AttributeValueDefault3 = bool
AttributeValueDefault3 defines model for .
type AttributeValue_Default ¶
type AttributeValue_Default struct {
// contains filtered or unexported fields
}
AttributeValue_Default defines model for AttributeValue.Default.
func (AttributeValue_Default) AsAttributeValueDefault0 ¶
func (t AttributeValue_Default) AsAttributeValueDefault0() (AttributeValueDefault0, error)
AsAttributeValueDefault0 returns the union data inside the AttributeValue_Default as a AttributeValueDefault0
func (AttributeValue_Default) AsAttributeValueDefault1 ¶
func (t AttributeValue_Default) AsAttributeValueDefault1() (AttributeValueDefault1, error)
AsAttributeValueDefault1 returns the union data inside the AttributeValue_Default as a AttributeValueDefault1
func (AttributeValue_Default) AsAttributeValueDefault2 ¶
func (t AttributeValue_Default) AsAttributeValueDefault2() (AttributeValueDefault2, error)
AsAttributeValueDefault2 returns the union data inside the AttributeValue_Default as a AttributeValueDefault2
func (AttributeValue_Default) AsAttributeValueDefault3 ¶
func (t AttributeValue_Default) AsAttributeValueDefault3() (AttributeValueDefault3, error)
AsAttributeValueDefault3 returns the union data inside the AttributeValue_Default as a AttributeValueDefault3
func (*AttributeValue_Default) FromAttributeValueDefault0 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (t AttributeValue_Default) MarshalJSON() ([]byte, error)
func (*AttributeValue_Default) MergeAttributeValueDefault0 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (t *AttributeValue_Default) UnmarshalJSON(b []byte) error
type AuthorizationsApproveBody ¶
type AuthorizationsApproveBody struct {
OrganizationId string `json:"organization_id"`
}
AuthorizationsApproveBody defines model for AuthorizationsApproveBody.
type AuthorizeParams ¶
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 ¶
type AuthorizeParamsCodeChallengeMethod string
AuthorizeParamsCodeChallengeMethod defines parameters for Authorize.
const ( AuthorizeParamsCodeChallengeMethodPlain AuthorizeParamsCodeChallengeMethod = "plain" AuthorizeParamsCodeChallengeMethodSha256 AuthorizeParamsCodeChallengeMethod = "sha256" )
Defines values for AuthorizeParamsCodeChallengeMethod.
type AuthorizeParamsResponseType ¶
type AuthorizeParamsResponseType string
AuthorizeParamsResponseType defines parameters for Authorize.
const ( AuthorizeParamsResponseTypeCode AuthorizeParamsResponseType = "code" AuthorizeParamsResponseTypeIdTokenToken AuthorizeParamsResponseType = "id_token token" AuthorizeParamsResponseTypeToken AuthorizeParamsResponseType = "token" )
Defines values for AuthorizeParamsResponseType.
type AuthorizeResponse ¶
func ParseAuthorizeResponse ¶
func ParseAuthorizeResponse(rsp *http.Response) (*AuthorizeResponse, error)
ParseAuthorizeResponse parses an HTTP response from a AuthorizeWithResponse call
func (AuthorizeResponse) Status ¶
func (r AuthorizeResponse) Status() string
Status returns HTTPResponse.Status
func (AuthorizeResponse) StatusCode ¶
func (r AuthorizeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CheckVanitySubdomainAvailabilityJSONRequestBody ¶
type CheckVanitySubdomainAvailabilityJSONRequestBody = VanitySubdomainBody
CheckVanitySubdomainAvailabilityJSONRequestBody defines body for CheckVanitySubdomainAvailability for application/json ContentType.
type CheckVanitySubdomainAvailabilityResponse ¶
type CheckVanitySubdomainAvailabilityResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SubdomainAvailabilityResponse }
func ParseCheckVanitySubdomainAvailabilityResponse ¶
func ParseCheckVanitySubdomainAvailabilityResponse(rsp *http.Response) (*CheckVanitySubdomainAvailabilityResponse, error)
ParseCheckVanitySubdomainAvailabilityResponse parses an HTTP response from a CheckVanitySubdomainAvailabilityWithResponse call
func (CheckVanitySubdomainAvailabilityResponse) Status ¶
func (r CheckVanitySubdomainAvailabilityResponse) Status() string
Status returns HTTPResponse.Status
func (CheckVanitySubdomainAvailabilityResponse) StatusCode ¶
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 ¶
func (c *Client) ActivateVanitySubdomainPlease(ctx context.Context, ref string, body ActivateVanitySubdomainPleaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ActivateVanitySubdomainPleaseWithBody ¶
func (*Client) ApplyNetworkRestrictions ¶
func (c *Client) ApplyNetworkRestrictions(ctx context.Context, ref string, body ApplyNetworkRestrictionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ApplyNetworkRestrictionsWithBody ¶
func (*Client) ApproveAuthorizationRequest ¶
func (c *Client) ApproveAuthorizationRequest(ctx context.Context, id string, body ApproveAuthorizationRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ApproveAuthorizationRequestWithBody ¶
func (*Client) Authorize ¶
func (c *Client) Authorize(ctx context.Context, params *AuthorizeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CheckVanitySubdomainAvailability ¶
func (c *Client) CheckVanitySubdomainAvailability(ctx context.Context, ref string, body CheckVanitySubdomainAvailabilityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CheckVanitySubdomainAvailabilityWithBody ¶
func (*Client) CreateCustomHostnameConfig ¶
func (c *Client) CreateCustomHostnameConfig(ctx context.Context, ref string, body CreateCustomHostnameConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateCustomHostnameConfigWithBody ¶
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 ¶
func (c *Client) CreateProviderForProject(ctx context.Context, ref string, body CreateProviderForProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateProviderForProjectWithBody ¶
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 ¶
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 ¶
func (*Client) GetCustomHostnameConfig ¶
func (*Client) GetFunction ¶
func (*Client) GetFunctionBody ¶
func (*Client) GetFunctions ¶
func (*Client) GetNetworkBans ¶
func (*Client) GetNetworkRestrictions ¶
func (*Client) GetOrganizations ¶
func (*Client) GetPgbouncerConfig ¶
func (*Client) GetPgsodiumConfig ¶
func (*Client) GetPostgRESTConfig ¶
func (*Client) GetProjectApiKeys ¶
func (*Client) GetProjects ¶
func (*Client) GetProviderById ¶
func (*Client) GetReadOnlyModeStatus ¶
func (*Client) GetSecrets ¶
func (*Client) GetSslEnforcementConfig ¶
func (*Client) GetTypescriptTypes ¶
func (c *Client) GetTypescriptTypes(ctx context.Context, ref string, params *GetTypescriptTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetUpgradeStatus ¶
func (*Client) GetVanitySubdomainConfig ¶
func (*Client) ListAllProviders ¶
func (*Client) RemoveCustomHostnameConfig ¶
func (*Client) RemoveNetworkBan ¶
func (c *Client) RemoveNetworkBan(ctx context.Context, ref string, body RemoveNetworkBanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RemoveNetworkBanWithBody ¶
func (*Client) RemoveProviderById ¶
func (*Client) RemoveVanitySubdomainConfig ¶
func (*Client) TemporarilyDisableReadonlyMode ¶
func (*Client) Token ¶
func (c *Client) Token(ctx context.Context, params *TokenParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateConfig ¶
func (c *Client) UpdateConfig(ctx context.Context, ref string, body UpdateConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateConfigWithBody ¶
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 ¶
func (c *Client) UpdatePgbouncerConfig(ctx context.Context, ref string, body UpdatePgbouncerConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdatePgbouncerConfigWithBody ¶
func (*Client) UpdatePgsodiumConfig ¶
func (c *Client) UpdatePgsodiumConfig(ctx context.Context, ref string, body UpdatePgsodiumConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdatePgsodiumConfigWithBody ¶
func (*Client) UpdatePostgRESTConfig ¶
func (c *Client) UpdatePostgRESTConfig(ctx context.Context, ref string, body UpdatePostgRESTConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdatePostgRESTConfigWithBody ¶
func (*Client) UpdateProviderById ¶
func (c *Client) UpdateProviderById(ctx context.Context, ref string, providerId string, body UpdateProviderByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateProviderByIdWithBody ¶
func (*Client) UpdateSslEnforcementConfig ¶
func (c *Client) UpdateSslEnforcementConfig(ctx context.Context, ref string, body UpdateSslEnforcementConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateSslEnforcementConfigWithBody ¶
func (*Client) UpgradeEligibilityInformation ¶
func (*Client) UpgradeProject ¶
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 ¶
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 ¶
func (c *ClientWithResponses) ActivateVanitySubdomainPleaseWithResponse(ctx context.Context, ref string, body ActivateVanitySubdomainPleaseJSONRequestBody, reqEditors ...RequestEditorFn) (*ActivateVanitySubdomainPleaseResponse, error)
func (*ClientWithResponses) ActivateWithResponse ¶
func (c *ClientWithResponses) ActivateWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*ActivateResponse, error)
ActivateWithResponse request returning *ActivateResponse
func (*ClientWithResponses) ApplyNetworkRestrictionsWithBodyWithResponse ¶
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 ¶
func (c *ClientWithResponses) ApplyNetworkRestrictionsWithResponse(ctx context.Context, ref string, body ApplyNetworkRestrictionsJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplyNetworkRestrictionsResponse, error)
func (*ClientWithResponses) ApproveAuthorizationRequestWithBodyWithResponse ¶
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 ¶
func (c *ClientWithResponses) ApproveAuthorizationRequestWithResponse(ctx context.Context, id string, body ApproveAuthorizationRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*ApproveAuthorizationRequestResponse, error)
func (*ClientWithResponses) AuthorizeWithResponse ¶
func (c *ClientWithResponses) AuthorizeWithResponse(ctx context.Context, params *AuthorizeParams, reqEditors ...RequestEditorFn) (*AuthorizeResponse, error)
AuthorizeWithResponse request returning *AuthorizeResponse
func (*ClientWithResponses) CheckVanitySubdomainAvailabilityWithBodyWithResponse ¶
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 ¶
func (c *ClientWithResponses) CheckVanitySubdomainAvailabilityWithResponse(ctx context.Context, ref string, body CheckVanitySubdomainAvailabilityJSONRequestBody, reqEditors ...RequestEditorFn) (*CheckVanitySubdomainAvailabilityResponse, error)
func (*ClientWithResponses) CreateCustomHostnameConfigWithBodyWithResponse ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (c *ClientWithResponses) GetAuthorizationRequestWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAuthorizationRequestResponse, error)
GetAuthorizationRequestWithResponse request returning *GetAuthorizationRequestResponse
func (*ClientWithResponses) GetConfigWithResponse ¶
func (c *ClientWithResponses) GetConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetConfigResponse, error)
GetConfigWithResponse request returning *GetConfigResponse
func (*ClientWithResponses) GetCustomHostnameConfigWithResponse ¶
func (c *ClientWithResponses) GetCustomHostnameConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetCustomHostnameConfigResponse, error)
GetCustomHostnameConfigWithResponse request returning *GetCustomHostnameConfigResponse
func (*ClientWithResponses) GetFunctionBodyWithResponse ¶
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 ¶
func (c *ClientWithResponses) GetNetworkBansWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetNetworkBansResponse, error)
GetNetworkBansWithResponse request returning *GetNetworkBansResponse
func (*ClientWithResponses) GetNetworkRestrictionsWithResponse ¶
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 ¶
func (c *ClientWithResponses) GetPgbouncerConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetPgbouncerConfigResponse, error)
GetPgbouncerConfigWithResponse request returning *GetPgbouncerConfigResponse
func (*ClientWithResponses) GetPgsodiumConfigWithResponse ¶
func (c *ClientWithResponses) GetPgsodiumConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetPgsodiumConfigResponse, error)
GetPgsodiumConfigWithResponse request returning *GetPgsodiumConfigResponse
func (*ClientWithResponses) GetPostgRESTConfigWithResponse ¶
func (c *ClientWithResponses) GetPostgRESTConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetPostgRESTConfigResponse, error)
GetPostgRESTConfigWithResponse request returning *GetPostgRESTConfigResponse
func (*ClientWithResponses) GetProjectApiKeysWithResponse ¶
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 ¶
func (c *ClientWithResponses) GetProviderByIdWithResponse(ctx context.Context, ref string, providerId string, reqEditors ...RequestEditorFn) (*GetProviderByIdResponse, error)
GetProviderByIdWithResponse request returning *GetProviderByIdResponse
func (*ClientWithResponses) GetReadOnlyModeStatusWithResponse ¶
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 ¶
func (c *ClientWithResponses) GetSslEnforcementConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetSslEnforcementConfigResponse, error)
GetSslEnforcementConfigWithResponse request returning *GetSslEnforcementConfigResponse
func (*ClientWithResponses) GetTypescriptTypesWithResponse ¶
func (c *ClientWithResponses) GetTypescriptTypesWithResponse(ctx context.Context, ref string, params *GetTypescriptTypesParams, reqEditors ...RequestEditorFn) (*GetTypescriptTypesResponse, error)
GetTypescriptTypesWithResponse request returning *GetTypescriptTypesResponse
func (*ClientWithResponses) GetUpgradeStatusWithResponse ¶
func (c *ClientWithResponses) GetUpgradeStatusWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetUpgradeStatusResponse, error)
GetUpgradeStatusWithResponse request returning *GetUpgradeStatusResponse
func (*ClientWithResponses) GetVanitySubdomainConfigWithResponse ¶
func (c *ClientWithResponses) GetVanitySubdomainConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetVanitySubdomainConfigResponse, error)
GetVanitySubdomainConfigWithResponse request returning *GetVanitySubdomainConfigResponse
func (*ClientWithResponses) ListAllProvidersWithResponse ¶
func (c *ClientWithResponses) ListAllProvidersWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*ListAllProvidersResponse, error)
ListAllProvidersWithResponse request returning *ListAllProvidersResponse
func (*ClientWithResponses) RemoveCustomHostnameConfigWithResponse ¶
func (c *ClientWithResponses) RemoveCustomHostnameConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*RemoveCustomHostnameConfigResponse, error)
RemoveCustomHostnameConfigWithResponse request returning *RemoveCustomHostnameConfigResponse
func (*ClientWithResponses) RemoveNetworkBanWithBodyWithResponse ¶
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 ¶
func (c *ClientWithResponses) RemoveNetworkBanWithResponse(ctx context.Context, ref string, body RemoveNetworkBanJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveNetworkBanResponse, error)
func (*ClientWithResponses) RemoveProviderByIdWithResponse ¶
func (c *ClientWithResponses) RemoveProviderByIdWithResponse(ctx context.Context, ref string, providerId string, reqEditors ...RequestEditorFn) (*RemoveProviderByIdResponse, error)
RemoveProviderByIdWithResponse request returning *RemoveProviderByIdResponse
func (*ClientWithResponses) RemoveVanitySubdomainConfigWithResponse ¶
func (c *ClientWithResponses) RemoveVanitySubdomainConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*RemoveVanitySubdomainConfigResponse, error)
RemoveVanitySubdomainConfigWithResponse request returning *RemoveVanitySubdomainConfigResponse
func (*ClientWithResponses) ReverifyWithResponse ¶
func (c *ClientWithResponses) ReverifyWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*ReverifyResponse, error)
ReverifyWithResponse request returning *ReverifyResponse
func (*ClientWithResponses) TemporarilyDisableReadonlyModeWithResponse ¶
func (c *ClientWithResponses) TemporarilyDisableReadonlyModeWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*TemporarilyDisableReadonlyModeResponse, error)
TemporarilyDisableReadonlyModeWithResponse request returning *TemporarilyDisableReadonlyModeResponse
func (*ClientWithResponses) TokenWithResponse ¶
func (c *ClientWithResponses) TokenWithResponse(ctx context.Context, params *TokenParams, reqEditors ...RequestEditorFn) (*TokenResponse, error)
TokenWithResponse request returning *TokenResponse
func (*ClientWithResponses) UpdateConfigWithBodyWithResponse ¶
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 ¶
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 ¶
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 ¶
func (c *ClientWithResponses) UpdatePgbouncerConfigWithResponse(ctx context.Context, ref string, body UpdatePgbouncerConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePgbouncerConfigResponse, error)
func (*ClientWithResponses) UpdatePgsodiumConfigWithBodyWithResponse ¶
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 ¶
func (c *ClientWithResponses) UpdatePgsodiumConfigWithResponse(ctx context.Context, ref string, body UpdatePgsodiumConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePgsodiumConfigResponse, error)
func (*ClientWithResponses) UpdatePostgRESTConfigWithBodyWithResponse ¶
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 ¶
func (c *ClientWithResponses) UpdatePostgRESTConfigWithResponse(ctx context.Context, ref string, body UpdatePostgRESTConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePostgRESTConfigResponse, error)
func (*ClientWithResponses) UpdateProviderByIdWithBodyWithResponse ¶
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 ¶
func (c *ClientWithResponses) UpdateProviderByIdWithResponse(ctx context.Context, ref string, providerId string, body UpdateProviderByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProviderByIdResponse, error)
func (*ClientWithResponses) UpdateSslEnforcementConfigWithBodyWithResponse ¶
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 ¶
func (c *ClientWithResponses) UpdateSslEnforcementConfigWithResponse(ctx context.Context, ref string, body UpdateSslEnforcementConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSslEnforcementConfigResponse, error)
func (*ClientWithResponses) UpgradeEligibilityInformationWithResponse ¶
func (c *ClientWithResponses) UpgradeEligibilityInformationWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*UpgradeEligibilityInformationResponse, error)
UpgradeEligibilityInformationWithResponse request returning *UpgradeEligibilityInformationResponse
func (*ClientWithResponses) UpgradeProjectWithBodyWithResponse ¶
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 ¶
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 ¶
type CreateCustomHostnameConfigJSONRequestBody = UpdateCustomHostnameBody
CreateCustomHostnameConfigJSONRequestBody defines body for CreateCustomHostnameConfig for application/json ContentType.
type CreateCustomHostnameConfigResponse ¶
type CreateCustomHostnameConfigResponse struct { Body []byte HTTPResponse *http.Response JSON201 *UpdateCustomHostnameResponse }
func ParseCreateCustomHostnameConfigResponse ¶
func ParseCreateCustomHostnameConfigResponse(rsp *http.Response) (*CreateCustomHostnameConfigResponse, error)
ParseCreateCustomHostnameConfigResponse parses an HTTP response from a CreateCustomHostnameConfigWithResponse call
func (CreateCustomHostnameConfigResponse) Status ¶
func (r CreateCustomHostnameConfigResponse) Status() string
Status returns HTTPResponse.Status
func (CreateCustomHostnameConfigResponse) StatusCode ¶
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 ¶
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 ( CreateProjectBodyPlanFree CreateProjectBodyPlan = "free" CreateProjectBodyPlanPro CreateProjectBodyPlan = "pro" )
Defines values for CreateProjectBodyPlan.
type CreateProjectBodyRegion ¶
type CreateProjectBodyRegion string
CreateProjectBodyRegion Region you want your server to reside in
const ( CreateProjectBodyRegionApNortheast1 CreateProjectBodyRegion = "ap-northeast-1" CreateProjectBodyRegionApNortheast2 CreateProjectBodyRegion = "ap-northeast-2" CreateProjectBodyRegionApSouth1 CreateProjectBodyRegion = "ap-south-1" CreateProjectBodyRegionApSoutheast1 CreateProjectBodyRegion = "ap-southeast-1" CreateProjectBodyRegionApSoutheast2 CreateProjectBodyRegion = "ap-southeast-2" CreateProjectBodyRegionCaCentral1 CreateProjectBodyRegion = "ca-central-1" CreateProjectBodyRegionEuCentral1 CreateProjectBodyRegion = "eu-central-1" CreateProjectBodyRegionEuWest1 CreateProjectBodyRegion = "eu-west-1" CreateProjectBodyRegionEuWest2 CreateProjectBodyRegion = "eu-west-2" CreateProjectBodyRegionEuWest3 CreateProjectBodyRegion = "eu-west-3" CreateProjectBodyRegionSaEast1 CreateProjectBodyRegion = "sa-east-1" CreateProjectBodyRegionUsEast1 CreateProjectBodyRegion = "us-east-1" CreateProjectBodyRegionUsWest1 CreateProjectBodyRegion = "us-west-1" CreateProjectBodyRegionUsWest2 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 ¶
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 ¶
type CreateProviderBodyType string
CreateProviderBodyType What type of provider will be created
const (
CreateProviderBodyTypeSaml CreateProviderBodyType = "saml"
)
Defines values for CreateProviderBodyType.
type CreateProviderForProjectJSONRequestBody ¶
type CreateProviderForProjectJSONRequestBody = CreateProviderBody
CreateProviderForProjectJSONRequestBody defines body for CreateProviderForProject for application/json ContentType.
type CreateProviderForProjectResponse ¶
type CreateProviderForProjectResponse struct { Body []byte HTTPResponse *http.Response JSON201 *CreateProviderResponse }
func ParseCreateProviderForProjectResponse ¶
func ParseCreateProviderForProjectResponse(rsp *http.Response) (*CreateProviderForProjectResponse, error)
ParseCreateProviderForProjectResponse parses an HTTP response from a CreateProviderForProjectWithResponse call
func (CreateProviderForProjectResponse) Status ¶
func (r CreateProviderForProjectResponse) Status() string
Status returns HTTPResponse.Status
func (CreateProviderForProjectResponse) StatusCode ¶
func (r CreateProviderForProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateProviderResponse ¶
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 ¶
type DatabaseResponse struct { // Host Database host Host string `json:"host"` // Version Database version Version string `json:"version"` }
DatabaseResponse defines model for DatabaseResponse.
type DatabaseUpgradeStatus ¶
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 ¶
type DatabaseUpgradeStatusError string
DatabaseUpgradeStatusError defines model for DatabaseUpgradeStatus.Error.
const ( DatabaseUpgradeStatusErrorN1UpgradedInstanceLaunchFailed DatabaseUpgradeStatusError = "1_upgraded_instance_launch_failed" DatabaseUpgradeStatusErrorN2VolumeDetachchmentFromUpgradedInstanceFailed DatabaseUpgradeStatusError = "2_volume_detachchment_from_upgraded_instance_failed" DatabaseUpgradeStatusErrorN3VolumeAttachmentToOriginalInstanceFailed DatabaseUpgradeStatusError = "3_volume_attachment_to_original_instance_failed" DatabaseUpgradeStatusErrorN4DataUpgradeInitiationFailed DatabaseUpgradeStatusError = "4_data_upgrade_initiation_failed" DatabaseUpgradeStatusErrorN5DataUpgradeCompletionFailed DatabaseUpgradeStatusError = "5_data_upgrade_completion_failed" DatabaseUpgradeStatusErrorN6VolumeDetachchmentFromOriginalInstanceFailed DatabaseUpgradeStatusError = "6_volume_detachchment_from_original_instance_failed" DatabaseUpgradeStatusErrorN7VolumeAttachmentToUpgradedInstanceFailed DatabaseUpgradeStatusError = "7_volume_attachment_to_upgraded_instance_failed" DatabaseUpgradeStatusErrorN8UpgradeCompletionFailed DatabaseUpgradeStatusError = "8_upgrade_completion_failed" )
Defines values for DatabaseUpgradeStatusError.
type DatabaseUpgradeStatusProgress ¶
type DatabaseUpgradeStatusProgress string
DatabaseUpgradeStatusProgress defines model for DatabaseUpgradeStatus.Progress.
const ( DatabaseUpgradeStatusProgressN1Started DatabaseUpgradeStatusProgress = "1_started" DatabaseUpgradeStatusProgressN2LaunchedUpgradedInstance DatabaseUpgradeStatusProgress = "2_launched_upgraded_instance" DatabaseUpgradeStatusProgressN3DetachedVolumeFromUpgradedInstance DatabaseUpgradeStatusProgress = "3_detached_volume_from_upgraded_instance" DatabaseUpgradeStatusProgressN4AttachedVolumeToOriginalInstance DatabaseUpgradeStatusProgress = "4_attached_volume_to_original_instance" DatabaseUpgradeStatusProgressN5InitiatedDataUpgrade DatabaseUpgradeStatusProgress = "5_initiated_data_upgrade" DatabaseUpgradeStatusProgressN6CompletedDataUpgrade DatabaseUpgradeStatusProgress = "6_completed_data_upgrade" DatabaseUpgradeStatusProgressN7DetachedVolumeFromOriginalInstance DatabaseUpgradeStatusProgress = "7_detached_volume_from_original_instance" DatabaseUpgradeStatusProgressN8AttachedVolumeToUpgradedInstance DatabaseUpgradeStatusProgress = "8_attached_volume_to_upgraded_instance" DatabaseUpgradeStatusProgressN9CompletedUpgrade DatabaseUpgradeStatusProgress = "9_completed_upgrade" )
Defines values for DatabaseUpgradeStatusProgress.
type DatabaseUpgradeStatusResponse ¶
type DatabaseUpgradeStatusResponse struct {
DatabaseUpgradeStatus *DatabaseUpgradeStatus `json:"databaseUpgradeStatus"`
}
DatabaseUpgradeStatusResponse defines model for DatabaseUpgradeStatusResponse.
type DatabaseUpgradeStatusStatus ¶
type DatabaseUpgradeStatusStatus float32
DatabaseUpgradeStatusStatus defines model for DatabaseUpgradeStatus.Status.
const ( DatabaseUpgradeStatusStatusN0 DatabaseUpgradeStatusStatus = 0 DatabaseUpgradeStatusStatusN1 DatabaseUpgradeStatusStatus = 1 DatabaseUpgradeStatusStatusN2 DatabaseUpgradeStatusStatus = 2 )
Defines values for DatabaseUpgradeStatusStatus.
type DeclineAuthorizationRequestResponse ¶
func ParseDeclineAuthorizationRequestResponse ¶
func ParseDeclineAuthorizationRequestResponse(rsp *http.Response) (*DeclineAuthorizationRequestResponse, error)
ParseDeclineAuthorizationRequestResponse parses an HTTP response from a DeclineAuthorizationRequestWithResponse call
func (DeclineAuthorizationRequestResponse) Status ¶
func (r DeclineAuthorizationRequestResponse) Status() string
Status returns HTTPResponse.Status
func (DeclineAuthorizationRequestResponse) StatusCode ¶
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 ¶
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 ¶
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 ¶
func ParseGetAuthorizationRequestResponse ¶
func ParseGetAuthorizationRequestResponse(rsp *http.Response) (*GetAuthorizationRequestResponse, error)
ParseGetAuthorizationRequestResponse parses an HTTP response from a GetAuthorizationRequestWithResponse call
func (GetAuthorizationRequestResponse) Status ¶
func (r GetAuthorizationRequestResponse) Status() string
Status returns HTTPResponse.Status
func (GetAuthorizationRequestResponse) StatusCode ¶
func (r GetAuthorizationRequestResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetConfigResponse ¶
type GetConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PostgresConfigResponse }
func ParseGetConfigResponse ¶
func ParseGetConfigResponse(rsp *http.Response) (*GetConfigResponse, error)
ParseGetConfigResponse parses an HTTP response from a GetConfigWithResponse call
func (GetConfigResponse) Status ¶
func (r GetConfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetConfigResponse) StatusCode ¶
func (r GetConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCustomHostnameConfigResponse ¶
type GetCustomHostnameConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *UpdateCustomHostnameResponse }
func ParseGetCustomHostnameConfigResponse ¶
func ParseGetCustomHostnameConfigResponse(rsp *http.Response) (*GetCustomHostnameConfigResponse, error)
ParseGetCustomHostnameConfigResponse parses an HTTP response from a GetCustomHostnameConfigWithResponse call
func (GetCustomHostnameConfigResponse) Status ¶
func (r GetCustomHostnameConfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetCustomHostnameConfigResponse) StatusCode ¶
func (r GetCustomHostnameConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFunctionBodyResponse ¶
func ParseGetFunctionBodyResponse ¶
func ParseGetFunctionBodyResponse(rsp *http.Response) (*GetFunctionBodyResponse, error)
ParseGetFunctionBodyResponse parses an HTTP response from a GetFunctionBodyWithResponse call
func (GetFunctionBodyResponse) Status ¶
func (r GetFunctionBodyResponse) Status() string
Status returns HTTPResponse.Status
func (GetFunctionBodyResponse) StatusCode ¶
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 ¶
type GetNetworkBansResponse struct { Body []byte HTTPResponse *http.Response JSON201 *NetworkBanResponse }
func ParseGetNetworkBansResponse ¶
func ParseGetNetworkBansResponse(rsp *http.Response) (*GetNetworkBansResponse, error)
ParseGetNetworkBansResponse parses an HTTP response from a GetNetworkBansWithResponse call
func (GetNetworkBansResponse) Status ¶
func (r GetNetworkBansResponse) Status() string
Status returns HTTPResponse.Status
func (GetNetworkBansResponse) StatusCode ¶
func (r GetNetworkBansResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNetworkRestrictionsResponse ¶
type GetNetworkRestrictionsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *NetworkRestrictionsResponse }
func ParseGetNetworkRestrictionsResponse ¶
func ParseGetNetworkRestrictionsResponse(rsp *http.Response) (*GetNetworkRestrictionsResponse, error)
ParseGetNetworkRestrictionsResponse parses an HTTP response from a GetNetworkRestrictionsWithResponse call
func (GetNetworkRestrictionsResponse) Status ¶
func (r GetNetworkRestrictionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetNetworkRestrictionsResponse) StatusCode ¶
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 ¶
type GetPgbouncerConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ProjectPgBouncerConfig }
func ParseGetPgbouncerConfigResponse ¶
func ParseGetPgbouncerConfigResponse(rsp *http.Response) (*GetPgbouncerConfigResponse, error)
ParseGetPgbouncerConfigResponse parses an HTTP response from a GetPgbouncerConfigWithResponse call
func (GetPgbouncerConfigResponse) Status ¶
func (r GetPgbouncerConfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetPgbouncerConfigResponse) StatusCode ¶
func (r GetPgbouncerConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPgsodiumConfigResponse ¶
type GetPgsodiumConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PgsodiumConfigResponse }
func ParseGetPgsodiumConfigResponse ¶
func ParseGetPgsodiumConfigResponse(rsp *http.Response) (*GetPgsodiumConfigResponse, error)
ParseGetPgsodiumConfigResponse parses an HTTP response from a GetPgsodiumConfigWithResponse call
func (GetPgsodiumConfigResponse) Status ¶
func (r GetPgsodiumConfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetPgsodiumConfigResponse) StatusCode ¶
func (r GetPgsodiumConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPostgRESTConfigResponse ¶
type GetPostgRESTConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PostgrestConfigWithJWTSecretResponse }
func ParseGetPostgRESTConfigResponse ¶
func ParseGetPostgRESTConfigResponse(rsp *http.Response) (*GetPostgRESTConfigResponse, error)
ParseGetPostgRESTConfigResponse parses an HTTP response from a GetPostgRESTConfigWithResponse call
func (GetPostgRESTConfigResponse) Status ¶
func (r GetPostgRESTConfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetPostgRESTConfigResponse) StatusCode ¶
func (r GetPostgRESTConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProjectApiKeysResponse ¶
type GetProjectApiKeysResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]ApiKeyResponse }
func ParseGetProjectApiKeysResponse ¶
func ParseGetProjectApiKeysResponse(rsp *http.Response) (*GetProjectApiKeysResponse, error)
ParseGetProjectApiKeysResponse parses an HTTP response from a GetProjectApiKeysWithResponse call
func (GetProjectApiKeysResponse) Status ¶
func (r GetProjectApiKeysResponse) Status() string
Status returns HTTPResponse.Status
func (GetProjectApiKeysResponse) StatusCode ¶
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 ¶
type GetProviderByIdResponse struct { Body []byte HTTPResponse *http.Response JSON200 *GetProviderResponse }
func ParseGetProviderByIdResponse ¶
func ParseGetProviderByIdResponse(rsp *http.Response) (*GetProviderByIdResponse, error)
ParseGetProviderByIdResponse parses an HTTP response from a GetProviderByIdWithResponse call
func (GetProviderByIdResponse) Status ¶
func (r GetProviderByIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetProviderByIdResponse) StatusCode ¶
func (r GetProviderByIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProviderResponse ¶
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 ¶
type GetReadOnlyModeStatusResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ReadOnlyStatusResponse }
func ParseGetReadOnlyModeStatusResponse ¶
func ParseGetReadOnlyModeStatusResponse(rsp *http.Response) (*GetReadOnlyModeStatusResponse, error)
ParseGetReadOnlyModeStatusResponse parses an HTTP response from a GetReadOnlyModeStatusWithResponse call
func (GetReadOnlyModeStatusResponse) Status ¶
func (r GetReadOnlyModeStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetReadOnlyModeStatusResponse) StatusCode ¶
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 ¶
type GetSslEnforcementConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SslEnforcementResponse }
func ParseGetSslEnforcementConfigResponse ¶
func ParseGetSslEnforcementConfigResponse(rsp *http.Response) (*GetSslEnforcementConfigResponse, error)
ParseGetSslEnforcementConfigResponse parses an HTTP response from a GetSslEnforcementConfigWithResponse call
func (GetSslEnforcementConfigResponse) Status ¶
func (r GetSslEnforcementConfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetSslEnforcementConfigResponse) StatusCode ¶
func (r GetSslEnforcementConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTypescriptTypesParams ¶
type GetTypescriptTypesParams struct {
IncludedSchemas *string `form:"included_schemas,omitempty" json:"included_schemas,omitempty"`
}
GetTypescriptTypesParams defines parameters for GetTypescriptTypes.
type GetTypescriptTypesResponse ¶
type GetTypescriptTypesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *TypescriptResponse }
func ParseGetTypescriptTypesResponse ¶
func ParseGetTypescriptTypesResponse(rsp *http.Response) (*GetTypescriptTypesResponse, error)
ParseGetTypescriptTypesResponse parses an HTTP response from a GetTypescriptTypesWithResponse call
func (GetTypescriptTypesResponse) Status ¶
func (r GetTypescriptTypesResponse) Status() string
Status returns HTTPResponse.Status
func (GetTypescriptTypesResponse) StatusCode ¶
func (r GetTypescriptTypesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUpgradeStatusResponse ¶
type GetUpgradeStatusResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DatabaseUpgradeStatusResponse }
func ParseGetUpgradeStatusResponse ¶
func ParseGetUpgradeStatusResponse(rsp *http.Response) (*GetUpgradeStatusResponse, error)
ParseGetUpgradeStatusResponse parses an HTTP response from a GetUpgradeStatusWithResponse call
func (GetUpgradeStatusResponse) Status ¶
func (r GetUpgradeStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetUpgradeStatusResponse) StatusCode ¶
func (r GetUpgradeStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVanitySubdomainConfigResponse ¶
type GetVanitySubdomainConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *VanitySubdomainConfigResponse }
func ParseGetVanitySubdomainConfigResponse ¶
func ParseGetVanitySubdomainConfigResponse(rsp *http.Response) (*GetVanitySubdomainConfigResponse, error)
ParseGetVanitySubdomainConfigResponse parses an HTTP response from a GetVanitySubdomainConfigWithResponse call
func (GetVanitySubdomainConfigResponse) Status ¶
func (r GetVanitySubdomainConfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetVanitySubdomainConfigResponse) StatusCode ¶
func (r GetVanitySubdomainConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type ListAllProvidersResponse ¶
type ListAllProvidersResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListProvidersResponse }
func ParseListAllProvidersResponse ¶
func ParseListAllProvidersResponse(rsp *http.Response) (*ListAllProvidersResponse, error)
ParseListAllProvidersResponse parses an HTTP response from a ListAllProvidersWithResponse call
func (ListAllProvidersResponse) Status ¶
func (r ListAllProvidersResponse) Status() string
Status returns HTTPResponse.Status
func (ListAllProvidersResponse) StatusCode ¶
func (r ListAllProvidersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListProvidersResponse ¶
type ListProvidersResponse struct {
Items []Provider `json:"items"`
}
ListProvidersResponse defines model for ListProvidersResponse.
type NetworkBanResponse ¶
type NetworkBanResponse struct {
BannedIpv4Addresses []string `json:"banned_ipv4_addresses"`
}
NetworkBanResponse defines model for NetworkBanResponse.
type NetworkRestrictionsRequest ¶
type NetworkRestrictionsRequest struct {
DbAllowedCidrs []string `json:"dbAllowedCidrs"`
}
NetworkRestrictionsRequest defines model for NetworkRestrictionsRequest.
type NetworkRestrictionsResponse ¶
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 ¶
type NetworkRestrictionsResponseEntitlement string
NetworkRestrictionsResponseEntitlement defines model for NetworkRestrictionsResponse.Entitlement.
const ( NetworkRestrictionsResponseEntitlementAllowed NetworkRestrictionsResponseEntitlement = "allowed" NetworkRestrictionsResponseEntitlementDisallowed NetworkRestrictionsResponseEntitlement = "disallowed" )
Defines values for NetworkRestrictionsResponseEntitlement.
type NetworkRestrictionsResponseStatus ¶
type NetworkRestrictionsResponseStatus string
NetworkRestrictionsResponseStatus defines model for NetworkRestrictionsResponse.Status.
const ( NetworkRestrictionsResponseStatusApplied NetworkRestrictionsResponseStatus = "applied" NetworkRestrictionsResponseStatusStored NetworkRestrictionsResponseStatus = "stored" )
Defines values for NetworkRestrictionsResponseStatus.
type OrganizationResponse ¶
OrganizationResponse defines model for OrganizationResponse.
type PgsodiumConfigResponse ¶
type PgsodiumConfigResponse struct {
RootKey string `json:"root_key"`
}
PgsodiumConfigResponse defines model for PgsodiumConfigResponse.
type PostgresConfigResponse ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
type ProjectVersion struct { AppVersion string `json:"app_version"` PostgresVersion float32 `json:"postgres_version"` }
ProjectVersion defines model for ProjectVersion.
type Provider ¶
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 ¶
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 ¶
func ParseRemoveCustomHostnameConfigResponse ¶
func ParseRemoveCustomHostnameConfigResponse(rsp *http.Response) (*RemoveCustomHostnameConfigResponse, error)
ParseRemoveCustomHostnameConfigResponse parses an HTTP response from a RemoveCustomHostnameConfigWithResponse call
func (RemoveCustomHostnameConfigResponse) Status ¶
func (r RemoveCustomHostnameConfigResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveCustomHostnameConfigResponse) StatusCode ¶
func (r RemoveCustomHostnameConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveNetworkBanJSONRequestBody ¶
type RemoveNetworkBanJSONRequestBody = RemoveNetworkBanRequest
RemoveNetworkBanJSONRequestBody defines body for RemoveNetworkBan for application/json ContentType.
type RemoveNetworkBanRequest ¶
type RemoveNetworkBanRequest struct {
Ipv4Addresses []string `json:"ipv4_addresses"`
}
RemoveNetworkBanRequest defines model for RemoveNetworkBanRequest.
type RemoveNetworkBanResponse ¶
func ParseRemoveNetworkBanResponse ¶
func ParseRemoveNetworkBanResponse(rsp *http.Response) (*RemoveNetworkBanResponse, error)
ParseRemoveNetworkBanResponse parses an HTTP response from a RemoveNetworkBanWithResponse call
func (RemoveNetworkBanResponse) Status ¶
func (r RemoveNetworkBanResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveNetworkBanResponse) StatusCode ¶
func (r RemoveNetworkBanResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveProviderByIdResponse ¶
type RemoveProviderByIdResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DeleteProviderResponse }
func ParseRemoveProviderByIdResponse ¶
func ParseRemoveProviderByIdResponse(rsp *http.Response) (*RemoveProviderByIdResponse, error)
ParseRemoveProviderByIdResponse parses an HTTP response from a RemoveProviderByIdWithResponse call
func (RemoveProviderByIdResponse) Status ¶
func (r RemoveProviderByIdResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveProviderByIdResponse) StatusCode ¶
func (r RemoveProviderByIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveVanitySubdomainConfigResponse ¶
func ParseRemoveVanitySubdomainConfigResponse ¶
func ParseRemoveVanitySubdomainConfigResponse(rsp *http.Response) (*RemoveVanitySubdomainConfigResponse, error)
ParseRemoveVanitySubdomainConfigResponse parses an HTTP response from a RemoveVanitySubdomainConfigWithResponse call
func (RemoveVanitySubdomainConfigResponse) Status ¶
func (r RemoveVanitySubdomainConfigResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveVanitySubdomainConfigResponse) StatusCode ¶
func (r RemoveVanitySubdomainConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ReverifyResponse ¶
type ReverifyResponse struct { Body []byte HTTPResponse *http.Response JSON201 *UpdateCustomHostnameResponse }
func ParseReverifyResponse ¶
func ParseReverifyResponse(rsp *http.Response) (*ReverifyResponse, error)
ParseReverifyResponse parses an HTTP response from a ReverifyWithResponse call
func (ReverifyResponse) Status ¶
func (r ReverifyResponse) Status() string
Status returns HTTPResponse.Status
func (ReverifyResponse) StatusCode ¶
func (r ReverifyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SamlDescriptor ¶
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 ¶
type SslEnforcementRequest struct {
RequestedConfig SslEnforcements `json:"requestedConfig"`
}
SslEnforcementRequest defines model for SslEnforcementRequest.
type SslEnforcementResponse ¶
type SslEnforcementResponse struct { AppliedSuccessfully bool `json:"appliedSuccessfully"` CurrentConfig SslEnforcements `json:"currentConfig"` }
SslEnforcementResponse defines model for SslEnforcementResponse.
type SslEnforcements ¶
type SslEnforcements struct {
Database bool `json:"database"`
}
SslEnforcements defines model for SslEnforcements.
type SubdomainAvailabilityResponse ¶
type SubdomainAvailabilityResponse struct {
Available bool `json:"available"`
}
SubdomainAvailabilityResponse defines model for SubdomainAvailabilityResponse.
type TemporarilyDisableReadonlyModeResponse ¶
func ParseTemporarilyDisableReadonlyModeResponse ¶
func ParseTemporarilyDisableReadonlyModeResponse(rsp *http.Response) (*TemporarilyDisableReadonlyModeResponse, error)
ParseTemporarilyDisableReadonlyModeResponse parses an HTTP response from a TemporarilyDisableReadonlyModeWithResponse call
func (TemporarilyDisableReadonlyModeResponse) Status ¶
func (r TemporarilyDisableReadonlyModeResponse) Status() string
Status returns HTTPResponse.Status
func (TemporarilyDisableReadonlyModeResponse) StatusCode ¶
func (r TemporarilyDisableReadonlyModeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TokenParams ¶
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,omitempty" json:"redirect_uri,omitempty"` RefreshToken *string `form:"refresh_token,omitempty" json:"refresh_token,omitempty"` }
TokenParams defines parameters for Token.
type TokenParamsGrantType ¶
type TokenParamsGrantType string
TokenParamsGrantType defines parameters for Token.
const ( TokenParamsGrantTypeAuthorizationCode TokenParamsGrantType = "authorization_code" TokenParamsGrantTypeRefreshToken TokenParamsGrantType = "refresh_token" )
Defines values for TokenParamsGrantType.
type TokenResponse ¶
func ParseTokenResponse ¶
func ParseTokenResponse(rsp *http.Response) (*TokenResponse, error)
ParseTokenResponse parses an HTTP response from a TokenWithResponse call
func (TokenResponse) Status ¶
func (r TokenResponse) Status() string
Status returns HTTPResponse.Status
func (TokenResponse) StatusCode ¶
func (r TokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TypescriptResponse ¶
type TypescriptResponse struct {
Types string `json:"types"`
}
TypescriptResponse defines model for TypescriptResponse.
type UpdateConfigJSONRequestBody ¶
type UpdateConfigJSONRequestBody = UpdatePostgresConfigBody
UpdateConfigJSONRequestBody defines body for UpdateConfig for application/json ContentType.
type UpdateConfigResponse ¶
type UpdateConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PostgresConfigResponse }
func ParseUpdateConfigResponse ¶
func ParseUpdateConfigResponse(rsp *http.Response) (*UpdateConfigResponse, error)
ParseUpdateConfigResponse parses an HTTP response from a UpdateConfigWithResponse call
func (UpdateConfigResponse) Status ¶
func (r UpdateConfigResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateConfigResponse) StatusCode ¶
func (r UpdateConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateCustomHostnameBody ¶
type UpdateCustomHostnameBody struct {
CustomHostname string `json:"custom_hostname"`
}
UpdateCustomHostnameBody defines model for UpdateCustomHostnameBody.
type UpdateCustomHostnameResponse ¶
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 ¶
type UpdateCustomHostnameResponseStatus string
UpdateCustomHostnameResponseStatus defines model for UpdateCustomHostnameResponse.Status.
const ( UpdateCustomHostnameResponseStatusN1NotStarted UpdateCustomHostnameResponseStatus = "1_not_started" UpdateCustomHostnameResponseStatusN2Initiated UpdateCustomHostnameResponseStatus = "2_initiated" UpdateCustomHostnameResponseStatusN3ChallengeVerified UpdateCustomHostnameResponseStatus = "3_challenge_verified" UpdateCustomHostnameResponseStatusN4OriginSetupCompleted UpdateCustomHostnameResponseStatus = "4_origin_setup_completed" UpdateCustomHostnameResponseStatusN5ServicesReconfigured 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 ¶
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 ¶
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 ¶
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 ¶
type UpdatePgbouncerConfigJSONRequestBody = UpdatePgbouncerConfigBody
UpdatePgbouncerConfigJSONRequestBody defines body for UpdatePgbouncerConfig for application/json ContentType.
type UpdatePgbouncerConfigResponse ¶
type UpdatePgbouncerConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *UpdatePoolingConfigResponse }
func ParseUpdatePgbouncerConfigResponse ¶
func ParseUpdatePgbouncerConfigResponse(rsp *http.Response) (*UpdatePgbouncerConfigResponse, error)
ParseUpdatePgbouncerConfigResponse parses an HTTP response from a UpdatePgbouncerConfigWithResponse call
func (UpdatePgbouncerConfigResponse) Status ¶
func (r UpdatePgbouncerConfigResponse) Status() string
Status returns HTTPResponse.Status
func (UpdatePgbouncerConfigResponse) StatusCode ¶
func (r UpdatePgbouncerConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdatePgsodiumConfigBody ¶
type UpdatePgsodiumConfigBody struct {
RootKey string `json:"root_key"`
}
UpdatePgsodiumConfigBody defines model for UpdatePgsodiumConfigBody.
type UpdatePgsodiumConfigJSONRequestBody ¶
type UpdatePgsodiumConfigJSONRequestBody = UpdatePgsodiumConfigBody
UpdatePgsodiumConfigJSONRequestBody defines body for UpdatePgsodiumConfig for application/json ContentType.
type UpdatePgsodiumConfigResponse ¶
type UpdatePgsodiumConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PgsodiumConfigResponse }
func ParseUpdatePgsodiumConfigResponse ¶
func ParseUpdatePgsodiumConfigResponse(rsp *http.Response) (*UpdatePgsodiumConfigResponse, error)
ParseUpdatePgsodiumConfigResponse parses an HTTP response from a UpdatePgsodiumConfigWithResponse call
func (UpdatePgsodiumConfigResponse) Status ¶
func (r UpdatePgsodiumConfigResponse) Status() string
Status returns HTTPResponse.Status
func (UpdatePgsodiumConfigResponse) StatusCode ¶
func (r UpdatePgsodiumConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdatePoolingConfigResponse ¶
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 ¶
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 ¶
type UpdatePoolingConfigResponsePoolMode string
UpdatePoolingConfigResponsePoolMode defines model for UpdatePoolingConfigResponse.PoolMode.
const ( UpdatePoolingConfigResponsePoolModeSession UpdatePoolingConfigResponsePoolMode = "session" UpdatePoolingConfigResponsePoolModeStatement UpdatePoolingConfigResponsePoolMode = "statement" UpdatePoolingConfigResponsePoolModeTransaction UpdatePoolingConfigResponsePoolMode = "transaction" )
Defines values for UpdatePoolingConfigResponsePoolMode.
type UpdatePostgRESTConfigJSONRequestBody ¶
type UpdatePostgRESTConfigJSONRequestBody = UpdatePostgrestConfigBody
UpdatePostgRESTConfigJSONRequestBody defines body for UpdatePostgRESTConfig for application/json ContentType.
type UpdatePostgRESTConfigResponse ¶
type UpdatePostgRESTConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PostgrestConfigResponse }
func ParseUpdatePostgRESTConfigResponse ¶
func ParseUpdatePostgRESTConfigResponse(rsp *http.Response) (*UpdatePostgRESTConfigResponse, error)
ParseUpdatePostgRESTConfigResponse parses an HTTP response from a UpdatePostgRESTConfigWithResponse call
func (UpdatePostgRESTConfigResponse) Status ¶
func (r UpdatePostgRESTConfigResponse) Status() string
Status returns HTTPResponse.Status
func (UpdatePostgRESTConfigResponse) StatusCode ¶
func (r UpdatePostgRESTConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdatePostgresConfigBody ¶
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 ¶
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 ¶
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 ¶
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 ¶
type UpdateProviderByIdJSONRequestBody = UpdateProviderBody
UpdateProviderByIdJSONRequestBody defines body for UpdateProviderById for application/json ContentType.
type UpdateProviderByIdResponse ¶
type UpdateProviderByIdResponse struct { Body []byte HTTPResponse *http.Response JSON200 *UpdateProviderResponse }
func ParseUpdateProviderByIdResponse ¶
func ParseUpdateProviderByIdResponse(rsp *http.Response) (*UpdateProviderByIdResponse, error)
ParseUpdateProviderByIdResponse parses an HTTP response from a UpdateProviderByIdWithResponse call
func (UpdateProviderByIdResponse) Status ¶
func (r UpdateProviderByIdResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateProviderByIdResponse) StatusCode ¶
func (r UpdateProviderByIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateProviderResponse ¶
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 ¶
type UpdateSslEnforcementConfigJSONRequestBody = SslEnforcementRequest
UpdateSslEnforcementConfigJSONRequestBody defines body for UpdateSslEnforcementConfig for application/json ContentType.
type UpdateSslEnforcementConfigResponse ¶
type UpdateSslEnforcementConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SslEnforcementResponse }
func ParseUpdateSslEnforcementConfigResponse ¶
func ParseUpdateSslEnforcementConfigResponse(rsp *http.Response) (*UpdateSslEnforcementConfigResponse, error)
ParseUpdateSslEnforcementConfigResponse parses an HTTP response from a UpdateSslEnforcementConfigWithResponse call
func (UpdateSslEnforcementConfigResponse) Status ¶
func (r UpdateSslEnforcementConfigResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateSslEnforcementConfigResponse) StatusCode ¶
func (r UpdateSslEnforcementConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpgradeDatabaseBody ¶
type UpgradeDatabaseBody struct {
TargetVersion float32 `json:"target_version"`
}
UpgradeDatabaseBody defines model for UpgradeDatabaseBody.
type UpgradeEligibilityInformationResponse ¶
type UpgradeEligibilityInformationResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ProjectUpgradeEligibilityResponse }
func ParseUpgradeEligibilityInformationResponse ¶
func ParseUpgradeEligibilityInformationResponse(rsp *http.Response) (*UpgradeEligibilityInformationResponse, error)
ParseUpgradeEligibilityInformationResponse parses an HTTP response from a UpgradeEligibilityInformationWithResponse call
func (UpgradeEligibilityInformationResponse) Status ¶
func (r UpgradeEligibilityInformationResponse) Status() string
Status returns HTTPResponse.Status
func (UpgradeEligibilityInformationResponse) StatusCode ¶
func (r UpgradeEligibilityInformationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpgradeProjectJSONRequestBody ¶
type UpgradeProjectJSONRequestBody = UpgradeDatabaseBody
UpgradeProjectJSONRequestBody defines body for UpgradeProject for application/json ContentType.
type UpgradeProjectResponse ¶
func ParseUpgradeProjectResponse ¶
func ParseUpgradeProjectResponse(rsp *http.Response) (*UpgradeProjectResponse, error)
ParseUpgradeProjectResponse parses an HTTP response from a UpgradeProjectWithResponse call
func (UpgradeProjectResponse) Status ¶
func (r UpgradeProjectResponse) Status() string
Status returns HTTPResponse.Status
func (UpgradeProjectResponse) StatusCode ¶
func (r UpgradeProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VanitySubdomainBody ¶
type VanitySubdomainBody struct {
VanitySubdomain string `json:"vanity_subdomain"`
}
VanitySubdomainBody defines model for VanitySubdomainBody.
type VanitySubdomainConfigResponse ¶
type VanitySubdomainConfigResponse struct { CustomDomain *string `json:"custom_domain,omitempty"` Status VanitySubdomainConfigResponseStatus `json:"status"` }
VanitySubdomainConfigResponse defines model for VanitySubdomainConfigResponse.
type VanitySubdomainConfigResponseStatus ¶
type VanitySubdomainConfigResponseStatus string
VanitySubdomainConfigResponseStatus defines model for VanitySubdomainConfigResponse.Status.
const ( VanitySubdomainConfigResponseStatusActive VanitySubdomainConfigResponseStatus = "active" VanitySubdomainConfigResponseStatusCustomDomainUsed VanitySubdomainConfigResponseStatus = "custom-domain-used" VanitySubdomainConfigResponseStatusNotUsed VanitySubdomainConfigResponseStatus = "not-used" )
Defines values for VanitySubdomainConfigResponseStatus.