supabase

package
v0.0.0-...-442578e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package supabase provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen version v1.16.2 DO NOT EDIT.

Index

Constants

View Source
const (
	BearerScopes = "bearer.Scopes"
)

Variables

This section is empty.

Functions

func GetSwagger

func GetSwagger() (swagger *openapi3.T, err error)

GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.

func NewActivateRequest

func NewActivateRequest(server string, ref string) (*http.Request, error)

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 NewAuthorizeRequest

func NewAuthorizeRequest(server string, params *AuthorizeParams) (*http.Request, error)

NewAuthorizeRequest generates requests for Authorize

func NewCheckServiceHealthRequest

func NewCheckServiceHealthRequest(server string, ref string, params *CheckServiceHealthParams) (*http.Request, error)

NewCheckServiceHealthRequest generates requests for CheckServiceHealth

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 NewCreateBranchRequest

func NewCreateBranchRequest(server string, ref string, body CreateBranchJSONRequestBody) (*http.Request, error)

NewCreateBranchRequest calls the generic CreateBranch builder with application/json body

func NewCreateBranchRequestWithBody

func NewCreateBranchRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)

NewCreateBranchRequestWithBody generates requests for CreateBranch with any type of body

func NewCreateCustomHostnameConfigRequest

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 NewDeleteBranchRequest

func NewDeleteBranchRequest(server string, branchId string) (*http.Request, error)

NewDeleteBranchRequest generates requests for DeleteBranch

func NewDeleteFunctionRequest

func NewDeleteFunctionRequest(server string, ref string, functionSlug string) (*http.Request, error)

NewDeleteFunctionRequest generates requests for DeleteFunction

func NewDeleteProjectRequest

func NewDeleteProjectRequest(server string, ref string) (*http.Request, error)

NewDeleteProjectRequest generates requests for DeleteProject

func NewDeleteSecretsRequest

func NewDeleteSecretsRequest(server string, ref string, body DeleteSecretsJSONRequestBody) (*http.Request, error)

NewDeleteSecretsRequest calls the generic DeleteSecrets builder with application/json body

func NewDeleteSecretsRequestWithBody

func NewDeleteSecretsRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteSecretsRequestWithBody generates requests for DeleteSecrets with any type of body

func NewDisableBranchRequest

func NewDisableBranchRequest(server string, ref string) (*http.Request, error)

NewDisableBranchRequest generates requests for DisableBranch

func NewGetBranchDetailsRequest

func NewGetBranchDetailsRequest(server string, branchId string) (*http.Request, error)

NewGetBranchDetailsRequest generates requests for GetBranchDetails

func NewGetBranchesRequest

func NewGetBranchesRequest(server string, ref string) (*http.Request, error)

NewGetBranchesRequest generates requests for GetBranches

func NewGetConfigRequest

func NewGetConfigRequest(server string, ref string) (*http.Request, error)

NewGetConfigRequest generates requests for GetConfig

func NewGetCustomHostnameConfigRequest

func NewGetCustomHostnameConfigRequest(server string, ref string) (*http.Request, error)

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

func NewGetFunctionRequest(server string, ref string, functionSlug string) (*http.Request, error)

NewGetFunctionRequest generates requests for GetFunction

func NewGetFunctionsRequest

func NewGetFunctionsRequest(server string, ref string) (*http.Request, error)

NewGetFunctionsRequest generates requests for GetFunctions

func NewGetNetworkBansRequest

func NewGetNetworkBansRequest(server string, ref string) (*http.Request, error)

NewGetNetworkBansRequest generates requests for GetNetworkBans

func NewGetNetworkRestrictionsRequest

func NewGetNetworkRestrictionsRequest(server string, ref string) (*http.Request, error)

NewGetNetworkRestrictionsRequest generates requests for GetNetworkRestrictions

func NewGetOrganizationsRequest

func NewGetOrganizationsRequest(server string) (*http.Request, error)

NewGetOrganizationsRequest generates requests for GetOrganizations

func NewGetPgsodiumConfigRequest

func NewGetPgsodiumConfigRequest(server string, ref string) (*http.Request, error)

NewGetPgsodiumConfigRequest generates requests for GetPgsodiumConfig

func NewGetPostgRESTConfigRequest

func NewGetPostgRESTConfigRequest(server string, ref string) (*http.Request, error)

NewGetPostgRESTConfigRequest generates requests for GetPostgRESTConfig

func NewGetProjectApiKeysRequest

func NewGetProjectApiKeysRequest(server string, ref string) (*http.Request, error)

NewGetProjectApiKeysRequest generates requests for GetProjectApiKeys

func NewGetProjectsRequest

func NewGetProjectsRequest(server string) (*http.Request, error)

NewGetProjectsRequest generates requests for GetProjects

func NewGetProviderByIdRequest

func NewGetProviderByIdRequest(server string, ref string, providerId string) (*http.Request, error)

NewGetProviderByIdRequest generates requests for GetProviderById

func NewGetReadOnlyModeStatusRequest

func NewGetReadOnlyModeStatusRequest(server string, ref string) (*http.Request, error)

NewGetReadOnlyModeStatusRequest generates requests for GetReadOnlyModeStatus

func NewGetSecretsRequest

func NewGetSecretsRequest(server string, ref string) (*http.Request, error)

NewGetSecretsRequest generates requests for GetSecrets

func NewGetSnippetRequest

func NewGetSnippetRequest(server string, id string) (*http.Request, error)

NewGetSnippetRequest generates requests for GetSnippet

func NewGetSslEnforcementConfigRequest

func NewGetSslEnforcementConfigRequest(server string, ref string) (*http.Request, error)

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

func NewGetUpgradeStatusRequest(server string, ref string) (*http.Request, error)

NewGetUpgradeStatusRequest generates requests for GetUpgradeStatus

func NewGetV1AuthConfigRequest

func NewGetV1AuthConfigRequest(server string, ref string) (*http.Request, error)

NewGetV1AuthConfigRequest generates requests for GetV1AuthConfig

func NewGetVanitySubdomainConfigRequest

func NewGetVanitySubdomainConfigRequest(server string, ref string) (*http.Request, error)

NewGetVanitySubdomainConfigRequest generates requests for GetVanitySubdomainConfig

func NewListAllProvidersRequest

func NewListAllProvidersRequest(server string, ref string) (*http.Request, error)

NewListAllProvidersRequest generates requests for ListAllProviders

func NewListSnippetsRequest

func NewListSnippetsRequest(server string, params *ListSnippetsParams) (*http.Request, error)

NewListSnippetsRequest generates requests for ListSnippets

func NewRemoveCustomHostnameConfigRequest

func NewRemoveCustomHostnameConfigRequest(server string, ref string) (*http.Request, error)

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

func NewRemoveVanitySubdomainConfigRequest(server string, ref string) (*http.Request, error)

NewRemoveVanitySubdomainConfigRequest generates requests for RemoveVanitySubdomainConfig

func NewReverifyRequest

func NewReverifyRequest(server string, ref string) (*http.Request, error)

NewReverifyRequest generates requests for Reverify

func NewTemporarilyDisableReadonlyModeRequest

func NewTemporarilyDisableReadonlyModeRequest(server string, ref string) (*http.Request, error)

NewTemporarilyDisableReadonlyModeRequest generates requests for TemporarilyDisableReadonlyMode

func NewTokenRequestWithBody

func NewTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewTokenRequestWithBody generates requests for Token with any type of body

func NewTokenRequestWithFormdataBody

func NewTokenRequestWithFormdataBody(server string, body TokenFormdataRequestBody) (*http.Request, error)

NewTokenRequestWithFormdataBody calls the generic Token builder with application/x-www-form-urlencoded body

func NewUpdateBranchRequest

func NewUpdateBranchRequest(server string, branchId string, body UpdateBranchJSONRequestBody) (*http.Request, error)

NewUpdateBranchRequest calls the generic UpdateBranch builder with application/json body

func NewUpdateBranchRequestWithBody

func NewUpdateBranchRequestWithBody(server string, branchId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateBranchRequestWithBody generates requests for UpdateBranch with any type of body

func NewUpdateConfigRequest

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 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 NewUpdateV1AuthConfigRequest

func NewUpdateV1AuthConfigRequest(server string, ref string, body UpdateV1AuthConfigJSONRequestBody) (*http.Request, error)

NewUpdateV1AuthConfigRequest calls the generic UpdateV1AuthConfig builder with application/json body

func NewUpdateV1AuthConfigRequestWithBody

func NewUpdateV1AuthConfigRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateV1AuthConfigRequestWithBody generates requests for UpdateV1AuthConfig with any type of body

func NewUpgradeEligibilityInformationRequest

func NewUpgradeEligibilityInformationRequest(server string, ref string) (*http.Request, error)

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

func NewUpgradeProjectRequestWithBody

func NewUpgradeProjectRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)

NewUpgradeProjectRequestWithBody generates requests for UpgradeProject with any type of body

func NewV1EnableDatabaseWebhooksRequest

func NewV1EnableDatabaseWebhooksRequest(server string, ref string) (*http.Request, error)

NewV1EnableDatabaseWebhooksRequest generates requests for V1EnableDatabaseWebhooks

func NewV1GetPgbouncerConfigRequest

func NewV1GetPgbouncerConfigRequest(server string, ref string) (*http.Request, error)

NewV1GetPgbouncerConfigRequest generates requests for V1GetPgbouncerConfig

func NewV1ListOrganizationMembersRequest

func NewV1ListOrganizationMembersRequest(server string, slug string) (*http.Request, error)

NewV1ListOrganizationMembersRequest generates requests for V1ListOrganizationMembers

func NewV1RestorePitrRequest

func NewV1RestorePitrRequest(server string, ref string, body V1RestorePitrJSONRequestBody) (*http.Request, error)

NewV1RestorePitrRequest calls the generic V1RestorePitr builder with application/json body

func NewV1RestorePitrRequestWithBody

func NewV1RestorePitrRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)

NewV1RestorePitrRequestWithBody generates requests for V1RestorePitr with any type of body

func NewV1RunQueryRequest

func NewV1RunQueryRequest(server string, ref string, body V1RunQueryJSONRequestBody) (*http.Request, error)

NewV1RunQueryRequest calls the generic V1RunQuery builder with application/json body

func NewV1RunQueryRequestWithBody

func NewV1RunQueryRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)

NewV1RunQueryRequestWithBody generates requests for V1RunQuery with any type of body

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

func RegisterHandlers

func RegisterHandlers(router EchoRouter, si ServerInterface)

RegisterHandlers adds each server route to the EchoRouter.

func RegisterHandlersWithBaseURL

func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string)

Registers handlers, and prepends BaseURL to the paths, so that the paths can be served under a prefix.

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

Status returns HTTPResponse.Status

func (ActivateVanitySubdomainPleaseResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ActivateVanitySubdomainResponse

type ActivateVanitySubdomainResponse struct {
	CustomDomain string `json:"custom_domain"`
}

ActivateVanitySubdomainResponse defines model for ActivateVanitySubdomainResponse.

type ApiKeyResponse

type ApiKeyResponse struct {
	ApiKey string `json:"api_key"`
	Name   string `json:"name"`
}

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

Status returns HTTPResponse.Status

func (ApplyNetworkRestrictionsResponse) StatusCode

func (r ApplyNetworkRestrictionsResponse) 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 AuthConfigResponse

type AuthConfigResponse struct {
	RateLimitEmailSent *float32 `json:"rate_limit_email_sent,omitempty"`
	SmtpAdminEmail     *string  `json:"smtp_admin_email,omitempty"`
	SmtpHost           *string  `json:"smtp_host,omitempty"`
	SmtpMaxFrequency   *float32 `json:"smtp_max_frequency,omitempty"`
	SmtpPass           *string  `json:"smtp_pass,omitempty"`
	SmtpPort           *string  `json:"smtp_port,omitempty"`
	SmtpSenderName     *string  `json:"smtp_sender_name,omitempty"`
	SmtpUser           *string  `json:"smtp_user,omitempty"`
}

AuthConfigResponse defines model for AuthConfigResponse.

type AuthHealthResponse

type AuthHealthResponse struct {
	Description string `json:"description"`
	Name        string `json:"name"`
	Version     string `json:"version"`
}

AuthHealthResponse defines model for AuthHealthResponse.

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,omitempty" json:"scope,omitempty"`
	State               *string                             `form:"state,omitempty" json:"state,omitempty"`
	ResponseMode        *string                             `form:"response_mode,omitempty" json:"response_mode,omitempty"`
	CodeChallenge       *string                             `form:"code_challenge,omitempty" json:"code_challenge,omitempty"`
	CodeChallengeMethod *AuthorizeParamsCodeChallengeMethod `form:"code_challenge_method,omitempty" json:"code_challenge_method,omitempty"`
}

AuthorizeParams defines parameters for Authorize.

type AuthorizeParamsCodeChallengeMethod

type AuthorizeParamsCodeChallengeMethod string

AuthorizeParamsCodeChallengeMethod defines parameters for Authorize.

Defines values for AuthorizeParamsCodeChallengeMethod.

type AuthorizeParamsResponseType

type AuthorizeParamsResponseType string

AuthorizeParamsResponseType defines parameters for Authorize.

const (
	Code         AuthorizeParamsResponseType = "code"
	IdTokenToken AuthorizeParamsResponseType = "id_token token"
	Token        AuthorizeParamsResponseType = "token"
)

Defines values for AuthorizeParamsResponseType.

type AuthorizeResponse

type AuthorizeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

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 BranchDetailResponse

type BranchDetailResponse struct {
	DbHost          string                     `json:"db_host"`
	DbPass          *string                    `json:"db_pass,omitempty"`
	DbPort          int                        `json:"db_port"`
	DbUser          *string                    `json:"db_user,omitempty"`
	JwtSecret       *string                    `json:"jwt_secret,omitempty"`
	PostgresVersion string                     `json:"postgres_version"`
	Ref             string                     `json:"ref"`
	Status          BranchDetailResponseStatus `json:"status"`
}

BranchDetailResponse defines model for BranchDetailResponse.

type BranchDetailResponseStatus

type BranchDetailResponseStatus string

BranchDetailResponseStatus defines model for BranchDetailResponse.Status.

const (
	BranchDetailResponseStatusACTIVEHEALTHY   BranchDetailResponseStatus = "ACTIVE_HEALTHY"
	BranchDetailResponseStatusACTIVEUNHEALTHY BranchDetailResponseStatus = "ACTIVE_UNHEALTHY"
	BranchDetailResponseStatusCOMINGUP        BranchDetailResponseStatus = "COMING_UP"
	BranchDetailResponseStatusGOINGDOWN       BranchDetailResponseStatus = "GOING_DOWN"
	BranchDetailResponseStatusINACTIVE        BranchDetailResponseStatus = "INACTIVE"
	BranchDetailResponseStatusINITFAILED      BranchDetailResponseStatus = "INIT_FAILED"
	BranchDetailResponseStatusPAUSING         BranchDetailResponseStatus = "PAUSING"
	BranchDetailResponseStatusREMOVED         BranchDetailResponseStatus = "REMOVED"
	BranchDetailResponseStatusRESTORING       BranchDetailResponseStatus = "RESTORING"
	BranchDetailResponseStatusUNKNOWN         BranchDetailResponseStatus = "UNKNOWN"
	BranchDetailResponseStatusUPGRADING       BranchDetailResponseStatus = "UPGRADING"
)

Defines values for BranchDetailResponseStatus.

type BranchResponse

type BranchResponse struct {
	CreatedAt        string   `json:"created_at"`
	GitBranch        *string  `json:"git_branch,omitempty"`
	Id               string   `json:"id"`
	IsDefault        bool     `json:"is_default"`
	Name             string   `json:"name"`
	ParentProjectRef string   `json:"parent_project_ref"`
	PrNumber         *float32 `json:"pr_number,omitempty"`
	ProjectRef       string   `json:"project_ref"`
	ResetOnPush      bool     `json:"reset_on_push"`
	UpdatedAt        string   `json:"updated_at"`
}

BranchResponse defines model for BranchResponse.

type CheckServiceHealthParams

type CheckServiceHealthParams struct {
	TimeoutMs *int                               `form:"timeout_ms,omitempty" json:"timeout_ms,omitempty"`
	Services  []CheckServiceHealthParamsServices `form:"services" json:"services"`
}

CheckServiceHealthParams defines parameters for CheckServiceHealth.

type CheckServiceHealthParamsServices

type CheckServiceHealthParamsServices string

CheckServiceHealthParamsServices defines parameters for CheckServiceHealth.

const (
	CheckServiceHealthParamsServicesAuth     CheckServiceHealthParamsServices = "auth"
	CheckServiceHealthParamsServicesDb       CheckServiceHealthParamsServices = "db"
	CheckServiceHealthParamsServicesRealtime CheckServiceHealthParamsServices = "realtime"
	CheckServiceHealthParamsServicesRest     CheckServiceHealthParamsServices = "rest"
	CheckServiceHealthParamsServicesStorage  CheckServiceHealthParamsServices = "storage"
)

Defines values for CheckServiceHealthParamsServices.

type CheckServiceHealthResponse

type CheckServiceHealthResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]ServiceHealthResponse
}

func ParseCheckServiceHealthResponse

func ParseCheckServiceHealthResponse(rsp *http.Response) (*CheckServiceHealthResponse, error)

ParseCheckServiceHealthResponse parses an HTTP response from a CheckServiceHealthWithResponse call

func (CheckServiceHealthResponse) Status

Status returns HTTPResponse.Status

func (CheckServiceHealthResponse) StatusCode

func (r CheckServiceHealthResponse) 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

Status returns HTTPResponse.Status

func (CheckVanitySubdomainAvailabilityResponse) StatusCode

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) Activate

func (c *Client) Activate(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ActivateVanitySubdomainPlease

func (c *Client) ActivateVanitySubdomainPlease(ctx context.Context, ref string, body ActivateVanitySubdomainPleaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ActivateVanitySubdomainPleaseWithBody

func (c *Client) ActivateVanitySubdomainPleaseWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ApplyNetworkRestrictions

func (c *Client) ApplyNetworkRestrictions(ctx context.Context, ref string, body ApplyNetworkRestrictionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ApplyNetworkRestrictionsWithBody

func (c *Client) ApplyNetworkRestrictionsWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) Authorize

func (c *Client) Authorize(ctx context.Context, params *AuthorizeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CheckServiceHealth

func (c *Client) CheckServiceHealth(ctx context.Context, ref string, params *CheckServiceHealthParams, 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 (c *Client) CheckVanitySubdomainAvailabilityWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateBranch

func (c *Client) CreateBranch(ctx context.Context, ref string, body CreateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateBranchWithBody

func (c *Client) CreateBranchWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateCustomHostnameConfig

func (c *Client) CreateCustomHostnameConfig(ctx context.Context, ref string, body CreateCustomHostnameConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateCustomHostnameConfigWithBody

func (c *Client) CreateCustomHostnameConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

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 (c *Client) CreateFunctionWithBody(ctx context.Context, ref string, params *CreateFunctionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateOrganization

func (c *Client) CreateOrganization(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateOrganizationWithBody

func (c *Client) CreateOrganizationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateProject

func (c *Client) CreateProject(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateProjectWithBody

func (c *Client) CreateProjectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateProviderForProject

func (c *Client) CreateProviderForProject(ctx context.Context, ref string, body CreateProviderForProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateProviderForProjectWithBody

func (c *Client) CreateProviderForProjectWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateSecrets

func (c *Client) CreateSecrets(ctx context.Context, ref string, body CreateSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateSecretsWithBody

func (c *Client) CreateSecretsWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteBranch

func (c *Client) DeleteBranch(ctx context.Context, branchId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteFunction

func (c *Client) DeleteFunction(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteProject

func (c *Client) DeleteProject(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteSecrets

func (c *Client) DeleteSecrets(ctx context.Context, ref string, body DeleteSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteSecretsWithBody

func (c *Client) DeleteSecretsWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DisableBranch

func (c *Client) DisableBranch(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetBranchDetails

func (c *Client) GetBranchDetails(ctx context.Context, branchId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetBranches

func (c *Client) GetBranches(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetConfig

func (c *Client) GetConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCustomHostnameConfig

func (c *Client) GetCustomHostnameConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetFunction

func (c *Client) GetFunction(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetFunctionBody

func (c *Client) GetFunctionBody(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetFunctions

func (c *Client) GetFunctions(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetNetworkBans

func (c *Client) GetNetworkBans(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetNetworkRestrictions

func (c *Client) GetNetworkRestrictions(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetOrganizations

func (c *Client) GetOrganizations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPgsodiumConfig

func (c *Client) GetPgsodiumConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPostgRESTConfig

func (c *Client) GetPostgRESTConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetProjectApiKeys

func (c *Client) GetProjectApiKeys(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetProjects

func (c *Client) GetProjects(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetProviderById

func (c *Client) GetProviderById(ctx context.Context, ref string, providerId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetReadOnlyModeStatus

func (c *Client) GetReadOnlyModeStatus(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSecrets

func (c *Client) GetSecrets(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSnippet

func (c *Client) GetSnippet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSslEnforcementConfig

func (c *Client) GetSslEnforcementConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTypescriptTypes

func (c *Client) GetTypescriptTypes(ctx context.Context, ref string, params *GetTypescriptTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetUpgradeStatus

func (c *Client) GetUpgradeStatus(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1AuthConfig

func (c *Client) GetV1AuthConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetVanitySubdomainConfig

func (c *Client) GetVanitySubdomainConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListAllProviders

func (c *Client) ListAllProviders(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListSnippets

func (c *Client) ListSnippets(ctx context.Context, params *ListSnippetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveCustomHostnameConfig

func (c *Client) RemoveCustomHostnameConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveNetworkBan

func (c *Client) RemoveNetworkBan(ctx context.Context, ref string, body RemoveNetworkBanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveNetworkBanWithBody

func (c *Client) RemoveNetworkBanWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveProviderById

func (c *Client) RemoveProviderById(ctx context.Context, ref string, providerId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveVanitySubdomainConfig

func (c *Client) RemoveVanitySubdomainConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) Reverify

func (c *Client) Reverify(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TemporarilyDisableReadonlyMode

func (c *Client) TemporarilyDisableReadonlyMode(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TokenWithBody

func (c *Client) TokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TokenWithFormdataBody

func (c *Client) TokenWithFormdataBody(ctx context.Context, body TokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateBranch

func (c *Client) UpdateBranch(ctx context.Context, branchId string, body UpdateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateBranchWithBody

func (c *Client) UpdateBranchWithBody(ctx context.Context, branchId string, contentType string, body io.Reader, 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 (c *Client) UpdateConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

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 (c *Client) UpdateFunctionWithBody(ctx context.Context, ref string, functionSlug string, params *UpdateFunctionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdatePgsodiumConfig

func (c *Client) UpdatePgsodiumConfig(ctx context.Context, ref string, body UpdatePgsodiumConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdatePgsodiumConfigWithBody

func (c *Client) UpdatePgsodiumConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdatePostgRESTConfig

func (c *Client) UpdatePostgRESTConfig(ctx context.Context, ref string, body UpdatePostgRESTConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdatePostgRESTConfigWithBody

func (c *Client) UpdatePostgRESTConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

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 (c *Client) UpdateProviderByIdWithBody(ctx context.Context, ref string, providerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateSslEnforcementConfig

func (c *Client) UpdateSslEnforcementConfig(ctx context.Context, ref string, body UpdateSslEnforcementConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateSslEnforcementConfigWithBody

func (c *Client) UpdateSslEnforcementConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateV1AuthConfig

func (c *Client) UpdateV1AuthConfig(ctx context.Context, ref string, body UpdateV1AuthConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateV1AuthConfigWithBody

func (c *Client) UpdateV1AuthConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpgradeEligibilityInformation

func (c *Client) UpgradeEligibilityInformation(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpgradeProject

func (c *Client) UpgradeProject(ctx context.Context, ref string, body UpgradeProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpgradeProjectWithBody

func (c *Client) UpgradeProjectWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1EnableDatabaseWebhooks

func (c *Client) V1EnableDatabaseWebhooks(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1GetPgbouncerConfig

func (c *Client) V1GetPgbouncerConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1ListOrganizationMembers

func (c *Client) V1ListOrganizationMembers(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1RestorePitr

func (c *Client) V1RestorePitr(ctx context.Context, ref string, body V1RestorePitrJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1RestorePitrWithBody

func (c *Client) V1RestorePitrWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1RunQuery

func (c *Client) V1RunQuery(ctx context.Context, ref string, body V1RunQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1RunQueryWithBody

func (c *Client) V1RunQueryWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// DeleteBranch request
	DeleteBranch(ctx context.Context, branchId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetBranchDetails request
	GetBranchDetails(ctx context.Context, branchId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateBranchWithBody request with any body
	UpdateBranchWithBody(ctx context.Context, branchId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateBranch(ctx context.Context, branchId string, body UpdateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// Authorize request
	Authorize(ctx context.Context, params *AuthorizeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TokenWithBody request with any body
	TokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TokenWithFormdataBody(ctx context.Context, body TokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOrganizations request
	GetOrganizations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOrganizationWithBody request with any body
	CreateOrganizationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateOrganization(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// V1ListOrganizationMembers request
	V1ListOrganizationMembers(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProjects request
	GetProjects(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateProjectWithBody request with any body
	CreateProjectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateProject(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteProject request
	DeleteProject(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProjectApiKeys request
	GetProjectApiKeys(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DisableBranch request
	DisableBranch(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetBranches request
	GetBranches(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateBranchWithBody request with any body
	CreateBranchWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateBranch(ctx context.Context, ref string, body CreateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1AuthConfig request
	GetV1AuthConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateV1AuthConfigWithBody request with any body
	UpdateV1AuthConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateV1AuthConfig(ctx context.Context, ref string, body UpdateV1AuthConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListAllProviders request
	ListAllProviders(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateProviderForProjectWithBody request with any body
	CreateProviderForProjectWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateProviderForProject(ctx context.Context, ref string, body CreateProviderForProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveProviderById request
	RemoveProviderById(ctx context.Context, ref string, providerId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProviderById request
	GetProviderById(ctx context.Context, ref string, providerId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateProviderByIdWithBody request with any body
	UpdateProviderByIdWithBody(ctx context.Context, ref string, providerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateProviderById(ctx context.Context, ref string, providerId string, body UpdateProviderByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// V1GetPgbouncerConfig request
	V1GetPgbouncerConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetConfig request
	GetConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateConfigWithBody request with any body
	UpdateConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateConfig(ctx context.Context, ref string, body UpdateConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveCustomHostnameConfig request
	RemoveCustomHostnameConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCustomHostnameConfig request
	GetCustomHostnameConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// Activate request
	Activate(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateCustomHostnameConfigWithBody request with any body
	CreateCustomHostnameConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateCustomHostnameConfig(ctx context.Context, ref string, body CreateCustomHostnameConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// Reverify request
	Reverify(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// V1RestorePitrWithBody request with any body
	V1RestorePitrWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	V1RestorePitr(ctx context.Context, ref string, body V1RestorePitrJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// V1RunQueryWithBody request with any body
	V1RunQueryWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	V1RunQuery(ctx context.Context, ref string, body V1RunQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// V1EnableDatabaseWebhooks request
	V1EnableDatabaseWebhooks(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFunctions request
	GetFunctions(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateFunctionWithBody request with any body
	CreateFunctionWithBody(ctx context.Context, ref string, params *CreateFunctionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateFunction(ctx context.Context, ref string, params *CreateFunctionParams, body CreateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteFunction request
	DeleteFunction(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFunction request
	GetFunction(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateFunctionWithBody request with any body
	UpdateFunctionWithBody(ctx context.Context, ref string, functionSlug string, params *UpdateFunctionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateFunction(ctx context.Context, ref string, functionSlug string, params *UpdateFunctionParams, body UpdateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFunctionBody request
	GetFunctionBody(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CheckServiceHealth request
	CheckServiceHealth(ctx context.Context, ref string, params *CheckServiceHealthParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveNetworkBanWithBody request with any body
	RemoveNetworkBanWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RemoveNetworkBan(ctx context.Context, ref string, body RemoveNetworkBanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetNetworkBans request
	GetNetworkBans(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetNetworkRestrictions request
	GetNetworkRestrictions(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ApplyNetworkRestrictionsWithBody request with any body
	ApplyNetworkRestrictionsWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ApplyNetworkRestrictions(ctx context.Context, ref string, body ApplyNetworkRestrictionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPgsodiumConfig request
	GetPgsodiumConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdatePgsodiumConfigWithBody request with any body
	UpdatePgsodiumConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdatePgsodiumConfig(ctx context.Context, ref string, body UpdatePgsodiumConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPostgRESTConfig request
	GetPostgRESTConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdatePostgRESTConfigWithBody request with any body
	UpdatePostgRESTConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdatePostgRESTConfig(ctx context.Context, ref string, body UpdatePostgRESTConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetReadOnlyModeStatus request
	GetReadOnlyModeStatus(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TemporarilyDisableReadonlyMode request
	TemporarilyDisableReadonlyMode(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSecretsWithBody request with any body
	DeleteSecretsWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteSecrets(ctx context.Context, ref string, body DeleteSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSecrets request
	GetSecrets(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateSecretsWithBody request with any body
	CreateSecretsWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateSecrets(ctx context.Context, ref string, body CreateSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSslEnforcementConfig request
	GetSslEnforcementConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateSslEnforcementConfigWithBody request with any body
	UpdateSslEnforcementConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateSslEnforcementConfig(ctx context.Context, ref string, body UpdateSslEnforcementConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTypescriptTypes request
	GetTypescriptTypes(ctx context.Context, ref string, params *GetTypescriptTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpgradeProjectWithBody request with any body
	UpgradeProjectWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpgradeProject(ctx context.Context, ref string, body UpgradeProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpgradeEligibilityInformation request
	UpgradeEligibilityInformation(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUpgradeStatus request
	GetUpgradeStatus(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveVanitySubdomainConfig request
	RemoveVanitySubdomainConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVanitySubdomainConfig request
	GetVanitySubdomainConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ActivateVanitySubdomainPleaseWithBody request with any body
	ActivateVanitySubdomainPleaseWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ActivateVanitySubdomainPlease(ctx context.Context, ref string, body ActivateVanitySubdomainPleaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CheckVanitySubdomainAvailabilityWithBody request with any body
	CheckVanitySubdomainAvailabilityWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CheckVanitySubdomainAvailability(ctx context.Context, ref string, body CheckVanitySubdomainAvailabilityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSnippets request
	ListSnippets(ctx context.Context, params *ListSnippetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSnippet request
	GetSnippet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithAuthToken

func WithAuthToken(token string) ClientOption

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

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) AuthorizeWithResponse

func (c *ClientWithResponses) AuthorizeWithResponse(ctx context.Context, params *AuthorizeParams, reqEditors ...RequestEditorFn) (*AuthorizeResponse, error)

AuthorizeWithResponse request returning *AuthorizeResponse

func (*ClientWithResponses) CheckServiceHealthWithResponse

func (c *ClientWithResponses) CheckServiceHealthWithResponse(ctx context.Context, ref string, params *CheckServiceHealthParams, reqEditors ...RequestEditorFn) (*CheckServiceHealthResponse, error)

CheckServiceHealthWithResponse request returning *CheckServiceHealthResponse

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) CreateBranchWithBodyWithResponse

func (c *ClientWithResponses) CreateBranchWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBranchResponse, error)

CreateBranchWithBodyWithResponse request with arbitrary body returning *CreateBranchResponse

func (*ClientWithResponses) CreateBranchWithResponse

func (c *ClientWithResponses) CreateBranchWithResponse(ctx context.Context, ref string, body CreateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBranchResponse, 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) DeleteBranchWithResponse

func (c *ClientWithResponses) DeleteBranchWithResponse(ctx context.Context, branchId string, reqEditors ...RequestEditorFn) (*DeleteBranchResponse, error)

DeleteBranchWithResponse request returning *DeleteBranchResponse

func (*ClientWithResponses) DeleteFunctionWithResponse

func (c *ClientWithResponses) DeleteFunctionWithResponse(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*DeleteFunctionResponse, error)

DeleteFunctionWithResponse request returning *DeleteFunctionResponse

func (*ClientWithResponses) DeleteProjectWithResponse

func (c *ClientWithResponses) DeleteProjectWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*DeleteProjectResponse, error)

DeleteProjectWithResponse request returning *DeleteProjectResponse

func (*ClientWithResponses) DeleteSecretsWithBodyWithResponse

func (c *ClientWithResponses) DeleteSecretsWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteSecretsResponse, error)

DeleteSecretsWithBodyWithResponse request with arbitrary body returning *DeleteSecretsResponse

func (*ClientWithResponses) DeleteSecretsWithResponse

func (c *ClientWithResponses) DeleteSecretsWithResponse(ctx context.Context, ref string, body DeleteSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteSecretsResponse, error)

func (*ClientWithResponses) DisableBranchWithResponse

func (c *ClientWithResponses) DisableBranchWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*DisableBranchResponse, error)

DisableBranchWithResponse request returning *DisableBranchResponse

func (*ClientWithResponses) GetBranchDetailsWithResponse

func (c *ClientWithResponses) GetBranchDetailsWithResponse(ctx context.Context, branchId string, reqEditors ...RequestEditorFn) (*GetBranchDetailsResponse, error)

GetBranchDetailsWithResponse request returning *GetBranchDetailsResponse

func (*ClientWithResponses) GetBranchesWithResponse

func (c *ClientWithResponses) GetBranchesWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetBranchesResponse, error)

GetBranchesWithResponse request returning *GetBranchesResponse

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) 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) GetSnippetWithResponse

func (c *ClientWithResponses) GetSnippetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSnippetResponse, error)

GetSnippetWithResponse request returning *GetSnippetResponse

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) GetV1AuthConfigWithResponse

func (c *ClientWithResponses) GetV1AuthConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetV1AuthConfigResponse, error)

GetV1AuthConfigWithResponse request returning *GetV1AuthConfigResponse

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) ListSnippetsWithResponse

func (c *ClientWithResponses) ListSnippetsWithResponse(ctx context.Context, params *ListSnippetsParams, reqEditors ...RequestEditorFn) (*ListSnippetsResponse, error)

ListSnippetsWithResponse request returning *ListSnippetsResponse

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) TokenWithBodyWithResponse

func (c *ClientWithResponses) TokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TokenResponse, error)

TokenWithBodyWithResponse request with arbitrary body returning *TokenResponse

func (*ClientWithResponses) TokenWithFormdataBodyWithResponse

func (c *ClientWithResponses) TokenWithFormdataBodyWithResponse(ctx context.Context, body TokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*TokenResponse, error)

func (*ClientWithResponses) UpdateBranchWithBodyWithResponse

func (c *ClientWithResponses) UpdateBranchWithBodyWithResponse(ctx context.Context, branchId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBranchResponse, error)

UpdateBranchWithBodyWithResponse request with arbitrary body returning *UpdateBranchResponse

func (*ClientWithResponses) UpdateBranchWithResponse

func (c *ClientWithResponses) UpdateBranchWithResponse(ctx context.Context, branchId string, body UpdateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBranchResponse, error)

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) 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) UpdateV1AuthConfigWithBodyWithResponse

func (c *ClientWithResponses) UpdateV1AuthConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateV1AuthConfigResponse, error)

UpdateV1AuthConfigWithBodyWithResponse request with arbitrary body returning *UpdateV1AuthConfigResponse

func (*ClientWithResponses) UpdateV1AuthConfigWithResponse

func (c *ClientWithResponses) UpdateV1AuthConfigWithResponse(ctx context.Context, ref string, body UpdateV1AuthConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateV1AuthConfigResponse, 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)

func (*ClientWithResponses) V1EnableDatabaseWebhooksWithResponse

func (c *ClientWithResponses) V1EnableDatabaseWebhooksWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1EnableDatabaseWebhooksResponse, error)

V1EnableDatabaseWebhooksWithResponse request returning *V1EnableDatabaseWebhooksResponse

func (*ClientWithResponses) V1GetPgbouncerConfigWithResponse

func (c *ClientWithResponses) V1GetPgbouncerConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetPgbouncerConfigResponse, error)

V1GetPgbouncerConfigWithResponse request returning *V1GetPgbouncerConfigResponse

func (*ClientWithResponses) V1ListOrganizationMembersWithResponse

func (c *ClientWithResponses) V1ListOrganizationMembersWithResponse(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*V1ListOrganizationMembersResponse, error)

V1ListOrganizationMembersWithResponse request returning *V1ListOrganizationMembersResponse

func (*ClientWithResponses) V1RestorePitrWithBodyWithResponse

func (c *ClientWithResponses) V1RestorePitrWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1RestorePitrResponse, error)

V1RestorePitrWithBodyWithResponse request with arbitrary body returning *V1RestorePitrResponse

func (*ClientWithResponses) V1RestorePitrWithResponse

func (c *ClientWithResponses) V1RestorePitrWithResponse(ctx context.Context, ref string, body V1RestorePitrJSONRequestBody, reqEditors ...RequestEditorFn) (*V1RestorePitrResponse, error)

func (*ClientWithResponses) V1RunQueryWithBodyWithResponse

func (c *ClientWithResponses) V1RunQueryWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1RunQueryResponse, error)

V1RunQueryWithBodyWithResponse request with arbitrary body returning *V1RunQueryResponse

func (*ClientWithResponses) V1RunQueryWithResponse

func (c *ClientWithResponses) V1RunQueryWithResponse(ctx context.Context, ref string, body V1RunQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*V1RunQueryResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// DeleteBranchWithResponse request
	DeleteBranchWithResponse(ctx context.Context, branchId string, reqEditors ...RequestEditorFn) (*DeleteBranchResponse, error)

	// GetBranchDetailsWithResponse request
	GetBranchDetailsWithResponse(ctx context.Context, branchId string, reqEditors ...RequestEditorFn) (*GetBranchDetailsResponse, error)

	// UpdateBranchWithBodyWithResponse request with any body
	UpdateBranchWithBodyWithResponse(ctx context.Context, branchId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBranchResponse, error)

	UpdateBranchWithResponse(ctx context.Context, branchId string, body UpdateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBranchResponse, error)

	// AuthorizeWithResponse request
	AuthorizeWithResponse(ctx context.Context, params *AuthorizeParams, reqEditors ...RequestEditorFn) (*AuthorizeResponse, error)

	// TokenWithBodyWithResponse request with any body
	TokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TokenResponse, error)

	TokenWithFormdataBodyWithResponse(ctx context.Context, body TokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*TokenResponse, error)

	// GetOrganizationsWithResponse request
	GetOrganizationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOrganizationsResponse, error)

	// CreateOrganizationWithBodyWithResponse request with any body
	CreateOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error)

	CreateOrganizationWithResponse(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error)

	// V1ListOrganizationMembersWithResponse request
	V1ListOrganizationMembersWithResponse(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*V1ListOrganizationMembersResponse, error)

	// GetProjectsWithResponse request
	GetProjectsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetProjectsResponse, error)

	// CreateProjectWithBodyWithResponse request with any body
	CreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)

	CreateProjectWithResponse(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)

	// DeleteProjectWithResponse request
	DeleteProjectWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*DeleteProjectResponse, error)

	// GetProjectApiKeysWithResponse request
	GetProjectApiKeysWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetProjectApiKeysResponse, error)

	// DisableBranchWithResponse request
	DisableBranchWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*DisableBranchResponse, error)

	// GetBranchesWithResponse request
	GetBranchesWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetBranchesResponse, error)

	// CreateBranchWithBodyWithResponse request with any body
	CreateBranchWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBranchResponse, error)

	CreateBranchWithResponse(ctx context.Context, ref string, body CreateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBranchResponse, error)

	// GetV1AuthConfigWithResponse request
	GetV1AuthConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetV1AuthConfigResponse, error)

	// UpdateV1AuthConfigWithBodyWithResponse request with any body
	UpdateV1AuthConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateV1AuthConfigResponse, error)

	UpdateV1AuthConfigWithResponse(ctx context.Context, ref string, body UpdateV1AuthConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateV1AuthConfigResponse, error)

	// ListAllProvidersWithResponse request
	ListAllProvidersWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*ListAllProvidersResponse, error)

	// CreateProviderForProjectWithBodyWithResponse request with any body
	CreateProviderForProjectWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProviderForProjectResponse, error)

	CreateProviderForProjectWithResponse(ctx context.Context, ref string, body CreateProviderForProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProviderForProjectResponse, error)

	// RemoveProviderByIdWithResponse request
	RemoveProviderByIdWithResponse(ctx context.Context, ref string, providerId string, reqEditors ...RequestEditorFn) (*RemoveProviderByIdResponse, error)

	// GetProviderByIdWithResponse request
	GetProviderByIdWithResponse(ctx context.Context, ref string, providerId string, reqEditors ...RequestEditorFn) (*GetProviderByIdResponse, error)

	// UpdateProviderByIdWithBodyWithResponse request with any body
	UpdateProviderByIdWithBodyWithResponse(ctx context.Context, ref string, providerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProviderByIdResponse, error)

	UpdateProviderByIdWithResponse(ctx context.Context, ref string, providerId string, body UpdateProviderByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProviderByIdResponse, error)

	// V1GetPgbouncerConfigWithResponse request
	V1GetPgbouncerConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetPgbouncerConfigResponse, error)

	// GetConfigWithResponse request
	GetConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetConfigResponse, error)

	// UpdateConfigWithBodyWithResponse request with any body
	UpdateConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateConfigResponse, error)

	UpdateConfigWithResponse(ctx context.Context, ref string, body UpdateConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateConfigResponse, error)

	// RemoveCustomHostnameConfigWithResponse request
	RemoveCustomHostnameConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*RemoveCustomHostnameConfigResponse, error)

	// GetCustomHostnameConfigWithResponse request
	GetCustomHostnameConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetCustomHostnameConfigResponse, error)

	// ActivateWithResponse request
	ActivateWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*ActivateResponse, error)

	// CreateCustomHostnameConfigWithBodyWithResponse request with any body
	CreateCustomHostnameConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCustomHostnameConfigResponse, error)

	CreateCustomHostnameConfigWithResponse(ctx context.Context, ref string, body CreateCustomHostnameConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCustomHostnameConfigResponse, error)

	// ReverifyWithResponse request
	ReverifyWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*ReverifyResponse, error)

	// V1RestorePitrWithBodyWithResponse request with any body
	V1RestorePitrWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1RestorePitrResponse, error)

	V1RestorePitrWithResponse(ctx context.Context, ref string, body V1RestorePitrJSONRequestBody, reqEditors ...RequestEditorFn) (*V1RestorePitrResponse, error)

	// V1RunQueryWithBodyWithResponse request with any body
	V1RunQueryWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1RunQueryResponse, error)

	V1RunQueryWithResponse(ctx context.Context, ref string, body V1RunQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*V1RunQueryResponse, error)

	// V1EnableDatabaseWebhooksWithResponse request
	V1EnableDatabaseWebhooksWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1EnableDatabaseWebhooksResponse, error)

	// GetFunctionsWithResponse request
	GetFunctionsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetFunctionsResponse, error)

	// CreateFunctionWithBodyWithResponse request with any body
	CreateFunctionWithBodyWithResponse(ctx context.Context, ref string, params *CreateFunctionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFunctionResponse, error)

	CreateFunctionWithResponse(ctx context.Context, ref string, params *CreateFunctionParams, body CreateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFunctionResponse, error)

	// DeleteFunctionWithResponse request
	DeleteFunctionWithResponse(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*DeleteFunctionResponse, error)

	// GetFunctionWithResponse request
	GetFunctionWithResponse(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*GetFunctionResponse, error)

	// UpdateFunctionWithBodyWithResponse request with any body
	UpdateFunctionWithBodyWithResponse(ctx context.Context, ref string, functionSlug string, params *UpdateFunctionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFunctionResponse, error)

	UpdateFunctionWithResponse(ctx context.Context, ref string, functionSlug string, params *UpdateFunctionParams, body UpdateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFunctionResponse, error)

	// GetFunctionBodyWithResponse request
	GetFunctionBodyWithResponse(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*GetFunctionBodyResponse, error)

	// CheckServiceHealthWithResponse request
	CheckServiceHealthWithResponse(ctx context.Context, ref string, params *CheckServiceHealthParams, reqEditors ...RequestEditorFn) (*CheckServiceHealthResponse, error)

	// RemoveNetworkBanWithBodyWithResponse request with any body
	RemoveNetworkBanWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveNetworkBanResponse, error)

	RemoveNetworkBanWithResponse(ctx context.Context, ref string, body RemoveNetworkBanJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveNetworkBanResponse, error)

	// GetNetworkBansWithResponse request
	GetNetworkBansWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetNetworkBansResponse, error)

	// GetNetworkRestrictionsWithResponse request
	GetNetworkRestrictionsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetNetworkRestrictionsResponse, error)

	// ApplyNetworkRestrictionsWithBodyWithResponse request with any body
	ApplyNetworkRestrictionsWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplyNetworkRestrictionsResponse, error)

	ApplyNetworkRestrictionsWithResponse(ctx context.Context, ref string, body ApplyNetworkRestrictionsJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplyNetworkRestrictionsResponse, error)

	// GetPgsodiumConfigWithResponse request
	GetPgsodiumConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetPgsodiumConfigResponse, error)

	// UpdatePgsodiumConfigWithBodyWithResponse request with any body
	UpdatePgsodiumConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePgsodiumConfigResponse, error)

	UpdatePgsodiumConfigWithResponse(ctx context.Context, ref string, body UpdatePgsodiumConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePgsodiumConfigResponse, error)

	// GetPostgRESTConfigWithResponse request
	GetPostgRESTConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetPostgRESTConfigResponse, error)

	// UpdatePostgRESTConfigWithBodyWithResponse request with any body
	UpdatePostgRESTConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePostgRESTConfigResponse, error)

	UpdatePostgRESTConfigWithResponse(ctx context.Context, ref string, body UpdatePostgRESTConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePostgRESTConfigResponse, error)

	// GetReadOnlyModeStatusWithResponse request
	GetReadOnlyModeStatusWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetReadOnlyModeStatusResponse, error)

	// TemporarilyDisableReadonlyModeWithResponse request
	TemporarilyDisableReadonlyModeWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*TemporarilyDisableReadonlyModeResponse, error)

	// DeleteSecretsWithBodyWithResponse request with any body
	DeleteSecretsWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteSecretsResponse, error)

	DeleteSecretsWithResponse(ctx context.Context, ref string, body DeleteSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteSecretsResponse, error)

	// GetSecretsWithResponse request
	GetSecretsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetSecretsResponse, error)

	// CreateSecretsWithBodyWithResponse request with any body
	CreateSecretsWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecretsResponse, error)

	CreateSecretsWithResponse(ctx context.Context, ref string, body CreateSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecretsResponse, error)

	// GetSslEnforcementConfigWithResponse request
	GetSslEnforcementConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetSslEnforcementConfigResponse, error)

	// UpdateSslEnforcementConfigWithBodyWithResponse request with any body
	UpdateSslEnforcementConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSslEnforcementConfigResponse, error)

	UpdateSslEnforcementConfigWithResponse(ctx context.Context, ref string, body UpdateSslEnforcementConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSslEnforcementConfigResponse, error)

	// GetTypescriptTypesWithResponse request
	GetTypescriptTypesWithResponse(ctx context.Context, ref string, params *GetTypescriptTypesParams, reqEditors ...RequestEditorFn) (*GetTypescriptTypesResponse, error)

	// UpgradeProjectWithBodyWithResponse request with any body
	UpgradeProjectWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpgradeProjectResponse, error)

	UpgradeProjectWithResponse(ctx context.Context, ref string, body UpgradeProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*UpgradeProjectResponse, error)

	// UpgradeEligibilityInformationWithResponse request
	UpgradeEligibilityInformationWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*UpgradeEligibilityInformationResponse, error)

	// GetUpgradeStatusWithResponse request
	GetUpgradeStatusWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetUpgradeStatusResponse, error)

	// RemoveVanitySubdomainConfigWithResponse request
	RemoveVanitySubdomainConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*RemoveVanitySubdomainConfigResponse, error)

	// GetVanitySubdomainConfigWithResponse request
	GetVanitySubdomainConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetVanitySubdomainConfigResponse, error)

	// ActivateVanitySubdomainPleaseWithBodyWithResponse request with any body
	ActivateVanitySubdomainPleaseWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActivateVanitySubdomainPleaseResponse, error)

	ActivateVanitySubdomainPleaseWithResponse(ctx context.Context, ref string, body ActivateVanitySubdomainPleaseJSONRequestBody, reqEditors ...RequestEditorFn) (*ActivateVanitySubdomainPleaseResponse, error)

	// CheckVanitySubdomainAvailabilityWithBodyWithResponse request with any body
	CheckVanitySubdomainAvailabilityWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CheckVanitySubdomainAvailabilityResponse, error)

	CheckVanitySubdomainAvailabilityWithResponse(ctx context.Context, ref string, body CheckVanitySubdomainAvailabilityJSONRequestBody, reqEditors ...RequestEditorFn) (*CheckVanitySubdomainAvailabilityResponse, error)

	// ListSnippetsWithResponse request
	ListSnippetsWithResponse(ctx context.Context, params *ListSnippetsParams, reqEditors ...RequestEditorFn) (*ListSnippetsResponse, error)

	// GetSnippetWithResponse request
	GetSnippetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSnippetResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CreateBranchBody

type CreateBranchBody struct {
	BranchName string  `json:"branch_name"`
	GitBranch  *string `json:"git_branch,omitempty"`
	Region     *string `json:"region,omitempty"`
}

CreateBranchBody defines model for CreateBranchBody.

type CreateBranchJSONRequestBody

type CreateBranchJSONRequestBody = CreateBranchBody

CreateBranchJSONRequestBody defines body for CreateBranch for application/json ContentType.

type CreateBranchResponse

type CreateBranchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *BranchResponse
}

func ParseCreateBranchResponse

func ParseCreateBranchResponse(rsp *http.Response) (*CreateBranchResponse, error)

ParseCreateBranchResponse parses an HTTP response from a CreateBranchWithResponse call

func (CreateBranchResponse) Status

func (r CreateBranchResponse) Status() string

Status returns HTTPResponse.Status

func (CreateBranchResponse) StatusCode

func (r CreateBranchResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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

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

Status returns HTTPResponse.Status

func (CreateOrganizationResponse) StatusCode

func (r CreateOrganizationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateProjectBody

type CreateProjectBody struct {
	// DbPass Database password
	DbPass string `json:"db_pass"`
	// Deprecated:
	KpsEnabled *bool `json:"kps_enabled,omitempty"`

	// Name Name of your project, should not contain dots
	Name string `json:"name"`

	// OrganizationId Slug of your organization
	OrganizationId string `json:"organization_id"`

	// Plan Subscription plan is now set on organization level and is ignored in this request
	// Deprecated:
	Plan CreateProjectBodyPlan `json:"plan"`

	// Region Region you want your server to reside in
	Region CreateProjectBodyRegion `json:"region"`
}

CreateProjectBody defines model for CreateProjectBody.

type CreateProjectBodyPlan

type CreateProjectBodyPlan string

CreateProjectBodyPlan Subscription plan is now set on organization level and is ignored in this request

const (
	Free CreateProjectBodyPlan = "free"
	Pro  CreateProjectBodyPlan = "pro"
)

Defines values for CreateProjectBodyPlan.

type CreateProjectBodyRegion

type CreateProjectBodyRegion string

CreateProjectBodyRegion Region you want your server to reside in

const (
	ApNortheast1 CreateProjectBodyRegion = "ap-northeast-1"
	ApNortheast2 CreateProjectBodyRegion = "ap-northeast-2"
	ApSouth1     CreateProjectBodyRegion = "ap-south-1"
	ApSoutheast1 CreateProjectBodyRegion = "ap-southeast-1"
	ApSoutheast2 CreateProjectBodyRegion = "ap-southeast-2"
	CaCentral1   CreateProjectBodyRegion = "ca-central-1"
	EuCentral1   CreateProjectBodyRegion = "eu-central-1"
	EuWest1      CreateProjectBodyRegion = "eu-west-1"
	EuWest2      CreateProjectBodyRegion = "eu-west-2"
	EuWest3      CreateProjectBodyRegion = "eu-west-3"
	SaEast1      CreateProjectBodyRegion = "sa-east-1"
	UsEast1      CreateProjectBodyRegion = "us-east-1"
	UsWest1      CreateProjectBodyRegion = "us-west-1"
	UsWest2      CreateProjectBodyRegion = "us-west-2"
)

Defines values for CreateProjectBodyRegion.

type CreateProjectJSONRequestBody

type CreateProjectJSONRequestBody = CreateProjectBody

CreateProjectJSONRequestBody defines body for CreateProject for application/json ContentType.

type CreateProjectResponse

type CreateProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ProjectResponse
	JSON201      *ProjectResponse
}

func ParseCreateProjectResponse

func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, error)

ParseCreateProjectResponse parses an HTTP response from a CreateProjectWithResponse call

func (CreateProjectResponse) Status

func (r CreateProjectResponse) Status() string

Status returns HTTPResponse.Status

func (CreateProjectResponse) StatusCode

func (r CreateProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateProviderBody

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 (
	Saml 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

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

type CreateSecretBody struct {
	// Name Secret name must not start with the SUPABASE_ prefix.
	Name  string `json:"name"`
	Value string `json:"value"`
}

CreateSecretBody defines model for CreateSecretBody.

type CreateSecretsJSONBody

type CreateSecretsJSONBody = []CreateSecretBody

CreateSecretsJSONBody defines parameters for CreateSecrets.

type CreateSecretsJSONRequestBody

type CreateSecretsJSONRequestBody = CreateSecretsJSONBody

CreateSecretsJSONRequestBody defines body for CreateSecrets for application/json ContentType.

type CreateSecretsResponse

type CreateSecretsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

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 (
	N1UpgradedInstanceLaunchFailed                 DatabaseUpgradeStatusError = "1_upgraded_instance_launch_failed"
	N2VolumeDetachchmentFromUpgradedInstanceFailed DatabaseUpgradeStatusError = "2_volume_detachchment_from_upgraded_instance_failed"
	N3VolumeAttachmentToOriginalInstanceFailed     DatabaseUpgradeStatusError = "3_volume_attachment_to_original_instance_failed"
	N4DataUpgradeInitiationFailed                  DatabaseUpgradeStatusError = "4_data_upgrade_initiation_failed"
	N5DataUpgradeCompletionFailed                  DatabaseUpgradeStatusError = "5_data_upgrade_completion_failed"
	N6VolumeDetachchmentFromOriginalInstanceFailed DatabaseUpgradeStatusError = "6_volume_detachchment_from_original_instance_failed"
	N7VolumeAttachmentToUpgradedInstanceFailed     DatabaseUpgradeStatusError = "7_volume_attachment_to_upgraded_instance_failed"
	N8UpgradeCompletionFailed                      DatabaseUpgradeStatusError = "8_upgrade_completion_failed"
)

Defines values for DatabaseUpgradeStatusError.

type DatabaseUpgradeStatusProgress

type DatabaseUpgradeStatusProgress string

DatabaseUpgradeStatusProgress defines model for DatabaseUpgradeStatus.Progress.

const (
	N1Started                            DatabaseUpgradeStatusProgress = "1_started"
	N2LaunchedUpgradedInstance           DatabaseUpgradeStatusProgress = "2_launched_upgraded_instance"
	N3DetachedVolumeFromUpgradedInstance DatabaseUpgradeStatusProgress = "3_detached_volume_from_upgraded_instance"
	N4AttachedVolumeToOriginalInstance   DatabaseUpgradeStatusProgress = "4_attached_volume_to_original_instance"
	N5InitiatedDataUpgrade               DatabaseUpgradeStatusProgress = "5_initiated_data_upgrade"
	N6CompletedDataUpgrade               DatabaseUpgradeStatusProgress = "6_completed_data_upgrade"
	N7DetachedVolumeFromOriginalInstance DatabaseUpgradeStatusProgress = "7_detached_volume_from_original_instance"
	N8AttachedVolumeToUpgradedInstance   DatabaseUpgradeStatusProgress = "8_attached_volume_to_upgraded_instance"
	N9CompletedUpgrade                   DatabaseUpgradeStatusProgress = "9_completed_upgrade"
)

Defines values for DatabaseUpgradeStatusProgress.

type DatabaseUpgradeStatusResponse

type DatabaseUpgradeStatusResponse struct {
	DatabaseUpgradeStatus *DatabaseUpgradeStatus `json:"databaseUpgradeStatus"`
}

DatabaseUpgradeStatusResponse defines model for DatabaseUpgradeStatusResponse.

type DatabaseUpgradeStatusStatus

type DatabaseUpgradeStatusStatus float32

DatabaseUpgradeStatusStatus defines model for DatabaseUpgradeStatus.Status.

Defines values for DatabaseUpgradeStatusStatus.

type DeleteBranchResponse

type DeleteBranchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteBranchResponse

func ParseDeleteBranchResponse(rsp *http.Response) (*DeleteBranchResponse, error)

ParseDeleteBranchResponse parses an HTTP response from a DeleteBranchWithResponse call

func (DeleteBranchResponse) Status

func (r DeleteBranchResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteBranchResponse) StatusCode

func (r DeleteBranchResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteFunctionResponse

type DeleteFunctionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteFunctionResponse

func ParseDeleteFunctionResponse(rsp *http.Response) (*DeleteFunctionResponse, error)

ParseDeleteFunctionResponse parses an HTTP response from a DeleteFunctionWithResponse call

func (DeleteFunctionResponse) Status

func (r DeleteFunctionResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteFunctionResponse) StatusCode

func (r DeleteFunctionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteProjectResponse

type DeleteProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ProjectRefResponse
}

func ParseDeleteProjectResponse

func ParseDeleteProjectResponse(rsp *http.Response) (*DeleteProjectResponse, error)

ParseDeleteProjectResponse parses an HTTP response from a DeleteProjectWithResponse call

func (DeleteProjectResponse) Status

func (r DeleteProjectResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteProjectResponse) StatusCode

func (r DeleteProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type 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 DisableBranchResponse

type DisableBranchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDisableBranchResponse

func ParseDisableBranchResponse(rsp *http.Response) (*DisableBranchResponse, error)

ParseDisableBranchResponse parses an HTTP response from a DisableBranchWithResponse call

func (DisableBranchResponse) Status

func (r DisableBranchResponse) Status() string

Status returns HTTPResponse.Status

func (DisableBranchResponse) StatusCode

func (r DisableBranchResponse) 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 EchoRouter

type EchoRouter interface {
	CONNECT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	DELETE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	GET(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	HEAD(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	OPTIONS(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	PATCH(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	POST(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	PUT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	TRACE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
}

This is a simple interface which specifies echo.Route addition functions which are present on both echo.Echo and echo.Group, since we want to allow using either of them for path registration

type FunctionResponse

type FunctionResponse struct {
	CreatedAt      float32                `json:"created_at"`
	EntrypointPath *string                `json:"entrypoint_path,omitempty"`
	Id             string                 `json:"id"`
	ImportMap      *bool                  `json:"import_map,omitempty"`
	ImportMapPath  *string                `json:"import_map_path,omitempty"`
	Name           string                 `json:"name"`
	Slug           string                 `json:"slug"`
	Status         FunctionResponseStatus `json:"status"`
	UpdatedAt      float32                `json:"updated_at"`
	VerifyJwt      *bool                  `json:"verify_jwt,omitempty"`
	Version        float32                `json:"version"`
}

FunctionResponse defines model for FunctionResponse.

type FunctionResponseStatus

type FunctionResponseStatus string

FunctionResponseStatus defines model for FunctionResponse.Status.

const (
	FunctionResponseStatusACTIVE    FunctionResponseStatus = "ACTIVE"
	FunctionResponseStatusREMOVED   FunctionResponseStatus = "REMOVED"
	FunctionResponseStatusTHROTTLED FunctionResponseStatus = "THROTTLED"
)

Defines values for FunctionResponseStatus.

type FunctionSlugResponse

type FunctionSlugResponse struct {
	CreatedAt      float32                    `json:"created_at"`
	EntrypointPath *string                    `json:"entrypoint_path,omitempty"`
	Id             string                     `json:"id"`
	ImportMap      *bool                      `json:"import_map,omitempty"`
	ImportMapPath  *string                    `json:"import_map_path,omitempty"`
	Name           string                     `json:"name"`
	Slug           string                     `json:"slug"`
	Status         FunctionSlugResponseStatus `json:"status"`
	UpdatedAt      float32                    `json:"updated_at"`
	VerifyJwt      *bool                      `json:"verify_jwt,omitempty"`
	Version        float32                    `json:"version"`
}

FunctionSlugResponse defines model for FunctionSlugResponse.

type FunctionSlugResponseStatus

type FunctionSlugResponseStatus string

FunctionSlugResponseStatus defines model for FunctionSlugResponse.Status.

const (
	ACTIVE    FunctionSlugResponseStatus = "ACTIVE"
	REMOVED   FunctionSlugResponseStatus = "REMOVED"
	THROTTLED FunctionSlugResponseStatus = "THROTTLED"
)

Defines values for FunctionSlugResponseStatus.

type GetBranchDetailsResponse

type GetBranchDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BranchDetailResponse
}

func ParseGetBranchDetailsResponse

func ParseGetBranchDetailsResponse(rsp *http.Response) (*GetBranchDetailsResponse, error)

ParseGetBranchDetailsResponse parses an HTTP response from a GetBranchDetailsWithResponse call

func (GetBranchDetailsResponse) Status

func (r GetBranchDetailsResponse) Status() string

Status returns HTTPResponse.Status

func (GetBranchDetailsResponse) StatusCode

func (r GetBranchDetailsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetBranchesResponse

type GetBranchesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]BranchResponse
}

func ParseGetBranchesResponse

func ParseGetBranchesResponse(rsp *http.Response) (*GetBranchesResponse, error)

ParseGetBranchesResponse parses an HTTP response from a GetBranchesWithResponse call

func (GetBranchesResponse) Status

func (r GetBranchesResponse) Status() string

Status returns HTTPResponse.Status

func (GetBranchesResponse) StatusCode

func (r GetBranchesResponse) 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

Status returns HTTPResponse.Status

func (GetCustomHostnameConfigResponse) StatusCode

func (r GetCustomHostnameConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetFunctionBodyResponse

type GetFunctionBodyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

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

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 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

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

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 GetSnippetResponse

type GetSnippetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SnippetResponse
}

func ParseGetSnippetResponse

func ParseGetSnippetResponse(rsp *http.Response) (*GetSnippetResponse, error)

ParseGetSnippetResponse parses an HTTP response from a GetSnippetWithResponse call

func (GetSnippetResponse) Status

func (r GetSnippetResponse) Status() string

Status returns HTTPResponse.Status

func (GetSnippetResponse) StatusCode

func (r GetSnippetResponse) 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

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

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 GetV1AuthConfigResponse

type GetV1AuthConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AuthConfigResponse
}

func ParseGetV1AuthConfigResponse

func ParseGetV1AuthConfigResponse(rsp *http.Response) (*GetV1AuthConfigResponse, error)

ParseGetV1AuthConfigResponse parses an HTTP response from a GetV1AuthConfigWithResponse call

func (GetV1AuthConfigResponse) Status

func (r GetV1AuthConfigResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1AuthConfigResponse) StatusCode

func (r GetV1AuthConfigResponse) 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

Status returns HTTPResponse.Status

func (GetVanitySubdomainConfigResponse) StatusCode

func (r GetVanitySubdomainConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

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 ListSnippetsParams

type ListSnippetsParams struct {
	ProjectRef *string `form:"project_ref,omitempty" json:"project_ref,omitempty"`
}

ListSnippetsParams defines parameters for ListSnippets.

type ListSnippetsResponse

type ListSnippetsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SnippetList
}

func ParseListSnippetsResponse

func ParseListSnippetsResponse(rsp *http.Response) (*ListSnippetsResponse, error)

ParseListSnippetsResponse parses an HTTP response from a ListSnippetsWithResponse call

func (ListSnippetsResponse) Status

func (r ListSnippetsResponse) Status() string

Status returns HTTPResponse.Status

func (ListSnippetsResponse) StatusCode

func (r ListSnippetsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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 (
	Allowed    NetworkRestrictionsResponseEntitlement = "allowed"
	Disallowed NetworkRestrictionsResponseEntitlement = "disallowed"
)

Defines values for NetworkRestrictionsResponseEntitlement.

type NetworkRestrictionsResponseStatus

type NetworkRestrictionsResponseStatus string

NetworkRestrictionsResponseStatus defines model for NetworkRestrictionsResponse.Status.

const (
	Applied NetworkRestrictionsResponseStatus = "applied"
	Stored  NetworkRestrictionsResponseStatus = "stored"
)

Defines values for NetworkRestrictionsResponseStatus.

type OAuthTokenBody

type OAuthTokenBody struct {
	ClientId     string                  `json:"client_id"`
	ClientSecret string                  `json:"client_secret"`
	Code         *string                 `json:"code,omitempty"`
	CodeVerifier *string                 `json:"code_verifier,omitempty"`
	GrantType    OAuthTokenBodyGrantType `json:"grant_type"`
	RedirectUri  *string                 `json:"redirect_uri,omitempty"`
	RefreshToken *string                 `json:"refresh_token,omitempty"`
}

OAuthTokenBody defines model for OAuthTokenBody.

type OAuthTokenBodyGrantType

type OAuthTokenBodyGrantType string

OAuthTokenBodyGrantType defines model for OAuthTokenBody.GrantType.

const (
	AuthorizationCode OAuthTokenBodyGrantType = "authorization_code"
	RefreshToken      OAuthTokenBodyGrantType = "refresh_token"
)

Defines values for OAuthTokenBodyGrantType.

type OAuthTokenResponse

type OAuthTokenResponse struct {
	AccessToken  string                      `json:"access_token"`
	ExpiresIn    float32                     `json:"expires_in"`
	RefreshToken string                      `json:"refresh_token"`
	TokenType    OAuthTokenResponseTokenType `json:"token_type"`
}

OAuthTokenResponse defines model for OAuthTokenResponse.

type OAuthTokenResponseTokenType

type OAuthTokenResponseTokenType string

OAuthTokenResponseTokenType defines model for OAuthTokenResponse.TokenType.

const (
	Bearer OAuthTokenResponseTokenType = "Bearer"
)

Defines values for OAuthTokenResponseTokenType.

type OrganizationResponse

type OrganizationResponse struct {
	Id   string `json:"id"`
	Name string `json:"name"`
}

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            *string                                       `json:"effective_cache_size,omitempty"`
	MaintenanceWorkMem            *string                                       `json:"maintenance_work_mem,omitempty"`
	MaxConnections                *int                                          `json:"max_connections,omitempty"`
	MaxParallelMaintenanceWorkers *int                                          `json:"max_parallel_maintenance_workers,omitempty"`
	MaxParallelWorkers            *int                                          `json:"max_parallel_workers,omitempty"`
	MaxParallelWorkersPerGather   *int                                          `json:"max_parallel_workers_per_gather,omitempty"`
	MaxWorkerProcesses            *int                                          `json:"max_worker_processes,omitempty"`
	SessionReplicationRole        *PostgresConfigResponseSessionReplicationRole `json:"session_replication_role,omitempty"`
	SharedBuffers                 *string                                       `json:"shared_buffers,omitempty"`
	StatementTimeout              *string                                       `json:"statement_timeout,omitempty"`
	WorkMem                       *string                                       `json:"work_mem,omitempty"`
}

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 ProjectRefResponse

type ProjectRefResponse struct {
	Id   float32 `json:"id"`
	Name string  `json:"name"`
	Ref  string  `json:"ref"`
}

ProjectRefResponse defines model for ProjectRefResponse.

type ProjectResponse

type ProjectResponse struct {
	// CreatedAt Creation timestamp
	CreatedAt string            `json:"created_at"`
	Database  *DatabaseResponse `json:"database,omitempty"`

	// Id Id of your project
	Id string `json:"id"`

	// Name Name of your project
	Name string `json:"name"`

	// OrganizationId Slug of your organization
	OrganizationId string `json:"organization_id"`

	// Region Region of your project
	Region string `json:"region"`
}

ProjectResponse defines model for ProjectResponse.

type ProjectUpgradeEligibilityResponse

type ProjectUpgradeEligibilityResponse struct {
	CurrentAppVersion          string           `json:"current_app_version"`
	DurationEstimateHours      float32          `json:"duration_estimate_hours"`
	Eligible                   bool             `json:"eligible"`
	ExtensionDependentObjects  []string         `json:"extension_dependent_objects"`
	LatestAppVersion           string           `json:"latest_app_version"`
	LegacyAuthCustomRoles      []string         `json:"legacy_auth_custom_roles"`
	PotentialBreakingChanges   []string         `json:"potential_breaking_changes"`
	RequiresManualIntervention *string          `json:"requires_manual_intervention"`
	TargetUpgradeVersions      []ProjectVersion `json:"target_upgrade_versions"`
}

ProjectUpgradeEligibilityResponse defines model for ProjectUpgradeEligibilityResponse.

type ProjectUpgradeInitiateResponse

type ProjectUpgradeInitiateResponse struct {
	TrackingId string `json:"tracking_id"`
}

ProjectUpgradeInitiateResponse defines model for ProjectUpgradeInitiateResponse.

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 RealtimeHealthResponse

type RealtimeHealthResponse struct {
	ConnectedCluster float32 `json:"connected_cluster"`
	DbConnected      bool    `json:"db_connected"`
	Healthy          bool    `json:"healthy"`
}

RealtimeHealthResponse defines model for RealtimeHealthResponse.

type RemoveCustomHostnameConfigResponse

type RemoveCustomHostnameConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseRemoveCustomHostnameConfigResponse

func ParseRemoveCustomHostnameConfigResponse(rsp *http.Response) (*RemoveCustomHostnameConfigResponse, error)

ParseRemoveCustomHostnameConfigResponse parses an HTTP response from a RemoveCustomHostnameConfigWithResponse call

func (RemoveCustomHostnameConfigResponse) Status

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

type RemoveNetworkBanResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

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

Status returns HTTPResponse.Status

func (RemoveProviderByIdResponse) StatusCode

func (r RemoveProviderByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RemoveVanitySubdomainConfigResponse

type RemoveVanitySubdomainConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseRemoveVanitySubdomainConfigResponse

func ParseRemoveVanitySubdomainConfigResponse(rsp *http.Response) (*RemoveVanitySubdomainConfigResponse, error)

ParseRemoveVanitySubdomainConfigResponse parses an HTTP response from a RemoveVanitySubdomainConfigWithResponse call

func (RemoveVanitySubdomainConfigResponse) Status

Status returns HTTPResponse.Status

func (RemoveVanitySubdomainConfigResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

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 RunQueryBody

type RunQueryBody struct {
	Query string `json:"query"`
}

RunQueryBody defines model for RunQueryBody.

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

type SecretResponse struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

SecretResponse defines model for SecretResponse.

type ServerInterface

type ServerInterface interface {
	// Delete a database branch
	// (DELETE /v1/branches/{branch_id})
	DeleteBranch(ctx echo.Context, branchId string) error
	// Get database branch config
	// (GET /v1/branches/{branch_id})
	GetBranchDetails(ctx echo.Context, branchId string) error
	// Update database branch config
	// (PATCH /v1/branches/{branch_id})
	UpdateBranch(ctx echo.Context, branchId string) error
	// Authorize user through oauth
	// (GET /v1/oauth/authorize)
	Authorize(ctx echo.Context, params AuthorizeParams) error
	// Exchange auth code for user's access and refresh token
	// (POST /v1/oauth/token)
	Token(ctx echo.Context) error
	// List all organizations
	// (GET /v1/organizations)
	GetOrganizations(ctx echo.Context) error
	// Create an organization
	// (POST /v1/organizations)
	CreateOrganization(ctx echo.Context) error
	// List members of an organization
	// (GET /v1/organizations/{slug}/members)
	V1ListOrganizationMembers(ctx echo.Context, slug string) error
	// List all projects
	// (GET /v1/projects)
	GetProjects(ctx echo.Context) error
	// Create a project
	// (POST /v1/projects)
	CreateProject(ctx echo.Context) error
	// Deletes the given project
	// (DELETE /v1/projects/{ref})
	DeleteProject(ctx echo.Context, ref string) error

	// (GET /v1/projects/{ref}/api-keys)
	GetProjectApiKeys(ctx echo.Context, ref string) error
	// Disables preview branching
	// (DELETE /v1/projects/{ref}/branches)
	DisableBranch(ctx echo.Context, ref string) error
	// List all database branches
	// (GET /v1/projects/{ref}/branches)
	GetBranches(ctx echo.Context, ref string) error
	// Create a database branch
	// (POST /v1/projects/{ref}/branches)
	CreateBranch(ctx echo.Context, ref string) error
	// Gets project's auth config
	// (GET /v1/projects/{ref}/config/auth)
	GetV1AuthConfig(ctx echo.Context, ref string) error
	// Updates a project's auth config
	// (PATCH /v1/projects/{ref}/config/auth)
	UpdateV1AuthConfig(ctx echo.Context, ref string) error
	// Lists all SSO providers
	// (GET /v1/projects/{ref}/config/auth/sso/providers)
	ListAllProviders(ctx echo.Context, ref string) error
	// Creates a new SSO provider
	// (POST /v1/projects/{ref}/config/auth/sso/providers)
	CreateProviderForProject(ctx echo.Context, ref string) error
	// Removes a SSO provider by its UUID
	// (DELETE /v1/projects/{ref}/config/auth/sso/providers/{provider_id})
	RemoveProviderById(ctx echo.Context, ref string, providerId string) error
	// Gets a SSO provider by its UUID
	// (GET /v1/projects/{ref}/config/auth/sso/providers/{provider_id})
	GetProviderById(ctx echo.Context, ref string, providerId string) error
	// Updates a SSO provider by its UUID
	// (PUT /v1/projects/{ref}/config/auth/sso/providers/{provider_id})
	UpdateProviderById(ctx echo.Context, ref string, providerId string) error
	// Get project's pgbouncer config
	// (GET /v1/projects/{ref}/config/database/pgbouncer)
	V1GetPgbouncerConfig(ctx echo.Context, ref string) error
	// Gets project's Postgres config
	// (GET /v1/projects/{ref}/config/database/postgres)
	GetConfig(ctx echo.Context, ref string) error
	// Updates project's Postgres config
	// (PUT /v1/projects/{ref}/config/database/postgres)
	UpdateConfig(ctx echo.Context, ref string) error
	// Deletes a project's custom hostname configuration
	// (DELETE /v1/projects/{ref}/custom-hostname)
	RemoveCustomHostnameConfig(ctx echo.Context, ref string) error
	// Gets project's custom hostname config
	// (GET /v1/projects/{ref}/custom-hostname)
	GetCustomHostnameConfig(ctx echo.Context, ref string) error
	// Activates a custom hostname for a project.
	// (POST /v1/projects/{ref}/custom-hostname/activate)
	Activate(ctx echo.Context, ref string) error
	// Updates project's custom hostname configuration
	// (POST /v1/projects/{ref}/custom-hostname/initialize)
	CreateCustomHostnameConfig(ctx echo.Context, ref string) error
	// Attempts to verify the DNS configuration for project's custom hostname configuration
	// (POST /v1/projects/{ref}/custom-hostname/reverify)
	Reverify(ctx echo.Context, ref string) error
	// Restores a PITR backup for a database
	// (POST /v1/projects/{ref}/database/backups/restore-pitr)
	V1RestorePitr(ctx echo.Context, ref string) error
	// Run sql query
	// (POST /v1/projects/{ref}/database/query)
	V1RunQuery(ctx echo.Context, ref string) error
	// Enables Database Webhooks on the project
	// (POST /v1/projects/{ref}/database/webhooks/enable)
	V1EnableDatabaseWebhooks(ctx echo.Context, ref string) error
	// List all functions
	// (GET /v1/projects/{ref}/functions)
	GetFunctions(ctx echo.Context, ref string) error
	// Create a function
	// (POST /v1/projects/{ref}/functions)
	CreateFunction(ctx echo.Context, ref string, params CreateFunctionParams) error
	// Delete a function
	// (DELETE /v1/projects/{ref}/functions/{function_slug})
	DeleteFunction(ctx echo.Context, ref string, functionSlug string) error
	// Retrieve a function
	// (GET /v1/projects/{ref}/functions/{function_slug})
	GetFunction(ctx echo.Context, ref string, functionSlug string) error
	// Update a function
	// (PATCH /v1/projects/{ref}/functions/{function_slug})
	UpdateFunction(ctx echo.Context, ref string, functionSlug string, params UpdateFunctionParams) error
	// Retrieve a function body
	// (GET /v1/projects/{ref}/functions/{function_slug}/body)
	GetFunctionBody(ctx echo.Context, ref string, functionSlug string) error
	// Gets project's service health status
	// (GET /v1/projects/{ref}/health)
	CheckServiceHealth(ctx echo.Context, ref string, params CheckServiceHealthParams) error
	// Remove network bans.
	// (DELETE /v1/projects/{ref}/network-bans)
	RemoveNetworkBan(ctx echo.Context, ref string) error
	// Gets project's network bans
	// (POST /v1/projects/{ref}/network-bans/retrieve)
	GetNetworkBans(ctx echo.Context, ref string) error
	// Gets project's network restrictions
	// (GET /v1/projects/{ref}/network-restrictions)
	GetNetworkRestrictions(ctx echo.Context, ref string) error
	// Updates project's network restrictions
	// (POST /v1/projects/{ref}/network-restrictions/apply)
	ApplyNetworkRestrictions(ctx echo.Context, ref string) error
	// Gets project's pgsodium config
	// (GET /v1/projects/{ref}/pgsodium)
	GetPgsodiumConfig(ctx echo.Context, ref string) error
	// Updates project's pgsodium config. Updating the root_key can cause all data encrypted with the older key to become inaccessible.
	// (PUT /v1/projects/{ref}/pgsodium)
	UpdatePgsodiumConfig(ctx echo.Context, ref string) error
	// Gets project's postgrest config
	// (GET /v1/projects/{ref}/postgrest)
	GetPostgRESTConfig(ctx echo.Context, ref string) error
	// Updates project's postgrest config
	// (PATCH /v1/projects/{ref}/postgrest)
	UpdatePostgRESTConfig(ctx echo.Context, ref string) error
	// Returns project's readonly mode status
	// (GET /v1/projects/{ref}/readonly)
	GetReadOnlyModeStatus(ctx echo.Context, ref string) error
	// Disables project's readonly mode for the next 15 minutes
	// (POST /v1/projects/{ref}/readonly/temporary-disable)
	TemporarilyDisableReadonlyMode(ctx echo.Context, ref string) error
	// Bulk delete secrets
	// (DELETE /v1/projects/{ref}/secrets)
	DeleteSecrets(ctx echo.Context, ref string) error
	// List all secrets
	// (GET /v1/projects/{ref}/secrets)
	GetSecrets(ctx echo.Context, ref string) error
	// Bulk create secrets
	// (POST /v1/projects/{ref}/secrets)
	CreateSecrets(ctx echo.Context, ref string) error
	// Get project's SSL enforcement configuration.
	// (GET /v1/projects/{ref}/ssl-enforcement)
	GetSslEnforcementConfig(ctx echo.Context, ref string) error
	// Update project's SSL enforcement configuration.
	// (PUT /v1/projects/{ref}/ssl-enforcement)
	UpdateSslEnforcementConfig(ctx echo.Context, ref string) error
	// Generate TypeScript types
	// (GET /v1/projects/{ref}/types/typescript)
	GetTypescriptTypes(ctx echo.Context, ref string, params GetTypescriptTypesParams) error
	// Upgrades the project's Postgres version
	// (POST /v1/projects/{ref}/upgrade)
	UpgradeProject(ctx echo.Context, ref string) error
	// Returns the project's eligibility for upgrades
	// (GET /v1/projects/{ref}/upgrade/eligibility)
	UpgradeEligibilityInformation(ctx echo.Context, ref string) error
	// Gets the latest status of the project's upgrade
	// (GET /v1/projects/{ref}/upgrade/status)
	GetUpgradeStatus(ctx echo.Context, ref string) error
	// Deletes a project's vanity subdomain configuration
	// (DELETE /v1/projects/{ref}/vanity-subdomain)
	RemoveVanitySubdomainConfig(ctx echo.Context, ref string) error
	// Gets current vanity subdomain config
	// (GET /v1/projects/{ref}/vanity-subdomain)
	GetVanitySubdomainConfig(ctx echo.Context, ref string) error
	// Activates a vanity subdomain for a project.
	// (POST /v1/projects/{ref}/vanity-subdomain/activate)
	ActivateVanitySubdomainPlease(ctx echo.Context, ref string) error
	// Checks vanity subdomain availability
	// (POST /v1/projects/{ref}/vanity-subdomain/check-availability)
	CheckVanitySubdomainAvailability(ctx echo.Context, ref string) error
	// Lists SQL snippets for the logged in user
	// (GET /v1/snippets)
	ListSnippets(ctx echo.Context, params ListSnippetsParams) error
	// Gets a specific SQL snippet
	// (GET /v1/snippets/{id})
	GetSnippet(ctx echo.Context, id string) error
}

ServerInterface represents all server handlers.

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler ServerInterface
}

ServerInterfaceWrapper converts echo contexts to parameters.

func (*ServerInterfaceWrapper) Activate

func (w *ServerInterfaceWrapper) Activate(ctx echo.Context) error

Activate converts echo context to params.

func (*ServerInterfaceWrapper) ActivateVanitySubdomainPlease

func (w *ServerInterfaceWrapper) ActivateVanitySubdomainPlease(ctx echo.Context) error

ActivateVanitySubdomainPlease converts echo context to params.

func (*ServerInterfaceWrapper) ApplyNetworkRestrictions

func (w *ServerInterfaceWrapper) ApplyNetworkRestrictions(ctx echo.Context) error

ApplyNetworkRestrictions converts echo context to params.

func (*ServerInterfaceWrapper) Authorize

func (w *ServerInterfaceWrapper) Authorize(ctx echo.Context) error

Authorize converts echo context to params.

func (*ServerInterfaceWrapper) CheckServiceHealth

func (w *ServerInterfaceWrapper) CheckServiceHealth(ctx echo.Context) error

CheckServiceHealth converts echo context to params.

func (*ServerInterfaceWrapper) CheckVanitySubdomainAvailability

func (w *ServerInterfaceWrapper) CheckVanitySubdomainAvailability(ctx echo.Context) error

CheckVanitySubdomainAvailability converts echo context to params.

func (*ServerInterfaceWrapper) CreateBranch

func (w *ServerInterfaceWrapper) CreateBranch(ctx echo.Context) error

CreateBranch converts echo context to params.

func (*ServerInterfaceWrapper) CreateCustomHostnameConfig

func (w *ServerInterfaceWrapper) CreateCustomHostnameConfig(ctx echo.Context) error

CreateCustomHostnameConfig converts echo context to params.

func (*ServerInterfaceWrapper) CreateFunction

func (w *ServerInterfaceWrapper) CreateFunction(ctx echo.Context) error

CreateFunction converts echo context to params.

func (*ServerInterfaceWrapper) CreateOrganization

func (w *ServerInterfaceWrapper) CreateOrganization(ctx echo.Context) error

CreateOrganization converts echo context to params.

func (*ServerInterfaceWrapper) CreateProject

func (w *ServerInterfaceWrapper) CreateProject(ctx echo.Context) error

CreateProject converts echo context to params.

func (*ServerInterfaceWrapper) CreateProviderForProject

func (w *ServerInterfaceWrapper) CreateProviderForProject(ctx echo.Context) error

CreateProviderForProject converts echo context to params.

func (*ServerInterfaceWrapper) CreateSecrets

func (w *ServerInterfaceWrapper) CreateSecrets(ctx echo.Context) error

CreateSecrets converts echo context to params.

func (*ServerInterfaceWrapper) DeleteBranch

func (w *ServerInterfaceWrapper) DeleteBranch(ctx echo.Context) error

DeleteBranch converts echo context to params.

func (*ServerInterfaceWrapper) DeleteFunction

func (w *ServerInterfaceWrapper) DeleteFunction(ctx echo.Context) error

DeleteFunction converts echo context to params.

func (*ServerInterfaceWrapper) DeleteProject

func (w *ServerInterfaceWrapper) DeleteProject(ctx echo.Context) error

DeleteProject converts echo context to params.

func (*ServerInterfaceWrapper) DeleteSecrets

func (w *ServerInterfaceWrapper) DeleteSecrets(ctx echo.Context) error

DeleteSecrets converts echo context to params.

func (*ServerInterfaceWrapper) DisableBranch

func (w *ServerInterfaceWrapper) DisableBranch(ctx echo.Context) error

DisableBranch converts echo context to params.

func (*ServerInterfaceWrapper) GetBranchDetails

func (w *ServerInterfaceWrapper) GetBranchDetails(ctx echo.Context) error

GetBranchDetails converts echo context to params.

func (*ServerInterfaceWrapper) GetBranches

func (w *ServerInterfaceWrapper) GetBranches(ctx echo.Context) error

GetBranches converts echo context to params.

func (*ServerInterfaceWrapper) GetConfig

func (w *ServerInterfaceWrapper) GetConfig(ctx echo.Context) error

GetConfig converts echo context to params.

func (*ServerInterfaceWrapper) GetCustomHostnameConfig

func (w *ServerInterfaceWrapper) GetCustomHostnameConfig(ctx echo.Context) error

GetCustomHostnameConfig converts echo context to params.

func (*ServerInterfaceWrapper) GetFunction

func (w *ServerInterfaceWrapper) GetFunction(ctx echo.Context) error

GetFunction converts echo context to params.

func (*ServerInterfaceWrapper) GetFunctionBody

func (w *ServerInterfaceWrapper) GetFunctionBody(ctx echo.Context) error

GetFunctionBody converts echo context to params.

func (*ServerInterfaceWrapper) GetFunctions

func (w *ServerInterfaceWrapper) GetFunctions(ctx echo.Context) error

GetFunctions converts echo context to params.

func (*ServerInterfaceWrapper) GetNetworkBans

func (w *ServerInterfaceWrapper) GetNetworkBans(ctx echo.Context) error

GetNetworkBans converts echo context to params.

func (*ServerInterfaceWrapper) GetNetworkRestrictions

func (w *ServerInterfaceWrapper) GetNetworkRestrictions(ctx echo.Context) error

GetNetworkRestrictions converts echo context to params.

func (*ServerInterfaceWrapper) GetOrganizations

func (w *ServerInterfaceWrapper) GetOrganizations(ctx echo.Context) error

GetOrganizations converts echo context to params.

func (*ServerInterfaceWrapper) GetPgsodiumConfig

func (w *ServerInterfaceWrapper) GetPgsodiumConfig(ctx echo.Context) error

GetPgsodiumConfig converts echo context to params.

func (*ServerInterfaceWrapper) GetPostgRESTConfig

func (w *ServerInterfaceWrapper) GetPostgRESTConfig(ctx echo.Context) error

GetPostgRESTConfig converts echo context to params.

func (*ServerInterfaceWrapper) GetProjectApiKeys

func (w *ServerInterfaceWrapper) GetProjectApiKeys(ctx echo.Context) error

GetProjectApiKeys converts echo context to params.

func (*ServerInterfaceWrapper) GetProjects

func (w *ServerInterfaceWrapper) GetProjects(ctx echo.Context) error

GetProjects converts echo context to params.

func (*ServerInterfaceWrapper) GetProviderById

func (w *ServerInterfaceWrapper) GetProviderById(ctx echo.Context) error

GetProviderById converts echo context to params.

func (*ServerInterfaceWrapper) GetReadOnlyModeStatus

func (w *ServerInterfaceWrapper) GetReadOnlyModeStatus(ctx echo.Context) error

GetReadOnlyModeStatus converts echo context to params.

func (*ServerInterfaceWrapper) GetSecrets

func (w *ServerInterfaceWrapper) GetSecrets(ctx echo.Context) error

GetSecrets converts echo context to params.

func (*ServerInterfaceWrapper) GetSnippet

func (w *ServerInterfaceWrapper) GetSnippet(ctx echo.Context) error

GetSnippet converts echo context to params.

func (*ServerInterfaceWrapper) GetSslEnforcementConfig

func (w *ServerInterfaceWrapper) GetSslEnforcementConfig(ctx echo.Context) error

GetSslEnforcementConfig converts echo context to params.

func (*ServerInterfaceWrapper) GetTypescriptTypes

func (w *ServerInterfaceWrapper) GetTypescriptTypes(ctx echo.Context) error

GetTypescriptTypes converts echo context to params.

func (*ServerInterfaceWrapper) GetUpgradeStatus

func (w *ServerInterfaceWrapper) GetUpgradeStatus(ctx echo.Context) error

GetUpgradeStatus converts echo context to params.

func (*ServerInterfaceWrapper) GetV1AuthConfig

func (w *ServerInterfaceWrapper) GetV1AuthConfig(ctx echo.Context) error

GetV1AuthConfig converts echo context to params.

func (*ServerInterfaceWrapper) GetVanitySubdomainConfig

func (w *ServerInterfaceWrapper) GetVanitySubdomainConfig(ctx echo.Context) error

GetVanitySubdomainConfig converts echo context to params.

func (*ServerInterfaceWrapper) ListAllProviders

func (w *ServerInterfaceWrapper) ListAllProviders(ctx echo.Context) error

ListAllProviders converts echo context to params.

func (*ServerInterfaceWrapper) ListSnippets

func (w *ServerInterfaceWrapper) ListSnippets(ctx echo.Context) error

ListSnippets converts echo context to params.

func (*ServerInterfaceWrapper) RemoveCustomHostnameConfig

func (w *ServerInterfaceWrapper) RemoveCustomHostnameConfig(ctx echo.Context) error

RemoveCustomHostnameConfig converts echo context to params.

func (*ServerInterfaceWrapper) RemoveNetworkBan

func (w *ServerInterfaceWrapper) RemoveNetworkBan(ctx echo.Context) error

RemoveNetworkBan converts echo context to params.

func (*ServerInterfaceWrapper) RemoveProviderById

func (w *ServerInterfaceWrapper) RemoveProviderById(ctx echo.Context) error

RemoveProviderById converts echo context to params.

func (*ServerInterfaceWrapper) RemoveVanitySubdomainConfig

func (w *ServerInterfaceWrapper) RemoveVanitySubdomainConfig(ctx echo.Context) error

RemoveVanitySubdomainConfig converts echo context to params.

func (*ServerInterfaceWrapper) Reverify

func (w *ServerInterfaceWrapper) Reverify(ctx echo.Context) error

Reverify converts echo context to params.

func (*ServerInterfaceWrapper) TemporarilyDisableReadonlyMode

func (w *ServerInterfaceWrapper) TemporarilyDisableReadonlyMode(ctx echo.Context) error

TemporarilyDisableReadonlyMode converts echo context to params.

func (*ServerInterfaceWrapper) Token

func (w *ServerInterfaceWrapper) Token(ctx echo.Context) error

Token converts echo context to params.

func (*ServerInterfaceWrapper) UpdateBranch

func (w *ServerInterfaceWrapper) UpdateBranch(ctx echo.Context) error

UpdateBranch converts echo context to params.

func (*ServerInterfaceWrapper) UpdateConfig

func (w *ServerInterfaceWrapper) UpdateConfig(ctx echo.Context) error

UpdateConfig converts echo context to params.

func (*ServerInterfaceWrapper) UpdateFunction

func (w *ServerInterfaceWrapper) UpdateFunction(ctx echo.Context) error

UpdateFunction converts echo context to params.

func (*ServerInterfaceWrapper) UpdatePgsodiumConfig

func (w *ServerInterfaceWrapper) UpdatePgsodiumConfig(ctx echo.Context) error

UpdatePgsodiumConfig converts echo context to params.

func (*ServerInterfaceWrapper) UpdatePostgRESTConfig

func (w *ServerInterfaceWrapper) UpdatePostgRESTConfig(ctx echo.Context) error

UpdatePostgRESTConfig converts echo context to params.

func (*ServerInterfaceWrapper) UpdateProviderById

func (w *ServerInterfaceWrapper) UpdateProviderById(ctx echo.Context) error

UpdateProviderById converts echo context to params.

func (*ServerInterfaceWrapper) UpdateSslEnforcementConfig

func (w *ServerInterfaceWrapper) UpdateSslEnforcementConfig(ctx echo.Context) error

UpdateSslEnforcementConfig converts echo context to params.

func (*ServerInterfaceWrapper) UpdateV1AuthConfig

func (w *ServerInterfaceWrapper) UpdateV1AuthConfig(ctx echo.Context) error

UpdateV1AuthConfig converts echo context to params.

func (*ServerInterfaceWrapper) UpgradeEligibilityInformation

func (w *ServerInterfaceWrapper) UpgradeEligibilityInformation(ctx echo.Context) error

UpgradeEligibilityInformation converts echo context to params.

func (*ServerInterfaceWrapper) UpgradeProject

func (w *ServerInterfaceWrapper) UpgradeProject(ctx echo.Context) error

UpgradeProject converts echo context to params.

func (*ServerInterfaceWrapper) V1EnableDatabaseWebhooks

func (w *ServerInterfaceWrapper) V1EnableDatabaseWebhooks(ctx echo.Context) error

V1EnableDatabaseWebhooks converts echo context to params.

func (*ServerInterfaceWrapper) V1GetPgbouncerConfig

func (w *ServerInterfaceWrapper) V1GetPgbouncerConfig(ctx echo.Context) error

V1GetPgbouncerConfig converts echo context to params.

func (*ServerInterfaceWrapper) V1ListOrganizationMembers

func (w *ServerInterfaceWrapper) V1ListOrganizationMembers(ctx echo.Context) error

V1ListOrganizationMembers converts echo context to params.

func (*ServerInterfaceWrapper) V1RestorePitr

func (w *ServerInterfaceWrapper) V1RestorePitr(ctx echo.Context) error

V1RestorePitr converts echo context to params.

func (*ServerInterfaceWrapper) V1RunQuery

func (w *ServerInterfaceWrapper) V1RunQuery(ctx echo.Context) error

V1RunQuery converts echo context to params.

type ServiceHealthResponse

type ServiceHealthResponse struct {
	Error   *string                     `json:"error,omitempty"`
	Healthy bool                        `json:"healthy"`
	Info    *ServiceHealthResponse_Info `json:"info,omitempty"`
	Name    ServiceHealthResponseName   `json:"name"`
}

ServiceHealthResponse defines model for ServiceHealthResponse.

type ServiceHealthResponseName

type ServiceHealthResponseName string

ServiceHealthResponseName defines model for ServiceHealthResponse.Name.

const (
	ServiceHealthResponseNameAuth     ServiceHealthResponseName = "auth"
	ServiceHealthResponseNameDb       ServiceHealthResponseName = "db"
	ServiceHealthResponseNameRealtime ServiceHealthResponseName = "realtime"
	ServiceHealthResponseNameRest     ServiceHealthResponseName = "rest"
	ServiceHealthResponseNameStorage  ServiceHealthResponseName = "storage"
)

Defines values for ServiceHealthResponseName.

type ServiceHealthResponse_Info

type ServiceHealthResponse_Info struct {
	// contains filtered or unexported fields
}

ServiceHealthResponse_Info defines model for ServiceHealthResponse.Info.

func (ServiceHealthResponse_Info) AsAuthHealthResponse

func (t ServiceHealthResponse_Info) AsAuthHealthResponse() (AuthHealthResponse, error)

AsAuthHealthResponse returns the union data inside the ServiceHealthResponse_Info as a AuthHealthResponse

func (ServiceHealthResponse_Info) AsRealtimeHealthResponse

func (t ServiceHealthResponse_Info) AsRealtimeHealthResponse() (RealtimeHealthResponse, error)

AsRealtimeHealthResponse returns the union data inside the ServiceHealthResponse_Info as a RealtimeHealthResponse

func (*ServiceHealthResponse_Info) FromAuthHealthResponse

func (t *ServiceHealthResponse_Info) FromAuthHealthResponse(v AuthHealthResponse) error

FromAuthHealthResponse overwrites any union data inside the ServiceHealthResponse_Info as the provided AuthHealthResponse

func (*ServiceHealthResponse_Info) FromRealtimeHealthResponse

func (t *ServiceHealthResponse_Info) FromRealtimeHealthResponse(v RealtimeHealthResponse) error

FromRealtimeHealthResponse overwrites any union data inside the ServiceHealthResponse_Info as the provided RealtimeHealthResponse

func (ServiceHealthResponse_Info) MarshalJSON

func (t ServiceHealthResponse_Info) MarshalJSON() ([]byte, error)

func (*ServiceHealthResponse_Info) MergeAuthHealthResponse

func (t *ServiceHealthResponse_Info) MergeAuthHealthResponse(v AuthHealthResponse) error

MergeAuthHealthResponse performs a merge with any union data inside the ServiceHealthResponse_Info, using the provided AuthHealthResponse

func (*ServiceHealthResponse_Info) MergeRealtimeHealthResponse

func (t *ServiceHealthResponse_Info) MergeRealtimeHealthResponse(v RealtimeHealthResponse) error

MergeRealtimeHealthResponse performs a merge with any union data inside the ServiceHealthResponse_Info, using the provided RealtimeHealthResponse

func (*ServiceHealthResponse_Info) UnmarshalJSON

func (t *ServiceHealthResponse_Info) UnmarshalJSON(b []byte) error

type SnippetContent

type SnippetContent struct {
	Favorite      bool   `json:"favorite"`
	SchemaVersion string `json:"schema_version"`
	Sql           string `json:"sql"`
}

SnippetContent defines model for SnippetContent.

type SnippetList

type SnippetList struct {
	Data []SnippetMeta `json:"data"`
}

SnippetList defines model for SnippetList.

type SnippetMeta

type SnippetMeta struct {
	Description *string               `json:"description"`
	Id          string                `json:"id"`
	InsertedAt  string                `json:"inserted_at"`
	Name        string                `json:"name"`
	Owner       SnippetUser           `json:"owner"`
	Project     SnippetProject        `json:"project"`
	Type        SnippetMetaType       `json:"type"`
	UpdatedAt   string                `json:"updated_at"`
	UpdatedBy   SnippetUser           `json:"updated_by"`
	Visibility  SnippetMetaVisibility `json:"visibility"`
}

SnippetMeta defines model for SnippetMeta.

type SnippetMetaType

type SnippetMetaType string

SnippetMetaType defines model for SnippetMeta.Type.

const (
	SnippetMetaTypeSql SnippetMetaType = "sql"
)

Defines values for SnippetMetaType.

type SnippetMetaVisibility

type SnippetMetaVisibility string

SnippetMetaVisibility defines model for SnippetMeta.Visibility.

const (
	SnippetMetaVisibilityOrg     SnippetMetaVisibility = "org"
	SnippetMetaVisibilityProject SnippetMetaVisibility = "project"
	SnippetMetaVisibilityPublic  SnippetMetaVisibility = "public"
	SnippetMetaVisibilityUser    SnippetMetaVisibility = "user"
)

Defines values for SnippetMetaVisibility.

type SnippetProject

type SnippetProject struct {
	Id   float32 `json:"id"`
	Name string  `json:"name"`
}

SnippetProject defines model for SnippetProject.

type SnippetResponse

type SnippetResponse struct {
	Content     SnippetContent            `json:"content"`
	Description *string                   `json:"description"`
	Id          string                    `json:"id"`
	InsertedAt  string                    `json:"inserted_at"`
	Name        string                    `json:"name"`
	Owner       SnippetUser               `json:"owner"`
	Project     SnippetProject            `json:"project"`
	Type        SnippetResponseType       `json:"type"`
	UpdatedAt   string                    `json:"updated_at"`
	UpdatedBy   SnippetUser               `json:"updated_by"`
	Visibility  SnippetResponseVisibility `json:"visibility"`
}

SnippetResponse defines model for SnippetResponse.

type SnippetResponseType

type SnippetResponseType string

SnippetResponseType defines model for SnippetResponse.Type.

const (
	SnippetResponseTypeSql SnippetResponseType = "sql"
)

Defines values for SnippetResponseType.

type SnippetResponseVisibility

type SnippetResponseVisibility string

SnippetResponseVisibility defines model for SnippetResponse.Visibility.

const (
	SnippetResponseVisibilityOrg     SnippetResponseVisibility = "org"
	SnippetResponseVisibilityProject SnippetResponseVisibility = "project"
	SnippetResponseVisibilityPublic  SnippetResponseVisibility = "public"
	SnippetResponseVisibilityUser    SnippetResponseVisibility = "user"
)

Defines values for SnippetResponseVisibility.

type SnippetUser

type SnippetUser struct {
	Id       float32 `json:"id"`
	Username string  `json:"username"`
}

SnippetUser defines model for SnippetUser.

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

type TemporarilyDisableReadonlyModeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseTemporarilyDisableReadonlyModeResponse

func ParseTemporarilyDisableReadonlyModeResponse(rsp *http.Response) (*TemporarilyDisableReadonlyModeResponse, error)

ParseTemporarilyDisableReadonlyModeResponse parses an HTTP response from a TemporarilyDisableReadonlyModeWithResponse call

func (TemporarilyDisableReadonlyModeResponse) Status

Status returns HTTPResponse.Status

func (TemporarilyDisableReadonlyModeResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type TokenFormdataRequestBody

type TokenFormdataRequestBody = OAuthTokenBody

TokenFormdataRequestBody defines body for Token for application/x-www-form-urlencoded ContentType.

type TokenResponse

type TokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *OAuthTokenResponse
}

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 UpdateAuthConfigBody

type UpdateAuthConfigBody struct {
	RateLimitEmailSent *float32 `json:"rate_limit_email_sent,omitempty"`
	SmtpAdminEmail     *string  `json:"smtp_admin_email,omitempty"`
	SmtpHost           *string  `json:"smtp_host,omitempty"`
	SmtpMaxFrequency   *float32 `json:"smtp_max_frequency,omitempty"`
	SmtpPass           *string  `json:"smtp_pass,omitempty"`
	SmtpPort           *string  `json:"smtp_port,omitempty"`
	SmtpSenderName     *string  `json:"smtp_sender_name,omitempty"`
	SmtpUser           *string  `json:"smtp_user,omitempty"`
}

UpdateAuthConfigBody defines model for UpdateAuthConfigBody.

type UpdateBranchBody

type UpdateBranchBody struct {
	BranchName  *string `json:"branch_name,omitempty"`
	GitBranch   *string `json:"git_branch,omitempty"`
	ResetOnPush *bool   `json:"reset_on_push,omitempty"`
}

UpdateBranchBody defines model for UpdateBranchBody.

type UpdateBranchJSONRequestBody

type UpdateBranchJSONRequestBody = UpdateBranchBody

UpdateBranchJSONRequestBody defines body for UpdateBranch for application/json ContentType.

type UpdateBranchResponse

type UpdateBranchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BranchResponse
}

func ParseUpdateBranchResponse

func ParseUpdateBranchResponse(rsp *http.Response) (*UpdateBranchResponse, error)

ParseUpdateBranchResponse parses an HTTP response from a UpdateBranchWithResponse call

func (UpdateBranchResponse) Status

func (r UpdateBranchResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateBranchResponse) StatusCode

func (r UpdateBranchResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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 (
	N1NotStarted           UpdateCustomHostnameResponseStatus = "1_not_started"
	N2Initiated            UpdateCustomHostnameResponseStatus = "2_initiated"
	N3ChallengeVerified    UpdateCustomHostnameResponseStatus = "3_challenge_verified"
	N4OriginSetupCompleted UpdateCustomHostnameResponseStatus = "4_origin_setup_completed"
	N5ServicesReconfigured UpdateCustomHostnameResponseStatus = "5_services_reconfigured"
)

Defines values for UpdateCustomHostnameResponseStatus.

type UpdateFunctionBody

type UpdateFunctionBody struct {
	Body      *string `json:"body,omitempty"`
	Name      *string `json:"name,omitempty"`
	VerifyJwt *bool   `json:"verify_jwt,omitempty"`
}

UpdateFunctionBody defines model for UpdateFunctionBody.

type UpdateFunctionJSONRequestBody

type UpdateFunctionJSONRequestBody = UpdateFunctionBody

UpdateFunctionJSONRequestBody defines body for UpdateFunction for application/json ContentType.

type UpdateFunctionParams

type UpdateFunctionParams struct {
	Slug           *string `form:"slug,omitempty" json:"slug,omitempty"`
	Name           *string `form:"name,omitempty" json:"name,omitempty"`
	VerifyJwt      *bool   `form:"verify_jwt,omitempty" json:"verify_jwt,omitempty"`
	ImportMap      *bool   `form:"import_map,omitempty" json:"import_map,omitempty"`
	EntrypointPath *string `form:"entrypoint_path,omitempty" json:"entrypoint_path,omitempty"`
	ImportMapPath  *string `form:"import_map_path,omitempty" json:"import_map_path,omitempty"`
}

UpdateFunctionParams defines parameters for UpdateFunction.

type UpdateFunctionResponse

type UpdateFunctionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *FunctionResponse
}

func ParseUpdateFunctionResponse

func ParseUpdateFunctionResponse(rsp *http.Response) (*UpdateFunctionResponse, error)

ParseUpdateFunctionResponse parses an HTTP response from a UpdateFunctionWithResponse call

func (UpdateFunctionResponse) Status

func (r UpdateFunctionResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateFunctionResponse) StatusCode

func (r UpdateFunctionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdatePgsodiumConfigBody

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

Status returns HTTPResponse.Status

func (UpdatePgsodiumConfigResponse) StatusCode

func (r UpdatePgsodiumConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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

Status returns HTTPResponse.Status

func (UpdatePostgRESTConfigResponse) StatusCode

func (r UpdatePostgRESTConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdatePostgresConfigBody

type UpdatePostgresConfigBody struct {
	EffectiveCacheSize            *string                                         `json:"effective_cache_size,omitempty"`
	MaintenanceWorkMem            *string                                         `json:"maintenance_work_mem,omitempty"`
	MaxConnections                *int                                            `json:"max_connections,omitempty"`
	MaxParallelMaintenanceWorkers *int                                            `json:"max_parallel_maintenance_workers,omitempty"`
	MaxParallelWorkers            *int                                            `json:"max_parallel_workers,omitempty"`
	MaxParallelWorkersPerGather   *int                                            `json:"max_parallel_workers_per_gather,omitempty"`
	MaxWorkerProcesses            *int                                            `json:"max_worker_processes,omitempty"`
	SessionReplicationRole        *UpdatePostgresConfigBodySessionReplicationRole `json:"session_replication_role,omitempty"`
	SharedBuffers                 *string                                         `json:"shared_buffers,omitempty"`
	StatementTimeout              *string                                         `json:"statement_timeout,omitempty"`
	WorkMem                       *string                                         `json:"work_mem,omitempty"`
}

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

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

Status returns HTTPResponse.Status

func (UpdateSslEnforcementConfigResponse) StatusCode

func (r UpdateSslEnforcementConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateV1AuthConfigJSONRequestBody

type UpdateV1AuthConfigJSONRequestBody = UpdateAuthConfigBody

UpdateV1AuthConfigJSONRequestBody defines body for UpdateV1AuthConfig for application/json ContentType.

type UpdateV1AuthConfigResponse

type UpdateV1AuthConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AuthConfigResponse
}

func ParseUpdateV1AuthConfigResponse

func ParseUpdateV1AuthConfigResponse(rsp *http.Response) (*UpdateV1AuthConfigResponse, error)

ParseUpdateV1AuthConfigResponse parses an HTTP response from a UpdateV1AuthConfigWithResponse call

func (UpdateV1AuthConfigResponse) Status

Status returns HTTPResponse.Status

func (UpdateV1AuthConfigResponse) StatusCode

func (r UpdateV1AuthConfigResponse) 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

Status returns HTTPResponse.Status

func (UpgradeEligibilityInformationResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpgradeProjectJSONRequestBody

type UpgradeProjectJSONRequestBody = UpgradeDatabaseBody

UpgradeProjectJSONRequestBody defines body for UpgradeProject for application/json ContentType.

type UpgradeProjectResponse

type UpgradeProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ProjectUpgradeInitiateResponse
}

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 V1EnableDatabaseWebhooksResponse

type V1EnableDatabaseWebhooksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseV1EnableDatabaseWebhooksResponse

func ParseV1EnableDatabaseWebhooksResponse(rsp *http.Response) (*V1EnableDatabaseWebhooksResponse, error)

ParseV1EnableDatabaseWebhooksResponse parses an HTTP response from a V1EnableDatabaseWebhooksWithResponse call

func (V1EnableDatabaseWebhooksResponse) Status

Status returns HTTPResponse.Status

func (V1EnableDatabaseWebhooksResponse) StatusCode

func (r V1EnableDatabaseWebhooksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetPgbouncerConfigResponse

type V1GetPgbouncerConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *V1PgbouncerConfigResponse
}

func ParseV1GetPgbouncerConfigResponse

func ParseV1GetPgbouncerConfigResponse(rsp *http.Response) (*V1GetPgbouncerConfigResponse, error)

ParseV1GetPgbouncerConfigResponse parses an HTTP response from a V1GetPgbouncerConfigWithResponse call

func (V1GetPgbouncerConfigResponse) Status

Status returns HTTPResponse.Status

func (V1GetPgbouncerConfigResponse) StatusCode

func (r V1GetPgbouncerConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1ListOrganizationMembersResponse

type V1ListOrganizationMembersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]V1OrganizationMemberResponse
}

func ParseV1ListOrganizationMembersResponse

func ParseV1ListOrganizationMembersResponse(rsp *http.Response) (*V1ListOrganizationMembersResponse, error)

ParseV1ListOrganizationMembersResponse parses an HTTP response from a V1ListOrganizationMembersWithResponse call

func (V1ListOrganizationMembersResponse) Status

Status returns HTTPResponse.Status

func (V1ListOrganizationMembersResponse) StatusCode

func (r V1ListOrganizationMembersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1OrganizationMemberResponse

type V1OrganizationMemberResponse struct {
	Email    *string `json:"email,omitempty"`
	RoleName string  `json:"role_name"`
	UserId   string  `json:"user_id"`
	UserName string  `json:"user_name"`
}

V1OrganizationMemberResponse defines model for V1OrganizationMemberResponse.

type V1PgbouncerConfigResponse

type V1PgbouncerConfigResponse struct {
	DefaultPoolSize         *float32                           `json:"default_pool_size,omitempty"`
	IgnoreStartupParameters *string                            `json:"ignore_startup_parameters,omitempty"`
	MaxClientConn           *float32                           `json:"max_client_conn,omitempty"`
	PoolMode                *V1PgbouncerConfigResponsePoolMode `json:"pool_mode,omitempty"`
}

V1PgbouncerConfigResponse defines model for V1PgbouncerConfigResponse.

type V1PgbouncerConfigResponsePoolMode

type V1PgbouncerConfigResponsePoolMode string

V1PgbouncerConfigResponsePoolMode defines model for V1PgbouncerConfigResponse.PoolMode.

const (
	Session     V1PgbouncerConfigResponsePoolMode = "session"
	Statement   V1PgbouncerConfigResponsePoolMode = "statement"
	Transaction V1PgbouncerConfigResponsePoolMode = "transaction"
)

Defines values for V1PgbouncerConfigResponsePoolMode.

type V1RestorePitrBody

type V1RestorePitrBody struct {
	RecoveryTimeTargetUnix float32 `json:"recovery_time_target_unix"`
}

V1RestorePitrBody defines model for V1RestorePitrBody.

type V1RestorePitrJSONRequestBody

type V1RestorePitrJSONRequestBody = V1RestorePitrBody

V1RestorePitrJSONRequestBody defines body for V1RestorePitr for application/json ContentType.

type V1RestorePitrResponse

type V1RestorePitrResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseV1RestorePitrResponse

func ParseV1RestorePitrResponse(rsp *http.Response) (*V1RestorePitrResponse, error)

ParseV1RestorePitrResponse parses an HTTP response from a V1RestorePitrWithResponse call

func (V1RestorePitrResponse) Status

func (r V1RestorePitrResponse) Status() string

Status returns HTTPResponse.Status

func (V1RestorePitrResponse) StatusCode

func (r V1RestorePitrResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1RunQueryJSONRequestBody

type V1RunQueryJSONRequestBody = RunQueryBody

V1RunQueryJSONRequestBody defines body for V1RunQuery for application/json ContentType.

type V1RunQueryResponse

type V1RunQueryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *map[string]interface{}
}

func ParseV1RunQueryResponse

func ParseV1RunQueryResponse(rsp *http.Response) (*V1RunQueryResponse, error)

ParseV1RunQueryResponse parses an HTTP response from a V1RunQueryWithResponse call

func (V1RunQueryResponse) Status

func (r V1RunQueryResponse) Status() string

Status returns HTTPResponse.Status

func (V1RunQueryResponse) StatusCode

func (r V1RunQueryResponse) 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 (
	Active           VanitySubdomainConfigResponseStatus = "active"
	CustomDomainUsed VanitySubdomainConfigResponseStatus = "custom-domain-used"
	NotUsed          VanitySubdomainConfigResponseStatus = "not-used"
)

Defines values for VanitySubdomainConfigResponseStatus.

Directories

Path Synopsis
Package v0 provides primitives to interact with the openapi HTTP API.
Package v0 provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL