api

package
v0.1.22 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

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

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAddDomainRequest

func NewAddDomainRequest(server string, projectName string, appName string, body AddDomainJSONRequestBody) (*http.Request, error)

NewAddDomainRequest calls the generic AddDomain builder with application/json body

func NewAddDomainRequestWithBody

func NewAddDomainRequestWithBody(server string, projectName string, appName string, contentType string, body io.Reader) (*http.Request, error)

NewAddDomainRequestWithBody constructs an http.Request for the AddDomain method, with any body, and a specified content type

func NewCreateAppRequest

func NewCreateAppRequest(server string, projectName string, body CreateAppJSONRequestBody) (*http.Request, error)

NewCreateAppRequest calls the generic CreateApp builder with application/json body

func NewCreateAppRequestWithBody

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

NewCreateAppRequestWithBody constructs an http.Request for the CreateApp method, with any body, and a specified content type

func NewCreateMysqlRequest

func NewCreateMysqlRequest(server string, projectName string, body CreateMysqlJSONRequestBody) (*http.Request, error)

NewCreateMysqlRequest calls the generic CreateMysql builder with application/json body

func NewCreateMysqlRequestWithBody

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

NewCreateMysqlRequestWithBody constructs an http.Request for the CreateMysql method, with any body, and a specified content type

func NewCreatePostgresRequest

func NewCreatePostgresRequest(server string, projectName string, body CreatePostgresJSONRequestBody) (*http.Request, error)

NewCreatePostgresRequest calls the generic CreatePostgres builder with application/json body

func NewCreatePostgresRequestWithBody

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

NewCreatePostgresRequestWithBody constructs an http.Request for the CreatePostgres method, with any body, and a specified content type

func NewCreateProjectRequest

func NewCreateProjectRequest(server string, params *CreateProjectParams) (*http.Request, error)

NewCreateProjectRequest constructs an http.Request for the CreateProject method

func NewCreateRedisRequest

func NewCreateRedisRequest(server string, projectName string, body CreateRedisJSONRequestBody) (*http.Request, error)

NewCreateRedisRequest calls the generic CreateRedis builder with application/json body

func NewCreateRedisRequestWithBody

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

NewCreateRedisRequestWithBody constructs an http.Request for the CreateRedis method, with any body, and a specified content type

func NewCreateVolumeRequest

func NewCreateVolumeRequest(server string, projectName string, body CreateVolumeJSONRequestBody) (*http.Request, error)

NewCreateVolumeRequest calls the generic CreateVolume builder with application/json body

func NewCreateVolumeRequestWithBody

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

NewCreateVolumeRequestWithBody constructs an http.Request for the CreateVolume method, with any body, and a specified content type

func NewDeleteAppRequest

func NewDeleteAppRequest(server string, projectName string, appName string) (*http.Request, error)

NewDeleteAppRequest constructs an http.Request for the DeleteApp method

func NewDeleteMysqlRequest

func NewDeleteMysqlRequest(server string, projectName string, mysqlName string) (*http.Request, error)

NewDeleteMysqlRequest constructs an http.Request for the DeleteMysql method

func NewDeletePostgresRequest

func NewDeletePostgresRequest(server string, projectName string, postgresName string) (*http.Request, error)

NewDeletePostgresRequest constructs an http.Request for the DeletePostgres method

func NewDeleteProjectRequest

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

NewDeleteProjectRequest constructs an http.Request for the DeleteProject method

func NewDeleteRedisRequest

func NewDeleteRedisRequest(server string, projectName string, redisName string) (*http.Request, error)

NewDeleteRedisRequest constructs an http.Request for the DeleteRedis method

func NewDeleteVolumeRequest

func NewDeleteVolumeRequest(server string, projectName string, volumeName string) (*http.Request, error)

NewDeleteVolumeRequest constructs an http.Request for the DeleteVolume method

func NewDeviceAuthorizeRequest added in v0.1.20

func NewDeviceAuthorizeRequest(server string, body DeviceAuthorizeJSONRequestBody) (*http.Request, error)

NewDeviceAuthorizeRequest calls the generic DeviceAuthorize builder with application/json body

func NewDeviceAuthorizeRequestWithBody added in v0.1.20

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

NewDeviceAuthorizeRequestWithBody constructs an http.Request for the DeviceAuthorize method, with any body, and a specified content type

func NewDeviceTokenRequest added in v0.1.20

func NewDeviceTokenRequest(server string, body DeviceTokenJSONRequestBody) (*http.Request, error)

NewDeviceTokenRequest calls the generic DeviceToken builder with application/json body

func NewDeviceTokenRequestWithBody added in v0.1.20

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

NewDeviceTokenRequestWithBody constructs an http.Request for the DeviceToken method, with any body, and a specified content type

func NewGetAppEnvRequest

func NewGetAppEnvRequest(server string, projectName string, appName string) (*http.Request, error)

NewGetAppEnvRequest constructs an http.Request for the GetAppEnv method

func NewGetAppEventsRequest

func NewGetAppEventsRequest(server string, projectName string, appName string, params *GetAppEventsParams) (*http.Request, error)

NewGetAppEventsRequest constructs an http.Request for the GetAppEvents method

func NewGetAppLogsRequest

func NewGetAppLogsRequest(server string, projectName string, appName string, params *GetAppLogsParams) (*http.Request, error)

NewGetAppLogsRequest constructs an http.Request for the GetAppLogs method

func NewGetAppRequest

func NewGetAppRequest(server string, projectName string, appName string) (*http.Request, error)

NewGetAppRequest constructs an http.Request for the GetApp method

func NewGetAppStatusRequest

func NewGetAppStatusRequest(server string, projectName string, appName string) (*http.Request, error)

NewGetAppStatusRequest constructs an http.Request for the GetAppStatus method

func NewGetAppsRequest

func NewGetAppsRequest(server string, projectName string) (*http.Request, error)

NewGetAppsRequest constructs an http.Request for the GetApps method

func NewGetDomainStatusRequest

func NewGetDomainStatusRequest(server string, projectName string, appName string) (*http.Request, error)

NewGetDomainStatusRequest constructs an http.Request for the GetDomainStatus method

func NewGetGlobalEnvRequest

func NewGetGlobalEnvRequest(server string, projectName string) (*http.Request, error)

NewGetGlobalEnvRequest constructs an http.Request for the GetGlobalEnv method

func NewGetMySQLEventsRequest

func NewGetMySQLEventsRequest(server string, projectName string, mysqlName string) (*http.Request, error)

NewGetMySQLEventsRequest constructs an http.Request for the GetMySQLEvents method

func NewGetMysqlCredentialsRequest

func NewGetMysqlCredentialsRequest(server string, projectName string, mysqlName string) (*http.Request, error)

NewGetMysqlCredentialsRequest constructs an http.Request for the GetMysqlCredentials method

func NewGetMysqlEnvRequest

func NewGetMysqlEnvRequest(server string, projectName string, mysqlName string) (*http.Request, error)

NewGetMysqlEnvRequest constructs an http.Request for the GetMysqlEnv method

func NewGetMysqlRequest

func NewGetMysqlRequest(server string, projectName string, mysqlName string) (*http.Request, error)

NewGetMysqlRequest constructs an http.Request for the GetMysql method

func NewGetMysqlStatusRequest

func NewGetMysqlStatusRequest(server string, projectName string, mysqlName string) (*http.Request, error)

NewGetMysqlStatusRequest constructs an http.Request for the GetMysqlStatus method

func NewGetMysqlsRequest

func NewGetMysqlsRequest(server string, projectName string) (*http.Request, error)

NewGetMysqlsRequest constructs an http.Request for the GetMysqls method

func NewGetPostgresCredentialsRequest

func NewGetPostgresCredentialsRequest(server string, projectName string, postgresName string) (*http.Request, error)

NewGetPostgresCredentialsRequest constructs an http.Request for the GetPostgresCredentials method

func NewGetPostgresEnvRequest

func NewGetPostgresEnvRequest(server string, projectName string, postgresName string) (*http.Request, error)

NewGetPostgresEnvRequest constructs an http.Request for the GetPostgresEnv method

func NewGetPostgresEventsRequest

func NewGetPostgresEventsRequest(server string, projectName string, postgresName string) (*http.Request, error)

NewGetPostgresEventsRequest constructs an http.Request for the GetPostgresEvents method

func NewGetPostgresExtensionsRequest

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

NewGetPostgresExtensionsRequest constructs an http.Request for the GetPostgresExtensions method

func NewGetPostgresInstanceRequest

func NewGetPostgresInstanceRequest(server string, projectName string, postgresName string) (*http.Request, error)

NewGetPostgresInstanceRequest constructs an http.Request for the GetPostgresInstance method

func NewGetPostgresRequest

func NewGetPostgresRequest(server string, projectName string) (*http.Request, error)

NewGetPostgresRequest constructs an http.Request for the GetPostgres method

func NewGetPostgresStatusRequest

func NewGetPostgresStatusRequest(server string, projectName string, postgresName string) (*http.Request, error)

NewGetPostgresStatusRequest constructs an http.Request for the GetPostgresStatus method

func NewGetProjectEventsRequest

func NewGetProjectEventsRequest(server string, projectName string, params *GetProjectEventsParams) (*http.Request, error)

NewGetProjectEventsRequest constructs an http.Request for the GetProjectEvents method

func NewGetProjectRequest

func NewGetProjectRequest(server string, projectName string) (*http.Request, error)

NewGetProjectRequest constructs an http.Request for the GetProject method

func NewGetProjectsRequest

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

NewGetProjectsRequest constructs an http.Request for the GetProjects method

func NewGetRedisCredentialsRequest

func NewGetRedisCredentialsRequest(server string, projectName string, redisName string) (*http.Request, error)

NewGetRedisCredentialsRequest constructs an http.Request for the GetRedisCredentials method

func NewGetRedisEnvRequest

func NewGetRedisEnvRequest(server string, projectName string, redisName string) (*http.Request, error)

NewGetRedisEnvRequest constructs an http.Request for the GetRedisEnv method

func NewGetRedisEventsRequest

func NewGetRedisEventsRequest(server string, projectName string, redisName string) (*http.Request, error)

NewGetRedisEventsRequest constructs an http.Request for the GetRedisEvents method

func NewGetRedisRequest

func NewGetRedisRequest(server string, projectName string, redisName string) (*http.Request, error)

NewGetRedisRequest constructs an http.Request for the GetRedis method

func NewGetRedisStatusRequest

func NewGetRedisStatusRequest(server string, projectName string, redisName string) (*http.Request, error)

NewGetRedisStatusRequest constructs an http.Request for the GetRedisStatus method

func NewGetRedisesRequest

func NewGetRedisesRequest(server string, projectName string) (*http.Request, error)

NewGetRedisesRequest constructs an http.Request for the GetRedises method

func NewGetRegionAppPricingRequest

func NewGetRegionAppPricingRequest(server string, regionName string) (*http.Request, error)

NewGetRegionAppPricingRequest constructs an http.Request for the GetRegionAppPricing method

func NewGetRegionMySQLPricingRequest

func NewGetRegionMySQLPricingRequest(server string, regionName string) (*http.Request, error)

NewGetRegionMySQLPricingRequest constructs an http.Request for the GetRegionMySQLPricing method

func NewGetRegionPostgresPricingRequest

func NewGetRegionPostgresPricingRequest(server string, regionName string) (*http.Request, error)

NewGetRegionPostgresPricingRequest constructs an http.Request for the GetRegionPostgresPricing method

func NewGetRegionRedisPricingRequest

func NewGetRegionRedisPricingRequest(server string, regionName string) (*http.Request, error)

NewGetRegionRedisPricingRequest constructs an http.Request for the GetRegionRedisPricing method

func NewGetRegionRequest

func NewGetRegionRequest(server string, regionName string) (*http.Request, error)

NewGetRegionRequest constructs an http.Request for the GetRegion method

func NewGetRegionVolumePricingRequest

func NewGetRegionVolumePricingRequest(server string, regionName string) (*http.Request, error)

NewGetRegionVolumePricingRequest constructs an http.Request for the GetRegionVolumePricing method

func NewGetRegionsRequest

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

NewGetRegionsRequest constructs an http.Request for the GetRegions method

func NewGetTemplatesRequest

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

NewGetTemplatesRequest constructs an http.Request for the GetTemplates method

func NewGetVolumeRequest

func NewGetVolumeRequest(server string, projectName string, volumeName string) (*http.Request, error)

NewGetVolumeRequest constructs an http.Request for the GetVolume method

func NewGetVolumesRequest

func NewGetVolumesRequest(server string, projectName string) (*http.Request, error)

NewGetVolumesRequest constructs an http.Request for the GetVolumes method

func NewParseDockerComposeRequest

func NewParseDockerComposeRequest(server string, body ParseDockerComposeJSONRequestBody) (*http.Request, error)

NewParseDockerComposeRequest calls the generic ParseDockerCompose builder with application/json body

func NewParseDockerComposeRequestWithBody

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

NewParseDockerComposeRequestWithBody constructs an http.Request for the ParseDockerCompose method, with any body, and a specified content type

func NewRebuildAppRequest

func NewRebuildAppRequest(server string, projectName string, appName string) (*http.Request, error)

NewRebuildAppRequest constructs an http.Request for the RebuildApp method

func NewRemoveDomainRequest

func NewRemoveDomainRequest(server string, projectName string, appName string, body RemoveDomainJSONRequestBody) (*http.Request, error)

NewRemoveDomainRequest calls the generic RemoveDomain builder with application/json body

func NewRemoveDomainRequestWithBody

func NewRemoveDomainRequestWithBody(server string, projectName string, appName string, contentType string, body io.Reader) (*http.Request, error)

NewRemoveDomainRequestWithBody constructs an http.Request for the RemoveDomain method, with any body, and a specified content type

func NewRestartAppRequest

func NewRestartAppRequest(server string, projectName string, appName string) (*http.Request, error)

NewRestartAppRequest constructs an http.Request for the RestartApp method

func NewSetAppEnvRequest

func NewSetAppEnvRequest(server string, projectName string, appName string, body SetAppEnvJSONRequestBody) (*http.Request, error)

NewSetAppEnvRequest calls the generic SetAppEnv builder with application/json body

func NewSetAppEnvRequestWithBody

func NewSetAppEnvRequestWithBody(server string, projectName string, appName string, contentType string, body io.Reader) (*http.Request, error)

NewSetAppEnvRequestWithBody constructs an http.Request for the SetAppEnv method, with any body, and a specified content type

func NewSetGlobalEnvRequest

func NewSetGlobalEnvRequest(server string, projectName string, body SetGlobalEnvJSONRequestBody) (*http.Request, error)

NewSetGlobalEnvRequest calls the generic SetGlobalEnv builder with application/json body

func NewSetGlobalEnvRequestWithBody

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

NewSetGlobalEnvRequestWithBody constructs an http.Request for the SetGlobalEnv method, with any body, and a specified content type

func NewStreamAppEventsRequest

func NewStreamAppEventsRequest(server string, projectName string, appName string) (*http.Request, error)

NewStreamAppEventsRequest constructs an http.Request for the StreamAppEvents method

func NewStreamMySQLEventsRequest

func NewStreamMySQLEventsRequest(server string, projectName string, mysqlName string) (*http.Request, error)

NewStreamMySQLEventsRequest constructs an http.Request for the StreamMySQLEvents method

func NewStreamPostgresEventsRequest

func NewStreamPostgresEventsRequest(server string, projectName string, postgresName string) (*http.Request, error)

NewStreamPostgresEventsRequest constructs an http.Request for the StreamPostgresEvents method

func NewStreamProjectEventsRequest

func NewStreamProjectEventsRequest(server string, projectName string) (*http.Request, error)

NewStreamProjectEventsRequest constructs an http.Request for the StreamProjectEvents method

func NewStreamRedisEventsRequest

func NewStreamRedisEventsRequest(server string, projectName string, redisName string) (*http.Request, error)

NewStreamRedisEventsRequest constructs an http.Request for the StreamRedisEvents method

func NewUpdateAppRequest

func NewUpdateAppRequest(server string, projectName string, appName string, body UpdateAppJSONRequestBody) (*http.Request, error)

NewUpdateAppRequest calls the generic UpdateApp builder with application/json body

func NewUpdateAppRequestWithBody

func NewUpdateAppRequestWithBody(server string, projectName string, appName string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateAppRequestWithBody constructs an http.Request for the UpdateApp method, with any body, and a specified content type

func NewUpdateMysqlRequest

func NewUpdateMysqlRequest(server string, projectName string, mysqlName string, body UpdateMysqlJSONRequestBody) (*http.Request, error)

NewUpdateMysqlRequest calls the generic UpdateMysql builder with application/json body

func NewUpdateMysqlRequestWithBody

func NewUpdateMysqlRequestWithBody(server string, projectName string, mysqlName string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateMysqlRequestWithBody constructs an http.Request for the UpdateMysql method, with any body, and a specified content type

func NewUpdatePostgresRequest

func NewUpdatePostgresRequest(server string, projectName string, postgresName string, body UpdatePostgresJSONRequestBody) (*http.Request, error)

NewUpdatePostgresRequest calls the generic UpdatePostgres builder with application/json body

func NewUpdatePostgresRequestWithBody

func NewUpdatePostgresRequestWithBody(server string, projectName string, postgresName string, contentType string, body io.Reader) (*http.Request, error)

NewUpdatePostgresRequestWithBody constructs an http.Request for the UpdatePostgres method, with any body, and a specified content type

func NewUpdateProjectRequest

func NewUpdateProjectRequest(server string, projectName string, params *UpdateProjectParams, body UpdateProjectJSONRequestBody) (*http.Request, error)

NewUpdateProjectRequest calls the generic UpdateProject builder with application/json body

func NewUpdateProjectRequestWithBody

func NewUpdateProjectRequestWithBody(server string, projectName string, params *UpdateProjectParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateProjectRequestWithBody constructs an http.Request for the UpdateProject method, with any body, and a specified content type

func NewUpdateRedisRequest

func NewUpdateRedisRequest(server string, projectName string, redisName string, body UpdateRedisJSONRequestBody) (*http.Request, error)

NewUpdateRedisRequest calls the generic UpdateRedis builder with application/json body

func NewUpdateRedisRequestWithBody

func NewUpdateRedisRequestWithBody(server string, projectName string, redisName string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateRedisRequestWithBody constructs an http.Request for the UpdateRedis method, with any body, and a specified content type

func NewUpdateVolumeRequest

func NewUpdateVolumeRequest(server string, projectName string, volumeName string, body UpdateVolumeJSONRequestBody) (*http.Request, error)

NewUpdateVolumeRequest calls the generic UpdateVolume builder with application/json body

func NewUpdateVolumeRequestWithBody

func NewUpdateVolumeRequestWithBody(server string, projectName string, volumeName string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateVolumeRequestWithBody constructs an http.Request for the UpdateVolume method, with any body, and a specified content type

Types

type AddDomainJSONBody

type AddDomainJSONBody = string

AddDomainJSONBody defines parameters for AddDomain.

type AddDomainJSONRequestBody

type AddDomainJSONRequestBody = AddDomainJSONBody

AddDomainJSONRequestBody defines body for AddDomain for application/json ContentType.

type AddDomainResponse

type AddDomainResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GenericMessage
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseAddDomainResponse

func ParseAddDomainResponse(rsp *http.Response) (*AddDomainResponse, error)

ParseAddDomainResponse parses an HTTP response from a AddDomainWithResponse call

func (AddDomainResponse) ContentType

func (r AddDomainResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AddDomainResponse) GetBody

func (r AddDomainResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AddDomainResponse) GetJSON200

func (r AddDomainResponse) GetJSON200() *GenericMessage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AddDomainResponse) GetJSON401

func (r AddDomainResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (AddDomainResponse) GetJSON404

func (r AddDomainResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (AddDomainResponse) GetJSON500

func (r AddDomainResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (AddDomainResponse) Status

func (r AddDomainResponse) Status() string

Status returns HTTPResponse.Status

func (AddDomainResponse) StatusCode

func (r AddDomainResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type App

type App struct {
	// BuiltInDomain The built-in domain of the app
	BuiltInDomain *string `json:"builtInDomain,omitempty"`

	// CommandOverride The command override
	CommandOverride *string `json:"commandOverride,omitempty"`

	// Cost The cost of the app per month
	Cost *float32 `json:"cost,omitempty"`

	// Cpu The amount of CPU
	Cpu *float32 `json:"cpu,omitempty"`

	// DeploymentSource The deployment source
	DeploymentSource struct {
		// Docker The docker deployment source
		Docker *struct {
			// Image The docker image
			Image string `json:"image"`

			// Password The docker registry password. Write-only: accepted on create/update but never returned in cleartext on read; read responses return "***" when a password is set. Send "***" back unchanged to keep the stored value.
			Password *string `json:"password,omitempty"`

			// Registry The docker registry
			Registry *string `json:"registry,omitempty"`

			// Username The docker username
			Username *string `json:"username,omitempty"`
		} `json:"docker,omitempty"`

		// Git The git deployment source
		Git *struct {
			// Branch The git branch
			Branch *string `json:"branch,omitempty"`

			// Dockerfilepath The path to the dockerfile
			Dockerfilepath *string `json:"dockerfilepath,omitempty"`

			// Token The git access token for private repos. Write-only: accepted on create/update but never returned in cleartext on read; read responses return "***" when a token is set. Send "***" back unchanged to keep the stored value.
			Token *string `json:"token,omitempty"`

			// Url The git url
			Url string `json:"url"`
		} `json:"git,omitempty"`

		// Type The deployment source type
		Type AppDeploymentSourceType `json:"type"`
	} `json:"deploymentSource"`

	// Domains The domains of the app
	Domains []string `json:"domains"`

	// EnvVars The environment variables
	EnvVars *[]EnvVar `json:"envVars,omitempty"`

	// HealthCheckPath HTTP path used for the readiness probe. Empty/unset disables it.
	HealthCheckPath *string `json:"healthCheckPath,omitempty"`

	// HttpPort The http port
	HttpPort *int `json:"httpPort,omitempty"`

	// Name The app name
	Name string `json:"name"`

	// Plan The plan of the app
	Plan string `json:"plan"`

	// Public Whether the app is public or not
	Public bool `json:"public"`

	// Ram The amount of RAM
	Ram *float32 `json:"ram,omitempty"`

	// Replicas The number of replicas
	Replicas int `json:"replicas"`

	// Type The type of the app (shared or dedicated)
	Type *string `json:"type,omitempty"`

	// VolumeMounts The storage volumes
	VolumeMounts []struct {
		// MountPath The volume mount path
		MountPath *string `json:"mountPath,omitempty"`

		// Name The volume name
		Name *string `json:"name,omitempty"`
	} `json:"volumeMounts"`
}

App defines model for App.

type AppDeploymentSourceType

type AppDeploymentSourceType string

AppDeploymentSourceType The deployment source type

const (
	Docker AppDeploymentSourceType = "docker"
	Git    AppDeploymentSourceType = "git"
)

Defines values for AppDeploymentSourceType.

func (AppDeploymentSourceType) Valid

func (e AppDeploymentSourceType) Valid() bool

Valid indicates whether the value is a known member of the AppDeploymentSourceType enum.

type AppPricing

type AppPricing struct {
	// Available Whether the plan is available or not
	Available bool `json:"available"`

	// Cores The cores of the app
	Cores int `json:"cores"`

	// Name The pricing plan name
	Name string `json:"name"`

	// Price The price of the app
	Price float32 `json:"price"`

	// Ram The ram of the app
	Ram int `json:"ram"`

	// Type The type of the app
	Type AppPricingType `json:"type"`
}

AppPricing defines model for AppPricing.

type AppPricingType

type AppPricingType string

AppPricingType The type of the app

const (
	AppPricingTypeDedicated AppPricingType = "dedicated"
	AppPricingTypeShared    AppPricingType = "shared"
)

Defines values for AppPricingType.

func (AppPricingType) Valid

func (e AppPricingType) Valid() bool

Valid indicates whether the value is a known member of the AppPricingType enum.

type AppStatus

type AppStatus struct {
	// BuildStatus The build status
	BuildStatus *AppStatusBuildStatus `json:"buildStatus,omitempty"`

	// Certificates Certificates is the status of the certificates
	Certificates *[]struct {
		// Domain Domain is the domain of the certificate
		Domain string `json:"domain"`

		// Status Status is the status of the certificate
		Status string `json:"status"`
	} `json:"certificates,omitempty"`

	// InternalDNS The internal DNS
	InternalDNS *string `json:"internalDNS,omitempty"`

	// LastBuiltAt The last built at
	LastBuiltAt *time.Time `json:"lastBuiltAt,omitempty"`

	// LastDeployedAt The last deployed at
	LastDeployedAt *time.Time `json:"lastDeployedAt,omitempty"`

	// RuntimeStatus The runtime status
	RuntimeStatus *AppStatusRuntimeStatus `json:"runtimeStatus,omitempty"`
}

AppStatus defines model for AppStatus.

type AppStatusBuildStatus

type AppStatusBuildStatus string

AppStatusBuildStatus The build status

const (
	AppStatusBuildStatusFailed    AppStatusBuildStatus = "failed"
	AppStatusBuildStatusRunning   AppStatusBuildStatus = "running"
	AppStatusBuildStatusSucceeded AppStatusBuildStatus = "succeeded"
)

Defines values for AppStatusBuildStatus.

func (AppStatusBuildStatus) Valid

func (e AppStatusBuildStatus) Valid() bool

Valid indicates whether the value is a known member of the AppStatusBuildStatus enum.

type AppStatusRuntimeStatus

type AppStatusRuntimeStatus string

AppStatusRuntimeStatus The runtime status

const (
	AppStatusRuntimeStatusCrashing         AppStatusRuntimeStatus = "crashing"
	AppStatusRuntimeStatusImagePullBackoff AppStatusRuntimeStatus = "imagePullBackoff"
	AppStatusRuntimeStatusPending          AppStatusRuntimeStatus = "pending"
	AppStatusRuntimeStatusRunning          AppStatusRuntimeStatus = "running"
	AppStatusRuntimeStatusStopped          AppStatusRuntimeStatus = "stopped"
	AppStatusRuntimeStatusUnhealthy        AppStatusRuntimeStatus = "unhealthy"
)

Defines values for AppStatusRuntimeStatus.

func (AppStatusRuntimeStatus) Valid

func (e AppStatusRuntimeStatus) Valid() bool

Valid indicates whether the value is a known member of the AppStatusRuntimeStatus enum.

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

func (c *Client) AddDomain(ctx context.Context, projectName string, appName string, body AddDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

AddDomain Add domain to app

Takes a body of the `application/json` content type.

Corresponds with POST /api/projects/{projectName}/apps/{appName}/domain (the `AddDomain` operationId).

func (*Client) AddDomainWithBody

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

AddDomainWithBody Add domain to app

Takes any type of body and a specified content type.

Corresponds with POST /api/projects/{projectName}/apps/{appName}/domain (the `AddDomain` operationId).

func (*Client) CreateApp

func (c *Client) CreateApp(ctx context.Context, projectName string, body CreateAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateApp Create an app

Create an app gets a project as a query parameter and returns the app.

Takes a body of the `application/json` content type.

Corresponds with POST /api/projects/{projectName}/apps (the `CreateApp` operationId).

func (*Client) CreateAppWithBody

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

CreateAppWithBody Create an app

Create an app gets a project as a query parameter and returns the app.

Takes any type of body and a specified content type.

Corresponds with POST /api/projects/{projectName}/apps (the `CreateApp` operationId).

func (*Client) CreateMysql

func (c *Client) CreateMysql(ctx context.Context, projectName string, body CreateMysqlJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateMysql Create a new mysql

Takes a body of the `application/json` content type.

Corresponds with POST /api/projects/{projectName}/mysqls (the `CreateMysql` operationId).

func (*Client) CreateMysqlWithBody

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

CreateMysqlWithBody Create a new mysql

Takes any type of body and a specified content type.

Corresponds with POST /api/projects/{projectName}/mysqls (the `CreateMysql` operationId).

func (*Client) CreatePostgres

func (c *Client) CreatePostgres(ctx context.Context, projectName string, body CreatePostgresJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreatePostgres Create a new postgres instance

Takes a body of the `application/json` content type.

Corresponds with POST /api/projects/{projectName}/postgres (the `CreatePostgres` operationId).

func (*Client) CreatePostgresWithBody

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

CreatePostgresWithBody Create a new postgres instance

Takes any type of body and a specified content type.

Corresponds with POST /api/projects/{projectName}/postgres (the `CreatePostgres` operationId).

func (*Client) CreateProject

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

CreateProject Create a project

Create a project gets a region as a query parameter and returns the project.

Corresponds with POST /api/projects (the `CreateProject` operationId).

func (*Client) CreateRedis

func (c *Client) CreateRedis(ctx context.Context, projectName string, body CreateRedisJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateRedis Create a redis

Takes a body of the `application/json` content type.

Corresponds with POST /api/projects/{projectName}/redises (the `CreateRedis` operationId).

func (*Client) CreateRedisWithBody

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

CreateRedisWithBody Create a redis

Takes any type of body and a specified content type.

Corresponds with POST /api/projects/{projectName}/redises (the `CreateRedis` operationId).

func (*Client) CreateVolume

func (c *Client) CreateVolume(ctx context.Context, projectName string, body CreateVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateVolume Create a new storage volume

Takes a body of the `application/json` content type.

Corresponds with POST /api/projects/{projectName}/volumes (the `CreateVolume` operationId).

func (*Client) CreateVolumeWithBody

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

CreateVolumeWithBody Create a new storage volume

Takes any type of body and a specified content type.

Corresponds with POST /api/projects/{projectName}/volumes (the `CreateVolume` operationId).

func (*Client) DeleteApp

func (c *Client) DeleteApp(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteApp Delete an app

Corresponds with DELETE /api/projects/{projectName}/apps/{appName} (the `DeleteApp` operationId).

func (*Client) DeleteMysql

func (c *Client) DeleteMysql(ctx context.Context, projectName string, mysqlName string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteMysql Delete a mysql

Corresponds with DELETE /api/projects/{projectName}/mysqls/{mysqlName} (the `DeleteMysql` operationId).

func (*Client) DeletePostgres

func (c *Client) DeletePostgres(ctx context.Context, projectName string, postgresName string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeletePostgres Delete a postgres instance

Corresponds with DELETE /api/projects/{projectName}/postgres/{postgresName} (the `DeletePostgres` operationId).

func (*Client) DeleteProject

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

DeleteProject Delete a project

Corresponds with DELETE /api/projects/{projectName} (the `DeleteProject` operationId).

func (*Client) DeleteRedis

func (c *Client) DeleteRedis(ctx context.Context, projectName string, redisName string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteRedis Delete a redis

Corresponds with DELETE /api/projects/{projectName}/redises/{redisName} (the `DeleteRedis` operationId).

func (*Client) DeleteVolume

func (c *Client) DeleteVolume(ctx context.Context, projectName string, volumeName string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteVolume Delete a storage volume

Corresponds with DELETE /api/projects/{projectName}/volume/{volumeName} (the `DeleteVolume` operationId).

func (*Client) DeviceAuthorize added in v0.1.20

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

DeviceAuthorize Start a device authorization

Starts a device-code login (RFC 8628). The client shows the user code and verification URI to the user, then polls /api/users/device/token until the user approves.

Takes a body of the `application/json` content type.

Corresponds with POST /api/users/device/authorize (the `DeviceAuthorize` operationId).

func (*Client) DeviceAuthorizeWithBody added in v0.1.20

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

DeviceAuthorizeWithBody Start a device authorization

Starts a device-code login (RFC 8628). The client shows the user code and verification URI to the user, then polls /api/users/device/token until the user approves.

Takes any type of body and a specified content type.

Corresponds with POST /api/users/device/authorize (the `DeviceAuthorize` operationId).

func (*Client) DeviceToken added in v0.1.20

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

DeviceToken Poll a device authorization

Polls a device authorization. Returns pending until the user approves, then the API token exactly once.

Takes a body of the `application/json` content type.

Corresponds with POST /api/users/device/token (the `DeviceToken` operationId).

func (*Client) DeviceTokenWithBody added in v0.1.20

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

DeviceTokenWithBody Poll a device authorization

Polls a device authorization. Returns pending until the user approves, then the API token exactly once.

Takes any type of body and a specified content type.

Corresponds with POST /api/users/device/token (the `DeviceToken` operationId).

func (*Client) GetApp

func (c *Client) GetApp(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetApp Get an app

Corresponds with GET /api/projects/{projectName}/apps/{appName} (the `GetApp` operationId).

func (*Client) GetAppEnv

func (c *Client) GetAppEnv(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetAppEnv Get environment variables

Corresponds with GET /api/projects/{projectName}/apps/{appName}/env (the `GetAppEnv` operationId).

func (*Client) GetAppEvents

func (c *Client) GetAppEvents(ctx context.Context, projectName string, appName string, params *GetAppEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetAppEvents Get app events

Corresponds with GET /api/projects/{projectName}/apps/{appName}/events (the `GetAppEvents` operationId).

func (*Client) GetAppLogs

func (c *Client) GetAppLogs(ctx context.Context, projectName string, appName string, params *GetAppLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetAppLogs Get app logs

Get app logs with cursor-based pagination (infinite scroll).

Corresponds with GET /api/projects/{projectName}/apps/{appName}/logs (the `GetAppLogs` operationId).

func (*Client) GetAppStatus

func (c *Client) GetAppStatus(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetAppStatus Get app status

Corresponds with GET /api/projects/{projectName}/apps/{appName}/status (the `GetAppStatus` operationId).

func (*Client) GetApps

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

GetApps Get all apps in a project

Get all apps in a project from the database.

Corresponds with GET /api/projects/{projectName}/apps (the `GetApps` operationId).

func (*Client) GetDomainStatus

func (c *Client) GetDomainStatus(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDomainStatus Get DNS status of the app domains

Resolve each custom domain of the app and report whether it points to the region ingress IP.

Corresponds with GET /api/projects/{projectName}/apps/{appName}/domain/status (the `GetDomainStatus` operationId).

func (*Client) GetGlobalEnv

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

GetGlobalEnv Get global environment variables

Corresponds with GET /api/projects/{projectName}/globalenv (the `GetGlobalEnv` operationId).

func (*Client) GetMySQLEvents

func (c *Client) GetMySQLEvents(ctx context.Context, projectName string, mysqlName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetMySQLEvents Get mysql events

Corresponds with GET /api/projects/{projectName}/mysqls/{mysqlName}/events (the `GetMySQLEvents` operationId).

func (*Client) GetMysql

func (c *Client) GetMysql(ctx context.Context, projectName string, mysqlName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetMysql Get a mysql

Corresponds with GET /api/projects/{projectName}/mysqls/{mysqlName} (the `GetMysql` operationId).

func (*Client) GetMysqlCredentials

func (c *Client) GetMysqlCredentials(ctx context.Context, projectName string, mysqlName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetMysqlCredentials Get mysql credentials

Corresponds with GET /api/projects/{projectName}/mysqls/{mysqlName}/credentials (the `GetMysqlCredentials` operationId).

func (*Client) GetMysqlEnv

func (c *Client) GetMysqlEnv(ctx context.Context, projectName string, mysqlName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetMysqlEnv Get environment variables for MySQL

Returns environment variables for a specific MySQL instance.

Corresponds with GET /api/projects/{projectName}/mysqls/{mysqlName}/env (the `GetMysqlEnv` operationId).

func (*Client) GetMysqlStatus

func (c *Client) GetMysqlStatus(ctx context.Context, projectName string, mysqlName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetMysqlStatus Get mysql status

Corresponds with GET /api/projects/{projectName}/mysqls/{mysqlName}/status (the `GetMysqlStatus` operationId).

func (*Client) GetMysqls

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

GetMysqls Get all mysqls in a project

Corresponds with GET /api/projects/{projectName}/mysqls (the `GetMysqls` operationId).

func (*Client) GetPostgres

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

GetPostgres Get all postgres instances in a project

Corresponds with GET /api/projects/{projectName}/postgres (the `GetPostgres` operationId).

func (*Client) GetPostgresCredentials

func (c *Client) GetPostgresCredentials(ctx context.Context, projectName string, postgresName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetPostgresCredentials Get postgres credentials

Corresponds with GET /api/projects/{projectName}/postgres/{postgresName}/credentials (the `GetPostgresCredentials` operationId).

func (*Client) GetPostgresEnv

func (c *Client) GetPostgresEnv(ctx context.Context, projectName string, postgresName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetPostgresEnv Get environment variables for Postgres

Returns environment variables for a specific Postgres instance.

Corresponds with GET /api/projects/{projectName}/postgres/{postgresName}/env (the `GetPostgresEnv` operationId).

func (*Client) GetPostgresEvents

func (c *Client) GetPostgresEvents(ctx context.Context, projectName string, postgresName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetPostgresEvents Get postgres events

Corresponds with GET /api/projects/{projectName}/postgres/{postgresName}/events (the `GetPostgresEvents` operationId).

func (*Client) GetPostgresExtensions

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

GetPostgresExtensions Get available PostgreSQL extensions

Get the PostgreSQL extensions a database may request.

Corresponds with GET /api/postgres/extensions (the `GetPostgresExtensions` operationId).

func (*Client) GetPostgresInstance

func (c *Client) GetPostgresInstance(ctx context.Context, projectName string, postgresName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetPostgresInstance Get a postgres instance

Corresponds with GET /api/projects/{projectName}/postgres/{postgresName} (the `GetPostgresInstance` operationId).

func (*Client) GetPostgresStatus

func (c *Client) GetPostgresStatus(ctx context.Context, projectName string, postgresName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetPostgresStatus Get postgres status

Corresponds with GET /api/projects/{projectName}/postgres/{postgresName}/status (the `GetPostgresStatus` operationId).

func (*Client) GetProject

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

GetProject Get a project

Get a project from the database.

Corresponds with GET /api/projects/{projectName} (the `GetProject` operationId).

func (*Client) GetProjectEvents

func (c *Client) GetProjectEvents(ctx context.Context, projectName string, params *GetProjectEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetProjectEvents Get project events

Corresponds with GET /api/projects/{projectName}/events (the `GetProjectEvents` operationId).

func (*Client) GetProjects

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

GetProjects Get all projects

Get all projects from the database.

Corresponds with GET /api/projects (the `GetProjects` operationId).

func (*Client) GetRedis

func (c *Client) GetRedis(ctx context.Context, projectName string, redisName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetRedis Get redis

Corresponds with GET /api/projects/{projectName}/redises/{redisName} (the `GetRedis` operationId).

func (*Client) GetRedisCredentials

func (c *Client) GetRedisCredentials(ctx context.Context, projectName string, redisName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetRedisCredentials Get redis credentials

Corresponds with GET /api/projects/{projectName}/redises/{redisName}/credentials (the `GetRedisCredentials` operationId).

func (*Client) GetRedisEnv

func (c *Client) GetRedisEnv(ctx context.Context, projectName string, redisName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetRedisEnv Get environment variables for Redis

Returns environment variables for a specific Redis instance.

Corresponds with GET /api/projects/{projectName}/redises/{redisName}/env (the `GetRedisEnv` operationId).

func (*Client) GetRedisEvents

func (c *Client) GetRedisEvents(ctx context.Context, projectName string, redisName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetRedisEvents Get redis events

Corresponds with GET /api/projects/{projectName}/redis/{redisName}/events (the `GetRedisEvents` operationId).

func (*Client) GetRedisStatus

func (c *Client) GetRedisStatus(ctx context.Context, projectName string, redisName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetRedisStatus Get redis status

Corresponds with GET /api/projects/{projectName}/redises/{redisName}/status (the `GetRedisStatus` operationId).

func (*Client) GetRedises

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

GetRedises Get redises

Corresponds with GET /api/projects/{projectName}/redises (the `GetRedises` operationId).

func (*Client) GetRegion

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

GetRegion Get a region

Get a region from the database.

Corresponds with GET /api/regions/{regionName} (the `GetRegion` operationId).

func (*Client) GetRegionAppPricing

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

GetRegionAppPricing Get region app pricing

Get region pricing.

Corresponds with GET /api/regions/{regionName}/pricing/apps (the `GetRegionAppPricing` operationId).

func (*Client) GetRegionMySQLPricing

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

GetRegionMySQLPricing Get region MySQL pricing

Corresponds with GET /api/regions/{regionName}/pricing/mysql (the `GetRegionMySQLPricing` operationId).

func (*Client) GetRegionPostgresPricing

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

GetRegionPostgresPricing Get region PostgreSQL pricing

Corresponds with GET /api/regions/{regionName}/pricing/postgres (the `GetRegionPostgresPricing` operationId).

func (*Client) GetRegionRedisPricing

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

GetRegionRedisPricing Get region Redis pricing

Corresponds with GET /api/regions/{regionName}/pricing/redis (the `GetRegionRedisPricing` operationId).

func (*Client) GetRegionVolumePricing

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

GetRegionVolumePricing Get region volume pricing

Corresponds with GET /api/regions/{regionName}/pricing/volume (the `GetRegionVolumePricing` operationId).

func (*Client) GetRegions

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

GetRegions Get all regions

Get all regions from the database.

Corresponds with GET /api/regions (the `GetRegions` operationId).

func (*Client) GetTemplates

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

GetTemplates Get all templates

Get all templates from the database.

Corresponds with GET /api/templates (the `GetTemplates` operationId).

func (*Client) GetVolume

func (c *Client) GetVolume(ctx context.Context, projectName string, volumeName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetVolume Get a storage volume

Corresponds with GET /api/projects/{projectName}/volume/{volumeName} (the `GetVolume` operationId).

func (*Client) GetVolumes

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

GetVolumes Get all storage volumes for a project

Corresponds with GET /api/projects/{projectName}/volumes (the `GetVolumes` operationId).

func (*Client) ParseDockerCompose

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

ParseDockerCompose Parse Docker Compose file into a deployment template

Uploads a Docker Compose YAML file and returns a generated deployment template.

Takes a body of the `application/json` content type.

Corresponds with POST /api/templates/docker-compose (the `ParseDockerCompose` operationId).

func (*Client) ParseDockerComposeWithBody

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

ParseDockerComposeWithBody Parse Docker Compose file into a deployment template

Uploads a Docker Compose YAML file and returns a generated deployment template.

Takes any type of body and a specified content type.

Corresponds with POST /api/templates/docker-compose (the `ParseDockerCompose` operationId).

func (*Client) RebuildApp

func (c *Client) RebuildApp(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

RebuildApp Rebuild an app

Corresponds with POST /api/projects/{projectName}/apps/{appName}/rebuild (the `RebuildApp` operationId).

func (*Client) RemoveDomain

func (c *Client) RemoveDomain(ctx context.Context, projectName string, appName string, body RemoveDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

RemoveDomain Remove domain from app

Takes a body of the `application/json` content type.

Corresponds with DELETE /api/projects/{projectName}/apps/{appName}/domain (the `RemoveDomain` operationId).

func (*Client) RemoveDomainWithBody

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

RemoveDomainWithBody Remove domain from app

Takes any type of body and a specified content type.

Corresponds with DELETE /api/projects/{projectName}/apps/{appName}/domain (the `RemoveDomain` operationId).

func (*Client) RestartApp

func (c *Client) RestartApp(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

RestartApp Restart an app

Corresponds with POST /api/projects/{projectName}/apps/{appName}/restart (the `RestartApp` operationId).

func (*Client) SetAppEnv

func (c *Client) SetAppEnv(ctx context.Context, projectName string, appName string, body SetAppEnvJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetAppEnv Set environment variables

Takes a body of the `application/json` content type.

Corresponds with PUT /api/projects/{projectName}/apps/{appName}/env (the `SetAppEnv` operationId).

func (*Client) SetAppEnvWithBody

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

SetAppEnvWithBody Set environment variables

Takes any type of body and a specified content type.

Corresponds with PUT /api/projects/{projectName}/apps/{appName}/env (the `SetAppEnv` operationId).

func (*Client) SetGlobalEnv

func (c *Client) SetGlobalEnv(ctx context.Context, projectName string, body SetGlobalEnvJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetGlobalEnv Set global environment variables

Takes a body of the `application/json` content type.

Corresponds with PUT /api/projects/{projectName}/globalenv (the `SetGlobalEnv` operationId).

func (*Client) SetGlobalEnvWithBody

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

SetGlobalEnvWithBody Set global environment variables

Takes any type of body and a specified content type.

Corresponds with PUT /api/projects/{projectName}/globalenv (the `SetGlobalEnv` operationId).

func (*Client) StreamAppEvents

func (c *Client) StreamAppEvents(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

StreamAppEvents Get app events stream

Establishes a stream of events for a given app.

Corresponds with GET /api/projects/{projectName}/apps/{appName}/events/stream (the `StreamAppEvents` operationId).

func (*Client) StreamMySQLEvents

func (c *Client) StreamMySQLEvents(ctx context.Context, projectName string, mysqlName string, reqEditors ...RequestEditorFn) (*http.Response, error)

StreamMySQLEvents Get mysql events stream

Establishes a stream of events for a given mysql.

Corresponds with GET /api/projects/{projectName}/mysqls/{mysqlName}/events/stream (the `StreamMySQLEvents` operationId).

func (*Client) StreamPostgresEvents

func (c *Client) StreamPostgresEvents(ctx context.Context, projectName string, postgresName string, reqEditors ...RequestEditorFn) (*http.Response, error)

StreamPostgresEvents Get postgres events stream

Establishes a stream of events for a given postgres.

Corresponds with GET /api/projects/{projectName}/postgres/{postgresName}/events/stream (the `StreamPostgresEvents` operationId).

func (*Client) StreamProjectEvents

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

StreamProjectEvents Get project events stream

Establishes a stream of events for a given project.

Corresponds with GET /api/projects/{projectName}/events/stream (the `StreamProjectEvents` operationId).

func (*Client) StreamRedisEvents

func (c *Client) StreamRedisEvents(ctx context.Context, projectName string, redisName string, reqEditors ...RequestEditorFn) (*http.Response, error)

StreamRedisEvents Get redis events stream

Establishes a stream of events for a given redis.

Corresponds with GET /api/projects/{projectName}/redis/{redisName}/events/stream (the `StreamRedisEvents` operationId).

func (*Client) UpdateApp

func (c *Client) UpdateApp(ctx context.Context, projectName string, appName string, body UpdateAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateApp Update an app

Takes a body of the `application/json` content type.

Corresponds with PUT /api/projects/{projectName}/apps/{appName} (the `UpdateApp` operationId).

func (*Client) UpdateAppWithBody

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

UpdateAppWithBody Update an app

Takes any type of body and a specified content type.

Corresponds with PUT /api/projects/{projectName}/apps/{appName} (the `UpdateApp` operationId).

func (*Client) UpdateMysql

func (c *Client) UpdateMysql(ctx context.Context, projectName string, mysqlName string, body UpdateMysqlJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateMysql Update a mysql

Takes a body of the `application/json` content type.

Corresponds with PUT /api/projects/{projectName}/mysqls/{mysqlName} (the `UpdateMysql` operationId).

func (*Client) UpdateMysqlWithBody

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

UpdateMysqlWithBody Update a mysql

Takes any type of body and a specified content type.

Corresponds with PUT /api/projects/{projectName}/mysqls/{mysqlName} (the `UpdateMysql` operationId).

func (*Client) UpdatePostgres

func (c *Client) UpdatePostgres(ctx context.Context, projectName string, postgresName string, body UpdatePostgresJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdatePostgres Update a postgres instance

Takes a body of the `application/json` content type.

Corresponds with PUT /api/projects/{projectName}/postgres/{postgresName} (the `UpdatePostgres` operationId).

func (*Client) UpdatePostgresWithBody

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

UpdatePostgresWithBody Update a postgres instance

Takes any type of body and a specified content type.

Corresponds with PUT /api/projects/{projectName}/postgres/{postgresName} (the `UpdatePostgres` operationId).

func (*Client) UpdateProject

func (c *Client) UpdateProject(ctx context.Context, projectName string, params *UpdateProjectParams, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateProject Update a project

Takes a body of the `application/json` content type.

Corresponds with PUT /api/projects/{projectName} (the `UpdateProject` operationId).

func (*Client) UpdateProjectWithBody

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

UpdateProjectWithBody Update a project

Takes any type of body and a specified content type.

Corresponds with PUT /api/projects/{projectName} (the `UpdateProject` operationId).

func (*Client) UpdateRedis

func (c *Client) UpdateRedis(ctx context.Context, projectName string, redisName string, body UpdateRedisJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateRedis Update a redis

Takes a body of the `application/json` content type.

Corresponds with PUT /api/projects/{projectName}/redises/{redisName} (the `UpdateRedis` operationId).

func (*Client) UpdateRedisWithBody

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

UpdateRedisWithBody Update a redis

Takes any type of body and a specified content type.

Corresponds with PUT /api/projects/{projectName}/redises/{redisName} (the `UpdateRedis` operationId).

func (*Client) UpdateVolume

func (c *Client) UpdateVolume(ctx context.Context, projectName string, volumeName string, body UpdateVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateVolume Update a storage volume

Takes a body of the `application/json` content type.

Corresponds with PUT /api/projects/{projectName}/volume/{volumeName} (the `UpdateVolume` operationId).

func (*Client) UpdateVolumeWithBody

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

UpdateVolumeWithBody Update a storage volume

Takes any type of body and a specified content type.

Corresponds with PUT /api/projects/{projectName}/volume/{volumeName} (the `UpdateVolume` operationId).

type ClientInterface

type ClientInterface interface {

	// GetPostgresExtensions Get available PostgreSQL extensions
	//
	// Get the PostgreSQL extensions a database may request.
	//
	// Corresponds with GET /api/postgres/extensions (the `GetPostgresExtensions` operationId).
	GetPostgresExtensions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProjects Get all projects
	//
	// Get all projects from the database.
	//
	// Corresponds with GET /api/projects (the `GetProjects` operationId).
	GetProjects(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateProject Create a project
	//
	// Create a project gets a region as a query parameter and returns the project.
	//
	// Corresponds with POST /api/projects (the `CreateProject` operationId).
	CreateProject(ctx context.Context, params *CreateProjectParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteProject Delete a project
	//
	// Corresponds with DELETE /api/projects/{projectName} (the `DeleteProject` operationId).
	DeleteProject(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProject Get a project
	//
	// Get a project from the database.
	//
	// Corresponds with GET /api/projects/{projectName} (the `GetProject` operationId).
	GetProject(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateProjectWithBody Update a project
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/projects/{projectName} (the `UpdateProject` operationId).
	UpdateProjectWithBody(ctx context.Context, projectName string, params *UpdateProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateProject Update a project
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/projects/{projectName} (the `UpdateProject` operationId).
	UpdateProject(ctx context.Context, projectName string, params *UpdateProjectParams, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApps Get all apps in a project
	//
	// Get all apps in a project from the database.
	//
	// Corresponds with GET /api/projects/{projectName}/apps (the `GetApps` operationId).
	GetApps(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateAppWithBody Create an app
	//
	// Create an app gets a project as a query parameter and returns the app.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/projects/{projectName}/apps (the `CreateApp` operationId).
	CreateAppWithBody(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateApp Create an app
	//
	// Create an app gets a project as a query parameter and returns the app.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/projects/{projectName}/apps (the `CreateApp` operationId).
	CreateApp(ctx context.Context, projectName string, body CreateAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteApp Delete an app
	//
	// Corresponds with DELETE /api/projects/{projectName}/apps/{appName} (the `DeleteApp` operationId).
	DeleteApp(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApp Get an app
	//
	// Corresponds with GET /api/projects/{projectName}/apps/{appName} (the `GetApp` operationId).
	GetApp(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateAppWithBody Update an app
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/projects/{projectName}/apps/{appName} (the `UpdateApp` operationId).
	UpdateAppWithBody(ctx context.Context, projectName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateApp Update an app
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/projects/{projectName}/apps/{appName} (the `UpdateApp` operationId).
	UpdateApp(ctx context.Context, projectName string, appName string, body UpdateAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveDomainWithBody Remove domain from app
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with DELETE /api/projects/{projectName}/apps/{appName}/domain (the `RemoveDomain` operationId).
	RemoveDomainWithBody(ctx context.Context, projectName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveDomain Remove domain from app
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with DELETE /api/projects/{projectName}/apps/{appName}/domain (the `RemoveDomain` operationId).
	RemoveDomain(ctx context.Context, projectName string, appName string, body RemoveDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddDomainWithBody Add domain to app
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/projects/{projectName}/apps/{appName}/domain (the `AddDomain` operationId).
	AddDomainWithBody(ctx context.Context, projectName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddDomain Add domain to app
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/projects/{projectName}/apps/{appName}/domain (the `AddDomain` operationId).
	AddDomain(ctx context.Context, projectName string, appName string, body AddDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDomainStatus Get DNS status of the app domains
	//
	// Resolve each custom domain of the app and report whether it points to the region ingress IP.
	//
	// Corresponds with GET /api/projects/{projectName}/apps/{appName}/domain/status (the `GetDomainStatus` operationId).
	GetDomainStatus(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAppEnv Get environment variables
	//
	// Corresponds with GET /api/projects/{projectName}/apps/{appName}/env (the `GetAppEnv` operationId).
	GetAppEnv(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetAppEnvWithBody Set environment variables
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/projects/{projectName}/apps/{appName}/env (the `SetAppEnv` operationId).
	SetAppEnvWithBody(ctx context.Context, projectName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetAppEnv Set environment variables
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/projects/{projectName}/apps/{appName}/env (the `SetAppEnv` operationId).
	SetAppEnv(ctx context.Context, projectName string, appName string, body SetAppEnvJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAppEvents Get app events
	//
	// Corresponds with GET /api/projects/{projectName}/apps/{appName}/events (the `GetAppEvents` operationId).
	GetAppEvents(ctx context.Context, projectName string, appName string, params *GetAppEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StreamAppEvents Get app events stream
	//
	// Establishes a stream of events for a given app.
	//
	// Corresponds with GET /api/projects/{projectName}/apps/{appName}/events/stream (the `StreamAppEvents` operationId).
	StreamAppEvents(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAppLogs Get app logs
	//
	// Get app logs with cursor-based pagination (infinite scroll).
	//
	// Corresponds with GET /api/projects/{projectName}/apps/{appName}/logs (the `GetAppLogs` operationId).
	GetAppLogs(ctx context.Context, projectName string, appName string, params *GetAppLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RebuildApp Rebuild an app
	//
	// Corresponds with POST /api/projects/{projectName}/apps/{appName}/rebuild (the `RebuildApp` operationId).
	RebuildApp(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RestartApp Restart an app
	//
	// Corresponds with POST /api/projects/{projectName}/apps/{appName}/restart (the `RestartApp` operationId).
	RestartApp(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAppStatus Get app status
	//
	// Corresponds with GET /api/projects/{projectName}/apps/{appName}/status (the `GetAppStatus` operationId).
	GetAppStatus(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProjectEvents Get project events
	//
	// Corresponds with GET /api/projects/{projectName}/events (the `GetProjectEvents` operationId).
	GetProjectEvents(ctx context.Context, projectName string, params *GetProjectEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StreamProjectEvents Get project events stream
	//
	// Establishes a stream of events for a given project.
	//
	// Corresponds with GET /api/projects/{projectName}/events/stream (the `StreamProjectEvents` operationId).
	StreamProjectEvents(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetGlobalEnv Get global environment variables
	//
	// Corresponds with GET /api/projects/{projectName}/globalenv (the `GetGlobalEnv` operationId).
	GetGlobalEnv(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetGlobalEnvWithBody Set global environment variables
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/projects/{projectName}/globalenv (the `SetGlobalEnv` operationId).
	SetGlobalEnvWithBody(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetGlobalEnv Set global environment variables
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/projects/{projectName}/globalenv (the `SetGlobalEnv` operationId).
	SetGlobalEnv(ctx context.Context, projectName string, body SetGlobalEnvJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMysqls Get all mysqls in a project
	//
	// Corresponds with GET /api/projects/{projectName}/mysqls (the `GetMysqls` operationId).
	GetMysqls(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateMysqlWithBody Create a new mysql
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/projects/{projectName}/mysqls (the `CreateMysql` operationId).
	CreateMysqlWithBody(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateMysql Create a new mysql
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/projects/{projectName}/mysqls (the `CreateMysql` operationId).
	CreateMysql(ctx context.Context, projectName string, body CreateMysqlJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteMysql Delete a mysql
	//
	// Corresponds with DELETE /api/projects/{projectName}/mysqls/{mysqlName} (the `DeleteMysql` operationId).
	DeleteMysql(ctx context.Context, projectName string, mysqlName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMysql Get a mysql
	//
	// Corresponds with GET /api/projects/{projectName}/mysqls/{mysqlName} (the `GetMysql` operationId).
	GetMysql(ctx context.Context, projectName string, mysqlName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateMysqlWithBody Update a mysql
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/projects/{projectName}/mysqls/{mysqlName} (the `UpdateMysql` operationId).
	UpdateMysqlWithBody(ctx context.Context, projectName string, mysqlName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateMysql Update a mysql
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/projects/{projectName}/mysqls/{mysqlName} (the `UpdateMysql` operationId).
	UpdateMysql(ctx context.Context, projectName string, mysqlName string, body UpdateMysqlJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMysqlCredentials Get mysql credentials
	//
	// Corresponds with GET /api/projects/{projectName}/mysqls/{mysqlName}/credentials (the `GetMysqlCredentials` operationId).
	GetMysqlCredentials(ctx context.Context, projectName string, mysqlName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMysqlEnv Get environment variables for MySQL
	//
	// Returns environment variables for a specific MySQL instance.
	//
	// Corresponds with GET /api/projects/{projectName}/mysqls/{mysqlName}/env (the `GetMysqlEnv` operationId).
	GetMysqlEnv(ctx context.Context, projectName string, mysqlName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMySQLEvents Get mysql events
	//
	// Corresponds with GET /api/projects/{projectName}/mysqls/{mysqlName}/events (the `GetMySQLEvents` operationId).
	GetMySQLEvents(ctx context.Context, projectName string, mysqlName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StreamMySQLEvents Get mysql events stream
	//
	// Establishes a stream of events for a given mysql.
	//
	// Corresponds with GET /api/projects/{projectName}/mysqls/{mysqlName}/events/stream (the `StreamMySQLEvents` operationId).
	StreamMySQLEvents(ctx context.Context, projectName string, mysqlName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMysqlStatus Get mysql status
	//
	// Corresponds with GET /api/projects/{projectName}/mysqls/{mysqlName}/status (the `GetMysqlStatus` operationId).
	GetMysqlStatus(ctx context.Context, projectName string, mysqlName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPostgres Get all postgres instances in a project
	//
	// Corresponds with GET /api/projects/{projectName}/postgres (the `GetPostgres` operationId).
	GetPostgres(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreatePostgresWithBody Create a new postgres instance
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/projects/{projectName}/postgres (the `CreatePostgres` operationId).
	CreatePostgresWithBody(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreatePostgres Create a new postgres instance
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/projects/{projectName}/postgres (the `CreatePostgres` operationId).
	CreatePostgres(ctx context.Context, projectName string, body CreatePostgresJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeletePostgres Delete a postgres instance
	//
	// Corresponds with DELETE /api/projects/{projectName}/postgres/{postgresName} (the `DeletePostgres` operationId).
	DeletePostgres(ctx context.Context, projectName string, postgresName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPostgresInstance Get a postgres instance
	//
	// Corresponds with GET /api/projects/{projectName}/postgres/{postgresName} (the `GetPostgresInstance` operationId).
	GetPostgresInstance(ctx context.Context, projectName string, postgresName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdatePostgresWithBody Update a postgres instance
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/projects/{projectName}/postgres/{postgresName} (the `UpdatePostgres` operationId).
	UpdatePostgresWithBody(ctx context.Context, projectName string, postgresName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdatePostgres Update a postgres instance
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/projects/{projectName}/postgres/{postgresName} (the `UpdatePostgres` operationId).
	UpdatePostgres(ctx context.Context, projectName string, postgresName string, body UpdatePostgresJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPostgresCredentials Get postgres credentials
	//
	// Corresponds with GET /api/projects/{projectName}/postgres/{postgresName}/credentials (the `GetPostgresCredentials` operationId).
	GetPostgresCredentials(ctx context.Context, projectName string, postgresName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPostgresEnv Get environment variables for Postgres
	//
	// Returns environment variables for a specific Postgres instance.
	//
	// Corresponds with GET /api/projects/{projectName}/postgres/{postgresName}/env (the `GetPostgresEnv` operationId).
	GetPostgresEnv(ctx context.Context, projectName string, postgresName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPostgresEvents Get postgres events
	//
	// Corresponds with GET /api/projects/{projectName}/postgres/{postgresName}/events (the `GetPostgresEvents` operationId).
	GetPostgresEvents(ctx context.Context, projectName string, postgresName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StreamPostgresEvents Get postgres events stream
	//
	// Establishes a stream of events for a given postgres.
	//
	// Corresponds with GET /api/projects/{projectName}/postgres/{postgresName}/events/stream (the `StreamPostgresEvents` operationId).
	StreamPostgresEvents(ctx context.Context, projectName string, postgresName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPostgresStatus Get postgres status
	//
	// Corresponds with GET /api/projects/{projectName}/postgres/{postgresName}/status (the `GetPostgresStatus` operationId).
	GetPostgresStatus(ctx context.Context, projectName string, postgresName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetRedisEvents Get redis events
	//
	// Corresponds with GET /api/projects/{projectName}/redis/{redisName}/events (the `GetRedisEvents` operationId).
	GetRedisEvents(ctx context.Context, projectName string, redisName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StreamRedisEvents Get redis events stream
	//
	// Establishes a stream of events for a given redis.
	//
	// Corresponds with GET /api/projects/{projectName}/redis/{redisName}/events/stream (the `StreamRedisEvents` operationId).
	StreamRedisEvents(ctx context.Context, projectName string, redisName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetRedises Get redises
	//
	// Corresponds with GET /api/projects/{projectName}/redises (the `GetRedises` operationId).
	GetRedises(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateRedisWithBody Create a redis
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/projects/{projectName}/redises (the `CreateRedis` operationId).
	CreateRedisWithBody(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateRedis Create a redis
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/projects/{projectName}/redises (the `CreateRedis` operationId).
	CreateRedis(ctx context.Context, projectName string, body CreateRedisJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteRedis Delete a redis
	//
	// Corresponds with DELETE /api/projects/{projectName}/redises/{redisName} (the `DeleteRedis` operationId).
	DeleteRedis(ctx context.Context, projectName string, redisName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetRedis Get redis
	//
	// Corresponds with GET /api/projects/{projectName}/redises/{redisName} (the `GetRedis` operationId).
	GetRedis(ctx context.Context, projectName string, redisName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateRedisWithBody Update a redis
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/projects/{projectName}/redises/{redisName} (the `UpdateRedis` operationId).
	UpdateRedisWithBody(ctx context.Context, projectName string, redisName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateRedis Update a redis
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/projects/{projectName}/redises/{redisName} (the `UpdateRedis` operationId).
	UpdateRedis(ctx context.Context, projectName string, redisName string, body UpdateRedisJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetRedisCredentials Get redis credentials
	//
	// Corresponds with GET /api/projects/{projectName}/redises/{redisName}/credentials (the `GetRedisCredentials` operationId).
	GetRedisCredentials(ctx context.Context, projectName string, redisName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetRedisEnv Get environment variables for Redis
	//
	// Returns environment variables for a specific Redis instance.
	//
	// Corresponds with GET /api/projects/{projectName}/redises/{redisName}/env (the `GetRedisEnv` operationId).
	GetRedisEnv(ctx context.Context, projectName string, redisName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetRedisStatus Get redis status
	//
	// Corresponds with GET /api/projects/{projectName}/redises/{redisName}/status (the `GetRedisStatus` operationId).
	GetRedisStatus(ctx context.Context, projectName string, redisName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteVolume Delete a storage volume
	//
	// Corresponds with DELETE /api/projects/{projectName}/volume/{volumeName} (the `DeleteVolume` operationId).
	DeleteVolume(ctx context.Context, projectName string, volumeName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVolume Get a storage volume
	//
	// Corresponds with GET /api/projects/{projectName}/volume/{volumeName} (the `GetVolume` operationId).
	GetVolume(ctx context.Context, projectName string, volumeName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateVolumeWithBody Update a storage volume
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/projects/{projectName}/volume/{volumeName} (the `UpdateVolume` operationId).
	UpdateVolumeWithBody(ctx context.Context, projectName string, volumeName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateVolume Update a storage volume
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/projects/{projectName}/volume/{volumeName} (the `UpdateVolume` operationId).
	UpdateVolume(ctx context.Context, projectName string, volumeName string, body UpdateVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVolumes Get all storage volumes for a project
	//
	// Corresponds with GET /api/projects/{projectName}/volumes (the `GetVolumes` operationId).
	GetVolumes(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateVolumeWithBody Create a new storage volume
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/projects/{projectName}/volumes (the `CreateVolume` operationId).
	CreateVolumeWithBody(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateVolume Create a new storage volume
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/projects/{projectName}/volumes (the `CreateVolume` operationId).
	CreateVolume(ctx context.Context, projectName string, body CreateVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetRegions Get all regions
	//
	// Get all regions from the database.
	//
	// Corresponds with GET /api/regions (the `GetRegions` operationId).
	GetRegions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetRegion Get a region
	//
	// Get a region from the database.
	//
	// Corresponds with GET /api/regions/{regionName} (the `GetRegion` operationId).
	GetRegion(ctx context.Context, regionName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetRegionAppPricing Get region app pricing
	//
	// Get region pricing.
	//
	// Corresponds with GET /api/regions/{regionName}/pricing/apps (the `GetRegionAppPricing` operationId).
	GetRegionAppPricing(ctx context.Context, regionName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetRegionMySQLPricing Get region MySQL pricing
	//
	// Corresponds with GET /api/regions/{regionName}/pricing/mysql (the `GetRegionMySQLPricing` operationId).
	GetRegionMySQLPricing(ctx context.Context, regionName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetRegionPostgresPricing Get region PostgreSQL pricing
	//
	// Corresponds with GET /api/regions/{regionName}/pricing/postgres (the `GetRegionPostgresPricing` operationId).
	GetRegionPostgresPricing(ctx context.Context, regionName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetRegionRedisPricing Get region Redis pricing
	//
	// Corresponds with GET /api/regions/{regionName}/pricing/redis (the `GetRegionRedisPricing` operationId).
	GetRegionRedisPricing(ctx context.Context, regionName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetRegionVolumePricing Get region volume pricing
	//
	// Corresponds with GET /api/regions/{regionName}/pricing/volume (the `GetRegionVolumePricing` operationId).
	GetRegionVolumePricing(ctx context.Context, regionName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTemplates Get all templates
	//
	// Get all templates from the database.
	//
	// Corresponds with GET /api/templates (the `GetTemplates` operationId).
	GetTemplates(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ParseDockerComposeWithBody Parse Docker Compose file into a deployment template
	//
	// Uploads a Docker Compose YAML file and returns a generated deployment template.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/templates/docker-compose (the `ParseDockerCompose` operationId).
	ParseDockerComposeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ParseDockerCompose Parse Docker Compose file into a deployment template
	//
	// Uploads a Docker Compose YAML file and returns a generated deployment template.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/templates/docker-compose (the `ParseDockerCompose` operationId).
	ParseDockerCompose(ctx context.Context, body ParseDockerComposeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeviceAuthorizeWithBody Start a device authorization
	//
	// Starts a device-code login (RFC 8628). The client shows the user code and verification URI to the user, then polls /api/users/device/token until the user approves.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/users/device/authorize (the `DeviceAuthorize` operationId).
	DeviceAuthorizeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeviceAuthorize Start a device authorization
	//
	// Starts a device-code login (RFC 8628). The client shows the user code and verification URI to the user, then polls /api/users/device/token until the user approves.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/users/device/authorize (the `DeviceAuthorize` operationId).
	DeviceAuthorize(ctx context.Context, body DeviceAuthorizeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeviceTokenWithBody Poll a device authorization
	//
	// Polls a device authorization. Returns pending until the user approves, then the API token exactly once.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/users/device/token (the `DeviceToken` operationId).
	DeviceTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeviceToken Poll a device authorization
	//
	// Polls a device authorization. Returns pending until the user approves, then the API token exactly once.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/users/device/token (the `DeviceToken` operationId).
	DeviceToken(ctx context.Context, body DeviceTokenJSONRequestBody, 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 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) AddDomainWithBodyWithResponse

func (c *ClientWithResponses) AddDomainWithBodyWithResponse(ctx context.Context, projectName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddDomainResponse, error)

AddDomainWithBodyWithResponse Add domain to app

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/projects/{projectName}/apps/{appName}/domain (the `AddDomain` operationId).

func (*ClientWithResponses) AddDomainWithResponse

func (c *ClientWithResponses) AddDomainWithResponse(ctx context.Context, projectName string, appName string, body AddDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*AddDomainResponse, error)

AddDomainWithResponse Add domain to app

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/projects/{projectName}/apps/{appName}/domain (the `AddDomain` operationId).

func (*ClientWithResponses) CreateAppWithBodyWithResponse

func (c *ClientWithResponses) CreateAppWithBodyWithResponse(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAppResponse, error)

CreateAppWithBodyWithResponse Create an app

Create an app gets a project as a query parameter and returns the app.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/projects/{projectName}/apps (the `CreateApp` operationId).

func (*ClientWithResponses) CreateAppWithResponse

func (c *ClientWithResponses) CreateAppWithResponse(ctx context.Context, projectName string, body CreateAppJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAppResponse, error)

CreateAppWithResponse Create an app

Create an app gets a project as a query parameter and returns the app.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/projects/{projectName}/apps (the `CreateApp` operationId).

func (*ClientWithResponses) CreateMysqlWithBodyWithResponse

func (c *ClientWithResponses) CreateMysqlWithBodyWithResponse(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMysqlResponse, error)

CreateMysqlWithBodyWithResponse Create a new mysql

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/projects/{projectName}/mysqls (the `CreateMysql` operationId).

func (*ClientWithResponses) CreateMysqlWithResponse

func (c *ClientWithResponses) CreateMysqlWithResponse(ctx context.Context, projectName string, body CreateMysqlJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMysqlResponse, error)

CreateMysqlWithResponse Create a new mysql

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/projects/{projectName}/mysqls (the `CreateMysql` operationId).

func (*ClientWithResponses) CreatePostgresWithBodyWithResponse

func (c *ClientWithResponses) CreatePostgresWithBodyWithResponse(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePostgresResponse, error)

CreatePostgresWithBodyWithResponse Create a new postgres instance

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/projects/{projectName}/postgres (the `CreatePostgres` operationId).

func (*ClientWithResponses) CreatePostgresWithResponse

func (c *ClientWithResponses) CreatePostgresWithResponse(ctx context.Context, projectName string, body CreatePostgresJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePostgresResponse, error)

CreatePostgresWithResponse Create a new postgres instance

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/projects/{projectName}/postgres (the `CreatePostgres` operationId).

func (*ClientWithResponses) CreateProjectWithResponse

func (c *ClientWithResponses) CreateProjectWithResponse(ctx context.Context, params *CreateProjectParams, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)

CreateProjectWithResponse Create a project

Create a project gets a region as a query parameter and returns the project.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /api/projects (the `CreateProject` operationId).

func (*ClientWithResponses) CreateRedisWithBodyWithResponse

func (c *ClientWithResponses) CreateRedisWithBodyWithResponse(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRedisResponse, error)

CreateRedisWithBodyWithResponse Create a redis

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/projects/{projectName}/redises (the `CreateRedis` operationId).

func (*ClientWithResponses) CreateRedisWithResponse

func (c *ClientWithResponses) CreateRedisWithResponse(ctx context.Context, projectName string, body CreateRedisJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRedisResponse, error)

CreateRedisWithResponse Create a redis

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/projects/{projectName}/redises (the `CreateRedis` operationId).

func (*ClientWithResponses) CreateVolumeWithBodyWithResponse

func (c *ClientWithResponses) CreateVolumeWithBodyWithResponse(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVolumeResponse, error)

CreateVolumeWithBodyWithResponse Create a new storage volume

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/projects/{projectName}/volumes (the `CreateVolume` operationId).

func (*ClientWithResponses) CreateVolumeWithResponse

func (c *ClientWithResponses) CreateVolumeWithResponse(ctx context.Context, projectName string, body CreateVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVolumeResponse, error)

CreateVolumeWithResponse Create a new storage volume

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/projects/{projectName}/volumes (the `CreateVolume` operationId).

func (*ClientWithResponses) DeleteAppWithResponse

func (c *ClientWithResponses) DeleteAppWithResponse(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*DeleteAppResponse, error)

DeleteAppWithResponse Delete an app

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/projects/{projectName}/apps/{appName} (the `DeleteApp` operationId).

func (*ClientWithResponses) DeleteMysqlWithResponse

func (c *ClientWithResponses) DeleteMysqlWithResponse(ctx context.Context, projectName string, mysqlName string, reqEditors ...RequestEditorFn) (*DeleteMysqlResponse, error)

DeleteMysqlWithResponse Delete a mysql

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/projects/{projectName}/mysqls/{mysqlName} (the `DeleteMysql` operationId).

func (*ClientWithResponses) DeletePostgresWithResponse

func (c *ClientWithResponses) DeletePostgresWithResponse(ctx context.Context, projectName string, postgresName string, reqEditors ...RequestEditorFn) (*DeletePostgresResponse, error)

DeletePostgresWithResponse Delete a postgres instance

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/projects/{projectName}/postgres/{postgresName} (the `DeletePostgres` operationId).

func (*ClientWithResponses) DeleteProjectWithResponse

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

DeleteProjectWithResponse Delete a project

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/projects/{projectName} (the `DeleteProject` operationId).

func (*ClientWithResponses) DeleteRedisWithResponse

func (c *ClientWithResponses) DeleteRedisWithResponse(ctx context.Context, projectName string, redisName string, reqEditors ...RequestEditorFn) (*DeleteRedisResponse, error)

DeleteRedisWithResponse Delete a redis

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/projects/{projectName}/redises/{redisName} (the `DeleteRedis` operationId).

func (*ClientWithResponses) DeleteVolumeWithResponse

func (c *ClientWithResponses) DeleteVolumeWithResponse(ctx context.Context, projectName string, volumeName string, reqEditors ...RequestEditorFn) (*DeleteVolumeResponse, error)

DeleteVolumeWithResponse Delete a storage volume

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/projects/{projectName}/volume/{volumeName} (the `DeleteVolume` operationId).

func (*ClientWithResponses) DeviceAuthorizeWithBodyWithResponse added in v0.1.20

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

DeviceAuthorizeWithBodyWithResponse Start a device authorization

Starts a device-code login (RFC 8628). The client shows the user code and verification URI to the user, then polls /api/users/device/token until the user approves.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/users/device/authorize (the `DeviceAuthorize` operationId).

func (*ClientWithResponses) DeviceAuthorizeWithResponse added in v0.1.20

func (c *ClientWithResponses) DeviceAuthorizeWithResponse(ctx context.Context, body DeviceAuthorizeJSONRequestBody, reqEditors ...RequestEditorFn) (*DeviceAuthorizeResponse, error)

DeviceAuthorizeWithResponse Start a device authorization

Starts a device-code login (RFC 8628). The client shows the user code and verification URI to the user, then polls /api/users/device/token until the user approves.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/users/device/authorize (the `DeviceAuthorize` operationId).

func (*ClientWithResponses) DeviceTokenWithBodyWithResponse added in v0.1.20

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

DeviceTokenWithBodyWithResponse Poll a device authorization

Polls a device authorization. Returns pending until the user approves, then the API token exactly once.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/users/device/token (the `DeviceToken` operationId).

func (*ClientWithResponses) DeviceTokenWithResponse added in v0.1.20

func (c *ClientWithResponses) DeviceTokenWithResponse(ctx context.Context, body DeviceTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*DeviceTokenResponse, error)

DeviceTokenWithResponse Poll a device authorization

Polls a device authorization. Returns pending until the user approves, then the API token exactly once.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/users/device/token (the `DeviceToken` operationId).

func (*ClientWithResponses) GetAppEnvWithResponse

func (c *ClientWithResponses) GetAppEnvWithResponse(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*GetAppEnvResponse, error)

GetAppEnvWithResponse Get environment variables

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/apps/{appName}/env (the `GetAppEnv` operationId).

func (*ClientWithResponses) GetAppEventsWithResponse

func (c *ClientWithResponses) GetAppEventsWithResponse(ctx context.Context, projectName string, appName string, params *GetAppEventsParams, reqEditors ...RequestEditorFn) (*GetAppEventsResponse, error)

GetAppEventsWithResponse Get app events

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/apps/{appName}/events (the `GetAppEvents` operationId).

func (*ClientWithResponses) GetAppLogsWithResponse

func (c *ClientWithResponses) GetAppLogsWithResponse(ctx context.Context, projectName string, appName string, params *GetAppLogsParams, reqEditors ...RequestEditorFn) (*GetAppLogsResponse, error)

GetAppLogsWithResponse Get app logs

Get app logs with cursor-based pagination (infinite scroll).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/apps/{appName}/logs (the `GetAppLogs` operationId).

func (*ClientWithResponses) GetAppStatusWithResponse

func (c *ClientWithResponses) GetAppStatusWithResponse(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*GetAppStatusResponse, error)

GetAppStatusWithResponse Get app status

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/apps/{appName}/status (the `GetAppStatus` operationId).

func (*ClientWithResponses) GetAppWithResponse

func (c *ClientWithResponses) GetAppWithResponse(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*GetAppResponse, error)

GetAppWithResponse Get an app

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/apps/{appName} (the `GetApp` operationId).

func (*ClientWithResponses) GetAppsWithResponse

func (c *ClientWithResponses) GetAppsWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetAppsResponse, error)

GetAppsWithResponse Get all apps in a project

Get all apps in a project from the database.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/apps (the `GetApps` operationId).

func (*ClientWithResponses) GetDomainStatusWithResponse

func (c *ClientWithResponses) GetDomainStatusWithResponse(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*GetDomainStatusResponse, error)

GetDomainStatusWithResponse Get DNS status of the app domains

Resolve each custom domain of the app and report whether it points to the region ingress IP.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/apps/{appName}/domain/status (the `GetDomainStatus` operationId).

func (*ClientWithResponses) GetGlobalEnvWithResponse

func (c *ClientWithResponses) GetGlobalEnvWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetGlobalEnvResponse, error)

GetGlobalEnvWithResponse Get global environment variables

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/globalenv (the `GetGlobalEnv` operationId).

func (*ClientWithResponses) GetMySQLEventsWithResponse

func (c *ClientWithResponses) GetMySQLEventsWithResponse(ctx context.Context, projectName string, mysqlName string, reqEditors ...RequestEditorFn) (*GetMySQLEventsResponse, error)

GetMySQLEventsWithResponse Get mysql events

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/mysqls/{mysqlName}/events (the `GetMySQLEvents` operationId).

func (*ClientWithResponses) GetMysqlCredentialsWithResponse

func (c *ClientWithResponses) GetMysqlCredentialsWithResponse(ctx context.Context, projectName string, mysqlName string, reqEditors ...RequestEditorFn) (*GetMysqlCredentialsResponse, error)

GetMysqlCredentialsWithResponse Get mysql credentials

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/mysqls/{mysqlName}/credentials (the `GetMysqlCredentials` operationId).

func (*ClientWithResponses) GetMysqlEnvWithResponse

func (c *ClientWithResponses) GetMysqlEnvWithResponse(ctx context.Context, projectName string, mysqlName string, reqEditors ...RequestEditorFn) (*GetMysqlEnvResponse, error)

GetMysqlEnvWithResponse Get environment variables for MySQL

Returns environment variables for a specific MySQL instance.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/mysqls/{mysqlName}/env (the `GetMysqlEnv` operationId).

func (*ClientWithResponses) GetMysqlStatusWithResponse

func (c *ClientWithResponses) GetMysqlStatusWithResponse(ctx context.Context, projectName string, mysqlName string, reqEditors ...RequestEditorFn) (*GetMysqlStatusResponse, error)

GetMysqlStatusWithResponse Get mysql status

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/mysqls/{mysqlName}/status (the `GetMysqlStatus` operationId).

func (*ClientWithResponses) GetMysqlWithResponse

func (c *ClientWithResponses) GetMysqlWithResponse(ctx context.Context, projectName string, mysqlName string, reqEditors ...RequestEditorFn) (*GetMysqlResponse, error)

GetMysqlWithResponse Get a mysql

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/mysqls/{mysqlName} (the `GetMysql` operationId).

func (*ClientWithResponses) GetMysqlsWithResponse

func (c *ClientWithResponses) GetMysqlsWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetMysqlsResponse, error)

GetMysqlsWithResponse Get all mysqls in a project

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/mysqls (the `GetMysqls` operationId).

func (*ClientWithResponses) GetPostgresCredentialsWithResponse

func (c *ClientWithResponses) GetPostgresCredentialsWithResponse(ctx context.Context, projectName string, postgresName string, reqEditors ...RequestEditorFn) (*GetPostgresCredentialsResponse, error)

GetPostgresCredentialsWithResponse Get postgres credentials

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/postgres/{postgresName}/credentials (the `GetPostgresCredentials` operationId).

func (*ClientWithResponses) GetPostgresEnvWithResponse

func (c *ClientWithResponses) GetPostgresEnvWithResponse(ctx context.Context, projectName string, postgresName string, reqEditors ...RequestEditorFn) (*GetPostgresEnvResponse, error)

GetPostgresEnvWithResponse Get environment variables for Postgres

Returns environment variables for a specific Postgres instance.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/postgres/{postgresName}/env (the `GetPostgresEnv` operationId).

func (*ClientWithResponses) GetPostgresEventsWithResponse

func (c *ClientWithResponses) GetPostgresEventsWithResponse(ctx context.Context, projectName string, postgresName string, reqEditors ...RequestEditorFn) (*GetPostgresEventsResponse, error)

GetPostgresEventsWithResponse Get postgres events

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/postgres/{postgresName}/events (the `GetPostgresEvents` operationId).

func (*ClientWithResponses) GetPostgresExtensionsWithResponse

func (c *ClientWithResponses) GetPostgresExtensionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPostgresExtensionsResponse, error)

GetPostgresExtensionsWithResponse Get available PostgreSQL extensions

Get the PostgreSQL extensions a database may request.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/postgres/extensions (the `GetPostgresExtensions` operationId).

func (*ClientWithResponses) GetPostgresInstanceWithResponse

func (c *ClientWithResponses) GetPostgresInstanceWithResponse(ctx context.Context, projectName string, postgresName string, reqEditors ...RequestEditorFn) (*GetPostgresInstanceResponse, error)

GetPostgresInstanceWithResponse Get a postgres instance

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/postgres/{postgresName} (the `GetPostgresInstance` operationId).

func (*ClientWithResponses) GetPostgresStatusWithResponse

func (c *ClientWithResponses) GetPostgresStatusWithResponse(ctx context.Context, projectName string, postgresName string, reqEditors ...RequestEditorFn) (*GetPostgresStatusResponse, error)

GetPostgresStatusWithResponse Get postgres status

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/postgres/{postgresName}/status (the `GetPostgresStatus` operationId).

func (*ClientWithResponses) GetPostgresWithResponse

func (c *ClientWithResponses) GetPostgresWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetPostgresResponse, error)

GetPostgresWithResponse Get all postgres instances in a project

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/postgres (the `GetPostgres` operationId).

func (*ClientWithResponses) GetProjectEventsWithResponse

func (c *ClientWithResponses) GetProjectEventsWithResponse(ctx context.Context, projectName string, params *GetProjectEventsParams, reqEditors ...RequestEditorFn) (*GetProjectEventsResponse, error)

GetProjectEventsWithResponse Get project events

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/events (the `GetProjectEvents` operationId).

func (*ClientWithResponses) GetProjectWithResponse

func (c *ClientWithResponses) GetProjectWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetProjectResponse, error)

GetProjectWithResponse Get a project

Get a project from the database.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName} (the `GetProject` operationId).

func (*ClientWithResponses) GetProjectsWithResponse

func (c *ClientWithResponses) GetProjectsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetProjectsResponse, error)

GetProjectsWithResponse Get all projects

Get all projects from the database.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects (the `GetProjects` operationId).

func (*ClientWithResponses) GetRedisCredentialsWithResponse

func (c *ClientWithResponses) GetRedisCredentialsWithResponse(ctx context.Context, projectName string, redisName string, reqEditors ...RequestEditorFn) (*GetRedisCredentialsResponse, error)

GetRedisCredentialsWithResponse Get redis credentials

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/redises/{redisName}/credentials (the `GetRedisCredentials` operationId).

func (*ClientWithResponses) GetRedisEnvWithResponse

func (c *ClientWithResponses) GetRedisEnvWithResponse(ctx context.Context, projectName string, redisName string, reqEditors ...RequestEditorFn) (*GetRedisEnvResponse, error)

GetRedisEnvWithResponse Get environment variables for Redis

Returns environment variables for a specific Redis instance.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/redises/{redisName}/env (the `GetRedisEnv` operationId).

func (*ClientWithResponses) GetRedisEventsWithResponse

func (c *ClientWithResponses) GetRedisEventsWithResponse(ctx context.Context, projectName string, redisName string, reqEditors ...RequestEditorFn) (*GetRedisEventsResponse, error)

GetRedisEventsWithResponse Get redis events

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/redis/{redisName}/events (the `GetRedisEvents` operationId).

func (*ClientWithResponses) GetRedisStatusWithResponse

func (c *ClientWithResponses) GetRedisStatusWithResponse(ctx context.Context, projectName string, redisName string, reqEditors ...RequestEditorFn) (*GetRedisStatusResponse, error)

GetRedisStatusWithResponse Get redis status

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/redises/{redisName}/status (the `GetRedisStatus` operationId).

func (*ClientWithResponses) GetRedisWithResponse

func (c *ClientWithResponses) GetRedisWithResponse(ctx context.Context, projectName string, redisName string, reqEditors ...RequestEditorFn) (*GetRedisResponse, error)

GetRedisWithResponse Get redis

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/redises/{redisName} (the `GetRedis` operationId).

func (*ClientWithResponses) GetRedisesWithResponse

func (c *ClientWithResponses) GetRedisesWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetRedisesResponse, error)

GetRedisesWithResponse Get redises

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/redises (the `GetRedises` operationId).

func (*ClientWithResponses) GetRegionAppPricingWithResponse

func (c *ClientWithResponses) GetRegionAppPricingWithResponse(ctx context.Context, regionName string, reqEditors ...RequestEditorFn) (*GetRegionAppPricingResponse, error)

GetRegionAppPricingWithResponse Get region app pricing

Get region pricing.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/regions/{regionName}/pricing/apps (the `GetRegionAppPricing` operationId).

func (*ClientWithResponses) GetRegionMySQLPricingWithResponse

func (c *ClientWithResponses) GetRegionMySQLPricingWithResponse(ctx context.Context, regionName string, reqEditors ...RequestEditorFn) (*GetRegionMySQLPricingResponse, error)

GetRegionMySQLPricingWithResponse Get region MySQL pricing

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/regions/{regionName}/pricing/mysql (the `GetRegionMySQLPricing` operationId).

func (*ClientWithResponses) GetRegionPostgresPricingWithResponse

func (c *ClientWithResponses) GetRegionPostgresPricingWithResponse(ctx context.Context, regionName string, reqEditors ...RequestEditorFn) (*GetRegionPostgresPricingResponse, error)

GetRegionPostgresPricingWithResponse Get region PostgreSQL pricing

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/regions/{regionName}/pricing/postgres (the `GetRegionPostgresPricing` operationId).

func (*ClientWithResponses) GetRegionRedisPricingWithResponse

func (c *ClientWithResponses) GetRegionRedisPricingWithResponse(ctx context.Context, regionName string, reqEditors ...RequestEditorFn) (*GetRegionRedisPricingResponse, error)

GetRegionRedisPricingWithResponse Get region Redis pricing

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/regions/{regionName}/pricing/redis (the `GetRegionRedisPricing` operationId).

func (*ClientWithResponses) GetRegionVolumePricingWithResponse

func (c *ClientWithResponses) GetRegionVolumePricingWithResponse(ctx context.Context, regionName string, reqEditors ...RequestEditorFn) (*GetRegionVolumePricingResponse, error)

GetRegionVolumePricingWithResponse Get region volume pricing

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/regions/{regionName}/pricing/volume (the `GetRegionVolumePricing` operationId).

func (*ClientWithResponses) GetRegionWithResponse

func (c *ClientWithResponses) GetRegionWithResponse(ctx context.Context, regionName string, reqEditors ...RequestEditorFn) (*GetRegionResponse, error)

GetRegionWithResponse Get a region

Get a region from the database.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/regions/{regionName} (the `GetRegion` operationId).

func (*ClientWithResponses) GetRegionsWithResponse

func (c *ClientWithResponses) GetRegionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetRegionsResponse, error)

GetRegionsWithResponse Get all regions

Get all regions from the database.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/regions (the `GetRegions` operationId).

func (*ClientWithResponses) GetTemplatesWithResponse

func (c *ClientWithResponses) GetTemplatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTemplatesResponse, error)

GetTemplatesWithResponse Get all templates

Get all templates from the database.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/templates (the `GetTemplates` operationId).

func (*ClientWithResponses) GetVolumeWithResponse

func (c *ClientWithResponses) GetVolumeWithResponse(ctx context.Context, projectName string, volumeName string, reqEditors ...RequestEditorFn) (*GetVolumeResponse, error)

GetVolumeWithResponse Get a storage volume

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/volume/{volumeName} (the `GetVolume` operationId).

func (*ClientWithResponses) GetVolumesWithResponse

func (c *ClientWithResponses) GetVolumesWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetVolumesResponse, error)

GetVolumesWithResponse Get all storage volumes for a project

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/volumes (the `GetVolumes` operationId).

func (*ClientWithResponses) ParseDockerComposeWithBodyWithResponse

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

ParseDockerComposeWithBodyWithResponse Parse Docker Compose file into a deployment template

Uploads a Docker Compose YAML file and returns a generated deployment template.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/templates/docker-compose (the `ParseDockerCompose` operationId).

func (*ClientWithResponses) ParseDockerComposeWithResponse

func (c *ClientWithResponses) ParseDockerComposeWithResponse(ctx context.Context, body ParseDockerComposeJSONRequestBody, reqEditors ...RequestEditorFn) (*ParseDockerComposeResponse, error)

ParseDockerComposeWithResponse Parse Docker Compose file into a deployment template

Uploads a Docker Compose YAML file and returns a generated deployment template.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/templates/docker-compose (the `ParseDockerCompose` operationId).

func (*ClientWithResponses) RebuildAppWithResponse

func (c *ClientWithResponses) RebuildAppWithResponse(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*RebuildAppResponse, error)

RebuildAppWithResponse Rebuild an app

Returns a wrapper object for the known response body format(s).

Corresponds with POST /api/projects/{projectName}/apps/{appName}/rebuild (the `RebuildApp` operationId).

func (*ClientWithResponses) RemoveDomainWithBodyWithResponse

func (c *ClientWithResponses) RemoveDomainWithBodyWithResponse(ctx context.Context, projectName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveDomainResponse, error)

RemoveDomainWithBodyWithResponse Remove domain from app

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/projects/{projectName}/apps/{appName}/domain (the `RemoveDomain` operationId).

func (*ClientWithResponses) RemoveDomainWithResponse

func (c *ClientWithResponses) RemoveDomainWithResponse(ctx context.Context, projectName string, appName string, body RemoveDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveDomainResponse, error)

RemoveDomainWithResponse Remove domain from app

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/projects/{projectName}/apps/{appName}/domain (the `RemoveDomain` operationId).

func (*ClientWithResponses) RestartAppWithResponse

func (c *ClientWithResponses) RestartAppWithResponse(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*RestartAppResponse, error)

RestartAppWithResponse Restart an app

Returns a wrapper object for the known response body format(s).

Corresponds with POST /api/projects/{projectName}/apps/{appName}/restart (the `RestartApp` operationId).

func (*ClientWithResponses) SetAppEnvWithBodyWithResponse

func (c *ClientWithResponses) SetAppEnvWithBodyWithResponse(ctx context.Context, projectName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetAppEnvResponse, error)

SetAppEnvWithBodyWithResponse Set environment variables

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/projects/{projectName}/apps/{appName}/env (the `SetAppEnv` operationId).

func (*ClientWithResponses) SetAppEnvWithResponse

func (c *ClientWithResponses) SetAppEnvWithResponse(ctx context.Context, projectName string, appName string, body SetAppEnvJSONRequestBody, reqEditors ...RequestEditorFn) (*SetAppEnvResponse, error)

SetAppEnvWithResponse Set environment variables

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/projects/{projectName}/apps/{appName}/env (the `SetAppEnv` operationId).

func (*ClientWithResponses) SetGlobalEnvWithBodyWithResponse

func (c *ClientWithResponses) SetGlobalEnvWithBodyWithResponse(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetGlobalEnvResponse, error)

SetGlobalEnvWithBodyWithResponse Set global environment variables

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/projects/{projectName}/globalenv (the `SetGlobalEnv` operationId).

func (*ClientWithResponses) SetGlobalEnvWithResponse

func (c *ClientWithResponses) SetGlobalEnvWithResponse(ctx context.Context, projectName string, body SetGlobalEnvJSONRequestBody, reqEditors ...RequestEditorFn) (*SetGlobalEnvResponse, error)

SetGlobalEnvWithResponse Set global environment variables

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/projects/{projectName}/globalenv (the `SetGlobalEnv` operationId).

func (*ClientWithResponses) StreamAppEventsWithResponse

func (c *ClientWithResponses) StreamAppEventsWithResponse(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*StreamAppEventsResponse, error)

StreamAppEventsWithResponse Get app events stream

Establishes a stream of events for a given app.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/apps/{appName}/events/stream (the `StreamAppEvents` operationId).

func (*ClientWithResponses) StreamMySQLEventsWithResponse

func (c *ClientWithResponses) StreamMySQLEventsWithResponse(ctx context.Context, projectName string, mysqlName string, reqEditors ...RequestEditorFn) (*StreamMySQLEventsResponse, error)

StreamMySQLEventsWithResponse Get mysql events stream

Establishes a stream of events for a given mysql.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/mysqls/{mysqlName}/events/stream (the `StreamMySQLEvents` operationId).

func (*ClientWithResponses) StreamPostgresEventsWithResponse

func (c *ClientWithResponses) StreamPostgresEventsWithResponse(ctx context.Context, projectName string, postgresName string, reqEditors ...RequestEditorFn) (*StreamPostgresEventsResponse, error)

StreamPostgresEventsWithResponse Get postgres events stream

Establishes a stream of events for a given postgres.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/postgres/{postgresName}/events/stream (the `StreamPostgresEvents` operationId).

func (*ClientWithResponses) StreamProjectEventsWithResponse

func (c *ClientWithResponses) StreamProjectEventsWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*StreamProjectEventsResponse, error)

StreamProjectEventsWithResponse Get project events stream

Establishes a stream of events for a given project.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/events/stream (the `StreamProjectEvents` operationId).

func (*ClientWithResponses) StreamRedisEventsWithResponse

func (c *ClientWithResponses) StreamRedisEventsWithResponse(ctx context.Context, projectName string, redisName string, reqEditors ...RequestEditorFn) (*StreamRedisEventsResponse, error)

StreamRedisEventsWithResponse Get redis events stream

Establishes a stream of events for a given redis.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/projects/{projectName}/redis/{redisName}/events/stream (the `StreamRedisEvents` operationId).

func (*ClientWithResponses) UpdateAppWithBodyWithResponse

func (c *ClientWithResponses) UpdateAppWithBodyWithResponse(ctx context.Context, projectName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAppResponse, error)

UpdateAppWithBodyWithResponse Update an app

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/projects/{projectName}/apps/{appName} (the `UpdateApp` operationId).

func (*ClientWithResponses) UpdateAppWithResponse

func (c *ClientWithResponses) UpdateAppWithResponse(ctx context.Context, projectName string, appName string, body UpdateAppJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAppResponse, error)

UpdateAppWithResponse Update an app

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/projects/{projectName}/apps/{appName} (the `UpdateApp` operationId).

func (*ClientWithResponses) UpdateMysqlWithBodyWithResponse

func (c *ClientWithResponses) UpdateMysqlWithBodyWithResponse(ctx context.Context, projectName string, mysqlName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMysqlResponse, error)

UpdateMysqlWithBodyWithResponse Update a mysql

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/projects/{projectName}/mysqls/{mysqlName} (the `UpdateMysql` operationId).

func (*ClientWithResponses) UpdateMysqlWithResponse

func (c *ClientWithResponses) UpdateMysqlWithResponse(ctx context.Context, projectName string, mysqlName string, body UpdateMysqlJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMysqlResponse, error)

UpdateMysqlWithResponse Update a mysql

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/projects/{projectName}/mysqls/{mysqlName} (the `UpdateMysql` operationId).

func (*ClientWithResponses) UpdatePostgresWithBodyWithResponse

func (c *ClientWithResponses) UpdatePostgresWithBodyWithResponse(ctx context.Context, projectName string, postgresName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePostgresResponse, error)

UpdatePostgresWithBodyWithResponse Update a postgres instance

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/projects/{projectName}/postgres/{postgresName} (the `UpdatePostgres` operationId).

func (*ClientWithResponses) UpdatePostgresWithResponse

func (c *ClientWithResponses) UpdatePostgresWithResponse(ctx context.Context, projectName string, postgresName string, body UpdatePostgresJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePostgresResponse, error)

UpdatePostgresWithResponse Update a postgres instance

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/projects/{projectName}/postgres/{postgresName} (the `UpdatePostgres` operationId).

func (*ClientWithResponses) UpdateProjectWithBodyWithResponse

func (c *ClientWithResponses) UpdateProjectWithBodyWithResponse(ctx context.Context, projectName string, params *UpdateProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)

UpdateProjectWithBodyWithResponse Update a project

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/projects/{projectName} (the `UpdateProject` operationId).

func (*ClientWithResponses) UpdateProjectWithResponse

func (c *ClientWithResponses) UpdateProjectWithResponse(ctx context.Context, projectName string, params *UpdateProjectParams, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)

UpdateProjectWithResponse Update a project

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/projects/{projectName} (the `UpdateProject` operationId).

func (*ClientWithResponses) UpdateRedisWithBodyWithResponse

func (c *ClientWithResponses) UpdateRedisWithBodyWithResponse(ctx context.Context, projectName string, redisName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRedisResponse, error)

UpdateRedisWithBodyWithResponse Update a redis

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/projects/{projectName}/redises/{redisName} (the `UpdateRedis` operationId).

func (*ClientWithResponses) UpdateRedisWithResponse

func (c *ClientWithResponses) UpdateRedisWithResponse(ctx context.Context, projectName string, redisName string, body UpdateRedisJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRedisResponse, error)

UpdateRedisWithResponse Update a redis

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/projects/{projectName}/redises/{redisName} (the `UpdateRedis` operationId).

func (*ClientWithResponses) UpdateVolumeWithBodyWithResponse

func (c *ClientWithResponses) UpdateVolumeWithBodyWithResponse(ctx context.Context, projectName string, volumeName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVolumeResponse, error)

UpdateVolumeWithBodyWithResponse Update a storage volume

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/projects/{projectName}/volume/{volumeName} (the `UpdateVolume` operationId).

func (*ClientWithResponses) UpdateVolumeWithResponse

func (c *ClientWithResponses) UpdateVolumeWithResponse(ctx context.Context, projectName string, volumeName string, body UpdateVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVolumeResponse, error)

UpdateVolumeWithResponse Update a storage volume

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/projects/{projectName}/volume/{volumeName} (the `UpdateVolume` operationId).

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// GetPostgresExtensionsWithResponse Get available PostgreSQL extensions
	//
	// Get the PostgreSQL extensions a database may request.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/postgres/extensions (the `GetPostgresExtensions` operationId).
	GetPostgresExtensionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPostgresExtensionsResponse, error)

	// GetProjectsWithResponse Get all projects
	//
	// Get all projects from the database.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects (the `GetProjects` operationId).
	GetProjectsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetProjectsResponse, error)

	// CreateProjectWithResponse Create a project
	//
	// Create a project gets a region as a query parameter and returns the project.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/projects (the `CreateProject` operationId).
	CreateProjectWithResponse(ctx context.Context, params *CreateProjectParams, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)

	// DeleteProjectWithResponse Delete a project
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/projects/{projectName} (the `DeleteProject` operationId).
	DeleteProjectWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*DeleteProjectResponse, error)

	// GetProjectWithResponse Get a project
	//
	// Get a project from the database.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName} (the `GetProject` operationId).
	GetProjectWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetProjectResponse, error)

	// UpdateProjectWithBodyWithResponse Update a project
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/projects/{projectName} (the `UpdateProject` operationId).
	UpdateProjectWithBodyWithResponse(ctx context.Context, projectName string, params *UpdateProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)

	// UpdateProjectWithResponse Update a project
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/projects/{projectName} (the `UpdateProject` operationId).
	UpdateProjectWithResponse(ctx context.Context, projectName string, params *UpdateProjectParams, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)

	// GetAppsWithResponse Get all apps in a project
	//
	// Get all apps in a project from the database.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/apps (the `GetApps` operationId).
	GetAppsWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetAppsResponse, error)

	// CreateAppWithBodyWithResponse Create an app
	//
	// Create an app gets a project as a query parameter and returns the app.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/projects/{projectName}/apps (the `CreateApp` operationId).
	CreateAppWithBodyWithResponse(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAppResponse, error)

	// CreateAppWithResponse Create an app
	//
	// Create an app gets a project as a query parameter and returns the app.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/projects/{projectName}/apps (the `CreateApp` operationId).
	CreateAppWithResponse(ctx context.Context, projectName string, body CreateAppJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAppResponse, error)

	// DeleteAppWithResponse Delete an app
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/projects/{projectName}/apps/{appName} (the `DeleteApp` operationId).
	DeleteAppWithResponse(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*DeleteAppResponse, error)

	// GetAppWithResponse Get an app
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/apps/{appName} (the `GetApp` operationId).
	GetAppWithResponse(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*GetAppResponse, error)

	// UpdateAppWithBodyWithResponse Update an app
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/projects/{projectName}/apps/{appName} (the `UpdateApp` operationId).
	UpdateAppWithBodyWithResponse(ctx context.Context, projectName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAppResponse, error)

	// UpdateAppWithResponse Update an app
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/projects/{projectName}/apps/{appName} (the `UpdateApp` operationId).
	UpdateAppWithResponse(ctx context.Context, projectName string, appName string, body UpdateAppJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAppResponse, error)

	// RemoveDomainWithBodyWithResponse Remove domain from app
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/projects/{projectName}/apps/{appName}/domain (the `RemoveDomain` operationId).
	RemoveDomainWithBodyWithResponse(ctx context.Context, projectName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveDomainResponse, error)

	// RemoveDomainWithResponse Remove domain from app
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/projects/{projectName}/apps/{appName}/domain (the `RemoveDomain` operationId).
	RemoveDomainWithResponse(ctx context.Context, projectName string, appName string, body RemoveDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveDomainResponse, error)

	// AddDomainWithBodyWithResponse Add domain to app
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/projects/{projectName}/apps/{appName}/domain (the `AddDomain` operationId).
	AddDomainWithBodyWithResponse(ctx context.Context, projectName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddDomainResponse, error)

	// AddDomainWithResponse Add domain to app
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/projects/{projectName}/apps/{appName}/domain (the `AddDomain` operationId).
	AddDomainWithResponse(ctx context.Context, projectName string, appName string, body AddDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*AddDomainResponse, error)

	// GetDomainStatusWithResponse Get DNS status of the app domains
	//
	// Resolve each custom domain of the app and report whether it points to the region ingress IP.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/apps/{appName}/domain/status (the `GetDomainStatus` operationId).
	GetDomainStatusWithResponse(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*GetDomainStatusResponse, error)

	// GetAppEnvWithResponse Get environment variables
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/apps/{appName}/env (the `GetAppEnv` operationId).
	GetAppEnvWithResponse(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*GetAppEnvResponse, error)

	// SetAppEnvWithBodyWithResponse Set environment variables
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/projects/{projectName}/apps/{appName}/env (the `SetAppEnv` operationId).
	SetAppEnvWithBodyWithResponse(ctx context.Context, projectName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetAppEnvResponse, error)

	// SetAppEnvWithResponse Set environment variables
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/projects/{projectName}/apps/{appName}/env (the `SetAppEnv` operationId).
	SetAppEnvWithResponse(ctx context.Context, projectName string, appName string, body SetAppEnvJSONRequestBody, reqEditors ...RequestEditorFn) (*SetAppEnvResponse, error)

	// GetAppEventsWithResponse Get app events
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/apps/{appName}/events (the `GetAppEvents` operationId).
	GetAppEventsWithResponse(ctx context.Context, projectName string, appName string, params *GetAppEventsParams, reqEditors ...RequestEditorFn) (*GetAppEventsResponse, error)

	// StreamAppEventsWithResponse Get app events stream
	//
	// Establishes a stream of events for a given app.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/apps/{appName}/events/stream (the `StreamAppEvents` operationId).
	StreamAppEventsWithResponse(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*StreamAppEventsResponse, error)

	// GetAppLogsWithResponse Get app logs
	//
	// Get app logs with cursor-based pagination (infinite scroll).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/apps/{appName}/logs (the `GetAppLogs` operationId).
	GetAppLogsWithResponse(ctx context.Context, projectName string, appName string, params *GetAppLogsParams, reqEditors ...RequestEditorFn) (*GetAppLogsResponse, error)

	// RebuildAppWithResponse Rebuild an app
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/projects/{projectName}/apps/{appName}/rebuild (the `RebuildApp` operationId).
	RebuildAppWithResponse(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*RebuildAppResponse, error)

	// RestartAppWithResponse Restart an app
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/projects/{projectName}/apps/{appName}/restart (the `RestartApp` operationId).
	RestartAppWithResponse(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*RestartAppResponse, error)

	// GetAppStatusWithResponse Get app status
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/apps/{appName}/status (the `GetAppStatus` operationId).
	GetAppStatusWithResponse(ctx context.Context, projectName string, appName string, reqEditors ...RequestEditorFn) (*GetAppStatusResponse, error)

	// GetProjectEventsWithResponse Get project events
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/events (the `GetProjectEvents` operationId).
	GetProjectEventsWithResponse(ctx context.Context, projectName string, params *GetProjectEventsParams, reqEditors ...RequestEditorFn) (*GetProjectEventsResponse, error)

	// StreamProjectEventsWithResponse Get project events stream
	//
	// Establishes a stream of events for a given project.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/events/stream (the `StreamProjectEvents` operationId).
	StreamProjectEventsWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*StreamProjectEventsResponse, error)

	// GetGlobalEnvWithResponse Get global environment variables
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/globalenv (the `GetGlobalEnv` operationId).
	GetGlobalEnvWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetGlobalEnvResponse, error)

	// SetGlobalEnvWithBodyWithResponse Set global environment variables
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/projects/{projectName}/globalenv (the `SetGlobalEnv` operationId).
	SetGlobalEnvWithBodyWithResponse(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetGlobalEnvResponse, error)

	// SetGlobalEnvWithResponse Set global environment variables
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/projects/{projectName}/globalenv (the `SetGlobalEnv` operationId).
	SetGlobalEnvWithResponse(ctx context.Context, projectName string, body SetGlobalEnvJSONRequestBody, reqEditors ...RequestEditorFn) (*SetGlobalEnvResponse, error)

	// GetMysqlsWithResponse Get all mysqls in a project
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/mysqls (the `GetMysqls` operationId).
	GetMysqlsWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetMysqlsResponse, error)

	// CreateMysqlWithBodyWithResponse Create a new mysql
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/projects/{projectName}/mysqls (the `CreateMysql` operationId).
	CreateMysqlWithBodyWithResponse(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMysqlResponse, error)

	// CreateMysqlWithResponse Create a new mysql
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/projects/{projectName}/mysqls (the `CreateMysql` operationId).
	CreateMysqlWithResponse(ctx context.Context, projectName string, body CreateMysqlJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMysqlResponse, error)

	// DeleteMysqlWithResponse Delete a mysql
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/projects/{projectName}/mysqls/{mysqlName} (the `DeleteMysql` operationId).
	DeleteMysqlWithResponse(ctx context.Context, projectName string, mysqlName string, reqEditors ...RequestEditorFn) (*DeleteMysqlResponse, error)

	// GetMysqlWithResponse Get a mysql
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/mysqls/{mysqlName} (the `GetMysql` operationId).
	GetMysqlWithResponse(ctx context.Context, projectName string, mysqlName string, reqEditors ...RequestEditorFn) (*GetMysqlResponse, error)

	// UpdateMysqlWithBodyWithResponse Update a mysql
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/projects/{projectName}/mysqls/{mysqlName} (the `UpdateMysql` operationId).
	UpdateMysqlWithBodyWithResponse(ctx context.Context, projectName string, mysqlName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMysqlResponse, error)

	// UpdateMysqlWithResponse Update a mysql
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/projects/{projectName}/mysqls/{mysqlName} (the `UpdateMysql` operationId).
	UpdateMysqlWithResponse(ctx context.Context, projectName string, mysqlName string, body UpdateMysqlJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMysqlResponse, error)

	// GetMysqlCredentialsWithResponse Get mysql credentials
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/mysqls/{mysqlName}/credentials (the `GetMysqlCredentials` operationId).
	GetMysqlCredentialsWithResponse(ctx context.Context, projectName string, mysqlName string, reqEditors ...RequestEditorFn) (*GetMysqlCredentialsResponse, error)

	// GetMysqlEnvWithResponse Get environment variables for MySQL
	//
	// Returns environment variables for a specific MySQL instance.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/mysqls/{mysqlName}/env (the `GetMysqlEnv` operationId).
	GetMysqlEnvWithResponse(ctx context.Context, projectName string, mysqlName string, reqEditors ...RequestEditorFn) (*GetMysqlEnvResponse, error)

	// GetMySQLEventsWithResponse Get mysql events
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/mysqls/{mysqlName}/events (the `GetMySQLEvents` operationId).
	GetMySQLEventsWithResponse(ctx context.Context, projectName string, mysqlName string, reqEditors ...RequestEditorFn) (*GetMySQLEventsResponse, error)

	// StreamMySQLEventsWithResponse Get mysql events stream
	//
	// Establishes a stream of events for a given mysql.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/mysqls/{mysqlName}/events/stream (the `StreamMySQLEvents` operationId).
	StreamMySQLEventsWithResponse(ctx context.Context, projectName string, mysqlName string, reqEditors ...RequestEditorFn) (*StreamMySQLEventsResponse, error)

	// GetMysqlStatusWithResponse Get mysql status
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/mysqls/{mysqlName}/status (the `GetMysqlStatus` operationId).
	GetMysqlStatusWithResponse(ctx context.Context, projectName string, mysqlName string, reqEditors ...RequestEditorFn) (*GetMysqlStatusResponse, error)

	// GetPostgresWithResponse Get all postgres instances in a project
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/postgres (the `GetPostgres` operationId).
	GetPostgresWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetPostgresResponse, error)

	// CreatePostgresWithBodyWithResponse Create a new postgres instance
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/projects/{projectName}/postgres (the `CreatePostgres` operationId).
	CreatePostgresWithBodyWithResponse(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePostgresResponse, error)

	// CreatePostgresWithResponse Create a new postgres instance
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/projects/{projectName}/postgres (the `CreatePostgres` operationId).
	CreatePostgresWithResponse(ctx context.Context, projectName string, body CreatePostgresJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePostgresResponse, error)

	// DeletePostgresWithResponse Delete a postgres instance
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/projects/{projectName}/postgres/{postgresName} (the `DeletePostgres` operationId).
	DeletePostgresWithResponse(ctx context.Context, projectName string, postgresName string, reqEditors ...RequestEditorFn) (*DeletePostgresResponse, error)

	// GetPostgresInstanceWithResponse Get a postgres instance
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/postgres/{postgresName} (the `GetPostgresInstance` operationId).
	GetPostgresInstanceWithResponse(ctx context.Context, projectName string, postgresName string, reqEditors ...RequestEditorFn) (*GetPostgresInstanceResponse, error)

	// UpdatePostgresWithBodyWithResponse Update a postgres instance
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/projects/{projectName}/postgres/{postgresName} (the `UpdatePostgres` operationId).
	UpdatePostgresWithBodyWithResponse(ctx context.Context, projectName string, postgresName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePostgresResponse, error)

	// UpdatePostgresWithResponse Update a postgres instance
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/projects/{projectName}/postgres/{postgresName} (the `UpdatePostgres` operationId).
	UpdatePostgresWithResponse(ctx context.Context, projectName string, postgresName string, body UpdatePostgresJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePostgresResponse, error)

	// GetPostgresCredentialsWithResponse Get postgres credentials
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/postgres/{postgresName}/credentials (the `GetPostgresCredentials` operationId).
	GetPostgresCredentialsWithResponse(ctx context.Context, projectName string, postgresName string, reqEditors ...RequestEditorFn) (*GetPostgresCredentialsResponse, error)

	// GetPostgresEnvWithResponse Get environment variables for Postgres
	//
	// Returns environment variables for a specific Postgres instance.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/postgres/{postgresName}/env (the `GetPostgresEnv` operationId).
	GetPostgresEnvWithResponse(ctx context.Context, projectName string, postgresName string, reqEditors ...RequestEditorFn) (*GetPostgresEnvResponse, error)

	// GetPostgresEventsWithResponse Get postgres events
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/postgres/{postgresName}/events (the `GetPostgresEvents` operationId).
	GetPostgresEventsWithResponse(ctx context.Context, projectName string, postgresName string, reqEditors ...RequestEditorFn) (*GetPostgresEventsResponse, error)

	// StreamPostgresEventsWithResponse Get postgres events stream
	//
	// Establishes a stream of events for a given postgres.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/postgres/{postgresName}/events/stream (the `StreamPostgresEvents` operationId).
	StreamPostgresEventsWithResponse(ctx context.Context, projectName string, postgresName string, reqEditors ...RequestEditorFn) (*StreamPostgresEventsResponse, error)

	// GetPostgresStatusWithResponse Get postgres status
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/postgres/{postgresName}/status (the `GetPostgresStatus` operationId).
	GetPostgresStatusWithResponse(ctx context.Context, projectName string, postgresName string, reqEditors ...RequestEditorFn) (*GetPostgresStatusResponse, error)

	// GetRedisEventsWithResponse Get redis events
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/redis/{redisName}/events (the `GetRedisEvents` operationId).
	GetRedisEventsWithResponse(ctx context.Context, projectName string, redisName string, reqEditors ...RequestEditorFn) (*GetRedisEventsResponse, error)

	// StreamRedisEventsWithResponse Get redis events stream
	//
	// Establishes a stream of events for a given redis.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/redis/{redisName}/events/stream (the `StreamRedisEvents` operationId).
	StreamRedisEventsWithResponse(ctx context.Context, projectName string, redisName string, reqEditors ...RequestEditorFn) (*StreamRedisEventsResponse, error)

	// GetRedisesWithResponse Get redises
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/redises (the `GetRedises` operationId).
	GetRedisesWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetRedisesResponse, error)

	// CreateRedisWithBodyWithResponse Create a redis
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/projects/{projectName}/redises (the `CreateRedis` operationId).
	CreateRedisWithBodyWithResponse(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRedisResponse, error)

	// CreateRedisWithResponse Create a redis
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/projects/{projectName}/redises (the `CreateRedis` operationId).
	CreateRedisWithResponse(ctx context.Context, projectName string, body CreateRedisJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRedisResponse, error)

	// DeleteRedisWithResponse Delete a redis
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/projects/{projectName}/redises/{redisName} (the `DeleteRedis` operationId).
	DeleteRedisWithResponse(ctx context.Context, projectName string, redisName string, reqEditors ...RequestEditorFn) (*DeleteRedisResponse, error)

	// GetRedisWithResponse Get redis
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/redises/{redisName} (the `GetRedis` operationId).
	GetRedisWithResponse(ctx context.Context, projectName string, redisName string, reqEditors ...RequestEditorFn) (*GetRedisResponse, error)

	// UpdateRedisWithBodyWithResponse Update a redis
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/projects/{projectName}/redises/{redisName} (the `UpdateRedis` operationId).
	UpdateRedisWithBodyWithResponse(ctx context.Context, projectName string, redisName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRedisResponse, error)

	// UpdateRedisWithResponse Update a redis
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/projects/{projectName}/redises/{redisName} (the `UpdateRedis` operationId).
	UpdateRedisWithResponse(ctx context.Context, projectName string, redisName string, body UpdateRedisJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRedisResponse, error)

	// GetRedisCredentialsWithResponse Get redis credentials
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/redises/{redisName}/credentials (the `GetRedisCredentials` operationId).
	GetRedisCredentialsWithResponse(ctx context.Context, projectName string, redisName string, reqEditors ...RequestEditorFn) (*GetRedisCredentialsResponse, error)

	// GetRedisEnvWithResponse Get environment variables for Redis
	//
	// Returns environment variables for a specific Redis instance.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/redises/{redisName}/env (the `GetRedisEnv` operationId).
	GetRedisEnvWithResponse(ctx context.Context, projectName string, redisName string, reqEditors ...RequestEditorFn) (*GetRedisEnvResponse, error)

	// GetRedisStatusWithResponse Get redis status
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/redises/{redisName}/status (the `GetRedisStatus` operationId).
	GetRedisStatusWithResponse(ctx context.Context, projectName string, redisName string, reqEditors ...RequestEditorFn) (*GetRedisStatusResponse, error)

	// DeleteVolumeWithResponse Delete a storage volume
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/projects/{projectName}/volume/{volumeName} (the `DeleteVolume` operationId).
	DeleteVolumeWithResponse(ctx context.Context, projectName string, volumeName string, reqEditors ...RequestEditorFn) (*DeleteVolumeResponse, error)

	// GetVolumeWithResponse Get a storage volume
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/volume/{volumeName} (the `GetVolume` operationId).
	GetVolumeWithResponse(ctx context.Context, projectName string, volumeName string, reqEditors ...RequestEditorFn) (*GetVolumeResponse, error)

	// UpdateVolumeWithBodyWithResponse Update a storage volume
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/projects/{projectName}/volume/{volumeName} (the `UpdateVolume` operationId).
	UpdateVolumeWithBodyWithResponse(ctx context.Context, projectName string, volumeName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVolumeResponse, error)

	// UpdateVolumeWithResponse Update a storage volume
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/projects/{projectName}/volume/{volumeName} (the `UpdateVolume` operationId).
	UpdateVolumeWithResponse(ctx context.Context, projectName string, volumeName string, body UpdateVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVolumeResponse, error)

	// GetVolumesWithResponse Get all storage volumes for a project
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/projects/{projectName}/volumes (the `GetVolumes` operationId).
	GetVolumesWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetVolumesResponse, error)

	// CreateVolumeWithBodyWithResponse Create a new storage volume
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/projects/{projectName}/volumes (the `CreateVolume` operationId).
	CreateVolumeWithBodyWithResponse(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVolumeResponse, error)

	// CreateVolumeWithResponse Create a new storage volume
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/projects/{projectName}/volumes (the `CreateVolume` operationId).
	CreateVolumeWithResponse(ctx context.Context, projectName string, body CreateVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVolumeResponse, error)

	// GetRegionsWithResponse Get all regions
	//
	// Get all regions from the database.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/regions (the `GetRegions` operationId).
	GetRegionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetRegionsResponse, error)

	// GetRegionWithResponse Get a region
	//
	// Get a region from the database.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/regions/{regionName} (the `GetRegion` operationId).
	GetRegionWithResponse(ctx context.Context, regionName string, reqEditors ...RequestEditorFn) (*GetRegionResponse, error)

	// GetRegionAppPricingWithResponse Get region app pricing
	//
	// Get region pricing.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/regions/{regionName}/pricing/apps (the `GetRegionAppPricing` operationId).
	GetRegionAppPricingWithResponse(ctx context.Context, regionName string, reqEditors ...RequestEditorFn) (*GetRegionAppPricingResponse, error)

	// GetRegionMySQLPricingWithResponse Get region MySQL pricing
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/regions/{regionName}/pricing/mysql (the `GetRegionMySQLPricing` operationId).
	GetRegionMySQLPricingWithResponse(ctx context.Context, regionName string, reqEditors ...RequestEditorFn) (*GetRegionMySQLPricingResponse, error)

	// GetRegionPostgresPricingWithResponse Get region PostgreSQL pricing
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/regions/{regionName}/pricing/postgres (the `GetRegionPostgresPricing` operationId).
	GetRegionPostgresPricingWithResponse(ctx context.Context, regionName string, reqEditors ...RequestEditorFn) (*GetRegionPostgresPricingResponse, error)

	// GetRegionRedisPricingWithResponse Get region Redis pricing
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/regions/{regionName}/pricing/redis (the `GetRegionRedisPricing` operationId).
	GetRegionRedisPricingWithResponse(ctx context.Context, regionName string, reqEditors ...RequestEditorFn) (*GetRegionRedisPricingResponse, error)

	// GetRegionVolumePricingWithResponse Get region volume pricing
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/regions/{regionName}/pricing/volume (the `GetRegionVolumePricing` operationId).
	GetRegionVolumePricingWithResponse(ctx context.Context, regionName string, reqEditors ...RequestEditorFn) (*GetRegionVolumePricingResponse, error)

	// GetTemplatesWithResponse Get all templates
	//
	// Get all templates from the database.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/templates (the `GetTemplates` operationId).
	GetTemplatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTemplatesResponse, error)

	// ParseDockerComposeWithBodyWithResponse Parse Docker Compose file into a deployment template
	//
	// Uploads a Docker Compose YAML file and returns a generated deployment template.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/templates/docker-compose (the `ParseDockerCompose` operationId).
	ParseDockerComposeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ParseDockerComposeResponse, error)

	// ParseDockerComposeWithResponse Parse Docker Compose file into a deployment template
	//
	// Uploads a Docker Compose YAML file and returns a generated deployment template.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/templates/docker-compose (the `ParseDockerCompose` operationId).
	ParseDockerComposeWithResponse(ctx context.Context, body ParseDockerComposeJSONRequestBody, reqEditors ...RequestEditorFn) (*ParseDockerComposeResponse, error)

	// DeviceAuthorizeWithBodyWithResponse Start a device authorization
	//
	// Starts a device-code login (RFC 8628). The client shows the user code and verification URI to the user, then polls /api/users/device/token until the user approves.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/users/device/authorize (the `DeviceAuthorize` operationId).
	DeviceAuthorizeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeviceAuthorizeResponse, error)

	// DeviceAuthorizeWithResponse Start a device authorization
	//
	// Starts a device-code login (RFC 8628). The client shows the user code and verification URI to the user, then polls /api/users/device/token until the user approves.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/users/device/authorize (the `DeviceAuthorize` operationId).
	DeviceAuthorizeWithResponse(ctx context.Context, body DeviceAuthorizeJSONRequestBody, reqEditors ...RequestEditorFn) (*DeviceAuthorizeResponse, error)

	// DeviceTokenWithBodyWithResponse Poll a device authorization
	//
	// Polls a device authorization. Returns pending until the user approves, then the API token exactly once.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/users/device/token (the `DeviceToken` operationId).
	DeviceTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeviceTokenResponse, error)

	// DeviceTokenWithResponse Poll a device authorization
	//
	// Polls a device authorization. Returns pending until the user approves, then the API token exactly once.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/users/device/token (the `DeviceToken` operationId).
	DeviceTokenWithResponse(ctx context.Context, body DeviceTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*DeviceTokenResponse, error)
}

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

type CreateAppJSONRequestBody

type CreateAppJSONRequestBody = App

CreateAppJSONRequestBody defines body for CreateApp for application/json ContentType.

type CreateAppResponse

type CreateAppResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *App
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseCreateAppResponse

func ParseCreateAppResponse(rsp *http.Response) (*CreateAppResponse, error)

ParseCreateAppResponse parses an HTTP response from a CreateAppWithResponse call

func (CreateAppResponse) ContentType

func (r CreateAppResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateAppResponse) GetBody

func (r CreateAppResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateAppResponse) GetJSON201

func (r CreateAppResponse) GetJSON201() *App

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateAppResponse) GetJSON401

func (r CreateAppResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateAppResponse) GetJSON500

func (r CreateAppResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (CreateAppResponse) Status

func (r CreateAppResponse) Status() string

Status returns HTTPResponse.Status

func (CreateAppResponse) StatusCode

func (r CreateAppResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateMysqlJSONRequestBody

type CreateMysqlJSONRequestBody = MySQL

CreateMysqlJSONRequestBody defines body for CreateMysql for application/json ContentType.

type CreateMysqlResponse

type CreateMysqlResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GenericMessage
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseCreateMysqlResponse

func ParseCreateMysqlResponse(rsp *http.Response) (*CreateMysqlResponse, error)

ParseCreateMysqlResponse parses an HTTP response from a CreateMysqlWithResponse call

func (CreateMysqlResponse) ContentType

func (r CreateMysqlResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateMysqlResponse) GetBody

func (r CreateMysqlResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateMysqlResponse) GetJSON200

func (r CreateMysqlResponse) GetJSON200() *GenericMessage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CreateMysqlResponse) GetJSON401

func (r CreateMysqlResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateMysqlResponse) GetJSON404

func (r CreateMysqlResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateMysqlResponse) GetJSON500

func (r CreateMysqlResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (CreateMysqlResponse) Status

func (r CreateMysqlResponse) Status() string

Status returns HTTPResponse.Status

func (CreateMysqlResponse) StatusCode

func (r CreateMysqlResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreatePostgresJSONRequestBody

type CreatePostgresJSONRequestBody = Postgres

CreatePostgresJSONRequestBody defines body for CreatePostgres for application/json ContentType.

type CreatePostgresResponse

type CreatePostgresResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GenericMessage
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseCreatePostgresResponse

func ParseCreatePostgresResponse(rsp *http.Response) (*CreatePostgresResponse, error)

ParseCreatePostgresResponse parses an HTTP response from a CreatePostgresWithResponse call

func (CreatePostgresResponse) ContentType

func (r CreatePostgresResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreatePostgresResponse) GetBody

func (r CreatePostgresResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreatePostgresResponse) GetJSON200

func (r CreatePostgresResponse) GetJSON200() *GenericMessage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CreatePostgresResponse) GetJSON401

func (r CreatePostgresResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreatePostgresResponse) GetJSON404

func (r CreatePostgresResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreatePostgresResponse) GetJSON500

func (r CreatePostgresResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (CreatePostgresResponse) Status

func (r CreatePostgresResponse) Status() string

Status returns HTTPResponse.Status

func (CreatePostgresResponse) StatusCode

func (r CreatePostgresResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateProjectParams

type CreateProjectParams struct {
	// RegionName Name of the region
	RegionName string `form:"regionName" json:"regionName"`

	// Name Friendly name of project
	Name string `form:"name" json:"name"`
}

CreateProjectParams defines parameters for CreateProject.

type CreateProjectResponse

type CreateProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Project
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseCreateProjectResponse

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

ParseCreateProjectResponse parses an HTTP response from a CreateProjectWithResponse call

func (CreateProjectResponse) ContentType

func (r CreateProjectResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateProjectResponse) GetBody

func (r CreateProjectResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateProjectResponse) GetJSON201

func (r CreateProjectResponse) GetJSON201() *Project

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateProjectResponse) GetJSON401

func (r CreateProjectResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateProjectResponse) GetJSON500

func (r CreateProjectResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (CreateProjectResponse) Status

func (r CreateProjectResponse) Status() string

Status returns HTTPResponse.Status

func (CreateProjectResponse) StatusCode

func (r CreateProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateRedisJSONRequestBody

type CreateRedisJSONRequestBody = Redis

CreateRedisJSONRequestBody defines body for CreateRedis for application/json ContentType.

type CreateRedisResponse

type CreateRedisResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GenericMessage
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *GenericMessage
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseCreateRedisResponse

func ParseCreateRedisResponse(rsp *http.Response) (*CreateRedisResponse, error)

ParseCreateRedisResponse parses an HTTP response from a CreateRedisWithResponse call

func (CreateRedisResponse) ContentType

func (r CreateRedisResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateRedisResponse) GetBody

func (r CreateRedisResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateRedisResponse) GetJSON200

func (r CreateRedisResponse) GetJSON200() *GenericMessage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CreateRedisResponse) GetJSON400

func (r CreateRedisResponse) GetJSON400() *GenericMessage

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateRedisResponse) GetJSON401

func (r CreateRedisResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateRedisResponse) GetJSON404

func (r CreateRedisResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateRedisResponse) GetJSON500

func (r CreateRedisResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (CreateRedisResponse) Status

func (r CreateRedisResponse) Status() string

Status returns HTTPResponse.Status

func (CreateRedisResponse) StatusCode

func (r CreateRedisResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateVolumeJSONRequestBody

type CreateVolumeJSONRequestBody = Volume

CreateVolumeJSONRequestBody defines body for CreateVolume for application/json ContentType.

type CreateVolumeResponse

type CreateVolumeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GenericMessage
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseCreateVolumeResponse

func ParseCreateVolumeResponse(rsp *http.Response) (*CreateVolumeResponse, error)

ParseCreateVolumeResponse parses an HTTP response from a CreateVolumeWithResponse call

func (CreateVolumeResponse) ContentType

func (r CreateVolumeResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateVolumeResponse) GetBody

func (r CreateVolumeResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateVolumeResponse) GetJSON200

func (r CreateVolumeResponse) GetJSON200() *GenericMessage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CreateVolumeResponse) GetJSON401

func (r CreateVolumeResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateVolumeResponse) GetJSON404

func (r CreateVolumeResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateVolumeResponse) GetJSON500

func (r CreateVolumeResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (CreateVolumeResponse) Status

func (r CreateVolumeResponse) Status() string

Status returns HTTPResponse.Status

func (CreateVolumeResponse) StatusCode

func (r CreateVolumeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteAppResponse

type DeleteAppResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *App
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseDeleteAppResponse

func ParseDeleteAppResponse(rsp *http.Response) (*DeleteAppResponse, error)

ParseDeleteAppResponse parses an HTTP response from a DeleteAppWithResponse call

func (DeleteAppResponse) ContentType

func (r DeleteAppResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteAppResponse) GetBody

func (r DeleteAppResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteAppResponse) GetJSON200

func (r DeleteAppResponse) GetJSON200() *App

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteAppResponse) GetJSON401

func (r DeleteAppResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteAppResponse) GetJSON404

func (r DeleteAppResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteAppResponse) GetJSON500

func (r DeleteAppResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteAppResponse) Status

func (r DeleteAppResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteAppResponse) StatusCode

func (r DeleteAppResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteMysqlResponse

type DeleteMysqlResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GenericMessage
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseDeleteMysqlResponse

func ParseDeleteMysqlResponse(rsp *http.Response) (*DeleteMysqlResponse, error)

ParseDeleteMysqlResponse parses an HTTP response from a DeleteMysqlWithResponse call

func (DeleteMysqlResponse) ContentType

func (r DeleteMysqlResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteMysqlResponse) GetBody

func (r DeleteMysqlResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteMysqlResponse) GetJSON200

func (r DeleteMysqlResponse) GetJSON200() *GenericMessage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteMysqlResponse) GetJSON401

func (r DeleteMysqlResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteMysqlResponse) GetJSON404

func (r DeleteMysqlResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteMysqlResponse) GetJSON500

func (r DeleteMysqlResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteMysqlResponse) Status

func (r DeleteMysqlResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteMysqlResponse) StatusCode

func (r DeleteMysqlResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeletePostgresResponse

type DeletePostgresResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GenericMessage
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseDeletePostgresResponse

func ParseDeletePostgresResponse(rsp *http.Response) (*DeletePostgresResponse, error)

ParseDeletePostgresResponse parses an HTTP response from a DeletePostgresWithResponse call

func (DeletePostgresResponse) ContentType

func (r DeletePostgresResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeletePostgresResponse) GetBody

func (r DeletePostgresResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeletePostgresResponse) GetJSON200

func (r DeletePostgresResponse) GetJSON200() *GenericMessage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeletePostgresResponse) GetJSON401

func (r DeletePostgresResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeletePostgresResponse) GetJSON404

func (r DeletePostgresResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeletePostgresResponse) GetJSON500

func (r DeletePostgresResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeletePostgresResponse) Status

func (r DeletePostgresResponse) Status() string

Status returns HTTPResponse.Status

func (DeletePostgresResponse) StatusCode

func (r DeletePostgresResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteProjectResponse

type DeleteProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GenericMessage
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *GenericMessage
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseDeleteProjectResponse

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

ParseDeleteProjectResponse parses an HTTP response from a DeleteProjectWithResponse call

func (DeleteProjectResponse) ContentType

func (r DeleteProjectResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteProjectResponse) GetBody

func (r DeleteProjectResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteProjectResponse) GetJSON200

func (r DeleteProjectResponse) GetJSON200() *GenericMessage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteProjectResponse) GetJSON400

func (r DeleteProjectResponse) GetJSON400() *GenericMessage

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteProjectResponse) GetJSON401

func (r DeleteProjectResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteProjectResponse) GetJSON404

func (r DeleteProjectResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteProjectResponse) GetJSON500

func (r DeleteProjectResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteProjectResponse) Status

func (r DeleteProjectResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteProjectResponse) StatusCode

func (r DeleteProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteRedisResponse

type DeleteRedisResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GenericMessage
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseDeleteRedisResponse

func ParseDeleteRedisResponse(rsp *http.Response) (*DeleteRedisResponse, error)

ParseDeleteRedisResponse parses an HTTP response from a DeleteRedisWithResponse call

func (DeleteRedisResponse) ContentType

func (r DeleteRedisResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteRedisResponse) GetBody

func (r DeleteRedisResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteRedisResponse) GetJSON200

func (r DeleteRedisResponse) GetJSON200() *GenericMessage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteRedisResponse) GetJSON401

func (r DeleteRedisResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteRedisResponse) GetJSON404

func (r DeleteRedisResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteRedisResponse) GetJSON500

func (r DeleteRedisResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteRedisResponse) Status

func (r DeleteRedisResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteRedisResponse) StatusCode

func (r DeleteRedisResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteVolumeResponse

type DeleteVolumeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GenericMessage
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseDeleteVolumeResponse

func ParseDeleteVolumeResponse(rsp *http.Response) (*DeleteVolumeResponse, error)

ParseDeleteVolumeResponse parses an HTTP response from a DeleteVolumeWithResponse call

func (DeleteVolumeResponse) ContentType

func (r DeleteVolumeResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteVolumeResponse) GetBody

func (r DeleteVolumeResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteVolumeResponse) GetJSON200

func (r DeleteVolumeResponse) GetJSON200() *GenericMessage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteVolumeResponse) GetJSON401

func (r DeleteVolumeResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteVolumeResponse) GetJSON404

func (r DeleteVolumeResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteVolumeResponse) GetJSON500

func (r DeleteVolumeResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteVolumeResponse) Status

func (r DeleteVolumeResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteVolumeResponse) StatusCode

func (r DeleteVolumeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeviceAuthorization added in v0.1.20

type DeviceAuthorization struct {
	// DeviceCode Secret held by the client; poll /api/users/device/token with it.
	DeviceCode string `json:"deviceCode"`

	// ExpiresIn Seconds until the authorization expires.
	ExpiresIn int `json:"expiresIn"`

	// Interval Minimum seconds between polls.
	Interval int `json:"interval"`

	// UserCode Short code the user types on the approval page.
	UserCode string `json:"userCode"`

	// VerificationUri Page where the user approves the request.
	VerificationUri string `json:"verificationUri"`

	// VerificationUriComplete Same page with the user code pre-filled.
	VerificationUriComplete *string `json:"verificationUriComplete,omitempty"`
}

DeviceAuthorization defines model for DeviceAuthorization.

type DeviceAuthorizeJSONBody added in v0.1.20

type DeviceAuthorizeJSONBody struct {
	// ClientName Human-readable name of the client requesting access.
	ClientName *string `json:"clientName,omitempty"`
}

DeviceAuthorizeJSONBody defines parameters for DeviceAuthorize.

type DeviceAuthorizeJSONRequestBody added in v0.1.20

type DeviceAuthorizeJSONRequestBody DeviceAuthorizeJSONBody

DeviceAuthorizeJSONRequestBody defines body for DeviceAuthorize for application/json ContentType.

type DeviceAuthorizeResponse added in v0.1.20

type DeviceAuthorizeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DeviceAuthorization
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseDeviceAuthorizeResponse added in v0.1.20

func ParseDeviceAuthorizeResponse(rsp *http.Response) (*DeviceAuthorizeResponse, error)

ParseDeviceAuthorizeResponse parses an HTTP response from a DeviceAuthorizeWithResponse call

func (DeviceAuthorizeResponse) ContentType added in v0.1.20

func (r DeviceAuthorizeResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeviceAuthorizeResponse) GetBody added in v0.1.20

func (r DeviceAuthorizeResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeviceAuthorizeResponse) GetJSON200 added in v0.1.20

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeviceAuthorizeResponse) GetJSON500 added in v0.1.20

func (r DeviceAuthorizeResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeviceAuthorizeResponse) Status added in v0.1.20

func (r DeviceAuthorizeResponse) Status() string

Status returns HTTPResponse.Status

func (DeviceAuthorizeResponse) StatusCode added in v0.1.20

func (r DeviceAuthorizeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeviceTokenJSONBody added in v0.1.20

type DeviceTokenJSONBody struct {
	DeviceCode string `json:"deviceCode"`
}

DeviceTokenJSONBody defines parameters for DeviceToken.

type DeviceTokenJSONRequestBody added in v0.1.20

type DeviceTokenJSONRequestBody DeviceTokenJSONBody

DeviceTokenJSONRequestBody defines body for DeviceToken for application/json ContentType.

type DeviceTokenResponse added in v0.1.20

type DeviceTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DeviceTokenResult
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *GenericMessage
}

func ParseDeviceTokenResponse added in v0.1.20

func ParseDeviceTokenResponse(rsp *http.Response) (*DeviceTokenResponse, error)

ParseDeviceTokenResponse parses an HTTP response from a DeviceTokenWithResponse call

func (DeviceTokenResponse) ContentType added in v0.1.20

func (r DeviceTokenResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeviceTokenResponse) GetBody added in v0.1.20

func (r DeviceTokenResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeviceTokenResponse) GetJSON200 added in v0.1.20

func (r DeviceTokenResponse) GetJSON200() *DeviceTokenResult

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeviceTokenResponse) GetJSON400 added in v0.1.20

func (r DeviceTokenResponse) GetJSON400() *GenericMessage

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeviceTokenResponse) Status added in v0.1.20

func (r DeviceTokenResponse) Status() string

Status returns HTTPResponse.Status

func (DeviceTokenResponse) StatusCode added in v0.1.20

func (r DeviceTokenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeviceTokenResult added in v0.1.20

type DeviceTokenResult struct {
	Status DeviceTokenResultStatus `json:"status"`

	// Token Bearer API token; present only when status is approved.
	Token *string `json:"token,omitempty"`
}

DeviceTokenResult defines model for DeviceTokenResult.

type DeviceTokenResultStatus added in v0.1.20

type DeviceTokenResultStatus string

DeviceTokenResultStatus defines model for DeviceTokenResult.Status.

const (
	DeviceTokenResultStatusApproved DeviceTokenResultStatus = "approved"
	DeviceTokenResultStatusDenied   DeviceTokenResultStatus = "denied"
	DeviceTokenResultStatusExpired  DeviceTokenResultStatus = "expired"
	DeviceTokenResultStatusPending  DeviceTokenResultStatus = "pending"
)

Defines values for DeviceTokenResultStatus.

func (DeviceTokenResultStatus) Valid added in v0.1.20

func (e DeviceTokenResultStatus) Valid() bool

Valid indicates whether the value is a known member of the DeviceTokenResultStatus enum.

type DomainStatus

type DomainStatus struct {
	// Domain The domain
	Domain string `json:"domain"`

	// ExpectedIP The ingress IP the domain must point to
	ExpectedIP string `json:"expectedIP"`

	// Pointing True if the domain resolves to the expected IP
	Pointing bool `json:"pointing"`

	// ResolvedIPs The IPs the domain currently resolves to, empty if it does not resolve
	ResolvedIPs []string `json:"resolvedIPs"`
}

DomainStatus DNS resolution status of one custom domain

type EnvVar

type EnvVar struct {
	// Name The env var name
	Name string `json:"name"`

	// Value The env var value
	Value string `json:"value"`
}

EnvVar defines model for EnvVar.

type Event

type Event struct {
	// Message A human-readable message describing the event
	Message string `json:"message"`

	// Project The project this event belongs to
	Project string `json:"project"`

	// Reason A short, machine-understandable reason for the event
	Reason string `json:"reason"`

	// ServiceName Name of the service/app/database this event is related to
	ServiceName *string `json:"serviceName,omitempty"`

	// ServiceType The type of resource this event is about (e.g. app, mysql, postgres, redis)
	ServiceType *EventServiceType `json:"serviceType,omitempty"`

	// Source The origin of the event
	Source EventSource `json:"source"`

	// Timestamp When the event occurred
	Timestamp time.Time `json:"timestamp"`

	// Type The Kubernetes event type
	Type EventType `json:"type"`
}

Event defines model for Event.

type EventServiceType

type EventServiceType string

EventServiceType The type of resource this event is about (e.g. app, mysql, postgres, redis)

const (
	EventServiceTypeApp      EventServiceType = "app"
	EventServiceTypeMysql    EventServiceType = "mysql"
	EventServiceTypePostgres EventServiceType = "postgres"
	EventServiceTypeRedis    EventServiceType = "redis"
)

Defines values for EventServiceType.

func (EventServiceType) Valid

func (e EventServiceType) Valid() bool

Valid indicates whether the value is a known member of the EventServiceType enum.

type EventSource

type EventSource string

EventSource The origin of the event

const (
	Admin EventSource = "admin"
	Infra EventSource = "infra"
)

Defines values for EventSource.

func (EventSource) Valid

func (e EventSource) Valid() bool

Valid indicates whether the value is a known member of the EventSource enum.

type EventType

type EventType string

EventType The Kubernetes event type

const (
	Normal  EventType = "Normal"
	Warning EventType = "Warning"
)

Defines values for EventType.

func (EventType) Valid

func (e EventType) Valid() bool

Valid indicates whether the value is a known member of the EventType enum.

type GenericMessage

type GenericMessage struct {
	Error   string `json:"error"`
	Message string `json:"message"`
}

GenericMessage defines model for GenericMessage.

type GetAppEnvResponse

type GetAppEnvResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]EnvVar
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetAppEnvResponse

func ParseGetAppEnvResponse(rsp *http.Response) (*GetAppEnvResponse, error)

ParseGetAppEnvResponse parses an HTTP response from a GetAppEnvWithResponse call

func (GetAppEnvResponse) ContentType

func (r GetAppEnvResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAppEnvResponse) GetBody

func (r GetAppEnvResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAppEnvResponse) GetJSON200

func (r GetAppEnvResponse) GetJSON200() *[]EnvVar

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAppEnvResponse) GetJSON401

func (r GetAppEnvResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetAppEnvResponse) GetJSON404

func (r GetAppEnvResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetAppEnvResponse) GetJSON500

func (r GetAppEnvResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetAppEnvResponse) Status

func (r GetAppEnvResponse) Status() string

Status returns HTTPResponse.Status

func (GetAppEnvResponse) StatusCode

func (r GetAppEnvResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAppEventsParams

type GetAppEventsParams struct {
	// Limit Maximum number of events to return, most recent first (default 100, max 1000)
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}

GetAppEventsParams defines parameters for GetAppEvents.

type GetAppEventsResponse

type GetAppEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Event
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetAppEventsResponse

func ParseGetAppEventsResponse(rsp *http.Response) (*GetAppEventsResponse, error)

ParseGetAppEventsResponse parses an HTTP response from a GetAppEventsWithResponse call

func (GetAppEventsResponse) ContentType

func (r GetAppEventsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAppEventsResponse) GetBody

func (r GetAppEventsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAppEventsResponse) GetJSON200

func (r GetAppEventsResponse) GetJSON200() *[]Event

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAppEventsResponse) GetJSON401

func (r GetAppEventsResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetAppEventsResponse) GetJSON404

func (r GetAppEventsResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetAppEventsResponse) GetJSON500

func (r GetAppEventsResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetAppEventsResponse) Status

func (r GetAppEventsResponse) Status() string

Status returns HTTPResponse.Status

func (GetAppEventsResponse) StatusCode

func (r GetAppEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAppLogsParams

type GetAppLogsParams struct {
	// Before The timestamp (nanoseconds) to fetch logs before. If omitted, defaults to Now().
	Before *string `form:"before,omitempty" json:"before,omitempty"`

	// After Fetch logs newer than this timestamp (for polling). Mutually exclusive with 'before'.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// LogType The type of the log
	LogType GetAppLogsParamsLogType `form:"logType" json:"logType"`

	// Limit Maximum number of logs to return (default 100)
	Limit int `form:"limit" json:"limit"`
}

GetAppLogsParams defines parameters for GetAppLogs.

type GetAppLogsParamsLogType

type GetAppLogsParamsLogType string

GetAppLogsParamsLogType defines parameters for GetAppLogs.

const (
	GetAppLogsParamsLogTypeBuild  GetAppLogsParamsLogType = "build"
	GetAppLogsParamsLogTypeStdout GetAppLogsParamsLogType = "stdout"
)

Defines values for GetAppLogsParamsLogType.

func (GetAppLogsParamsLogType) Valid

func (e GetAppLogsParamsLogType) Valid() bool

Valid indicates whether the value is a known member of the GetAppLogsParamsLogType enum.

type GetAppLogsResponse

type GetAppLogsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Log
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetAppLogsResponse

func ParseGetAppLogsResponse(rsp *http.Response) (*GetAppLogsResponse, error)

ParseGetAppLogsResponse parses an HTTP response from a GetAppLogsWithResponse call

func (GetAppLogsResponse) ContentType

func (r GetAppLogsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAppLogsResponse) GetBody

func (r GetAppLogsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAppLogsResponse) GetJSON200

func (r GetAppLogsResponse) GetJSON200() *[]Log

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAppLogsResponse) GetJSON401

func (r GetAppLogsResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetAppLogsResponse) GetJSON404

func (r GetAppLogsResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetAppLogsResponse) GetJSON500

func (r GetAppLogsResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetAppLogsResponse) Status

func (r GetAppLogsResponse) Status() string

Status returns HTTPResponse.Status

func (GetAppLogsResponse) StatusCode

func (r GetAppLogsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAppResponse

type GetAppResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *App
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetAppResponse

func ParseGetAppResponse(rsp *http.Response) (*GetAppResponse, error)

ParseGetAppResponse parses an HTTP response from a GetAppWithResponse call

func (GetAppResponse) ContentType

func (r GetAppResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAppResponse) GetBody

func (r GetAppResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAppResponse) GetJSON200

func (r GetAppResponse) GetJSON200() *App

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAppResponse) GetJSON401

func (r GetAppResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetAppResponse) GetJSON404

func (r GetAppResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetAppResponse) GetJSON500

func (r GetAppResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetAppResponse) Status

func (r GetAppResponse) Status() string

Status returns HTTPResponse.Status

func (GetAppResponse) StatusCode

func (r GetAppResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAppStatusResponse

type GetAppStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AppStatus
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetAppStatusResponse

func ParseGetAppStatusResponse(rsp *http.Response) (*GetAppStatusResponse, error)

ParseGetAppStatusResponse parses an HTTP response from a GetAppStatusWithResponse call

func (GetAppStatusResponse) ContentType

func (r GetAppStatusResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAppStatusResponse) GetBody

func (r GetAppStatusResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAppStatusResponse) GetJSON200

func (r GetAppStatusResponse) GetJSON200() *AppStatus

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAppStatusResponse) GetJSON401

func (r GetAppStatusResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetAppStatusResponse) GetJSON404

func (r GetAppStatusResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetAppStatusResponse) GetJSON500

func (r GetAppStatusResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetAppStatusResponse) Status

func (r GetAppStatusResponse) Status() string

Status returns HTTPResponse.Status

func (GetAppStatusResponse) StatusCode

func (r GetAppStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAppsResponse

type GetAppsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]App
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetAppsResponse

func ParseGetAppsResponse(rsp *http.Response) (*GetAppsResponse, error)

ParseGetAppsResponse parses an HTTP response from a GetAppsWithResponse call

func (GetAppsResponse) ContentType

func (r GetAppsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAppsResponse) GetBody

func (r GetAppsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAppsResponse) GetJSON200

func (r GetAppsResponse) GetJSON200() *[]App

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAppsResponse) GetJSON401

func (r GetAppsResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetAppsResponse) GetJSON404

func (r GetAppsResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetAppsResponse) GetJSON500

func (r GetAppsResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetAppsResponse) Status

func (r GetAppsResponse) Status() string

Status returns HTTPResponse.Status

func (GetAppsResponse) StatusCode

func (r GetAppsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDomainStatusResponse

type GetDomainStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]DomainStatus
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetDomainStatusResponse

func ParseGetDomainStatusResponse(rsp *http.Response) (*GetDomainStatusResponse, error)

ParseGetDomainStatusResponse parses an HTTP response from a GetDomainStatusWithResponse call

func (GetDomainStatusResponse) ContentType

func (r GetDomainStatusResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDomainStatusResponse) GetBody

func (r GetDomainStatusResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetDomainStatusResponse) GetJSON200

func (r GetDomainStatusResponse) GetJSON200() *[]DomainStatus

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDomainStatusResponse) GetJSON401

func (r GetDomainStatusResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetDomainStatusResponse) GetJSON404

func (r GetDomainStatusResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetDomainStatusResponse) GetJSON500

func (r GetDomainStatusResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetDomainStatusResponse) Status

func (r GetDomainStatusResponse) Status() string

Status returns HTTPResponse.Status

func (GetDomainStatusResponse) StatusCode

func (r GetDomainStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetGlobalEnvResponse

type GetGlobalEnvResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]EnvVar
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetGlobalEnvResponse

func ParseGetGlobalEnvResponse(rsp *http.Response) (*GetGlobalEnvResponse, error)

ParseGetGlobalEnvResponse parses an HTTP response from a GetGlobalEnvWithResponse call

func (GetGlobalEnvResponse) ContentType

func (r GetGlobalEnvResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetGlobalEnvResponse) GetBody

func (r GetGlobalEnvResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetGlobalEnvResponse) GetJSON200

func (r GetGlobalEnvResponse) GetJSON200() *[]EnvVar

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetGlobalEnvResponse) GetJSON401

func (r GetGlobalEnvResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetGlobalEnvResponse) GetJSON404

func (r GetGlobalEnvResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetGlobalEnvResponse) GetJSON500

func (r GetGlobalEnvResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetGlobalEnvResponse) Status

func (r GetGlobalEnvResponse) Status() string

Status returns HTTPResponse.Status

func (GetGlobalEnvResponse) StatusCode

func (r GetGlobalEnvResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMySQLEventsResponse

type GetMySQLEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Event
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetMySQLEventsResponse

func ParseGetMySQLEventsResponse(rsp *http.Response) (*GetMySQLEventsResponse, error)

ParseGetMySQLEventsResponse parses an HTTP response from a GetMySQLEventsWithResponse call

func (GetMySQLEventsResponse) ContentType

func (r GetMySQLEventsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetMySQLEventsResponse) GetBody

func (r GetMySQLEventsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetMySQLEventsResponse) GetJSON200

func (r GetMySQLEventsResponse) GetJSON200() *[]Event

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetMySQLEventsResponse) GetJSON401

func (r GetMySQLEventsResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetMySQLEventsResponse) GetJSON404

func (r GetMySQLEventsResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetMySQLEventsResponse) GetJSON500

func (r GetMySQLEventsResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetMySQLEventsResponse) Status

func (r GetMySQLEventsResponse) Status() string

Status returns HTTPResponse.Status

func (GetMySQLEventsResponse) StatusCode

func (r GetMySQLEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMysqlCredentialsResponse

type GetMysqlCredentialsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *MySQLCredentials
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetMysqlCredentialsResponse

func ParseGetMysqlCredentialsResponse(rsp *http.Response) (*GetMysqlCredentialsResponse, error)

ParseGetMysqlCredentialsResponse parses an HTTP response from a GetMysqlCredentialsWithResponse call

func (GetMysqlCredentialsResponse) ContentType

func (r GetMysqlCredentialsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetMysqlCredentialsResponse) GetBody

func (r GetMysqlCredentialsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetMysqlCredentialsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetMysqlCredentialsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetMysqlCredentialsResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetMysqlCredentialsResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetMysqlCredentialsResponse) Status

Status returns HTTPResponse.Status

func (GetMysqlCredentialsResponse) StatusCode

func (r GetMysqlCredentialsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMysqlEnvResponse

type GetMysqlEnvResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]EnvVar
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetMysqlEnvResponse

func ParseGetMysqlEnvResponse(rsp *http.Response) (*GetMysqlEnvResponse, error)

ParseGetMysqlEnvResponse parses an HTTP response from a GetMysqlEnvWithResponse call

func (GetMysqlEnvResponse) ContentType

func (r GetMysqlEnvResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetMysqlEnvResponse) GetBody

func (r GetMysqlEnvResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetMysqlEnvResponse) GetJSON200

func (r GetMysqlEnvResponse) GetJSON200() *[]EnvVar

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetMysqlEnvResponse) GetJSON401

func (r GetMysqlEnvResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetMysqlEnvResponse) GetJSON404

func (r GetMysqlEnvResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetMysqlEnvResponse) GetJSON500

func (r GetMysqlEnvResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetMysqlEnvResponse) Status

func (r GetMysqlEnvResponse) Status() string

Status returns HTTPResponse.Status

func (GetMysqlEnvResponse) StatusCode

func (r GetMysqlEnvResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMysqlResponse

type GetMysqlResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *MySQL
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetMysqlResponse

func ParseGetMysqlResponse(rsp *http.Response) (*GetMysqlResponse, error)

ParseGetMysqlResponse parses an HTTP response from a GetMysqlWithResponse call

func (GetMysqlResponse) ContentType

func (r GetMysqlResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetMysqlResponse) GetBody

func (r GetMysqlResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetMysqlResponse) GetJSON200

func (r GetMysqlResponse) GetJSON200() *MySQL

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetMysqlResponse) GetJSON401

func (r GetMysqlResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetMysqlResponse) GetJSON404

func (r GetMysqlResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetMysqlResponse) GetJSON500

func (r GetMysqlResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetMysqlResponse) Status

func (r GetMysqlResponse) Status() string

Status returns HTTPResponse.Status

func (GetMysqlResponse) StatusCode

func (r GetMysqlResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMysqlStatusResponse

type GetMysqlStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *MySQLStatus
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetMysqlStatusResponse

func ParseGetMysqlStatusResponse(rsp *http.Response) (*GetMysqlStatusResponse, error)

ParseGetMysqlStatusResponse parses an HTTP response from a GetMysqlStatusWithResponse call

func (GetMysqlStatusResponse) ContentType

func (r GetMysqlStatusResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetMysqlStatusResponse) GetBody

func (r GetMysqlStatusResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetMysqlStatusResponse) GetJSON200

func (r GetMysqlStatusResponse) GetJSON200() *MySQLStatus

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetMysqlStatusResponse) GetJSON401

func (r GetMysqlStatusResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetMysqlStatusResponse) GetJSON404

func (r GetMysqlStatusResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetMysqlStatusResponse) GetJSON500

func (r GetMysqlStatusResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetMysqlStatusResponse) Status

func (r GetMysqlStatusResponse) Status() string

Status returns HTTPResponse.Status

func (GetMysqlStatusResponse) StatusCode

func (r GetMysqlStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMysqlsResponse

type GetMysqlsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]MySQL
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetMysqlsResponse

func ParseGetMysqlsResponse(rsp *http.Response) (*GetMysqlsResponse, error)

ParseGetMysqlsResponse parses an HTTP response from a GetMysqlsWithResponse call

func (GetMysqlsResponse) ContentType

func (r GetMysqlsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetMysqlsResponse) GetBody

func (r GetMysqlsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetMysqlsResponse) GetJSON200

func (r GetMysqlsResponse) GetJSON200() *[]MySQL

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetMysqlsResponse) GetJSON401

func (r GetMysqlsResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetMysqlsResponse) GetJSON404

func (r GetMysqlsResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetMysqlsResponse) GetJSON500

func (r GetMysqlsResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetMysqlsResponse) Status

func (r GetMysqlsResponse) Status() string

Status returns HTTPResponse.Status

func (GetMysqlsResponse) StatusCode

func (r GetMysqlsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPostgresCredentialsResponse

type GetPostgresCredentialsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PostgresCredentials
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetPostgresCredentialsResponse

func ParseGetPostgresCredentialsResponse(rsp *http.Response) (*GetPostgresCredentialsResponse, error)

ParseGetPostgresCredentialsResponse parses an HTTP response from a GetPostgresCredentialsWithResponse call

func (GetPostgresCredentialsResponse) ContentType

func (r GetPostgresCredentialsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetPostgresCredentialsResponse) GetBody

func (r GetPostgresCredentialsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetPostgresCredentialsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetPostgresCredentialsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetPostgresCredentialsResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetPostgresCredentialsResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetPostgresCredentialsResponse) Status

Status returns HTTPResponse.Status

func (GetPostgresCredentialsResponse) StatusCode

func (r GetPostgresCredentialsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPostgresEnvResponse

type GetPostgresEnvResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]EnvVar
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetPostgresEnvResponse

func ParseGetPostgresEnvResponse(rsp *http.Response) (*GetPostgresEnvResponse, error)

ParseGetPostgresEnvResponse parses an HTTP response from a GetPostgresEnvWithResponse call

func (GetPostgresEnvResponse) ContentType

func (r GetPostgresEnvResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetPostgresEnvResponse) GetBody

func (r GetPostgresEnvResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetPostgresEnvResponse) GetJSON200

func (r GetPostgresEnvResponse) GetJSON200() *[]EnvVar

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetPostgresEnvResponse) GetJSON401

func (r GetPostgresEnvResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetPostgresEnvResponse) GetJSON404

func (r GetPostgresEnvResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetPostgresEnvResponse) GetJSON500

func (r GetPostgresEnvResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetPostgresEnvResponse) Status

func (r GetPostgresEnvResponse) Status() string

Status returns HTTPResponse.Status

func (GetPostgresEnvResponse) StatusCode

func (r GetPostgresEnvResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPostgresEventsResponse

type GetPostgresEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Event
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetPostgresEventsResponse

func ParseGetPostgresEventsResponse(rsp *http.Response) (*GetPostgresEventsResponse, error)

ParseGetPostgresEventsResponse parses an HTTP response from a GetPostgresEventsWithResponse call

func (GetPostgresEventsResponse) ContentType

func (r GetPostgresEventsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetPostgresEventsResponse) GetBody

func (r GetPostgresEventsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetPostgresEventsResponse) GetJSON200

func (r GetPostgresEventsResponse) GetJSON200() *[]Event

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetPostgresEventsResponse) GetJSON401

func (r GetPostgresEventsResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetPostgresEventsResponse) GetJSON404

func (r GetPostgresEventsResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetPostgresEventsResponse) GetJSON500

func (r GetPostgresEventsResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetPostgresEventsResponse) Status

func (r GetPostgresEventsResponse) Status() string

Status returns HTTPResponse.Status

func (GetPostgresEventsResponse) StatusCode

func (r GetPostgresEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPostgresExtensionsResponse

type GetPostgresExtensionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]string
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetPostgresExtensionsResponse

func ParseGetPostgresExtensionsResponse(rsp *http.Response) (*GetPostgresExtensionsResponse, error)

ParseGetPostgresExtensionsResponse parses an HTTP response from a GetPostgresExtensionsWithResponse call

func (GetPostgresExtensionsResponse) ContentType

func (r GetPostgresExtensionsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetPostgresExtensionsResponse) GetBody

func (r GetPostgresExtensionsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetPostgresExtensionsResponse) GetJSON200

func (r GetPostgresExtensionsResponse) GetJSON200() *[]string

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetPostgresExtensionsResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetPostgresExtensionsResponse) Status

Status returns HTTPResponse.Status

func (GetPostgresExtensionsResponse) StatusCode

func (r GetPostgresExtensionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPostgresInstanceResponse

type GetPostgresInstanceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Postgres
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetPostgresInstanceResponse

func ParseGetPostgresInstanceResponse(rsp *http.Response) (*GetPostgresInstanceResponse, error)

ParseGetPostgresInstanceResponse parses an HTTP response from a GetPostgresInstanceWithResponse call

func (GetPostgresInstanceResponse) ContentType

func (r GetPostgresInstanceResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetPostgresInstanceResponse) GetBody

func (r GetPostgresInstanceResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetPostgresInstanceResponse) GetJSON200

func (r GetPostgresInstanceResponse) GetJSON200() *Postgres

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetPostgresInstanceResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetPostgresInstanceResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetPostgresInstanceResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetPostgresInstanceResponse) Status

Status returns HTTPResponse.Status

func (GetPostgresInstanceResponse) StatusCode

func (r GetPostgresInstanceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPostgresResponse

type GetPostgresResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Postgres
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetPostgresResponse

func ParseGetPostgresResponse(rsp *http.Response) (*GetPostgresResponse, error)

ParseGetPostgresResponse parses an HTTP response from a GetPostgresWithResponse call

func (GetPostgresResponse) ContentType

func (r GetPostgresResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetPostgresResponse) GetBody

func (r GetPostgresResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetPostgresResponse) GetJSON200

func (r GetPostgresResponse) GetJSON200() *[]Postgres

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetPostgresResponse) GetJSON401

func (r GetPostgresResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetPostgresResponse) GetJSON404

func (r GetPostgresResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetPostgresResponse) GetJSON500

func (r GetPostgresResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetPostgresResponse) Status

func (r GetPostgresResponse) Status() string

Status returns HTTPResponse.Status

func (GetPostgresResponse) StatusCode

func (r GetPostgresResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPostgresStatusResponse

type GetPostgresStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PostgresStatus
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetPostgresStatusResponse

func ParseGetPostgresStatusResponse(rsp *http.Response) (*GetPostgresStatusResponse, error)

ParseGetPostgresStatusResponse parses an HTTP response from a GetPostgresStatusWithResponse call

func (GetPostgresStatusResponse) ContentType

func (r GetPostgresStatusResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetPostgresStatusResponse) GetBody

func (r GetPostgresStatusResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetPostgresStatusResponse) GetJSON200

func (r GetPostgresStatusResponse) GetJSON200() *PostgresStatus

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetPostgresStatusResponse) GetJSON401

func (r GetPostgresStatusResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetPostgresStatusResponse) GetJSON404

func (r GetPostgresStatusResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetPostgresStatusResponse) GetJSON500

func (r GetPostgresStatusResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetPostgresStatusResponse) Status

func (r GetPostgresStatusResponse) Status() string

Status returns HTTPResponse.Status

func (GetPostgresStatusResponse) StatusCode

func (r GetPostgresStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProjectEventsParams

type GetProjectEventsParams struct {
	Limit  *int `form:"limit,omitempty" json:"limit,omitempty"`
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}

GetProjectEventsParams defines parameters for GetProjectEvents.

type GetProjectEventsResponse

type GetProjectEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Data  *[]Event `json:"data,omitempty"`
		Total *int     `json:"total,omitempty"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetProjectEventsResponse

func ParseGetProjectEventsResponse(rsp *http.Response) (*GetProjectEventsResponse, error)

ParseGetProjectEventsResponse parses an HTTP response from a GetProjectEventsWithResponse call

func (GetProjectEventsResponse) ContentType

func (r GetProjectEventsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetProjectEventsResponse) GetBody

func (r GetProjectEventsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetProjectEventsResponse) GetJSON200

func (r GetProjectEventsResponse) GetJSON200() *struct {
	Data  *[]Event `json:"data,omitempty"`
	Total *int     `json:"total,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetProjectEventsResponse) GetJSON401

func (r GetProjectEventsResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetProjectEventsResponse) GetJSON404

func (r GetProjectEventsResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetProjectEventsResponse) GetJSON500

func (r GetProjectEventsResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetProjectEventsResponse) Status

func (r GetProjectEventsResponse) Status() string

Status returns HTTPResponse.Status

func (GetProjectEventsResponse) StatusCode

func (r GetProjectEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProjectResponse

type GetProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Project
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetProjectResponse

func ParseGetProjectResponse(rsp *http.Response) (*GetProjectResponse, error)

ParseGetProjectResponse parses an HTTP response from a GetProjectWithResponse call

func (GetProjectResponse) ContentType

func (r GetProjectResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetProjectResponse) GetBody

func (r GetProjectResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetProjectResponse) GetJSON200

func (r GetProjectResponse) GetJSON200() *Project

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetProjectResponse) GetJSON401

func (r GetProjectResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetProjectResponse) GetJSON404

func (r GetProjectResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetProjectResponse) GetJSON500

func (r GetProjectResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetProjectResponse) Status

func (r GetProjectResponse) Status() string

Status returns HTTPResponse.Status

func (GetProjectResponse) StatusCode

func (r GetProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProjectsResponse

type GetProjectsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Project
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetProjectsResponse

func ParseGetProjectsResponse(rsp *http.Response) (*GetProjectsResponse, error)

ParseGetProjectsResponse parses an HTTP response from a GetProjectsWithResponse call

func (GetProjectsResponse) ContentType

func (r GetProjectsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetProjectsResponse) GetBody

func (r GetProjectsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetProjectsResponse) GetJSON200

func (r GetProjectsResponse) GetJSON200() *[]Project

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetProjectsResponse) GetJSON401

func (r GetProjectsResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetProjectsResponse) GetJSON404

func (r GetProjectsResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetProjectsResponse) GetJSON500

func (r GetProjectsResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

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 GetRedisCredentialsResponse

type GetRedisCredentialsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *RedisCredentials
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetRedisCredentialsResponse

func ParseGetRedisCredentialsResponse(rsp *http.Response) (*GetRedisCredentialsResponse, error)

ParseGetRedisCredentialsResponse parses an HTTP response from a GetRedisCredentialsWithResponse call

func (GetRedisCredentialsResponse) ContentType

func (r GetRedisCredentialsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetRedisCredentialsResponse) GetBody

func (r GetRedisCredentialsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetRedisCredentialsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetRedisCredentialsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetRedisCredentialsResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetRedisCredentialsResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetRedisCredentialsResponse) Status

Status returns HTTPResponse.Status

func (GetRedisCredentialsResponse) StatusCode

func (r GetRedisCredentialsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetRedisEnvResponse

type GetRedisEnvResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]EnvVar
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetRedisEnvResponse

func ParseGetRedisEnvResponse(rsp *http.Response) (*GetRedisEnvResponse, error)

ParseGetRedisEnvResponse parses an HTTP response from a GetRedisEnvWithResponse call

func (GetRedisEnvResponse) ContentType

func (r GetRedisEnvResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetRedisEnvResponse) GetBody

func (r GetRedisEnvResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetRedisEnvResponse) GetJSON200

func (r GetRedisEnvResponse) GetJSON200() *[]EnvVar

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetRedisEnvResponse) GetJSON401

func (r GetRedisEnvResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetRedisEnvResponse) GetJSON404

func (r GetRedisEnvResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetRedisEnvResponse) GetJSON500

func (r GetRedisEnvResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetRedisEnvResponse) Status

func (r GetRedisEnvResponse) Status() string

Status returns HTTPResponse.Status

func (GetRedisEnvResponse) StatusCode

func (r GetRedisEnvResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetRedisEventsResponse

type GetRedisEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Event
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetRedisEventsResponse

func ParseGetRedisEventsResponse(rsp *http.Response) (*GetRedisEventsResponse, error)

ParseGetRedisEventsResponse parses an HTTP response from a GetRedisEventsWithResponse call

func (GetRedisEventsResponse) ContentType

func (r GetRedisEventsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetRedisEventsResponse) GetBody

func (r GetRedisEventsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetRedisEventsResponse) GetJSON200

func (r GetRedisEventsResponse) GetJSON200() *[]Event

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetRedisEventsResponse) GetJSON401

func (r GetRedisEventsResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetRedisEventsResponse) GetJSON404

func (r GetRedisEventsResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetRedisEventsResponse) GetJSON500

func (r GetRedisEventsResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetRedisEventsResponse) Status

func (r GetRedisEventsResponse) Status() string

Status returns HTTPResponse.Status

func (GetRedisEventsResponse) StatusCode

func (r GetRedisEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetRedisResponse

type GetRedisResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Redis
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetRedisResponse

func ParseGetRedisResponse(rsp *http.Response) (*GetRedisResponse, error)

ParseGetRedisResponse parses an HTTP response from a GetRedisWithResponse call

func (GetRedisResponse) ContentType

func (r GetRedisResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetRedisResponse) GetBody

func (r GetRedisResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetRedisResponse) GetJSON200

func (r GetRedisResponse) GetJSON200() *Redis

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetRedisResponse) GetJSON401

func (r GetRedisResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetRedisResponse) GetJSON404

func (r GetRedisResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetRedisResponse) GetJSON500

func (r GetRedisResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetRedisResponse) Status

func (r GetRedisResponse) Status() string

Status returns HTTPResponse.Status

func (GetRedisResponse) StatusCode

func (r GetRedisResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetRedisStatusResponse

type GetRedisStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *RedisStatus
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetRedisStatusResponse

func ParseGetRedisStatusResponse(rsp *http.Response) (*GetRedisStatusResponse, error)

ParseGetRedisStatusResponse parses an HTTP response from a GetRedisStatusWithResponse call

func (GetRedisStatusResponse) ContentType

func (r GetRedisStatusResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetRedisStatusResponse) GetBody

func (r GetRedisStatusResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetRedisStatusResponse) GetJSON200

func (r GetRedisStatusResponse) GetJSON200() *RedisStatus

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetRedisStatusResponse) GetJSON401

func (r GetRedisStatusResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetRedisStatusResponse) GetJSON404

func (r GetRedisStatusResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetRedisStatusResponse) GetJSON500

func (r GetRedisStatusResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetRedisStatusResponse) Status

func (r GetRedisStatusResponse) Status() string

Status returns HTTPResponse.Status

func (GetRedisStatusResponse) StatusCode

func (r GetRedisStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetRedisesResponse

type GetRedisesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Redis
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetRedisesResponse

func ParseGetRedisesResponse(rsp *http.Response) (*GetRedisesResponse, error)

ParseGetRedisesResponse parses an HTTP response from a GetRedisesWithResponse call

func (GetRedisesResponse) ContentType

func (r GetRedisesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetRedisesResponse) GetBody

func (r GetRedisesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetRedisesResponse) GetJSON200

func (r GetRedisesResponse) GetJSON200() *[]Redis

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetRedisesResponse) GetJSON401

func (r GetRedisesResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetRedisesResponse) GetJSON404

func (r GetRedisesResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetRedisesResponse) GetJSON500

func (r GetRedisesResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetRedisesResponse) Status

func (r GetRedisesResponse) Status() string

Status returns HTTPResponse.Status

func (GetRedisesResponse) StatusCode

func (r GetRedisesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetRegionAppPricingResponse

type GetRegionAppPricingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]AppPricing
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetRegionAppPricingResponse

func ParseGetRegionAppPricingResponse(rsp *http.Response) (*GetRegionAppPricingResponse, error)

ParseGetRegionAppPricingResponse parses an HTTP response from a GetRegionAppPricingWithResponse call

func (GetRegionAppPricingResponse) ContentType

func (r GetRegionAppPricingResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetRegionAppPricingResponse) GetBody

func (r GetRegionAppPricingResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetRegionAppPricingResponse) GetJSON200

func (r GetRegionAppPricingResponse) GetJSON200() *[]AppPricing

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetRegionAppPricingResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetRegionAppPricingResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetRegionAppPricingResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetRegionAppPricingResponse) Status

Status returns HTTPResponse.Status

func (GetRegionAppPricingResponse) StatusCode

func (r GetRegionAppPricingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetRegionMySQLPricingResponse

type GetRegionMySQLPricingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]MySQLPricing
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetRegionMySQLPricingResponse

func ParseGetRegionMySQLPricingResponse(rsp *http.Response) (*GetRegionMySQLPricingResponse, error)

ParseGetRegionMySQLPricingResponse parses an HTTP response from a GetRegionMySQLPricingWithResponse call

func (GetRegionMySQLPricingResponse) ContentType

func (r GetRegionMySQLPricingResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetRegionMySQLPricingResponse) GetBody

func (r GetRegionMySQLPricingResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetRegionMySQLPricingResponse) GetJSON200

func (r GetRegionMySQLPricingResponse) GetJSON200() *[]MySQLPricing

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetRegionMySQLPricingResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetRegionMySQLPricingResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetRegionMySQLPricingResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetRegionMySQLPricingResponse) Status

Status returns HTTPResponse.Status

func (GetRegionMySQLPricingResponse) StatusCode

func (r GetRegionMySQLPricingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetRegionPostgresPricingResponse

type GetRegionPostgresPricingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]PostgresPricing
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetRegionPostgresPricingResponse

func ParseGetRegionPostgresPricingResponse(rsp *http.Response) (*GetRegionPostgresPricingResponse, error)

ParseGetRegionPostgresPricingResponse parses an HTTP response from a GetRegionPostgresPricingWithResponse call

func (GetRegionPostgresPricingResponse) ContentType

func (r GetRegionPostgresPricingResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetRegionPostgresPricingResponse) GetBody

func (r GetRegionPostgresPricingResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetRegionPostgresPricingResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetRegionPostgresPricingResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetRegionPostgresPricingResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetRegionPostgresPricingResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetRegionPostgresPricingResponse) Status

Status returns HTTPResponse.Status

func (GetRegionPostgresPricingResponse) StatusCode

func (r GetRegionPostgresPricingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetRegionRedisPricingResponse

type GetRegionRedisPricingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]RedisPricing
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetRegionRedisPricingResponse

func ParseGetRegionRedisPricingResponse(rsp *http.Response) (*GetRegionRedisPricingResponse, error)

ParseGetRegionRedisPricingResponse parses an HTTP response from a GetRegionRedisPricingWithResponse call

func (GetRegionRedisPricingResponse) ContentType

func (r GetRegionRedisPricingResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetRegionRedisPricingResponse) GetBody

func (r GetRegionRedisPricingResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetRegionRedisPricingResponse) GetJSON200

func (r GetRegionRedisPricingResponse) GetJSON200() *[]RedisPricing

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetRegionRedisPricingResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetRegionRedisPricingResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetRegionRedisPricingResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetRegionRedisPricingResponse) Status

Status returns HTTPResponse.Status

func (GetRegionRedisPricingResponse) StatusCode

func (r GetRegionRedisPricingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetRegionResponse

type GetRegionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Region
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetRegionResponse

func ParseGetRegionResponse(rsp *http.Response) (*GetRegionResponse, error)

ParseGetRegionResponse parses an HTTP response from a GetRegionWithResponse call

func (GetRegionResponse) ContentType

func (r GetRegionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetRegionResponse) GetBody

func (r GetRegionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetRegionResponse) GetJSON200

func (r GetRegionResponse) GetJSON200() *Region

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetRegionResponse) GetJSON401

func (r GetRegionResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetRegionResponse) GetJSON404

func (r GetRegionResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetRegionResponse) GetJSON500

func (r GetRegionResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetRegionResponse) Status

func (r GetRegionResponse) Status() string

Status returns HTTPResponse.Status

func (GetRegionResponse) StatusCode

func (r GetRegionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetRegionVolumePricingResponse

type GetRegionVolumePricingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]VolumePricing
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetRegionVolumePricingResponse

func ParseGetRegionVolumePricingResponse(rsp *http.Response) (*GetRegionVolumePricingResponse, error)

ParseGetRegionVolumePricingResponse parses an HTTP response from a GetRegionVolumePricingWithResponse call

func (GetRegionVolumePricingResponse) ContentType

func (r GetRegionVolumePricingResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetRegionVolumePricingResponse) GetBody

func (r GetRegionVolumePricingResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetRegionVolumePricingResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetRegionVolumePricingResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetRegionVolumePricingResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetRegionVolumePricingResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetRegionVolumePricingResponse) Status

Status returns HTTPResponse.Status

func (GetRegionVolumePricingResponse) StatusCode

func (r GetRegionVolumePricingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetRegionsResponse

type GetRegionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]string
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
}

func ParseGetRegionsResponse

func ParseGetRegionsResponse(rsp *http.Response) (*GetRegionsResponse, error)

ParseGetRegionsResponse parses an HTTP response from a GetRegionsWithResponse call

func (GetRegionsResponse) ContentType

func (r GetRegionsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetRegionsResponse) GetBody

func (r GetRegionsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetRegionsResponse) GetJSON200

func (r GetRegionsResponse) GetJSON200() *[]string

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetRegionsResponse) GetJSON401

func (r GetRegionsResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetRegionsResponse) GetJSON404

func (r GetRegionsResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetRegionsResponse) Status

func (r GetRegionsResponse) Status() string

Status returns HTTPResponse.Status

func (GetRegionsResponse) StatusCode

func (r GetRegionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTemplatesResponse

type GetTemplatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Template
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetTemplatesResponse

func ParseGetTemplatesResponse(rsp *http.Response) (*GetTemplatesResponse, error)

ParseGetTemplatesResponse parses an HTTP response from a GetTemplatesWithResponse call

func (GetTemplatesResponse) ContentType

func (r GetTemplatesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTemplatesResponse) GetBody

func (r GetTemplatesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetTemplatesResponse) GetJSON200

func (r GetTemplatesResponse) GetJSON200() *[]Template

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTemplatesResponse) GetJSON401

func (r GetTemplatesResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTemplatesResponse) GetJSON404

func (r GetTemplatesResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetTemplatesResponse) GetJSON500

func (r GetTemplatesResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetTemplatesResponse) Status

func (r GetTemplatesResponse) Status() string

Status returns HTTPResponse.Status

func (GetTemplatesResponse) StatusCode

func (r GetTemplatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetVolumeResponse

type GetVolumeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Volume
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetVolumeResponse

func ParseGetVolumeResponse(rsp *http.Response) (*GetVolumeResponse, error)

ParseGetVolumeResponse parses an HTTP response from a GetVolumeWithResponse call

func (GetVolumeResponse) ContentType

func (r GetVolumeResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetVolumeResponse) GetBody

func (r GetVolumeResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetVolumeResponse) GetJSON200

func (r GetVolumeResponse) GetJSON200() *Volume

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetVolumeResponse) GetJSON401

func (r GetVolumeResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetVolumeResponse) GetJSON404

func (r GetVolumeResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetVolumeResponse) GetJSON500

func (r GetVolumeResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetVolumeResponse) Status

func (r GetVolumeResponse) Status() string

Status returns HTTPResponse.Status

func (GetVolumeResponse) StatusCode

func (r GetVolumeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetVolumesResponse

type GetVolumesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Volume
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseGetVolumesResponse

func ParseGetVolumesResponse(rsp *http.Response) (*GetVolumesResponse, error)

ParseGetVolumesResponse parses an HTTP response from a GetVolumesWithResponse call

func (GetVolumesResponse) ContentType

func (r GetVolumesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetVolumesResponse) GetBody

func (r GetVolumesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetVolumesResponse) GetJSON200

func (r GetVolumesResponse) GetJSON200() *[]Volume

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetVolumesResponse) GetJSON401

func (r GetVolumesResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetVolumesResponse) GetJSON404

func (r GetVolumesResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetVolumesResponse) GetJSON500

func (r GetVolumesResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetVolumesResponse) Status

func (r GetVolumesResponse) Status() string

Status returns HTTPResponse.Status

func (GetVolumesResponse) StatusCode

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

type Log struct {
	// Message The log message
	Message string `json:"message"`

	// Timestamp The log timestamp (Unix timestamp in nanoseconds)
	Timestamp string `json:"timestamp"`

	// Type The log type
	Type LogType `json:"type"`
}

Log The log object, used for logs

type LogType

type LogType string

LogType The log type

const (
	LogTypeBuild  LogType = "build"
	LogTypeHttp   LogType = "http"
	LogTypeStdout LogType = "stdout"
)

Defines values for LogType.

func (LogType) Valid

func (e LogType) Valid() bool

Valid indicates whether the value is a known member of the LogType enum.

type MySQL

type MySQL struct {
	// Cores The number of CPU cores
	Cores *float32 `json:"cores,omitempty"`

	// Cost The cost of the MySQL instance per month
	Cost *float32 `json:"cost,omitempty"`

	// Name The MySQL name
	Name string `json:"name"`

	// Plan The plan of the MySQL instance
	Plan string `json:"plan"`

	// Ram The amount of RAM in GB
	Ram *float32 `json:"ram,omitempty"`

	// StorageMB The amount of storage in MB
	StorageMB *float32 `json:"storageMB,omitempty"`

	// Type The type of the mysql instance, either shared or dedicated
	Type *string `json:"type,omitempty"`
}

MySQL defines model for MySQL.

type MySQLCredentials

type MySQLCredentials struct {
	// Database The MySQL database
	Database string `json:"database"`

	// Hostname The MySQL hostname
	Hostname string `json:"hostname"`

	// Password The MySQL password
	Password string `json:"password"`

	// Port The MySQL port
	Port string `json:"port"`

	// Username The MySQL username
	Username string `json:"username"`
}

MySQLCredentials defines model for MySQLCredentials.

type MySQLPricing

type MySQLPricing struct {
	// Available Whether the plan is available or not
	Available bool `json:"available"`

	// Cores The cores of the MySQL instance
	Cores *int `json:"cores,omitempty"`

	// Name The pricing plan name
	Name string `json:"name"`

	// Price The price of the MySQL instance
	Price float32 `json:"price"`

	// Ram The ram of the MySQL instance
	Ram *int `json:"ram,omitempty"`

	// StorageMB The storage of the MySQL instance in MB
	StorageMB int `json:"storageMB"`

	// Type The type of the MySQL instance
	Type MySQLPricingType `json:"type"`
}

MySQLPricing defines model for MySQLPricing.

type MySQLPricingType

type MySQLPricingType string

MySQLPricingType The type of the MySQL instance

const (
	MySQLPricingTypeDedicated MySQLPricingType = "dedicated"
	MySQLPricingTypeShared    MySQLPricingType = "shared"
)

Defines values for MySQLPricingType.

func (MySQLPricingType) Valid

func (e MySQLPricingType) Valid() bool

Valid indicates whether the value is a known member of the MySQLPricingType enum.

type MySQLStatus

type MySQLStatus struct {
	// Created Whether the mysql database instance is created or not
	Created bool `json:"created"`

	// MigrationStatus The migration status of the mysql instance
	MigrationStatus *MySQLStatusMigrationStatus `json:"migrationStatus,omitempty"`

	// Role The role of the mysql instance
	Role MySQLStatusRole `json:"role"`

	// UsedMB The used storage of mysql database in MB
	UsedMB int `json:"usedMB"`
}

MySQLStatus defines model for MySQLStatus.

type MySQLStatusMigrationStatus

type MySQLStatusMigrationStatus string

MySQLStatusMigrationStatus The migration status of the mysql instance

const (
	MySQLStatusMigrationStatusFailed     MySQLStatusMigrationStatus = "Failed"
	MySQLStatusMigrationStatusInProgress MySQLStatusMigrationStatus = "InProgress"
	MySQLStatusMigrationStatusNone       MySQLStatusMigrationStatus = "None"
	MySQLStatusMigrationStatusScheduled  MySQLStatusMigrationStatus = "Scheduled"
	MySQLStatusMigrationStatusSucceeded  MySQLStatusMigrationStatus = "Succeeded"
)

Defines values for MySQLStatusMigrationStatus.

func (MySQLStatusMigrationStatus) Valid

func (e MySQLStatusMigrationStatus) Valid() bool

Valid indicates whether the value is a known member of the MySQLStatusMigrationStatus enum.

type MySQLStatusRole

type MySQLStatusRole string

MySQLStatusRole The role of the mysql instance

const (
	MySQLStatusRoleCleaner  MySQLStatusRole = "cleaner"
	MySQLStatusRoleReader   MySQLStatusRole = "reader"
	MySQLStatusRoleRevoked  MySQLStatusRole = "revoked"
	MySQLStatusRoleStandard MySQLStatusRole = "standard"
)

Defines values for MySQLStatusRole.

func (MySQLStatusRole) Valid

func (e MySQLStatusRole) Valid() bool

Valid indicates whether the value is a known member of the MySQLStatusRole enum.

type ParseDockerComposeJSONBody

type ParseDockerComposeJSONBody struct {
	// ComposeYAML Raw Docker Compose YAML content
	ComposeYAML string `json:"composeYAML"`
}

ParseDockerComposeJSONBody defines parameters for ParseDockerCompose.

type ParseDockerComposeJSONRequestBody

type ParseDockerComposeJSONRequestBody ParseDockerComposeJSONBody

ParseDockerComposeJSONRequestBody defines body for ParseDockerCompose for application/json ContentType.

type ParseDockerComposeResponse

type ParseDockerComposeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Template
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *GenericMessage
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseParseDockerComposeResponse

func ParseParseDockerComposeResponse(rsp *http.Response) (*ParseDockerComposeResponse, error)

ParseParseDockerComposeResponse parses an HTTP response from a ParseDockerComposeWithResponse call

func (ParseDockerComposeResponse) ContentType

func (r ParseDockerComposeResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ParseDockerComposeResponse) GetBody

func (r ParseDockerComposeResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ParseDockerComposeResponse) GetJSON200

func (r ParseDockerComposeResponse) GetJSON200() *Template

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ParseDockerComposeResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ParseDockerComposeResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ParseDockerComposeResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ParseDockerComposeResponse) Status

Status returns HTTPResponse.Status

func (ParseDockerComposeResponse) StatusCode

func (r ParseDockerComposeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Postgres

type Postgres struct {
	// Cores The number of CPU cores
	Cores *float32 `json:"cores,omitempty"`

	// Cost The cost of the PostgreSQL instance per month
	Cost *float32 `json:"cost,omitempty"`

	// Extensions Extensions requested for this database. Only names returned by /api/postgres/extensions are accepted. Removing a name does not uninstall the extension.
	Extensions *[]string `json:"extensions,omitempty"`

	// Name The PostgreSQL name
	Name string `json:"name"`

	// Plan The plan of the PostgreSQL instance
	Plan string `json:"plan"`

	// Ram The amount of RAM in GB
	Ram *float32 `json:"ram,omitempty"`

	// StorageMB The amount of storage in MB
	StorageMB *float32 `json:"storageMB,omitempty"`

	// Type The type of the PostgreSQL instance, either shared or dedicated
	Type *string `json:"type,omitempty"`
}

Postgres defines model for Postgres.

type PostgresCredentials

type PostgresCredentials struct {
	// Database The PostgreSQL database
	Database string `json:"database"`

	// Hostname The PostgreSQL hostname
	Hostname string `json:"hostname"`

	// Password The PostgreSQL password
	Password string `json:"password"`

	// Port The PostgreSQL port
	Port string `json:"port"`

	// Username The PostgreSQL username
	Username string `json:"username"`
}

PostgresCredentials defines model for PostgresCredentials.

type PostgresPricing

type PostgresPricing struct {
	// Available Whether the plan is available or not
	Available bool `json:"available"`

	// Cores The cores of the PostgreSQL instance
	Cores *int `json:"cores,omitempty"`

	// Name The pricing plan name
	Name string `json:"name"`

	// Price The price of the PostgreSQL instance
	Price float32 `json:"price"`

	// Ram The RAM of the PostgreSQL instance
	Ram *int `json:"ram,omitempty"`

	// StorageMB The storage of the PostgreSQL instance in MB
	StorageMB int `json:"storageMB"`

	// Type The type of the PostgreSQL instance
	Type PostgresPricingType `json:"type"`
}

PostgresPricing defines model for PostgresPricing.

type PostgresPricingType

type PostgresPricingType string

PostgresPricingType The type of the PostgreSQL instance

const (
	PostgresPricingTypeDedicated PostgresPricingType = "dedicated"
	PostgresPricingTypeShared    PostgresPricingType = "shared"
)

Defines values for PostgresPricingType.

func (PostgresPricingType) Valid

func (e PostgresPricingType) Valid() bool

Valid indicates whether the value is a known member of the PostgresPricingType enum.

type PostgresStatus

type PostgresStatus struct {
	// Created Whether the PostgreSQL database instance is created or not
	Created bool `json:"created"`

	// InstalledExtensions Extensions actually installed in the database, including ones installed outside of the requested list
	InstalledExtensions *[]string `json:"installedExtensions,omitempty"`

	// MigrationStatus The migration status of the PostgreSQL instance
	MigrationStatus *PostgresStatusMigrationStatus `json:"migrationStatus,omitempty"`

	// Role The role of the PostgreSQL instance
	Role PostgresStatusRole `json:"role"`

	// UsedMB The used storage of PostgreSQL database in MB
	UsedMB int `json:"usedMB"`
}

PostgresStatus defines model for PostgresStatus.

type PostgresStatusMigrationStatus

type PostgresStatusMigrationStatus string

PostgresStatusMigrationStatus The migration status of the PostgreSQL instance

const (
	PostgresStatusMigrationStatusFailed     PostgresStatusMigrationStatus = "Failed"
	PostgresStatusMigrationStatusInProgress PostgresStatusMigrationStatus = "InProgress"
	PostgresStatusMigrationStatusNone       PostgresStatusMigrationStatus = "None"
	PostgresStatusMigrationStatusScheduled  PostgresStatusMigrationStatus = "Scheduled"
	PostgresStatusMigrationStatusSucceeded  PostgresStatusMigrationStatus = "Succeeded"
)

Defines values for PostgresStatusMigrationStatus.

func (PostgresStatusMigrationStatus) Valid

Valid indicates whether the value is a known member of the PostgresStatusMigrationStatus enum.

type PostgresStatusRole

type PostgresStatusRole string

PostgresStatusRole The role of the PostgreSQL instance

const (
	PostgresStatusRoleCleaner  PostgresStatusRole = "cleaner"
	PostgresStatusRoleReader   PostgresStatusRole = "reader"
	PostgresStatusRoleRevoked  PostgresStatusRole = "revoked"
	PostgresStatusRoleStandard PostgresStatusRole = "standard"
)

Defines values for PostgresStatusRole.

func (PostgresStatusRole) Valid

func (e PostgresStatusRole) Valid() bool

Valid indicates whether the value is a known member of the PostgresStatusRole enum.

type Project

type Project struct {
	// AccessLevel The current user's access level to this project
	AccessLevel *ProjectAccessLevel `json:"accessLevel,omitempty"`

	// AllTimeCosts The all time costs of the project
	AllTimeCosts *float32 `json:"allTimeCosts,omitempty"`

	// CreatedAt The timestamp when the project was created
	CreatedAt *time.Time `json:"createdAt,omitempty"`

	// DeployedServices The number of deployed services
	DeployedServices *float32 `json:"deployedServices,omitempty"`

	// Id The project id generated by the system
	Id string `json:"id"`

	// Name The project friendly name set by the user
	Name *string `json:"name,omitempty"`

	// ProjectedMonthlyCosts The projected monthly costs of the project
	ProjectedMonthlyCosts *float32 `json:"projectedMonthlyCosts,omitempty"`

	// Region The project region
	Region *string `json:"region,omitempty"`

	// SshKeys The SSH keys for the project
	SshKeys []string `json:"sshKeys"`

	// TrialExpiresAt The timestamp when the project trial expires
	TrialExpiresAt *time.Time `json:"trialExpiresAt,omitempty"`
}

Project defines model for Project.

type ProjectAccessLevel

type ProjectAccessLevel string

ProjectAccessLevel The current user's access level to this project

const (
	Maintainer ProjectAccessLevel = "maintainer"
	Owner      ProjectAccessLevel = "owner"
)

Defines values for ProjectAccessLevel.

func (ProjectAccessLevel) Valid

func (e ProjectAccessLevel) Valid() bool

Valid indicates whether the value is a known member of the ProjectAccessLevel enum.

type RebuildAppResponse

type RebuildAppResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GenericMessage
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseRebuildAppResponse

func ParseRebuildAppResponse(rsp *http.Response) (*RebuildAppResponse, error)

ParseRebuildAppResponse parses an HTTP response from a RebuildAppWithResponse call

func (RebuildAppResponse) ContentType

func (r RebuildAppResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RebuildAppResponse) GetBody

func (r RebuildAppResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RebuildAppResponse) GetJSON200

func (r RebuildAppResponse) GetJSON200() *GenericMessage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RebuildAppResponse) GetJSON401

func (r RebuildAppResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (RebuildAppResponse) GetJSON404

func (r RebuildAppResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (RebuildAppResponse) GetJSON500

func (r RebuildAppResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (RebuildAppResponse) Status

func (r RebuildAppResponse) Status() string

Status returns HTTPResponse.Status

func (RebuildAppResponse) StatusCode

func (r RebuildAppResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Redis

type Redis struct {
	// Cost The cost of the Redis instance per month
	Cost *float32 `json:"cost,omitempty"`

	// Name The Redis name
	Name string `json:"name"`

	// Plan The plan of the Redis instance
	Plan string `json:"plan"`

	// Storage The storage of the Redis instance
	Storage *float32 `json:"storage,omitempty"`
}

Redis defines model for Redis.

type RedisCredentials

type RedisCredentials struct {
	// Hostname The Redis hostname
	Hostname string `json:"hostname"`

	// Password The Redis password
	Password string `json:"password"`

	// Port The Redis port
	Port int `json:"port"`
}

RedisCredentials defines model for RedisCredentials.

type RedisPricing

type RedisPricing struct {
	// Available Whether the plan is available or not
	Available bool `json:"available"`

	// Name The pricing plan name
	Name string `json:"name"`

	// Price The price of the Redis instance
	Price float32 `json:"price"`

	// Storage The storage of the Redis instance
	Storage string `json:"storage"`
}

RedisPricing defines model for RedisPricing.

type RedisStatus

type RedisStatus struct {
	// Available Whether the redis database instance is available or not
	Available bool `json:"available"`
}

RedisStatus defines model for RedisStatus.

type Region

type Region struct {
	BastionHost *string `json:"bastionHost,omitempty"`
	IngressIp   *string `json:"ingressIp,omitempty"`
	Name        *string `json:"name,omitempty"`
}

Region defines model for Region.

type RemoveDomainJSONBody

type RemoveDomainJSONBody = string

RemoveDomainJSONBody defines parameters for RemoveDomain.

type RemoveDomainJSONRequestBody

type RemoveDomainJSONRequestBody = RemoveDomainJSONBody

RemoveDomainJSONRequestBody defines body for RemoveDomain for application/json ContentType.

type RemoveDomainResponse

type RemoveDomainResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GenericMessage
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseRemoveDomainResponse

func ParseRemoveDomainResponse(rsp *http.Response) (*RemoveDomainResponse, error)

ParseRemoveDomainResponse parses an HTTP response from a RemoveDomainWithResponse call

func (RemoveDomainResponse) ContentType

func (r RemoveDomainResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RemoveDomainResponse) GetBody

func (r RemoveDomainResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RemoveDomainResponse) GetJSON200

func (r RemoveDomainResponse) GetJSON200() *GenericMessage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RemoveDomainResponse) GetJSON401

func (r RemoveDomainResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (RemoveDomainResponse) GetJSON404

func (r RemoveDomainResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (RemoveDomainResponse) GetJSON500

func (r RemoveDomainResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (RemoveDomainResponse) Status

func (r RemoveDomainResponse) Status() string

Status returns HTTPResponse.Status

func (RemoveDomainResponse) StatusCode

func (r RemoveDomainResponse) StatusCode() int

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 RestartAppResponse

type RestartAppResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GenericMessage
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseRestartAppResponse

func ParseRestartAppResponse(rsp *http.Response) (*RestartAppResponse, error)

ParseRestartAppResponse parses an HTTP response from a RestartAppWithResponse call

func (RestartAppResponse) ContentType

func (r RestartAppResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RestartAppResponse) GetBody

func (r RestartAppResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RestartAppResponse) GetJSON200

func (r RestartAppResponse) GetJSON200() *GenericMessage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RestartAppResponse) GetJSON401

func (r RestartAppResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (RestartAppResponse) GetJSON404

func (r RestartAppResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (RestartAppResponse) GetJSON500

func (r RestartAppResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (RestartAppResponse) Status

func (r RestartAppResponse) Status() string

Status returns HTTPResponse.Status

func (RestartAppResponse) StatusCode

func (r RestartAppResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetAppEnvJSONBody

type SetAppEnvJSONBody = []EnvVar

SetAppEnvJSONBody defines parameters for SetAppEnv.

type SetAppEnvJSONRequestBody

type SetAppEnvJSONRequestBody = SetAppEnvJSONBody

SetAppEnvJSONRequestBody defines body for SetAppEnv for application/json ContentType.

type SetAppEnvResponse

type SetAppEnvResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GenericMessage
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseSetAppEnvResponse

func ParseSetAppEnvResponse(rsp *http.Response) (*SetAppEnvResponse, error)

ParseSetAppEnvResponse parses an HTTP response from a SetAppEnvWithResponse call

func (SetAppEnvResponse) ContentType

func (r SetAppEnvResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetAppEnvResponse) GetBody

func (r SetAppEnvResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SetAppEnvResponse) GetJSON200

func (r SetAppEnvResponse) GetJSON200() *GenericMessage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SetAppEnvResponse) GetJSON401

func (r SetAppEnvResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (SetAppEnvResponse) GetJSON404

func (r SetAppEnvResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (SetAppEnvResponse) GetJSON500

func (r SetAppEnvResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (SetAppEnvResponse) Status

func (r SetAppEnvResponse) Status() string

Status returns HTTPResponse.Status

func (SetAppEnvResponse) StatusCode

func (r SetAppEnvResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetGlobalEnvJSONBody

type SetGlobalEnvJSONBody = []EnvVar

SetGlobalEnvJSONBody defines parameters for SetGlobalEnv.

type SetGlobalEnvJSONRequestBody

type SetGlobalEnvJSONRequestBody = SetGlobalEnvJSONBody

SetGlobalEnvJSONRequestBody defines body for SetGlobalEnv for application/json ContentType.

type SetGlobalEnvResponse

type SetGlobalEnvResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GenericMessage
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseSetGlobalEnvResponse

func ParseSetGlobalEnvResponse(rsp *http.Response) (*SetGlobalEnvResponse, error)

ParseSetGlobalEnvResponse parses an HTTP response from a SetGlobalEnvWithResponse call

func (SetGlobalEnvResponse) ContentType

func (r SetGlobalEnvResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetGlobalEnvResponse) GetBody

func (r SetGlobalEnvResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SetGlobalEnvResponse) GetJSON200

func (r SetGlobalEnvResponse) GetJSON200() *GenericMessage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SetGlobalEnvResponse) GetJSON401

func (r SetGlobalEnvResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (SetGlobalEnvResponse) GetJSON404

func (r SetGlobalEnvResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (SetGlobalEnvResponse) GetJSON500

func (r SetGlobalEnvResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (SetGlobalEnvResponse) Status

func (r SetGlobalEnvResponse) Status() string

Status returns HTTPResponse.Status

func (SetGlobalEnvResponse) StatusCode

func (r SetGlobalEnvResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StreamAppEventsResponse

type StreamAppEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Event
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseStreamAppEventsResponse

func ParseStreamAppEventsResponse(rsp *http.Response) (*StreamAppEventsResponse, error)

ParseStreamAppEventsResponse parses an HTTP response from a StreamAppEventsWithResponse call

func (StreamAppEventsResponse) ContentType

func (r StreamAppEventsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (StreamAppEventsResponse) GetBody

func (r StreamAppEventsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (StreamAppEventsResponse) GetJSON200

func (r StreamAppEventsResponse) GetJSON200() *[]Event

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (StreamAppEventsResponse) GetJSON401

func (r StreamAppEventsResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (StreamAppEventsResponse) GetJSON404

func (r StreamAppEventsResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (StreamAppEventsResponse) GetJSON500

func (r StreamAppEventsResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (StreamAppEventsResponse) Status

func (r StreamAppEventsResponse) Status() string

Status returns HTTPResponse.Status

func (StreamAppEventsResponse) StatusCode

func (r StreamAppEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StreamMySQLEventsResponse

type StreamMySQLEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Event
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseStreamMySQLEventsResponse

func ParseStreamMySQLEventsResponse(rsp *http.Response) (*StreamMySQLEventsResponse, error)

ParseStreamMySQLEventsResponse parses an HTTP response from a StreamMySQLEventsWithResponse call

func (StreamMySQLEventsResponse) ContentType

func (r StreamMySQLEventsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (StreamMySQLEventsResponse) GetBody

func (r StreamMySQLEventsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (StreamMySQLEventsResponse) GetJSON200

func (r StreamMySQLEventsResponse) GetJSON200() *[]Event

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (StreamMySQLEventsResponse) GetJSON401

func (r StreamMySQLEventsResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (StreamMySQLEventsResponse) GetJSON404

func (r StreamMySQLEventsResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (StreamMySQLEventsResponse) GetJSON500

func (r StreamMySQLEventsResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (StreamMySQLEventsResponse) Status

func (r StreamMySQLEventsResponse) Status() string

Status returns HTTPResponse.Status

func (StreamMySQLEventsResponse) StatusCode

func (r StreamMySQLEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StreamPostgresEventsResponse

type StreamPostgresEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Event
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseStreamPostgresEventsResponse

func ParseStreamPostgresEventsResponse(rsp *http.Response) (*StreamPostgresEventsResponse, error)

ParseStreamPostgresEventsResponse parses an HTTP response from a StreamPostgresEventsWithResponse call

func (StreamPostgresEventsResponse) ContentType

func (r StreamPostgresEventsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (StreamPostgresEventsResponse) GetBody

func (r StreamPostgresEventsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (StreamPostgresEventsResponse) GetJSON200

func (r StreamPostgresEventsResponse) GetJSON200() *[]Event

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (StreamPostgresEventsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (StreamPostgresEventsResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (StreamPostgresEventsResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (StreamPostgresEventsResponse) Status

Status returns HTTPResponse.Status

func (StreamPostgresEventsResponse) StatusCode

func (r StreamPostgresEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StreamProjectEventsResponse

type StreamProjectEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Event
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseStreamProjectEventsResponse

func ParseStreamProjectEventsResponse(rsp *http.Response) (*StreamProjectEventsResponse, error)

ParseStreamProjectEventsResponse parses an HTTP response from a StreamProjectEventsWithResponse call

func (StreamProjectEventsResponse) ContentType

func (r StreamProjectEventsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (StreamProjectEventsResponse) GetBody

func (r StreamProjectEventsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (StreamProjectEventsResponse) GetJSON200

func (r StreamProjectEventsResponse) GetJSON200() *[]Event

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (StreamProjectEventsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (StreamProjectEventsResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (StreamProjectEventsResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (StreamProjectEventsResponse) Status

Status returns HTTPResponse.Status

func (StreamProjectEventsResponse) StatusCode

func (r StreamProjectEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StreamRedisEventsResponse

type StreamRedisEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Event
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseStreamRedisEventsResponse

func ParseStreamRedisEventsResponse(rsp *http.Response) (*StreamRedisEventsResponse, error)

ParseStreamRedisEventsResponse parses an HTTP response from a StreamRedisEventsWithResponse call

func (StreamRedisEventsResponse) ContentType

func (r StreamRedisEventsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (StreamRedisEventsResponse) GetBody

func (r StreamRedisEventsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (StreamRedisEventsResponse) GetJSON200

func (r StreamRedisEventsResponse) GetJSON200() *[]Event

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (StreamRedisEventsResponse) GetJSON401

func (r StreamRedisEventsResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (StreamRedisEventsResponse) GetJSON404

func (r StreamRedisEventsResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (StreamRedisEventsResponse) GetJSON500

func (r StreamRedisEventsResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (StreamRedisEventsResponse) Status

func (r StreamRedisEventsResponse) Status() string

Status returns HTTPResponse.Status

func (StreamRedisEventsResponse) StatusCode

func (r StreamRedisEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Template

type Template struct {
	// Category Logical grouping for UI (e.g. 'Examples', 'Open Source', 'Custom')
	Category   *string `json:"category,omitempty"`
	Components struct {
		Apps     []App      `json:"apps"`
		Mysql    []MySQL    `json:"mysql"`
		Postgres []Postgres `json:"postgres"`
		Redis    []Redis    `json:"redis"`
		Volumes  []Volume   `json:"volumes"`
	} `json:"components"`
	Description string `json:"description"`
	Id          string `json:"id"`
	Name        string `json:"name"`

	// Notes Optional setup notes or tips, such as default credentials
	Notes *[]string `json:"notes,omitempty"`

	// SourceUrl Optional link to GitHub or external documentation
	SourceUrl *string `json:"sourceUrl,omitempty"`
}

Template defines model for Template.

type UpdateAppJSONRequestBody

type UpdateAppJSONRequestBody = App

UpdateAppJSONRequestBody defines body for UpdateApp for application/json ContentType.

type UpdateAppResponse

type UpdateAppResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *App
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseUpdateAppResponse

func ParseUpdateAppResponse(rsp *http.Response) (*UpdateAppResponse, error)

ParseUpdateAppResponse parses an HTTP response from a UpdateAppWithResponse call

func (UpdateAppResponse) ContentType

func (r UpdateAppResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateAppResponse) GetBody

func (r UpdateAppResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateAppResponse) GetJSON200

func (r UpdateAppResponse) GetJSON200() *App

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateAppResponse) GetJSON401

func (r UpdateAppResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateAppResponse) GetJSON404

func (r UpdateAppResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateAppResponse) GetJSON500

func (r UpdateAppResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (UpdateAppResponse) Status

func (r UpdateAppResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateAppResponse) StatusCode

func (r UpdateAppResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateMysqlJSONRequestBody

type UpdateMysqlJSONRequestBody = MySQL

UpdateMysqlJSONRequestBody defines body for UpdateMysql for application/json ContentType.

type UpdateMysqlResponse

type UpdateMysqlResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GenericMessage
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseUpdateMysqlResponse

func ParseUpdateMysqlResponse(rsp *http.Response) (*UpdateMysqlResponse, error)

ParseUpdateMysqlResponse parses an HTTP response from a UpdateMysqlWithResponse call

func (UpdateMysqlResponse) ContentType

func (r UpdateMysqlResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateMysqlResponse) GetBody

func (r UpdateMysqlResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateMysqlResponse) GetJSON200

func (r UpdateMysqlResponse) GetJSON200() *GenericMessage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateMysqlResponse) GetJSON401

func (r UpdateMysqlResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateMysqlResponse) GetJSON404

func (r UpdateMysqlResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateMysqlResponse) GetJSON500

func (r UpdateMysqlResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (UpdateMysqlResponse) Status

func (r UpdateMysqlResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateMysqlResponse) StatusCode

func (r UpdateMysqlResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdatePostgresJSONRequestBody

type UpdatePostgresJSONRequestBody = Postgres

UpdatePostgresJSONRequestBody defines body for UpdatePostgres for application/json ContentType.

type UpdatePostgresResponse

type UpdatePostgresResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GenericMessage
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseUpdatePostgresResponse

func ParseUpdatePostgresResponse(rsp *http.Response) (*UpdatePostgresResponse, error)

ParseUpdatePostgresResponse parses an HTTP response from a UpdatePostgresWithResponse call

func (UpdatePostgresResponse) ContentType

func (r UpdatePostgresResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdatePostgresResponse) GetBody

func (r UpdatePostgresResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdatePostgresResponse) GetJSON200

func (r UpdatePostgresResponse) GetJSON200() *GenericMessage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdatePostgresResponse) GetJSON401

func (r UpdatePostgresResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdatePostgresResponse) GetJSON404

func (r UpdatePostgresResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdatePostgresResponse) GetJSON500

func (r UpdatePostgresResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (UpdatePostgresResponse) Status

func (r UpdatePostgresResponse) Status() string

Status returns HTTPResponse.Status

func (UpdatePostgresResponse) StatusCode

func (r UpdatePostgresResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateProjectJSONBody

type UpdateProjectJSONBody = []string

UpdateProjectJSONBody defines parameters for UpdateProject.

type UpdateProjectJSONRequestBody

type UpdateProjectJSONRequestBody = UpdateProjectJSONBody

UpdateProjectJSONRequestBody defines body for UpdateProject for application/json ContentType.

type UpdateProjectParams

type UpdateProjectParams struct {
	// Name Friendly name of project to update
	Name string `form:"name" json:"name"`
}

UpdateProjectParams defines parameters for UpdateProject.

type UpdateProjectResponse

type UpdateProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Project
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *GenericMessage
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseUpdateProjectResponse

func ParseUpdateProjectResponse(rsp *http.Response) (*UpdateProjectResponse, error)

ParseUpdateProjectResponse parses an HTTP response from a UpdateProjectWithResponse call

func (UpdateProjectResponse) ContentType

func (r UpdateProjectResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateProjectResponse) GetBody

func (r UpdateProjectResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateProjectResponse) GetJSON200

func (r UpdateProjectResponse) GetJSON200() *Project

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateProjectResponse) GetJSON400

func (r UpdateProjectResponse) GetJSON400() *GenericMessage

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateProjectResponse) GetJSON401

func (r UpdateProjectResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateProjectResponse) GetJSON404

func (r UpdateProjectResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateProjectResponse) GetJSON500

func (r UpdateProjectResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (UpdateProjectResponse) Status

func (r UpdateProjectResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateProjectResponse) StatusCode

func (r UpdateProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateRedisJSONRequestBody

type UpdateRedisJSONRequestBody = Redis

UpdateRedisJSONRequestBody defines body for UpdateRedis for application/json ContentType.

type UpdateRedisResponse

type UpdateRedisResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GenericMessage
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *GenericMessage
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseUpdateRedisResponse

func ParseUpdateRedisResponse(rsp *http.Response) (*UpdateRedisResponse, error)

ParseUpdateRedisResponse parses an HTTP response from a UpdateRedisWithResponse call

func (UpdateRedisResponse) ContentType

func (r UpdateRedisResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateRedisResponse) GetBody

func (r UpdateRedisResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateRedisResponse) GetJSON200

func (r UpdateRedisResponse) GetJSON200() *GenericMessage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateRedisResponse) GetJSON400

func (r UpdateRedisResponse) GetJSON400() *GenericMessage

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateRedisResponse) GetJSON401

func (r UpdateRedisResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateRedisResponse) GetJSON404

func (r UpdateRedisResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateRedisResponse) GetJSON500

func (r UpdateRedisResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (UpdateRedisResponse) Status

func (r UpdateRedisResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateRedisResponse) StatusCode

func (r UpdateRedisResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateVolumeJSONRequestBody

type UpdateVolumeJSONRequestBody = Volume

UpdateVolumeJSONRequestBody defines body for UpdateVolume for application/json ContentType.

type UpdateVolumeResponse

type UpdateVolumeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GenericMessage
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *GenericMessage
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *GenericMessage
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *GenericMessage
}

func ParseUpdateVolumeResponse

func ParseUpdateVolumeResponse(rsp *http.Response) (*UpdateVolumeResponse, error)

ParseUpdateVolumeResponse parses an HTTP response from a UpdateVolumeWithResponse call

func (UpdateVolumeResponse) ContentType

func (r UpdateVolumeResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateVolumeResponse) GetBody

func (r UpdateVolumeResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateVolumeResponse) GetJSON200

func (r UpdateVolumeResponse) GetJSON200() *GenericMessage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateVolumeResponse) GetJSON401

func (r UpdateVolumeResponse) GetJSON401() *GenericMessage

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateVolumeResponse) GetJSON404

func (r UpdateVolumeResponse) GetJSON404() *GenericMessage

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateVolumeResponse) GetJSON500

func (r UpdateVolumeResponse) GetJSON500() *GenericMessage

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (UpdateVolumeResponse) Status

func (r UpdateVolumeResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateVolumeResponse) StatusCode

func (r UpdateVolumeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Volume

type Volume struct {
	// Cost The cost of the volume per month
	Cost *float32 `json:"cost,omitempty"`

	// Name The volume name
	Name string `json:"name"`

	// Plan The volume plan
	Plan string `json:"plan"`

	// StorageMB The size of the volume in MB
	StorageMB *float32 `json:"storageMB,omitempty"`
}

Volume defines model for Volume.

type VolumePricing

type VolumePricing struct {
	// Available Whether the volume is available
	Available bool `json:"available"`

	// Name The pricing plan name
	Name string `json:"name"`

	// Price The price of the volume
	Price float32 `json:"price"`

	// StorageMB The size of the volume in MB
	StorageMB int `json:"storageMB"`
}

VolumePricing defines model for VolumePricing.

Jump to

Keyboard shortcuts

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