api

package
v0.5.0-beta.3 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2026 License: PostgreSQL Imports: 12 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.7.0 DO NOT EDIT.

Package api is the generated pgEdge BYOC API client. Do not edit client.gen.go by hand; regenerate with `make generate`.

Index

Constants

View Source
const (
	AccessTokenScopes accessTokenContextKey = "AccessToken.Scopes"
)

Variables

This section is empty.

Functions

func NewBackupDatabaseRequest

func NewBackupDatabaseRequest(server string, id UUID, body BackupDatabaseJSONRequestBody) (*http.Request, error)

NewBackupDatabaseRequest calls the generic BackupDatabase builder with application/json body

func NewBackupDatabaseRequestWithBody

func NewBackupDatabaseRequestWithBody(server string, id UUID, contentType string, body io.Reader) (*http.Request, error)

NewBackupDatabaseRequestWithBody generates requests for BackupDatabase with any type of body

func NewCreateBackupStoreRequest

func NewCreateBackupStoreRequest(server string, body CreateBackupStoreJSONRequestBody) (*http.Request, error)

NewCreateBackupStoreRequest calls the generic CreateBackupStore builder with application/json body

func NewCreateBackupStoreRequestWithBody

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

NewCreateBackupStoreRequestWithBody generates requests for CreateBackupStore with any type of body

func NewCreateCloudAccountRequest

func NewCreateCloudAccountRequest(server string, body CreateCloudAccountJSONRequestBody) (*http.Request, error)

NewCreateCloudAccountRequest calls the generic CreateCloudAccount builder with application/json body

func NewCreateCloudAccountRequestWithBody

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

NewCreateCloudAccountRequestWithBody generates requests for CreateCloudAccount with any type of body

func NewCreateClusterRequest

func NewCreateClusterRequest(server string, body CreateClusterJSONRequestBody) (*http.Request, error)

NewCreateClusterRequest calls the generic CreateCluster builder with application/json body

func NewCreateClusterRequestWithBody

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

NewCreateClusterRequestWithBody generates requests for CreateCluster with any type of body

func NewCreateClusterShareRequest

func NewCreateClusterShareRequest(server string, id UUID, body CreateClusterShareJSONRequestBody) (*http.Request, error)

NewCreateClusterShareRequest calls the generic CreateClusterShare builder with application/json body

func NewCreateClusterShareRequestWithBody

func NewCreateClusterShareRequestWithBody(server string, id UUID, contentType string, body io.Reader) (*http.Request, error)

NewCreateClusterShareRequestWithBody generates requests for CreateClusterShare with any type of body

func NewCreateDatabaseRequest

func NewCreateDatabaseRequest(server string, body CreateDatabaseJSONRequestBody) (*http.Request, error)

NewCreateDatabaseRequest calls the generic CreateDatabase builder with application/json body

func NewCreateDatabaseRequestWithBody

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

NewCreateDatabaseRequestWithBody generates requests for CreateDatabase with any type of body

func NewCreateIngressRequest

func NewCreateIngressRequest(server string, body CreateIngressJSONRequestBody) (*http.Request, error)

NewCreateIngressRequest calls the generic CreateIngress builder with application/json body

func NewCreateIngressRequestWithBody

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

NewCreateIngressRequestWithBody generates requests for CreateIngress with any type of body

func NewCreateIngressServiceRequest

func NewCreateIngressServiceRequest(server string, id UUID, body CreateIngressServiceJSONRequestBody) (*http.Request, error)

NewCreateIngressServiceRequest calls the generic CreateIngressService builder with application/json body

func NewCreateIngressServiceRequestWithBody

func NewCreateIngressServiceRequestWithBody(server string, id UUID, contentType string, body io.Reader) (*http.Request, error)

NewCreateIngressServiceRequestWithBody generates requests for CreateIngressService with any type of body

func NewCreateSshKeyRequest

func NewCreateSshKeyRequest(server string, body CreateSshKeyJSONRequestBody) (*http.Request, error)

NewCreateSshKeyRequest calls the generic CreateSshKey builder with application/json body

func NewCreateSshKeyRequestWithBody

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

NewCreateSshKeyRequestWithBody generates requests for CreateSshKey with any type of body

func NewDeleteBackupStoreRequest

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

NewDeleteBackupStoreRequest generates requests for DeleteBackupStore

func NewDeleteCloudAccountRequest

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

NewDeleteCloudAccountRequest generates requests for DeleteCloudAccount

func NewDeleteClusterRequest

func NewDeleteClusterRequest(server string, id UUID, params *DeleteClusterParams) (*http.Request, error)

NewDeleteClusterRequest generates requests for DeleteCluster

func NewDeleteClusterShareRequest

func NewDeleteClusterShareRequest(server string, id UUID, shareId UUID) (*http.Request, error)

NewDeleteClusterShareRequest generates requests for DeleteClusterShare

func NewDeleteDatabaseRequest

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

NewDeleteDatabaseRequest generates requests for DeleteDatabase

func NewDeleteIngressRequest

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

NewDeleteIngressRequest generates requests for DeleteIngress

func NewDeleteIngressServiceRequest

func NewDeleteIngressServiceRequest(server string, id UUID, serviceId string) (*http.Request, error)

NewDeleteIngressServiceRequest generates requests for DeleteIngressService

func NewDeleteSshKeyRequest

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

NewDeleteSshKeyRequest generates requests for DeleteSshKey

func NewGetBackupRepositoryInfoRequest

func NewGetBackupRepositoryInfoRequest(server string, id UUID, nodeName string, params *GetBackupRepositoryInfoParams) (*http.Request, error)

NewGetBackupRepositoryInfoRequest generates requests for GetBackupRepositoryInfo

func NewGetBackupStoreRequest

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

NewGetBackupStoreRequest generates requests for GetBackupStore

func NewGetByocPublicOpenApiSpecRequest

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

NewGetByocPublicOpenApiSpecRequest generates requests for GetByocPublicOpenApiSpec

func NewGetCloudAccountRequest

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

NewGetCloudAccountRequest generates requests for GetCloudAccount

func NewGetCloudFormationTemplateRequest

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

NewGetCloudFormationTemplateRequest generates requests for GetCloudFormationTemplate

func NewGetClusterLogsRequest

func NewGetClusterLogsRequest(server string, id UUID, nodeId UUID, logName string, params *GetClusterLogsParams) (*http.Request, error)

NewGetClusterLogsRequest generates requests for GetClusterLogs

func NewGetClusterRequest

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

NewGetClusterRequest generates requests for GetCluster

func NewGetConfigVersionRequest

func NewGetConfigVersionRequest(server string, version string) (*http.Request, error)

NewGetConfigVersionRequest generates requests for GetConfigVersion

func NewGetDatabaseLogsRequest

func NewGetDatabaseLogsRequest(server string, id UUID, params *GetDatabaseLogsParams) (*http.Request, error)

NewGetDatabaseLogsRequest generates requests for GetDatabaseLogs

func NewGetDatabaseMetricsRequest

func NewGetDatabaseMetricsRequest(server string, id UUID, params *GetDatabaseMetricsParams) (*http.Request, error)

NewGetDatabaseMetricsRequest generates requests for GetDatabaseMetrics

func NewGetDatabaseRequest

func NewGetDatabaseRequest(server string, id UUID, params *GetDatabaseParams) (*http.Request, error)

NewGetDatabaseRequest generates requests for GetDatabase

func NewGetIngressRequest

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

NewGetIngressRequest generates requests for GetIngress

func NewGetOpenApiSpecRequest

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

NewGetOpenApiSpecRequest generates requests for GetOpenApiSpec

func NewGetSshKeyRequest

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

NewGetSshKeyRequest generates requests for GetSshKey

func NewListAvailabilityZonesRequest

func NewListAvailabilityZonesRequest(server string, id UUID, region string) (*http.Request, error)

NewListAvailabilityZonesRequest generates requests for ListAvailabilityZones

func NewListBackupRepositoriesRequest

func NewListBackupRepositoriesRequest(server string, params *ListBackupRepositoriesParams) (*http.Request, error)

NewListBackupRepositoriesRequest generates requests for ListBackupRepositories

func NewListBackupStoresRequest

func NewListBackupStoresRequest(server string, params *ListBackupStoresParams) (*http.Request, error)

NewListBackupStoresRequest generates requests for ListBackupStores

func NewListCloudAccountsRequest

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

NewListCloudAccountsRequest generates requests for ListCloudAccounts

func NewListClusterNodesRequest

func NewListClusterNodesRequest(server string, id UUID, params *ListClusterNodesParams) (*http.Request, error)

NewListClusterNodesRequest generates requests for ListClusterNodes

func NewListClusterSharesRequest

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

NewListClusterSharesRequest generates requests for ListClusterShares

func NewListClustersRequest

func NewListClustersRequest(server string, params *ListClustersParams) (*http.Request, error)

NewListClustersRequest generates requests for ListClusters

func NewListConfigVersionsRequest

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

NewListConfigVersionsRequest generates requests for ListConfigVersions

func NewListDatabasesRequest

func NewListDatabasesRequest(server string, params *ListDatabasesParams) (*http.Request, error)

NewListDatabasesRequest generates requests for ListDatabases

func NewListIngressServicesRequest

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

NewListIngressServicesRequest generates requests for ListIngressServices

func NewListIngressesRequest

func NewListIngressesRequest(server string, params *ListIngressesParams) (*http.Request, error)

NewListIngressesRequest generates requests for ListIngresses

func NewListSshKeysRequest

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

NewListSshKeysRequest generates requests for ListSshKeys

func NewListTasksRequest

func NewListTasksRequest(server string, params *ListTasksParams) (*http.Request, error)

NewListTasksRequest generates requests for ListTasks

func NewReadClusterMetricsRequest

func NewReadClusterMetricsRequest(server string, id UUID, params *ReadClusterMetricsParams) (*http.Request, error)

NewReadClusterMetricsRequest generates requests for ReadClusterMetrics

func NewReadClusterShareRequest

func NewReadClusterShareRequest(server string, id UUID, shareId UUID) (*http.Request, error)

NewReadClusterShareRequest generates requests for ReadClusterShare

func NewRestoreDatabaseRequest

func NewRestoreDatabaseRequest(server string, id UUID, body RestoreDatabaseJSONRequestBody) (*http.Request, error)

NewRestoreDatabaseRequest calls the generic RestoreDatabase builder with application/json body

func NewRestoreDatabaseRequestWithBody

func NewRestoreDatabaseRequestWithBody(server string, id UUID, contentType string, body io.Reader) (*http.Request, error)

NewRestoreDatabaseRequestWithBody generates requests for RestoreDatabase with any type of body

func NewRotateDatabaseRolePasswordRequest

func NewRotateDatabaseRolePasswordRequest(server string, id UUID, roleName RotateDatabaseRolePasswordParamsRoleName) (*http.Request, error)

NewRotateDatabaseRolePasswordRequest generates requests for RotateDatabaseRolePassword

func NewUpdateClusterRequest

func NewUpdateClusterRequest(server string, id UUID, body UpdateClusterJSONRequestBody) (*http.Request, error)

NewUpdateClusterRequest calls the generic UpdateCluster builder with application/json body

func NewUpdateClusterRequestWithBody

func NewUpdateClusterRequestWithBody(server string, id UUID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateClusterRequestWithBody generates requests for UpdateCluster with any type of body

func NewUpdateDatabaseRequest

func NewUpdateDatabaseRequest(server string, id UUID, body UpdateDatabaseJSONRequestBody) (*http.Request, error)

NewUpdateDatabaseRequest calls the generic UpdateDatabase builder with application/json body

func NewUpdateDatabaseRequestWithBody

func NewUpdateDatabaseRequestWithBody(server string, id UUID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateDatabaseRequestWithBody generates requests for UpdateDatabase with any type of body

Types

type AwsCredentials

type AwsCredentials struct {
	RoleArn string `json:"role_arn"`
}

AwsCredentials defines model for AwsCredentials.

type AzureCredentials

type AzureCredentials struct {
	ClientId       string  `json:"client_id"`
	ClientSecret   *string `json:"client_secret,omitempty"`
	ResourceGroup  *string `json:"resource_group,omitempty"`
	SubscriptionId string  `json:"subscription_id"`
	TenantId       string  `json:"tenant_id"`
}

AzureCredentials defines model for AzureCredentials.

type BackupConfig

type BackupConfig struct {
	Id           string              `json:"id"`
	NodeName     *string             `json:"node_name,omitempty"`
	Repositories *[]BackupRepository `json:"repositories,omitempty"`
	Schedules    *[]BackupSchedule   `json:"schedules,omitempty"`
}

BackupConfig defines model for BackupConfig.

type BackupDatabaseJSONRequestBody

type BackupDatabaseJSONRequestBody = CreateBackupInput

BackupDatabaseJSONRequestBody defines body for BackupDatabase for application/json ContentType.

type BackupDatabaseResponse

type BackupDatabaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseBackupDatabaseResponse

func ParseBackupDatabaseResponse(rsp *http.Response) (*BackupDatabaseResponse, error)

ParseBackupDatabaseResponse parses an HTTP response from a BackupDatabaseWithResponse call

func (BackupDatabaseResponse) ContentType

func (r BackupDatabaseResponse) ContentType() string

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

func (BackupDatabaseResponse) Status

func (r BackupDatabaseResponse) Status() string

Status returns HTTPResponse.Status

func (BackupDatabaseResponse) StatusCode

func (r BackupDatabaseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BackupRepository

type BackupRepository struct {
	AzureAccount      *string `json:"azure_account,omitempty"`
	AzureContainer    *string `json:"azure_container,omitempty"`
	AzureEndpoint     *string `json:"azure_endpoint,omitempty"`
	BackupStoreId     *string `json:"backup_store_id,omitempty"`
	BasePath          *string `json:"base_path,omitempty"`
	CreatedAt         *string `json:"created_at,omitempty"`
	DatabaseId        *string `json:"database_id,omitempty"`
	GcsBucket         *string `json:"gcs_bucket,omitempty"`
	GcsEndpoint       *string `json:"gcs_endpoint,omitempty"`
	Id                *string `json:"id,omitempty"`
	RetentionFull     *int    `json:"retention_full,omitempty"`
	RetentionFullType *string `json:"retention_full_type,omitempty"`
	S3Bucket          *string `json:"s3_bucket,omitempty"`
	S3Endpoint        *string `json:"s3_endpoint,omitempty"`
	S3Region          *string `json:"s3_region,omitempty"`
	Type              *string `json:"type,omitempty"`
}

BackupRepository defines model for BackupRepository.

type BackupSchedule

type BackupSchedule struct {
	CronExpression string `json:"cron_expression"`
	Id             string `json:"id"`
	Type           string `json:"type"`
}

BackupSchedule defines model for BackupSchedule.

type BackupStore

type BackupStore struct {
	// CloudAccountId The ID of the cloud account used for the backup store.
	CloudAccountId string `json:"cloud_account_id"`

	// CloudAccountType The type of the cloud account used for the backup store.
	CloudAccountType string `json:"cloud_account_type"`

	// ClusterIds The IDs of the clusters that use the backup store.
	ClusterIds *[]string `json:"cluster_ids,omitempty"`

	// CreatedAt The time the backup store was created.
	CreatedAt string `json:"created_at"`

	// Id The ID of the backup store.
	Id string `json:"id"`

	// Name The name of the backup store.
	Name string `json:"name"`

	// Properties The computed properties of the backup store.
	Properties *map[string]interface{} `json:"properties,omitempty"`

	// Status The status of the backup store.
	Status string `json:"status"`

	// UpdatedAt The time the backup store was last updated.
	UpdatedAt string `json:"updated_at"`
}

BackupStore defines model for BackupStore.

type Backups

type Backups struct {
	Config   *[]BackupConfig `json:"config,omitempty"`
	Provider string          `json:"provider"`
}

Backups defines model for Backups.

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

func (c *Client) BackupDatabase(ctx context.Context, id UUID, body BackupDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BackupDatabaseWithBody

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

func (*Client) CreateBackupStore

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

func (*Client) CreateBackupStoreWithBody

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

func (*Client) CreateCloudAccount

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

func (*Client) CreateCloudAccountWithBody

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

func (*Client) CreateCluster

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

func (*Client) CreateClusterShare

func (c *Client) CreateClusterShare(ctx context.Context, id UUID, body CreateClusterShareJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateClusterShareWithBody

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

func (*Client) CreateClusterWithBody

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

func (*Client) CreateDatabase

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

func (*Client) CreateDatabaseWithBody

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

func (*Client) CreateIngress

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

func (*Client) CreateIngressService

func (c *Client) CreateIngressService(ctx context.Context, id UUID, body CreateIngressServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateIngressServiceWithBody

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

func (*Client) CreateIngressWithBody

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

func (*Client) CreateSshKey

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

func (*Client) CreateSshKeyWithBody

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

func (*Client) DeleteBackupStore

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

func (*Client) DeleteCloudAccount

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

func (*Client) DeleteCluster

func (c *Client) DeleteCluster(ctx context.Context, id UUID, params *DeleteClusterParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteClusterShare

func (c *Client) DeleteClusterShare(ctx context.Context, id UUID, shareId UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteDatabase

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

func (*Client) DeleteIngress

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

func (*Client) DeleteIngressService

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

func (*Client) DeleteSshKey

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

func (*Client) GetBackupRepositoryInfo

func (c *Client) GetBackupRepositoryInfo(ctx context.Context, id UUID, nodeName string, params *GetBackupRepositoryInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetBackupStore

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

func (*Client) GetByocPublicOpenApiSpec

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

func (*Client) GetCloudAccount

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

func (*Client) GetCloudFormationTemplate

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

func (*Client) GetCluster

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

func (*Client) GetClusterLogs

func (c *Client) GetClusterLogs(ctx context.Context, id UUID, nodeId UUID, logName string, params *GetClusterLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetConfigVersion

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

func (*Client) GetDatabase

func (c *Client) GetDatabase(ctx context.Context, id UUID, params *GetDatabaseParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDatabaseLogs

func (c *Client) GetDatabaseLogs(ctx context.Context, id UUID, params *GetDatabaseLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDatabaseMetrics

func (c *Client) GetDatabaseMetrics(ctx context.Context, id UUID, params *GetDatabaseMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetIngress

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

func (*Client) GetOpenApiSpec

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

func (*Client) GetSshKey

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

func (*Client) ListAvailabilityZones

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

func (*Client) ListBackupRepositories

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

func (*Client) ListBackupStores

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

func (*Client) ListCloudAccounts

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

func (*Client) ListClusterNodes

func (c *Client) ListClusterNodes(ctx context.Context, id UUID, params *ListClusterNodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListClusterShares

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

func (*Client) ListClusters

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

func (*Client) ListConfigVersions

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

func (*Client) ListDatabases

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

func (*Client) ListIngressServices

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

func (*Client) ListIngresses

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

func (*Client) ListSshKeys

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

func (*Client) ListTasks

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

func (*Client) ReadClusterMetrics

func (c *Client) ReadClusterMetrics(ctx context.Context, id UUID, params *ReadClusterMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReadClusterShare

func (c *Client) ReadClusterShare(ctx context.Context, id UUID, shareId UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RestoreDatabase

func (c *Client) RestoreDatabase(ctx context.Context, id UUID, body RestoreDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RestoreDatabaseWithBody

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

func (*Client) RotateDatabaseRolePassword

func (c *Client) RotateDatabaseRolePassword(ctx context.Context, id UUID, roleName RotateDatabaseRolePasswordParamsRoleName, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateCluster

func (c *Client) UpdateCluster(ctx context.Context, id UUID, body UpdateClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateClusterWithBody

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

func (*Client) UpdateDatabase

func (c *Client) UpdateDatabase(ctx context.Context, id UUID, body UpdateDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateDatabaseWithBody

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

type ClientInterface

type ClientInterface interface {
	// ListBackupRepositories request
	ListBackupRepositories(ctx context.Context, params *ListBackupRepositoriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetBackupRepositoryInfo request
	GetBackupRepositoryInfo(ctx context.Context, id UUID, nodeName string, params *GetBackupRepositoryInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	CreateBackupStore(ctx context.Context, body CreateBackupStoreJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteBackupStore request
	DeleteBackupStore(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetBackupStore request
	GetBackupStore(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	CreateCloudAccount(ctx context.Context, body CreateCloudAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteCloudAccount request
	DeleteCloudAccount(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCloudAccount request
	GetCloudAccount(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListAvailabilityZones request
	ListAvailabilityZones(ctx context.Context, id UUID, region string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	CreateCluster(ctx context.Context, body CreateClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteCluster request
	DeleteCluster(ctx context.Context, id UUID, params *DeleteClusterParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCluster request
	GetCluster(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	UpdateCluster(ctx context.Context, id UUID, body UpdateClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReadClusterMetrics request
	ReadClusterMetrics(ctx context.Context, id UUID, params *ReadClusterMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListClusterNodes request
	ListClusterNodes(ctx context.Context, id UUID, params *ListClusterNodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetClusterLogs request
	GetClusterLogs(ctx context.Context, id UUID, nodeId UUID, logName string, params *GetClusterLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListClusterShares request
	ListClusterShares(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	CreateClusterShare(ctx context.Context, id UUID, body CreateClusterShareJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteClusterShare request
	DeleteClusterShare(ctx context.Context, id UUID, shareId UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReadClusterShare request
	ReadClusterShare(ctx context.Context, id UUID, shareId UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

	CreateDatabase(ctx context.Context, body CreateDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteDatabase request
	DeleteDatabase(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDatabase request
	GetDatabase(ctx context.Context, id UUID, params *GetDatabaseParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	UpdateDatabase(ctx context.Context, id UUID, body UpdateDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	BackupDatabase(ctx context.Context, id UUID, body BackupDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDatabaseLogs request
	GetDatabaseLogs(ctx context.Context, id UUID, params *GetDatabaseLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDatabaseMetrics request
	GetDatabaseMetrics(ctx context.Context, id UUID, params *GetDatabaseMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	RestoreDatabase(ctx context.Context, id UUID, body RestoreDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RotateDatabaseRolePassword request
	RotateDatabaseRolePassword(ctx context.Context, id UUID, roleName RotateDatabaseRolePasswordParamsRoleName, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	CreateIngress(ctx context.Context, body CreateIngressJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteIngress request
	DeleteIngress(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetIngress request
	GetIngress(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListIngressServices request
	ListIngressServices(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	CreateIngressService(ctx context.Context, id UUID, body CreateIngressServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteIngressService request
	DeleteIngressService(ctx context.Context, id UUID, serviceId string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

	CreateSshKey(ctx context.Context, body CreateSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSshKey request
	DeleteSshKey(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSshKey request
	GetSshKey(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// GetCloudFormationTemplate request
	GetCloudFormationTemplate(ctx context.Context, 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) BackupDatabaseWithBodyWithResponse

func (c *ClientWithResponses) BackupDatabaseWithBodyWithResponse(ctx context.Context, id UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BackupDatabaseResponse, error)

BackupDatabaseWithBodyWithResponse request with arbitrary body returning *BackupDatabaseResponse

func (*ClientWithResponses) BackupDatabaseWithResponse

func (c *ClientWithResponses) BackupDatabaseWithResponse(ctx context.Context, id UUID, body BackupDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*BackupDatabaseResponse, error)

func (*ClientWithResponses) CreateBackupStoreWithBodyWithResponse

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

CreateBackupStoreWithBodyWithResponse request with arbitrary body returning *CreateBackupStoreResponse

func (*ClientWithResponses) CreateBackupStoreWithResponse

func (c *ClientWithResponses) CreateBackupStoreWithResponse(ctx context.Context, body CreateBackupStoreJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBackupStoreResponse, error)

func (*ClientWithResponses) CreateCloudAccountWithBodyWithResponse

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

CreateCloudAccountWithBodyWithResponse request with arbitrary body returning *CreateCloudAccountResponse

func (*ClientWithResponses) CreateCloudAccountWithResponse

func (c *ClientWithResponses) CreateCloudAccountWithResponse(ctx context.Context, body CreateCloudAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCloudAccountResponse, error)

func (*ClientWithResponses) CreateClusterShareWithBodyWithResponse

func (c *ClientWithResponses) CreateClusterShareWithBodyWithResponse(ctx context.Context, id UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateClusterShareResponse, error)

CreateClusterShareWithBodyWithResponse request with arbitrary body returning *CreateClusterShareResponse

func (*ClientWithResponses) CreateClusterShareWithResponse

func (c *ClientWithResponses) CreateClusterShareWithResponse(ctx context.Context, id UUID, body CreateClusterShareJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateClusterShareResponse, error)

func (*ClientWithResponses) CreateClusterWithBodyWithResponse

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

CreateClusterWithBodyWithResponse request with arbitrary body returning *CreateClusterResponse

func (*ClientWithResponses) CreateClusterWithResponse

func (c *ClientWithResponses) CreateClusterWithResponse(ctx context.Context, body CreateClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateClusterResponse, error)

func (*ClientWithResponses) CreateDatabaseWithBodyWithResponse

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

CreateDatabaseWithBodyWithResponse request with arbitrary body returning *CreateDatabaseResponse

func (*ClientWithResponses) CreateDatabaseWithResponse

func (c *ClientWithResponses) CreateDatabaseWithResponse(ctx context.Context, body CreateDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatabaseResponse, error)

func (*ClientWithResponses) CreateIngressServiceWithBodyWithResponse

func (c *ClientWithResponses) CreateIngressServiceWithBodyWithResponse(ctx context.Context, id UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIngressServiceResponse, error)

CreateIngressServiceWithBodyWithResponse request with arbitrary body returning *CreateIngressServiceResponse

func (*ClientWithResponses) CreateIngressServiceWithResponse

func (c *ClientWithResponses) CreateIngressServiceWithResponse(ctx context.Context, id UUID, body CreateIngressServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateIngressServiceResponse, error)

func (*ClientWithResponses) CreateIngressWithBodyWithResponse

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

CreateIngressWithBodyWithResponse request with arbitrary body returning *CreateIngressResponse

func (*ClientWithResponses) CreateIngressWithResponse

func (c *ClientWithResponses) CreateIngressWithResponse(ctx context.Context, body CreateIngressJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateIngressResponse, error)

func (*ClientWithResponses) CreateSshKeyWithBodyWithResponse

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

CreateSshKeyWithBodyWithResponse request with arbitrary body returning *CreateSshKeyResponse

func (*ClientWithResponses) CreateSshKeyWithResponse

func (c *ClientWithResponses) CreateSshKeyWithResponse(ctx context.Context, body CreateSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSshKeyResponse, error)

func (*ClientWithResponses) DeleteBackupStoreWithResponse

func (c *ClientWithResponses) DeleteBackupStoreWithResponse(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*DeleteBackupStoreResponse, error)

DeleteBackupStoreWithResponse request returning *DeleteBackupStoreResponse

func (*ClientWithResponses) DeleteCloudAccountWithResponse

func (c *ClientWithResponses) DeleteCloudAccountWithResponse(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*DeleteCloudAccountResponse, error)

DeleteCloudAccountWithResponse request returning *DeleteCloudAccountResponse

func (*ClientWithResponses) DeleteClusterShareWithResponse

func (c *ClientWithResponses) DeleteClusterShareWithResponse(ctx context.Context, id UUID, shareId UUID, reqEditors ...RequestEditorFn) (*DeleteClusterShareResponse, error)

DeleteClusterShareWithResponse request returning *DeleteClusterShareResponse

func (*ClientWithResponses) DeleteClusterWithResponse

func (c *ClientWithResponses) DeleteClusterWithResponse(ctx context.Context, id UUID, params *DeleteClusterParams, reqEditors ...RequestEditorFn) (*DeleteClusterResponse, error)

DeleteClusterWithResponse request returning *DeleteClusterResponse

func (*ClientWithResponses) DeleteDatabaseWithResponse

func (c *ClientWithResponses) DeleteDatabaseWithResponse(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*DeleteDatabaseResponse, error)

DeleteDatabaseWithResponse request returning *DeleteDatabaseResponse

func (*ClientWithResponses) DeleteIngressServiceWithResponse

func (c *ClientWithResponses) DeleteIngressServiceWithResponse(ctx context.Context, id UUID, serviceId string, reqEditors ...RequestEditorFn) (*DeleteIngressServiceResponse, error)

DeleteIngressServiceWithResponse request returning *DeleteIngressServiceResponse

func (*ClientWithResponses) DeleteIngressWithResponse

func (c *ClientWithResponses) DeleteIngressWithResponse(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*DeleteIngressResponse, error)

DeleteIngressWithResponse request returning *DeleteIngressResponse

func (*ClientWithResponses) DeleteSshKeyWithResponse

func (c *ClientWithResponses) DeleteSshKeyWithResponse(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*DeleteSshKeyResponse, error)

DeleteSshKeyWithResponse request returning *DeleteSshKeyResponse

func (*ClientWithResponses) GetBackupRepositoryInfoWithResponse

func (c *ClientWithResponses) GetBackupRepositoryInfoWithResponse(ctx context.Context, id UUID, nodeName string, params *GetBackupRepositoryInfoParams, reqEditors ...RequestEditorFn) (*GetBackupRepositoryInfoResponse, error)

GetBackupRepositoryInfoWithResponse request returning *GetBackupRepositoryInfoResponse

func (*ClientWithResponses) GetBackupStoreWithResponse

func (c *ClientWithResponses) GetBackupStoreWithResponse(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*GetBackupStoreResponse, error)

GetBackupStoreWithResponse request returning *GetBackupStoreResponse

func (*ClientWithResponses) GetByocPublicOpenApiSpecWithResponse

func (c *ClientWithResponses) GetByocPublicOpenApiSpecWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetByocPublicOpenApiSpecResponse, error)

GetByocPublicOpenApiSpecWithResponse request returning *GetByocPublicOpenApiSpecResponse

func (*ClientWithResponses) GetCloudAccountWithResponse

func (c *ClientWithResponses) GetCloudAccountWithResponse(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*GetCloudAccountResponse, error)

GetCloudAccountWithResponse request returning *GetCloudAccountResponse

func (*ClientWithResponses) GetCloudFormationTemplateWithResponse

func (c *ClientWithResponses) GetCloudFormationTemplateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCloudFormationTemplateResponse, error)

GetCloudFormationTemplateWithResponse request returning *GetCloudFormationTemplateResponse

func (*ClientWithResponses) GetClusterLogsWithResponse

func (c *ClientWithResponses) GetClusterLogsWithResponse(ctx context.Context, id UUID, nodeId UUID, logName string, params *GetClusterLogsParams, reqEditors ...RequestEditorFn) (*GetClusterLogsResponse, error)

GetClusterLogsWithResponse request returning *GetClusterLogsResponse

func (*ClientWithResponses) GetClusterWithResponse

func (c *ClientWithResponses) GetClusterWithResponse(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*GetClusterResponse, error)

GetClusterWithResponse request returning *GetClusterResponse

func (*ClientWithResponses) GetConfigVersionWithResponse

func (c *ClientWithResponses) GetConfigVersionWithResponse(ctx context.Context, version string, reqEditors ...RequestEditorFn) (*GetConfigVersionResponse, error)

GetConfigVersionWithResponse request returning *GetConfigVersionResponse

func (*ClientWithResponses) GetDatabaseLogsWithResponse

func (c *ClientWithResponses) GetDatabaseLogsWithResponse(ctx context.Context, id UUID, params *GetDatabaseLogsParams, reqEditors ...RequestEditorFn) (*GetDatabaseLogsResponse, error)

GetDatabaseLogsWithResponse request returning *GetDatabaseLogsResponse

func (*ClientWithResponses) GetDatabaseMetricsWithResponse

func (c *ClientWithResponses) GetDatabaseMetricsWithResponse(ctx context.Context, id UUID, params *GetDatabaseMetricsParams, reqEditors ...RequestEditorFn) (*GetDatabaseMetricsResponse, error)

GetDatabaseMetricsWithResponse request returning *GetDatabaseMetricsResponse

func (*ClientWithResponses) GetDatabaseWithResponse

func (c *ClientWithResponses) GetDatabaseWithResponse(ctx context.Context, id UUID, params *GetDatabaseParams, reqEditors ...RequestEditorFn) (*GetDatabaseResponse, error)

GetDatabaseWithResponse request returning *GetDatabaseResponse

func (*ClientWithResponses) GetIngressWithResponse

func (c *ClientWithResponses) GetIngressWithResponse(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*GetIngressResponse, error)

GetIngressWithResponse request returning *GetIngressResponse

func (*ClientWithResponses) GetOpenApiSpecWithResponse

func (c *ClientWithResponses) GetOpenApiSpecWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOpenApiSpecResponse, error)

GetOpenApiSpecWithResponse request returning *GetOpenApiSpecResponse

func (*ClientWithResponses) GetSshKeyWithResponse

func (c *ClientWithResponses) GetSshKeyWithResponse(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*GetSshKeyResponse, error)

GetSshKeyWithResponse request returning *GetSshKeyResponse

func (*ClientWithResponses) ListAvailabilityZonesWithResponse

func (c *ClientWithResponses) ListAvailabilityZonesWithResponse(ctx context.Context, id UUID, region string, reqEditors ...RequestEditorFn) (*ListAvailabilityZonesResponse, error)

ListAvailabilityZonesWithResponse request returning *ListAvailabilityZonesResponse

func (*ClientWithResponses) ListBackupRepositoriesWithResponse

func (c *ClientWithResponses) ListBackupRepositoriesWithResponse(ctx context.Context, params *ListBackupRepositoriesParams, reqEditors ...RequestEditorFn) (*ListBackupRepositoriesResponse, error)

ListBackupRepositoriesWithResponse request returning *ListBackupRepositoriesResponse

func (*ClientWithResponses) ListBackupStoresWithResponse

func (c *ClientWithResponses) ListBackupStoresWithResponse(ctx context.Context, params *ListBackupStoresParams, reqEditors ...RequestEditorFn) (*ListBackupStoresResponse, error)

ListBackupStoresWithResponse request returning *ListBackupStoresResponse

func (*ClientWithResponses) ListCloudAccountsWithResponse

func (c *ClientWithResponses) ListCloudAccountsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListCloudAccountsResponse, error)

ListCloudAccountsWithResponse request returning *ListCloudAccountsResponse

func (*ClientWithResponses) ListClusterNodesWithResponse

func (c *ClientWithResponses) ListClusterNodesWithResponse(ctx context.Context, id UUID, params *ListClusterNodesParams, reqEditors ...RequestEditorFn) (*ListClusterNodesResponse, error)

ListClusterNodesWithResponse request returning *ListClusterNodesResponse

func (*ClientWithResponses) ListClusterSharesWithResponse

func (c *ClientWithResponses) ListClusterSharesWithResponse(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*ListClusterSharesResponse, error)

ListClusterSharesWithResponse request returning *ListClusterSharesResponse

func (*ClientWithResponses) ListClustersWithResponse

func (c *ClientWithResponses) ListClustersWithResponse(ctx context.Context, params *ListClustersParams, reqEditors ...RequestEditorFn) (*ListClustersResponse, error)

ListClustersWithResponse request returning *ListClustersResponse

func (*ClientWithResponses) ListConfigVersionsWithResponse

func (c *ClientWithResponses) ListConfigVersionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListConfigVersionsResponse, error)

ListConfigVersionsWithResponse request returning *ListConfigVersionsResponse

func (*ClientWithResponses) ListDatabasesWithResponse

func (c *ClientWithResponses) ListDatabasesWithResponse(ctx context.Context, params *ListDatabasesParams, reqEditors ...RequestEditorFn) (*ListDatabasesResponse, error)

ListDatabasesWithResponse request returning *ListDatabasesResponse

func (*ClientWithResponses) ListIngressServicesWithResponse

func (c *ClientWithResponses) ListIngressServicesWithResponse(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*ListIngressServicesResponse, error)

ListIngressServicesWithResponse request returning *ListIngressServicesResponse

func (*ClientWithResponses) ListIngressesWithResponse

func (c *ClientWithResponses) ListIngressesWithResponse(ctx context.Context, params *ListIngressesParams, reqEditors ...RequestEditorFn) (*ListIngressesResponse, error)

ListIngressesWithResponse request returning *ListIngressesResponse

func (*ClientWithResponses) ListSshKeysWithResponse

func (c *ClientWithResponses) ListSshKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSshKeysResponse, error)

ListSshKeysWithResponse request returning *ListSshKeysResponse

func (*ClientWithResponses) ListTasksWithResponse

func (c *ClientWithResponses) ListTasksWithResponse(ctx context.Context, params *ListTasksParams, reqEditors ...RequestEditorFn) (*ListTasksResponse, error)

ListTasksWithResponse request returning *ListTasksResponse

func (*ClientWithResponses) ReadClusterMetricsWithResponse

func (c *ClientWithResponses) ReadClusterMetricsWithResponse(ctx context.Context, id UUID, params *ReadClusterMetricsParams, reqEditors ...RequestEditorFn) (*ReadClusterMetricsResponse, error)

ReadClusterMetricsWithResponse request returning *ReadClusterMetricsResponse

func (*ClientWithResponses) ReadClusterShareWithResponse

func (c *ClientWithResponses) ReadClusterShareWithResponse(ctx context.Context, id UUID, shareId UUID, reqEditors ...RequestEditorFn) (*ReadClusterShareResponse, error)

ReadClusterShareWithResponse request returning *ReadClusterShareResponse

func (*ClientWithResponses) RestoreDatabaseWithBodyWithResponse

func (c *ClientWithResponses) RestoreDatabaseWithBodyWithResponse(ctx context.Context, id UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RestoreDatabaseResponse, error)

RestoreDatabaseWithBodyWithResponse request with arbitrary body returning *RestoreDatabaseResponse

func (*ClientWithResponses) RestoreDatabaseWithResponse

func (c *ClientWithResponses) RestoreDatabaseWithResponse(ctx context.Context, id UUID, body RestoreDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*RestoreDatabaseResponse, error)

func (*ClientWithResponses) RotateDatabaseRolePasswordWithResponse

func (c *ClientWithResponses) RotateDatabaseRolePasswordWithResponse(ctx context.Context, id UUID, roleName RotateDatabaseRolePasswordParamsRoleName, reqEditors ...RequestEditorFn) (*RotateDatabaseRolePasswordResponse, error)

RotateDatabaseRolePasswordWithResponse request returning *RotateDatabaseRolePasswordResponse

func (*ClientWithResponses) UpdateClusterWithBodyWithResponse

func (c *ClientWithResponses) UpdateClusterWithBodyWithResponse(ctx context.Context, id UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateClusterResponse, error)

UpdateClusterWithBodyWithResponse request with arbitrary body returning *UpdateClusterResponse

func (*ClientWithResponses) UpdateClusterWithResponse

func (c *ClientWithResponses) UpdateClusterWithResponse(ctx context.Context, id UUID, body UpdateClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateClusterResponse, error)

func (*ClientWithResponses) UpdateDatabaseWithBodyWithResponse

func (c *ClientWithResponses) UpdateDatabaseWithBodyWithResponse(ctx context.Context, id UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatabaseResponse, error)

UpdateDatabaseWithBodyWithResponse request with arbitrary body returning *UpdateDatabaseResponse

func (*ClientWithResponses) UpdateDatabaseWithResponse

func (c *ClientWithResponses) UpdateDatabaseWithResponse(ctx context.Context, id UUID, body UpdateDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatabaseResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// ListBackupRepositoriesWithResponse request
	ListBackupRepositoriesWithResponse(ctx context.Context, params *ListBackupRepositoriesParams, reqEditors ...RequestEditorFn) (*ListBackupRepositoriesResponse, error)

	// GetBackupRepositoryInfoWithResponse request
	GetBackupRepositoryInfoWithResponse(ctx context.Context, id UUID, nodeName string, params *GetBackupRepositoryInfoParams, reqEditors ...RequestEditorFn) (*GetBackupRepositoryInfoResponse, error)

	// ListBackupStoresWithResponse request
	ListBackupStoresWithResponse(ctx context.Context, params *ListBackupStoresParams, reqEditors ...RequestEditorFn) (*ListBackupStoresResponse, error)

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

	CreateBackupStoreWithResponse(ctx context.Context, body CreateBackupStoreJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBackupStoreResponse, error)

	// DeleteBackupStoreWithResponse request
	DeleteBackupStoreWithResponse(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*DeleteBackupStoreResponse, error)

	// GetBackupStoreWithResponse request
	GetBackupStoreWithResponse(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*GetBackupStoreResponse, error)

	// ListCloudAccountsWithResponse request
	ListCloudAccountsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListCloudAccountsResponse, error)

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

	CreateCloudAccountWithResponse(ctx context.Context, body CreateCloudAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCloudAccountResponse, error)

	// DeleteCloudAccountWithResponse request
	DeleteCloudAccountWithResponse(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*DeleteCloudAccountResponse, error)

	// GetCloudAccountWithResponse request
	GetCloudAccountWithResponse(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*GetCloudAccountResponse, error)

	// ListAvailabilityZonesWithResponse request
	ListAvailabilityZonesWithResponse(ctx context.Context, id UUID, region string, reqEditors ...RequestEditorFn) (*ListAvailabilityZonesResponse, error)

	// ListClustersWithResponse request
	ListClustersWithResponse(ctx context.Context, params *ListClustersParams, reqEditors ...RequestEditorFn) (*ListClustersResponse, error)

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

	CreateClusterWithResponse(ctx context.Context, body CreateClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateClusterResponse, error)

	// DeleteClusterWithResponse request
	DeleteClusterWithResponse(ctx context.Context, id UUID, params *DeleteClusterParams, reqEditors ...RequestEditorFn) (*DeleteClusterResponse, error)

	// GetClusterWithResponse request
	GetClusterWithResponse(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*GetClusterResponse, error)

	// UpdateClusterWithBodyWithResponse request with any body
	UpdateClusterWithBodyWithResponse(ctx context.Context, id UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateClusterResponse, error)

	UpdateClusterWithResponse(ctx context.Context, id UUID, body UpdateClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateClusterResponse, error)

	// ReadClusterMetricsWithResponse request
	ReadClusterMetricsWithResponse(ctx context.Context, id UUID, params *ReadClusterMetricsParams, reqEditors ...RequestEditorFn) (*ReadClusterMetricsResponse, error)

	// ListClusterNodesWithResponse request
	ListClusterNodesWithResponse(ctx context.Context, id UUID, params *ListClusterNodesParams, reqEditors ...RequestEditorFn) (*ListClusterNodesResponse, error)

	// GetClusterLogsWithResponse request
	GetClusterLogsWithResponse(ctx context.Context, id UUID, nodeId UUID, logName string, params *GetClusterLogsParams, reqEditors ...RequestEditorFn) (*GetClusterLogsResponse, error)

	// ListClusterSharesWithResponse request
	ListClusterSharesWithResponse(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*ListClusterSharesResponse, error)

	// CreateClusterShareWithBodyWithResponse request with any body
	CreateClusterShareWithBodyWithResponse(ctx context.Context, id UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateClusterShareResponse, error)

	CreateClusterShareWithResponse(ctx context.Context, id UUID, body CreateClusterShareJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateClusterShareResponse, error)

	// DeleteClusterShareWithResponse request
	DeleteClusterShareWithResponse(ctx context.Context, id UUID, shareId UUID, reqEditors ...RequestEditorFn) (*DeleteClusterShareResponse, error)

	// ReadClusterShareWithResponse request
	ReadClusterShareWithResponse(ctx context.Context, id UUID, shareId UUID, reqEditors ...RequestEditorFn) (*ReadClusterShareResponse, error)

	// ListConfigVersionsWithResponse request
	ListConfigVersionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListConfigVersionsResponse, error)

	// GetConfigVersionWithResponse request
	GetConfigVersionWithResponse(ctx context.Context, version string, reqEditors ...RequestEditorFn) (*GetConfigVersionResponse, error)

	// ListDatabasesWithResponse request
	ListDatabasesWithResponse(ctx context.Context, params *ListDatabasesParams, reqEditors ...RequestEditorFn) (*ListDatabasesResponse, error)

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

	CreateDatabaseWithResponse(ctx context.Context, body CreateDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatabaseResponse, error)

	// DeleteDatabaseWithResponse request
	DeleteDatabaseWithResponse(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*DeleteDatabaseResponse, error)

	// GetDatabaseWithResponse request
	GetDatabaseWithResponse(ctx context.Context, id UUID, params *GetDatabaseParams, reqEditors ...RequestEditorFn) (*GetDatabaseResponse, error)

	// UpdateDatabaseWithBodyWithResponse request with any body
	UpdateDatabaseWithBodyWithResponse(ctx context.Context, id UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatabaseResponse, error)

	UpdateDatabaseWithResponse(ctx context.Context, id UUID, body UpdateDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatabaseResponse, error)

	// BackupDatabaseWithBodyWithResponse request with any body
	BackupDatabaseWithBodyWithResponse(ctx context.Context, id UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BackupDatabaseResponse, error)

	BackupDatabaseWithResponse(ctx context.Context, id UUID, body BackupDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*BackupDatabaseResponse, error)

	// GetDatabaseLogsWithResponse request
	GetDatabaseLogsWithResponse(ctx context.Context, id UUID, params *GetDatabaseLogsParams, reqEditors ...RequestEditorFn) (*GetDatabaseLogsResponse, error)

	// GetDatabaseMetricsWithResponse request
	GetDatabaseMetricsWithResponse(ctx context.Context, id UUID, params *GetDatabaseMetricsParams, reqEditors ...RequestEditorFn) (*GetDatabaseMetricsResponse, error)

	// RestoreDatabaseWithBodyWithResponse request with any body
	RestoreDatabaseWithBodyWithResponse(ctx context.Context, id UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RestoreDatabaseResponse, error)

	RestoreDatabaseWithResponse(ctx context.Context, id UUID, body RestoreDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*RestoreDatabaseResponse, error)

	// RotateDatabaseRolePasswordWithResponse request
	RotateDatabaseRolePasswordWithResponse(ctx context.Context, id UUID, roleName RotateDatabaseRolePasswordParamsRoleName, reqEditors ...RequestEditorFn) (*RotateDatabaseRolePasswordResponse, error)

	// ListIngressesWithResponse request
	ListIngressesWithResponse(ctx context.Context, params *ListIngressesParams, reqEditors ...RequestEditorFn) (*ListIngressesResponse, error)

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

	CreateIngressWithResponse(ctx context.Context, body CreateIngressJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateIngressResponse, error)

	// DeleteIngressWithResponse request
	DeleteIngressWithResponse(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*DeleteIngressResponse, error)

	// GetIngressWithResponse request
	GetIngressWithResponse(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*GetIngressResponse, error)

	// ListIngressServicesWithResponse request
	ListIngressServicesWithResponse(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*ListIngressServicesResponse, error)

	// CreateIngressServiceWithBodyWithResponse request with any body
	CreateIngressServiceWithBodyWithResponse(ctx context.Context, id UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIngressServiceResponse, error)

	CreateIngressServiceWithResponse(ctx context.Context, id UUID, body CreateIngressServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateIngressServiceResponse, error)

	// DeleteIngressServiceWithResponse request
	DeleteIngressServiceWithResponse(ctx context.Context, id UUID, serviceId string, reqEditors ...RequestEditorFn) (*DeleteIngressServiceResponse, error)

	// GetOpenApiSpecWithResponse request
	GetOpenApiSpecWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOpenApiSpecResponse, error)

	// GetByocPublicOpenApiSpecWithResponse request
	GetByocPublicOpenApiSpecWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetByocPublicOpenApiSpecResponse, error)

	// ListSshKeysWithResponse request
	ListSshKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSshKeysResponse, error)

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

	CreateSshKeyWithResponse(ctx context.Context, body CreateSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSshKeyResponse, error)

	// DeleteSshKeyWithResponse request
	DeleteSshKeyWithResponse(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*DeleteSshKeyResponse, error)

	// GetSshKeyWithResponse request
	GetSshKeyWithResponse(ctx context.Context, id UUID, reqEditors ...RequestEditorFn) (*GetSshKeyResponse, error)

	// ListTasksWithResponse request
	ListTasksWithResponse(ctx context.Context, params *ListTasksParams, reqEditors ...RequestEditorFn) (*ListTasksResponse, error)

	// GetCloudFormationTemplateWithResponse request
	GetCloudFormationTemplateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCloudFormationTemplateResponse, error)
}

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

type CloudAccount

type CloudAccount struct {
	CreatedAt   string                 `json:"created_at"`
	Description *string                `json:"description,omitempty"`
	Id          string                 `json:"id"`
	Name        string                 `json:"name"`
	Properties  map[string]interface{} `json:"properties"`
	Type        string                 `json:"type"`
	UpdatedAt   string                 `json:"updated_at"`
}

CloudAccount defines model for CloudAccount.

type CloudAccountProperties

type CloudAccountProperties struct {
	Id       string  `json:"id"`
	Name     *string `json:"name,omitempty"`
	NativeId *string `json:"native_id,omitempty"`
	Type     *string `json:"type,omitempty"`
}

CloudAccountProperties defines model for CloudAccountProperties.

type CloudFormationTemplate

type CloudFormationTemplate struct {
	Url string `json:"url"`
}

CloudFormationTemplate defines model for CloudFormationTemplate.

type Cluster

type Cluster struct {
	BackupStoreIds  *[]string                        `json:"backup_store_ids,omitempty"`
	Capacity        *int                             `json:"capacity,omitempty"`
	CloudAccount    CloudAccountProperties           `json:"cloud_account"`
	CreatedAt       string                           `json:"created_at"`
	FirewallRules   *[]ClusterFirewallRuleSettings   `json:"firewall_rules,omitempty"`
	Id              string                           `json:"id"`
	Name            string                           `json:"name"`
	Networks        *[]ClusterNetworkSettings        `json:"networks,omitempty"`
	NodeLocation    ClusterNodeLocation              `json:"node_location"`
	Nodes           *[]ClusterNodeSettings           `json:"nodes,omitempty"`
	Orchestrator    *string                          `json:"orchestrator,omitempty"`
	Regions         []string                         `json:"regions"`
	ResourceTags    *map[string]string               `json:"resource_tags,omitempty"`
	SshKeyId        *string                          `json:"ssh_key_id,omitempty"`
	Status          string                           `json:"status"`
	UpdatedAt       *string                          `json:"updated_at,omitempty"`
	VpcAssociations *[]ClusterVpcAssociationSettings `json:"vpc_associations,omitempty"`
}

Cluster defines model for Cluster.

type ClusterFirewallRuleSettings

type ClusterFirewallRuleSettings struct {
	Name *ClusterFirewallRuleSettingsName `json:"name,omitempty"`
	Port int                              `json:"port"`

	// PrefixLists Prefix list IDs (AWS pl-*)
	PrefixLists *[]string `json:"prefix_lists,omitempty"`

	// SecurityGroups Security group IDs (AWS sg-*)
	SecurityGroups *[]string `json:"security_groups,omitempty"`

	// Sources CIDR blocks or IP addresses
	Sources *[]string `json:"sources,omitempty"`
}

ClusterFirewallRuleSettings defines model for ClusterFirewallRuleSettings.

type ClusterFirewallRuleSettingsName

type ClusterFirewallRuleSettingsName string

ClusterFirewallRuleSettingsName defines model for ClusterFirewallRuleSettings.Name.

Defines values for ClusterFirewallRuleSettingsName.

func (ClusterFirewallRuleSettingsName) Valid

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

type ClusterNetworkSettings

type ClusterNetworkSettings struct {
	Cidr           *string   `json:"cidr,omitempty"`
	External       *bool     `json:"external,omitempty"`
	ExternalId     *string   `json:"external_id,omitempty"`
	Name           *string   `json:"name,omitempty"`
	PrivateSubnets *[]string `json:"private_subnets,omitempty"`
	PublicSubnets  *[]string `json:"public_subnets,omitempty"`
	Region         string    `json:"region"`
	Subnets        *[]string `json:"subnets,omitempty"`
}

ClusterNetworkSettings defines model for ClusterNetworkSettings.

type ClusterNode

type ClusterNode struct {
	AvailabilityZone    string               `json:"availability_zone"`
	DisplayName         *string              `json:"display_name,omitempty"`
	DistanceMeasurement *DistanceMeasurement `json:"distance_measurement,omitempty"`
	Id                  string               `json:"id"`
	ImageId             string               `json:"image_id"`
	InstanceId          string               `json:"instance_id"`
	InstanceType        string               `json:"instance_type"`
	IpAddress           string               `json:"ip_address"`
	IsActive            bool                 `json:"is_active"`
	KeyName             string               `json:"key_name"`
	Location            Location             `json:"location"`

	// LogicalName Customer-facing effective name (logical name if set, else the internal name)
	LogicalName     *string `json:"logical_name,omitempty"`
	Name            string  `json:"name"`
	PublicIpAddress *string `json:"public_ip_address,omitempty"`
	Region          string  `json:"region"`
	RegionDetail    Region  `json:"region_detail"`
	VolumeIops      int     `json:"volume_iops"`
	VolumeSize      int     `json:"volume_size"`
	VolumeType      string  `json:"volume_type"`
}

ClusterNode defines model for ClusterNode.

type ClusterNodeLocation

type ClusterNodeLocation string

ClusterNodeLocation defines model for Cluster.NodeLocation.

const (
	ClusterNodeLocationPrivate ClusterNodeLocation = "private"
	ClusterNodeLocationPublic  ClusterNodeLocation = "public"
)

Defines values for ClusterNodeLocation.

func (ClusterNodeLocation) Valid

func (e ClusterNodeLocation) Valid() bool

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

type ClusterNodeLogMessage

type ClusterNodeLogMessage struct {
	Level   string `json:"level"`
	Message string `json:"message"`
	RawText string `json:"raw_text"`
	Time    string `json:"time"`
}

ClusterNodeLogMessage defines model for ClusterNodeLogMessage.

type ClusterNodeSettings

type ClusterNodeSettings struct {
	AvailabilityZone *string `json:"availability_zone,omitempty"`

	// FirewallRules Node-specific firewall rules (merged with cluster-level rules)
	FirewallRules *[]ClusterFirewallRuleSettings `json:"firewall_rules,omitempty"`
	InstanceType  *string                        `json:"instance_type,omitempty"`

	// LogicalName Optional customer-facing logical name for the node
	LogicalName  *string                          `json:"logical_name,omitempty"`
	Name         *string                          `json:"name,omitempty"`
	NodeLocation *ClusterNodeSettingsNodeLocation `json:"node_location,omitempty"`
	Options      *[]string                        `json:"options,omitempty"`
	Region       string                           `json:"region"`
	VolumeIops   *int                             `json:"volume_iops,omitempty"`
	VolumeSize   *int                             `json:"volume_size,omitempty"`
	VolumeType   *string                          `json:"volume_type,omitempty"`
}

ClusterNodeSettings defines model for ClusterNodeSettings.

type ClusterNodeSettingsNodeLocation

type ClusterNodeSettingsNodeLocation string

ClusterNodeSettingsNodeLocation defines model for ClusterNodeSettings.NodeLocation.

const (
	ClusterNodeSettingsNodeLocationPrivate ClusterNodeSettingsNodeLocation = "private"
	ClusterNodeSettingsNodeLocationPublic  ClusterNodeSettingsNodeLocation = "public"
)

Defines values for ClusterNodeSettingsNodeLocation.

func (ClusterNodeSettingsNodeLocation) Valid

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

type ClusterShare

type ClusterShare struct {
	AllowedTenants []string `json:"allowed_tenants"`
	Capacity       int      `json:"capacity"`
	CreatedAt      string   `json:"created_at"`
	Id             string   `json:"id"`
	Name           string   `json:"name"`
	Status         string   `json:"status"`
	Tenancy        string   `json:"tenancy"`
	UpdatedAt      string   `json:"updated_at"`
}

ClusterShare defines model for ClusterShare.

type ClusterVpcAssociationSettings

type ClusterVpcAssociationSettings struct {
	Cidr   *string `json:"cidr,omitempty"`
	Region string  `json:"region"`
	VpcId  string  `json:"vpc_id"`
}

ClusterVpcAssociationSettings defines model for ClusterVpcAssociationSettings.

type ConfigVersion

type ConfigVersion struct {
	Images              *map[string]string `json:"images,omitempty"`
	ManagedExtensions   *[]string          `json:"managed_extensions,omitempty"`
	Name                string             `json:"name"`
	SupportedPgVersions *[]string          `json:"supported_pg_versions,omitempty"`
}

ConfigVersion defines model for ConfigVersion.

type Connection

type Connection struct {
	Database          string  `json:"database"`
	ExternalIpAddress *string `json:"external_ip_address,omitempty"`
	Host              *string `json:"host,omitempty"`
	InternalHost      *string `json:"internal_host,omitempty"`
	InternalIpAddress *string `json:"internal_ip_address,omitempty"`
	Password          string  `json:"password"`
	Port              int     `json:"port"`
	Username          string  `json:"username"`
}

Connection defines model for Connection.

type CreateBackupInput

type CreateBackupInput struct {
	Name        *string   `json:"name,omitempty"`
	Provider    string    `json:"provider"`
	TargetNodes *[]string `json:"target_nodes,omitempty"`
	Type        *string   `json:"type,omitempty"`
}

CreateBackupInput defines model for CreateBackupInput.

type CreateBackupStoreInput

type CreateBackupStoreInput struct {
	// CloudAccountId The ID of the cloud account to use for the backup store.
	CloudAccountId string `json:"cloud_account_id"`

	// Name The name of the backup store.
	Name string `json:"name"`

	// Region The region to use for the backup store.
	Region *string `json:"region,omitempty"`
}

CreateBackupStoreInput defines model for CreateBackupStoreInput.

type CreateBackupStoreJSONRequestBody

type CreateBackupStoreJSONRequestBody = CreateBackupStoreInput

CreateBackupStoreJSONRequestBody defines body for CreateBackupStore for application/json ContentType.

type CreateBackupStoreResponse

type CreateBackupStoreResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BackupStore
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseCreateBackupStoreResponse

func ParseCreateBackupStoreResponse(rsp *http.Response) (*CreateBackupStoreResponse, error)

ParseCreateBackupStoreResponse parses an HTTP response from a CreateBackupStoreWithResponse call

func (CreateBackupStoreResponse) ContentType

func (r CreateBackupStoreResponse) ContentType() string

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

func (CreateBackupStoreResponse) Status

func (r CreateBackupStoreResponse) Status() string

Status returns HTTPResponse.Status

func (CreateBackupStoreResponse) StatusCode

func (r CreateBackupStoreResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateCloudAccountInput

type CreateCloudAccountInput struct {
	Credentials CreateCloudAccountInput_Credentials `json:"credentials"`
	Description *string                             `json:"description,omitempty"`
	Name        *string                             `json:"name,omitempty"`
	Type        string                              `json:"type"`
}

CreateCloudAccountInput defines model for CreateCloudAccountInput.

type CreateCloudAccountInput_Credentials

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

CreateCloudAccountInput_Credentials defines model for CreateCloudAccountInput.Credentials.

func (CreateCloudAccountInput_Credentials) AsAwsCredentials

AsAwsCredentials returns the union data inside the CreateCloudAccountInput_Credentials as a AwsCredentials

func (CreateCloudAccountInput_Credentials) AsAzureCredentials

AsAzureCredentials returns the union data inside the CreateCloudAccountInput_Credentials as a AzureCredentials

func (CreateCloudAccountInput_Credentials) AsGoogleCredentials

func (t CreateCloudAccountInput_Credentials) AsGoogleCredentials() (GoogleCredentials, error)

AsGoogleCredentials returns the union data inside the CreateCloudAccountInput_Credentials as a GoogleCredentials

func (*CreateCloudAccountInput_Credentials) FromAwsCredentials

func (t *CreateCloudAccountInput_Credentials) FromAwsCredentials(v AwsCredentials) error

FromAwsCredentials overwrites any union data inside the CreateCloudAccountInput_Credentials as the provided AwsCredentials

func (*CreateCloudAccountInput_Credentials) FromAzureCredentials

func (t *CreateCloudAccountInput_Credentials) FromAzureCredentials(v AzureCredentials) error

FromAzureCredentials overwrites any union data inside the CreateCloudAccountInput_Credentials as the provided AzureCredentials

func (*CreateCloudAccountInput_Credentials) FromGoogleCredentials

func (t *CreateCloudAccountInput_Credentials) FromGoogleCredentials(v GoogleCredentials) error

FromGoogleCredentials overwrites any union data inside the CreateCloudAccountInput_Credentials as the provided GoogleCredentials

func (CreateCloudAccountInput_Credentials) MarshalJSON

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

func (*CreateCloudAccountInput_Credentials) MergeAwsCredentials

func (t *CreateCloudAccountInput_Credentials) MergeAwsCredentials(v AwsCredentials) error

MergeAwsCredentials performs a merge with any union data inside the CreateCloudAccountInput_Credentials, using the provided AwsCredentials

func (*CreateCloudAccountInput_Credentials) MergeAzureCredentials

func (t *CreateCloudAccountInput_Credentials) MergeAzureCredentials(v AzureCredentials) error

MergeAzureCredentials performs a merge with any union data inside the CreateCloudAccountInput_Credentials, using the provided AzureCredentials

func (*CreateCloudAccountInput_Credentials) MergeGoogleCredentials

func (t *CreateCloudAccountInput_Credentials) MergeGoogleCredentials(v GoogleCredentials) error

MergeGoogleCredentials performs a merge with any union data inside the CreateCloudAccountInput_Credentials, using the provided GoogleCredentials

func (*CreateCloudAccountInput_Credentials) UnmarshalJSON

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

type CreateCloudAccountJSONRequestBody

type CreateCloudAccountJSONRequestBody = CreateCloudAccountInput

CreateCloudAccountJSONRequestBody defines body for CreateCloudAccount for application/json ContentType.

type CreateCloudAccountResponse

type CreateCloudAccountResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CloudAccount
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseCreateCloudAccountResponse

func ParseCreateCloudAccountResponse(rsp *http.Response) (*CreateCloudAccountResponse, error)

ParseCreateCloudAccountResponse parses an HTTP response from a CreateCloudAccountWithResponse call

func (CreateCloudAccountResponse) ContentType

func (r CreateCloudAccountResponse) ContentType() string

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

func (CreateCloudAccountResponse) Status

Status returns HTTPResponse.Status

func (CreateCloudAccountResponse) StatusCode

func (r CreateCloudAccountResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateClusterInput

type CreateClusterInput struct {
	BackupStoreIds  *[]string                        `json:"backup_store_ids,omitempty"`
	Capacity        *int                             `json:"capacity,omitempty"`
	CloudAccount    *CloudAccountProperties          `json:"cloud_account,omitempty"`
	CloudAccountId  *string                          `json:"cloud_account_id,omitempty"`
	FirewallRules   *[]ClusterFirewallRuleSettings   `json:"firewall_rules,omitempty"`
	Name            string                           `json:"name"`
	Networks        *[]ClusterNetworkSettings        `json:"networks,omitempty"`
	NodeLocation    CreateClusterInputNodeLocation   `json:"node_location"`
	Nodes           *[]ClusterNodeSettings           `json:"nodes,omitempty"`
	Options         *map[string]interface{}          `json:"options,omitempty"`
	Regions         []string                         `json:"regions"`
	ResourceTags    *map[string]string               `json:"resource_tags,omitempty"`
	SshKeyId        *string                          `json:"ssh_key_id,omitempty"`
	VpcAssociations *[]ClusterVpcAssociationSettings `json:"vpc_associations,omitempty"`
}

CreateClusterInput defines model for CreateClusterInput.

type CreateClusterInputNodeLocation

type CreateClusterInputNodeLocation string

CreateClusterInputNodeLocation defines model for CreateClusterInput.NodeLocation.

const (
	Private CreateClusterInputNodeLocation = "private"
	Public  CreateClusterInputNodeLocation = "public"
)

Defines values for CreateClusterInputNodeLocation.

func (CreateClusterInputNodeLocation) Valid

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

type CreateClusterJSONRequestBody

type CreateClusterJSONRequestBody = CreateClusterInput

CreateClusterJSONRequestBody defines body for CreateCluster for application/json ContentType.

type CreateClusterResponse

type CreateClusterResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Cluster
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseCreateClusterResponse

func ParseCreateClusterResponse(rsp *http.Response) (*CreateClusterResponse, error)

ParseCreateClusterResponse parses an HTTP response from a CreateClusterWithResponse call

func (CreateClusterResponse) ContentType

func (r CreateClusterResponse) ContentType() string

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

func (CreateClusterResponse) Status

func (r CreateClusterResponse) Status() string

Status returns HTTPResponse.Status

func (CreateClusterResponse) StatusCode

func (r CreateClusterResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateClusterShareInput

type CreateClusterShareInput struct {
	AllowedTenants *[]string                       `json:"allowed_tenants,omitempty"`
	Capacity       *int                            `json:"capacity,omitempty"`
	Name           *string                         `json:"name,omitempty"`
	Status         *string                         `json:"status,omitempty"`
	Tenancy        *CreateClusterShareInputTenancy `json:"tenancy,omitempty"`
}

CreateClusterShareInput defines model for CreateClusterShareInput.

type CreateClusterShareInputTenancy

type CreateClusterShareInputTenancy string

CreateClusterShareInputTenancy defines model for CreateClusterShareInput.Tenancy.

const (
	Allowlist CreateClusterShareInputTenancy = "allowlist"
	Same      CreateClusterShareInputTenancy = "same"
)

Defines values for CreateClusterShareInputTenancy.

func (CreateClusterShareInputTenancy) Valid

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

type CreateClusterShareJSONRequestBody

type CreateClusterShareJSONRequestBody = CreateClusterShareInput

CreateClusterShareJSONRequestBody defines body for CreateClusterShare for application/json ContentType.

type CreateClusterShareResponse

type CreateClusterShareResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ClusterShare
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseCreateClusterShareResponse

func ParseCreateClusterShareResponse(rsp *http.Response) (*CreateClusterShareResponse, error)

ParseCreateClusterShareResponse parses an HTTP response from a CreateClusterShareWithResponse call

func (CreateClusterShareResponse) ContentType

func (r CreateClusterShareResponse) ContentType() string

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

func (CreateClusterShareResponse) Status

Status returns HTTPResponse.Status

func (CreateClusterShareResponse) StatusCode

func (r CreateClusterShareResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateDatabaseInput

type CreateDatabaseInput struct {
	Backups *Backups `json:"backups,omitempty"`

	// ClusterId ID of an existing BYOC cluster owned by the tenant.
	ClusterId     *string `json:"cluster_id,omitempty"`
	ConfigVersion *string `json:"config_version,omitempty"`

	// DisplayName Display name for the database
	DisplayName nullable.Nullable[string] `json:"display_name,omitempty"`
	Extensions  *Extensions               `json:"extensions,omitempty"`
	Name        string                    `json:"name"`

	// Nodes Database nodes to create. If omitted, deploys to all hosts
	// in the cluster.
	Nodes     *[]CreateDatabaseNodeInput `json:"nodes,omitempty"`
	Options   *[]string                  `json:"options,omitempty"`
	PgVersion *string                    `json:"pg_version,omitempty"`

	// Services Ancillary services to deploy alongside the database (e.g.
	// MCP servers). Deployed on each database node host. API
	// keys are stored server-side encrypted.
	Services *[]ServiceConfig `json:"services,omitempty"`
}

CreateDatabaseInput defines model for CreateDatabaseInput.

type CreateDatabaseJSONRequestBody

type CreateDatabaseJSONRequestBody = CreateDatabaseInput

CreateDatabaseJSONRequestBody defines body for CreateDatabase for application/json ContentType.

type CreateDatabaseNodeInput

type CreateDatabaseNodeInput struct {
	// HostId ID of the host to deploy this database node on
	HostId string `json:"host_id"`

	// LogicalName Optional customer-facing logical name for this database node. Must be unique within the database (case-insensitive). If omitted, the node's internal name is used.
	LogicalName *string `json:"logical_name,omitempty"`
}

CreateDatabaseNodeInput defines model for CreateDatabaseNodeInput.

type CreateDatabaseResponse

type CreateDatabaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Database
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseCreateDatabaseResponse

func ParseCreateDatabaseResponse(rsp *http.Response) (*CreateDatabaseResponse, error)

ParseCreateDatabaseResponse parses an HTTP response from a CreateDatabaseWithResponse call

func (CreateDatabaseResponse) ContentType

func (r CreateDatabaseResponse) ContentType() string

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

func (CreateDatabaseResponse) Status

func (r CreateDatabaseResponse) Status() string

Status returns HTTPResponse.Status

func (CreateDatabaseResponse) StatusCode

func (r CreateDatabaseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateIngressInput

type CreateIngressInput struct {
	// ClusterId The ID of the cluster to associate with the ingress.
	ClusterId string `json:"cluster_id"`

	// Name The name of the ingress.
	Name string `json:"name"`

	// Region The region to use for the ingress.
	Region string `json:"region"`
}

CreateIngressInput defines model for CreateIngressInput.

type CreateIngressJSONRequestBody

type CreateIngressJSONRequestBody = CreateIngressInput

CreateIngressJSONRequestBody defines body for CreateIngress for application/json ContentType.

type CreateIngressResponse

type CreateIngressResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Ingress
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseCreateIngressResponse

func ParseCreateIngressResponse(rsp *http.Response) (*CreateIngressResponse, error)

ParseCreateIngressResponse parses an HTTP response from a CreateIngressWithResponse call

func (CreateIngressResponse) ContentType

func (r CreateIngressResponse) ContentType() string

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

func (CreateIngressResponse) Status

func (r CreateIngressResponse) Status() string

Status returns HTTPResponse.Status

func (CreateIngressResponse) StatusCode

func (r CreateIngressResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateIngressServiceJSONRequestBody

type CreateIngressServiceJSONRequestBody = RegisterServiceInput

CreateIngressServiceJSONRequestBody defines body for CreateIngressService for application/json ContentType.

type CreateIngressServiceResponse

type CreateIngressServiceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ServiceRegistration
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseCreateIngressServiceResponse

func ParseCreateIngressServiceResponse(rsp *http.Response) (*CreateIngressServiceResponse, error)

ParseCreateIngressServiceResponse parses an HTTP response from a CreateIngressServiceWithResponse call

func (CreateIngressServiceResponse) ContentType

func (r CreateIngressServiceResponse) ContentType() string

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

func (CreateIngressServiceResponse) Status

Status returns HTTPResponse.Status

func (CreateIngressServiceResponse) StatusCode

func (r CreateIngressServiceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateRestoreInput

type CreateRestoreInput struct {
	Provider       string                    `json:"provider"`
	RestoreCommand *PgBackrestRestoreCommand `json:"restore_command,omitempty"`
	RestoreConfig  PgBackrestRestoreConfig   `json:"restore_config"`
	TargetNodes    *[]string                 `json:"target_nodes,omitempty"`
}

CreateRestoreInput defines model for CreateRestoreInput.

type CreateSshKeyInput

type CreateSshKeyInput struct {
	// Name The name of the SSH key.
	Name string `json:"name"`

	// PublicKey The public key of the SSH key pair.
	PublicKey string `json:"public_key"`
}

CreateSshKeyInput defines model for CreateSshKeyInput.

type CreateSshKeyJSONRequestBody

type CreateSshKeyJSONRequestBody = CreateSshKeyInput

CreateSshKeyJSONRequestBody defines body for CreateSshKey for application/json ContentType.

type CreateSshKeyResponse

type CreateSshKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SshKey
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseCreateSshKeyResponse

func ParseCreateSshKeyResponse(rsp *http.Response) (*CreateSshKeyResponse, error)

ParseCreateSshKeyResponse parses an HTTP response from a CreateSshKeyWithResponse call

func (CreateSshKeyResponse) ContentType

func (r CreateSshKeyResponse) ContentType() string

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

func (CreateSshKeyResponse) Status

func (r CreateSshKeyResponse) Status() string

Status returns HTTPResponse.Status

func (CreateSshKeyResponse) StatusCode

func (r CreateSshKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Database

type Database struct {
	Backups       *Backups                    `json:"backups,omitempty"`
	ClusterId     string                      `json:"cluster_id"`
	Components    *[]DatabaseComponentVersion `json:"components,omitempty"`
	ConfigVersion *string                     `json:"config_version,omitempty"`
	Connection    *Connection                 `json:"connection,omitempty"`
	CreatedAt     string                      `json:"created_at"`

	// DeletionProtection Whether deletion protection is enabled for this database.
	DeletionProtection *bool `json:"deletion_protection,omitempty"`

	// DisplayName Display name of the database. Will be null if not set.
	DisplayName nullable.Nullable[string] `json:"display_name,omitempty"`
	Domain      *string                   `json:"domain,omitempty"`
	Extensions  *Extensions               `json:"extensions,omitempty"`
	Id          string                    `json:"id"`
	Name        string                    `json:"name"`
	Nodes       *[]DatabaseNode           `json:"nodes,omitempty"`
	Options     *[]string                 `json:"options,omitempty"`
	PgVersion   *string                   `json:"pg_version,omitempty"`

	// Port Externally reachable Postgres port for managed databases.
	Port          *int            `json:"port,omitempty"`
	PrivateDomain *string         `json:"private_domain,omitempty"`
	Roles         *[]DatabaseRole `json:"roles,omitempty"`

	// Services Services deployed alongside this database. Each entry
	// represents one service instance hydrated with its
	// parent config. Secrets (api_key, init_tokens,
	// init_users) are returned in GET /databases/{id}
	// responses only.
	Services    *[]Service       `json:"services,omitempty"`
	Status      string           `json:"status"`
	StorageUsed *int64           `json:"storage_used,omitempty"`
	Tables      *[]DatabaseTable `json:"tables,omitempty"`
	UpdatedAt   string           `json:"updated_at"`
}

Database defines model for Database.

type DatabaseColumn

type DatabaseColumn struct {
	DataType        string `json:"data_type"`
	Default         string `json:"default"`
	IsNullable      bool   `json:"is_nullable"`
	IsPrimaryKey    bool   `json:"is_primary_key"`
	Name            string `json:"name"`
	OrdinalPosition int    `json:"ordinal_position"`
}

DatabaseColumn defines model for DatabaseColumn.

type DatabaseComponentVersion

type DatabaseComponentVersion struct {
	Id          string `json:"id"`
	Name        string `json:"name"`
	ReleaseDate string `json:"release_date"`
	Status      string `json:"status"`
	Version     string `json:"version"`
}

DatabaseComponentVersion defines model for DatabaseComponentVersion.

type DatabaseLogsResponse

type DatabaseLogsResponse struct {
	Logs []map[string]interface{} `json:"logs"`
}

DatabaseLogsResponse defines model for DatabaseLogsResponse.

type DatabaseNode

type DatabaseNode struct {
	Connection          Connection              `json:"connection"`
	DistanceMeasurement *DistanceMeasurement    `json:"distance_measurement,omitempty"`
	Extensions          *DatabaseNodeExtensions `json:"extensions,omitempty"`
	Location            Location                `json:"location"`

	// LogicalName Customer-facing name for this database node. Equals the logical name if one was set, otherwise the internal name.
	LogicalName *string `json:"logical_name,omitempty"`
	Name        string  `json:"name"`
	Region      *Region `json:"region,omitempty"`

	// SourceNodeName The source node name to use for ZODAN migration. If specified, the node will be initialized using ZODAN from the source node. If not specified, the node will be created empty.
	SourceNodeName nullable.Nullable[string] `json:"source_node_name,omitempty"`
}

DatabaseNode defines model for DatabaseNode.

type DatabaseNodeExtensions

type DatabaseNodeExtensions struct {
	Errors    *map[string]string `json:"errors,omitempty"`
	Installed []string           `json:"installed"`
}

DatabaseNodeExtensions defines model for DatabaseNodeExtensions.

type DatabaseRole

type DatabaseRole struct {
	BypassRls       bool   `json:"bypass_rls"`
	ConnectionLimit int    `json:"connection_limit"`
	CreateDb        bool   `json:"create_db"`
	CreateRole      bool   `json:"create_role"`
	Inherit         bool   `json:"inherit"`
	Login           bool   `json:"login"`
	Name            string `json:"name"`
	Replication     bool   `json:"replication"`
	Superuser       bool   `json:"superuser"`
}

DatabaseRole defines model for DatabaseRole.

type DatabaseTable

type DatabaseTable struct {
	Columns         *[]DatabaseColumn     `json:"columns,omitempty"`
	Name            string                `json:"name"`
	PrimaryKey      []string              `json:"primary_key"`
	ReplicationSets []string              `json:"replication_sets"`
	Schema          string                `json:"schema"`
	Status          []DatabaseTableStatus `json:"status"`
}

DatabaseTable defines model for DatabaseTable.

type DatabaseTableStatus

type DatabaseTableStatus struct {
	Aligned     bool   `json:"aligned"`
	NodeName    string `json:"node_name"`
	Present     bool   `json:"present"`
	Replicating bool   `json:"replicating"`
}

DatabaseTableStatus defines model for DatabaseTableStatus.

type DeleteBackupStoreResponse

type DeleteBackupStoreResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseDeleteBackupStoreResponse

func ParseDeleteBackupStoreResponse(rsp *http.Response) (*DeleteBackupStoreResponse, error)

ParseDeleteBackupStoreResponse parses an HTTP response from a DeleteBackupStoreWithResponse call

func (DeleteBackupStoreResponse) ContentType

func (r DeleteBackupStoreResponse) ContentType() string

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

func (DeleteBackupStoreResponse) Status

func (r DeleteBackupStoreResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteBackupStoreResponse) StatusCode

func (r DeleteBackupStoreResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteCloudAccountResponse

type DeleteCloudAccountResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseDeleteCloudAccountResponse

func ParseDeleteCloudAccountResponse(rsp *http.Response) (*DeleteCloudAccountResponse, error)

ParseDeleteCloudAccountResponse parses an HTTP response from a DeleteCloudAccountWithResponse call

func (DeleteCloudAccountResponse) ContentType

func (r DeleteCloudAccountResponse) ContentType() string

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

func (DeleteCloudAccountResponse) Status

Status returns HTTPResponse.Status

func (DeleteCloudAccountResponse) StatusCode

func (r DeleteCloudAccountResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteClusterParams

type DeleteClusterParams struct {
	// Force When true, deletes the cluster and all associated databases and cloud infrastructure, bypassing status and database existence checks. The operation is idempotent.
	Force *bool `form:"force,omitempty" json:"force,omitempty"`
}

DeleteClusterParams defines parameters for DeleteCluster.

type DeleteClusterResponse

type DeleteClusterResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseDeleteClusterResponse

func ParseDeleteClusterResponse(rsp *http.Response) (*DeleteClusterResponse, error)

ParseDeleteClusterResponse parses an HTTP response from a DeleteClusterWithResponse call

func (DeleteClusterResponse) ContentType

func (r DeleteClusterResponse) ContentType() string

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

func (DeleteClusterResponse) Status

func (r DeleteClusterResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteClusterResponse) StatusCode

func (r DeleteClusterResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteClusterShareResponse

type DeleteClusterShareResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseDeleteClusterShareResponse

func ParseDeleteClusterShareResponse(rsp *http.Response) (*DeleteClusterShareResponse, error)

ParseDeleteClusterShareResponse parses an HTTP response from a DeleteClusterShareWithResponse call

func (DeleteClusterShareResponse) ContentType

func (r DeleteClusterShareResponse) ContentType() string

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

func (DeleteClusterShareResponse) Status

Status returns HTTPResponse.Status

func (DeleteClusterShareResponse) StatusCode

func (r DeleteClusterShareResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteDatabaseResponse

type DeleteDatabaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseDeleteDatabaseResponse

func ParseDeleteDatabaseResponse(rsp *http.Response) (*DeleteDatabaseResponse, error)

ParseDeleteDatabaseResponse parses an HTTP response from a DeleteDatabaseWithResponse call

func (DeleteDatabaseResponse) ContentType

func (r DeleteDatabaseResponse) ContentType() string

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

func (DeleteDatabaseResponse) Status

func (r DeleteDatabaseResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteDatabaseResponse) StatusCode

func (r DeleteDatabaseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteIngressResponse

type DeleteIngressResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseDeleteIngressResponse

func ParseDeleteIngressResponse(rsp *http.Response) (*DeleteIngressResponse, error)

ParseDeleteIngressResponse parses an HTTP response from a DeleteIngressWithResponse call

func (DeleteIngressResponse) ContentType

func (r DeleteIngressResponse) ContentType() string

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

func (DeleteIngressResponse) Status

func (r DeleteIngressResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteIngressResponse) StatusCode

func (r DeleteIngressResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteIngressServiceResponse

type DeleteIngressServiceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseDeleteIngressServiceResponse

func ParseDeleteIngressServiceResponse(rsp *http.Response) (*DeleteIngressServiceResponse, error)

ParseDeleteIngressServiceResponse parses an HTTP response from a DeleteIngressServiceWithResponse call

func (DeleteIngressServiceResponse) ContentType

func (r DeleteIngressServiceResponse) ContentType() string

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

func (DeleteIngressServiceResponse) Status

Status returns HTTPResponse.Status

func (DeleteIngressServiceResponse) StatusCode

func (r DeleteIngressServiceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSshKeyResponse

type DeleteSshKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseDeleteSshKeyResponse

func ParseDeleteSshKeyResponse(rsp *http.Response) (*DeleteSshKeyResponse, error)

ParseDeleteSshKeyResponse parses an HTTP response from a DeleteSshKeyWithResponse call

func (DeleteSshKeyResponse) ContentType

func (r DeleteSshKeyResponse) ContentType() string

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

func (DeleteSshKeyResponse) Status

func (r DeleteSshKeyResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteSshKeyResponse) StatusCode

func (r DeleteSshKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DistanceMeasurement

type DistanceMeasurement struct {
	Distance      float64 `json:"distance"`
	FromLatitude  float64 `json:"from_latitude"`
	FromLongitude float64 `json:"from_longitude"`
	Unit          string  `json:"unit"`
}

DistanceMeasurement defines model for DistanceMeasurement.

type Error

type Error struct {
	Code    int    `json:"code"`
	Message string `json:"message"`

	// Reason Stable, machine-readable discriminator for programmatic client handling. Absent for generic errors. Clients must treat an unrecognized value as a generic error of the given status code.
	Reason *ErrorReason `json:"reason,omitempty"`
}

Error defines model for Error.

type ErrorReason

type ErrorReason string

ErrorReason Stable, machine-readable discriminator for programmatic client handling. Absent for generic errors. Clients must treat an unrecognized value as a generic error of the given status code.

const (
	DeveloperPlanBackup ErrorReason = "developer_plan_backup"
	MembershipRevoked   ErrorReason = "membership_revoked"
	PlanExpired         ErrorReason = "plan_expired"
)

Defines values for ErrorReason.

func (ErrorReason) Valid

func (e ErrorReason) Valid() bool

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

type Extensions

type Extensions struct {
	AutoManage *bool     `json:"auto_manage,omitempty"`
	Available  *[]string `json:"available,omitempty"`
	Requested  *[]string `json:"requested,omitempty"`
}

Extensions defines model for Extensions.

type GetBackupRepositoryInfoParams

type GetBackupRepositoryInfoParams struct {
	// BackupLimit Maximum number of backups to return.
	BackupLimit *int `form:"backup_limit,omitempty" json:"backup_limit,omitempty"`

	// BackupOffset Offset into the backups, for pagination.
	BackupOffset *int `form:"backup_offset,omitempty" json:"backup_offset,omitempty"`

	// BackupType Filter backups by type.
	BackupType *GetBackupRepositoryInfoParamsBackupType `form:"backup_type,omitempty" json:"backup_type,omitempty"`

	// Descending Sort backups in descending order.
	Descending *bool `form:"descending,omitempty" json:"descending,omitempty"`
}

GetBackupRepositoryInfoParams defines parameters for GetBackupRepositoryInfo.

type GetBackupRepositoryInfoParamsBackupType

type GetBackupRepositoryInfoParamsBackupType string

GetBackupRepositoryInfoParamsBackupType defines parameters for GetBackupRepositoryInfo.

Defines values for GetBackupRepositoryInfoParamsBackupType.

func (GetBackupRepositoryInfoParamsBackupType) Valid

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

type GetBackupRepositoryInfoResponse

type GetBackupRepositoryInfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PgBackrestRepositoryInfo
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseGetBackupRepositoryInfoResponse

func ParseGetBackupRepositoryInfoResponse(rsp *http.Response) (*GetBackupRepositoryInfoResponse, error)

ParseGetBackupRepositoryInfoResponse parses an HTTP response from a GetBackupRepositoryInfoWithResponse call

func (GetBackupRepositoryInfoResponse) ContentType

func (r GetBackupRepositoryInfoResponse) ContentType() string

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

func (GetBackupRepositoryInfoResponse) Status

Status returns HTTPResponse.Status

func (GetBackupRepositoryInfoResponse) StatusCode

func (r GetBackupRepositoryInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetBackupStoreResponse

type GetBackupStoreResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BackupStore
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseGetBackupStoreResponse

func ParseGetBackupStoreResponse(rsp *http.Response) (*GetBackupStoreResponse, error)

ParseGetBackupStoreResponse parses an HTTP response from a GetBackupStoreWithResponse call

func (GetBackupStoreResponse) ContentType

func (r GetBackupStoreResponse) ContentType() string

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

func (GetBackupStoreResponse) Status

func (r GetBackupStoreResponse) Status() string

Status returns HTTPResponse.Status

func (GetBackupStoreResponse) StatusCode

func (r GetBackupStoreResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetByocPublicOpenApiSpecResponse

type GetByocPublicOpenApiSpecResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OpenApiSpec
	JSONDefault  *Error
}

func ParseGetByocPublicOpenApiSpecResponse

func ParseGetByocPublicOpenApiSpecResponse(rsp *http.Response) (*GetByocPublicOpenApiSpecResponse, error)

ParseGetByocPublicOpenApiSpecResponse parses an HTTP response from a GetByocPublicOpenApiSpecWithResponse call

func (GetByocPublicOpenApiSpecResponse) ContentType

func (r GetByocPublicOpenApiSpecResponse) ContentType() string

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

func (GetByocPublicOpenApiSpecResponse) Status

Status returns HTTPResponse.Status

func (GetByocPublicOpenApiSpecResponse) StatusCode

func (r GetByocPublicOpenApiSpecResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCloudAccountResponse

type GetCloudAccountResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CloudAccount
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseGetCloudAccountResponse

func ParseGetCloudAccountResponse(rsp *http.Response) (*GetCloudAccountResponse, error)

ParseGetCloudAccountResponse parses an HTTP response from a GetCloudAccountWithResponse call

func (GetCloudAccountResponse) ContentType

func (r GetCloudAccountResponse) ContentType() string

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

func (GetCloudAccountResponse) Status

func (r GetCloudAccountResponse) Status() string

Status returns HTTPResponse.Status

func (GetCloudAccountResponse) StatusCode

func (r GetCloudAccountResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCloudFormationTemplateResponse

type GetCloudFormationTemplateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]CloudFormationTemplate
	JSON401      *Error
	JSONDefault  *Error
}

func ParseGetCloudFormationTemplateResponse

func ParseGetCloudFormationTemplateResponse(rsp *http.Response) (*GetCloudFormationTemplateResponse, error)

ParseGetCloudFormationTemplateResponse parses an HTTP response from a GetCloudFormationTemplateWithResponse call

func (GetCloudFormationTemplateResponse) ContentType

func (r GetCloudFormationTemplateResponse) ContentType() string

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

func (GetCloudFormationTemplateResponse) Status

Status returns HTTPResponse.Status

func (GetCloudFormationTemplateResponse) StatusCode

func (r GetCloudFormationTemplateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetClusterLogsParams

type GetClusterLogsParams struct {
	// Lines Maximum number of log lines to retrieve.
	Lines *int `form:"lines,omitempty" json:"lines,omitempty"`

	// Since Show entries on or after the specified date.
	Since *string `form:"since,omitempty" json:"since,omitempty"`

	// Until Show entries on or before than the specified date.
	Until *string `form:"until,omitempty" json:"until,omitempty"`

	// Priority The message priority to filter the log files by.
	Priority *string `form:"priority,omitempty" json:"priority,omitempty"`

	// Grep Filter output to entries where the message field matches the provided regular expression.
	Grep *string `form:"grep,omitempty" json:"grep,omitempty"`

	// CaseSensitive If set to true, make pattern matching case-sensitive; the default is false (case-insensitive).
	CaseSensitive *bool `form:"case_sensitive,omitempty" json:"case_sensitive,omitempty"`

	// Reverse Reverse output so that the newest entries are displayed first.
	Reverse *bool `form:"reverse,omitempty" json:"reverse,omitempty"`

	// Dmesg Show only kernel entries.
	Dmesg *bool `form:"dmesg,omitempty" json:"dmesg,omitempty"`

	// Output Controls the formatting of the journal entries that are shown.
	Output *string `form:"output,omitempty" json:"output,omitempty"`
}

GetClusterLogsParams defines parameters for GetClusterLogs.

type GetClusterLogsResponse

type GetClusterLogsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]ClusterNodeLogMessage
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseGetClusterLogsResponse

func ParseGetClusterLogsResponse(rsp *http.Response) (*GetClusterLogsResponse, error)

ParseGetClusterLogsResponse parses an HTTP response from a GetClusterLogsWithResponse call

func (GetClusterLogsResponse) ContentType

func (r GetClusterLogsResponse) ContentType() string

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

func (GetClusterLogsResponse) Status

func (r GetClusterLogsResponse) Status() string

Status returns HTTPResponse.Status

func (GetClusterLogsResponse) StatusCode

func (r GetClusterLogsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetClusterResponse

type GetClusterResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Cluster
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseGetClusterResponse

func ParseGetClusterResponse(rsp *http.Response) (*GetClusterResponse, error)

ParseGetClusterResponse parses an HTTP response from a GetClusterWithResponse call

func (GetClusterResponse) ContentType

func (r GetClusterResponse) ContentType() string

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

func (GetClusterResponse) Status

func (r GetClusterResponse) Status() string

Status returns HTTPResponse.Status

func (GetClusterResponse) StatusCode

func (r GetClusterResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetConfigVersionResponse

type GetConfigVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ConfigVersion
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseGetConfigVersionResponse

func ParseGetConfigVersionResponse(rsp *http.Response) (*GetConfigVersionResponse, error)

ParseGetConfigVersionResponse parses an HTTP response from a GetConfigVersionWithResponse call

func (GetConfigVersionResponse) ContentType

func (r GetConfigVersionResponse) ContentType() string

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

func (GetConfigVersionResponse) Status

func (r GetConfigVersionResponse) Status() string

Status returns HTTPResponse.Status

func (GetConfigVersionResponse) StatusCode

func (r GetConfigVersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDatabaseLogsParams

type GetDatabaseLogsParams struct {
	// ComponentName Name of the database to get logs for.
	ComponentName string `form:"component_name" json:"component_name"`

	// MaxLines Maximum number of log lines to retrieve.
	MaxLines *int `form:"max_lines,omitempty" json:"max_lines,omitempty"`

	// Nodes List of node(s) to get logs for.
	Nodes string `form:"nodes" json:"nodes"`
}

GetDatabaseLogsParams defines parameters for GetDatabaseLogs.

type GetDatabaseLogsResponse

type GetDatabaseLogsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DatabaseLogsResponse
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseGetDatabaseLogsResponse

func ParseGetDatabaseLogsResponse(rsp *http.Response) (*GetDatabaseLogsResponse, error)

ParseGetDatabaseLogsResponse parses an HTTP response from a GetDatabaseLogsWithResponse call

func (GetDatabaseLogsResponse) ContentType

func (r GetDatabaseLogsResponse) ContentType() string

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

func (GetDatabaseLogsResponse) Status

func (r GetDatabaseLogsResponse) Status() string

Status returns HTTPResponse.Status

func (GetDatabaseLogsResponse) StatusCode

func (r GetDatabaseLogsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDatabaseMetricsParams

type GetDatabaseMetricsParams struct {
	// Interval The interval to group the metrics by, specified in value, unit format.
	Interval *string `form:"interval,omitempty" json:"interval,omitempty"`

	// NodeName The node name to filter the metrics by.
	NodeName *string `form:"node_name,omitempty" json:"node_name,omitempty"`

	// Columns The columns to return, comma separated.
	Columns *string `form:"columns,omitempty" json:"columns,omitempty"`
}

GetDatabaseMetricsParams defines parameters for GetDatabaseMetrics.

type GetDatabaseMetricsResponse

type GetDatabaseMetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MetricSeriesContainer
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseGetDatabaseMetricsResponse

func ParseGetDatabaseMetricsResponse(rsp *http.Response) (*GetDatabaseMetricsResponse, error)

ParseGetDatabaseMetricsResponse parses an HTTP response from a GetDatabaseMetricsWithResponse call

func (GetDatabaseMetricsResponse) ContentType

func (r GetDatabaseMetricsResponse) ContentType() string

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

func (GetDatabaseMetricsResponse) Status

Status returns HTTPResponse.Status

func (GetDatabaseMetricsResponse) StatusCode

func (r GetDatabaseMetricsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDatabaseParams

type GetDatabaseParams struct {
	// UserType The user type whose credentials will be returned.
	UserType *string `form:"user_type,omitempty" json:"user_type,omitempty"`
}

GetDatabaseParams defines parameters for GetDatabase.

type GetDatabaseResponse

type GetDatabaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Database
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseGetDatabaseResponse

func ParseGetDatabaseResponse(rsp *http.Response) (*GetDatabaseResponse, error)

ParseGetDatabaseResponse parses an HTTP response from a GetDatabaseWithResponse call

func (GetDatabaseResponse) ContentType

func (r GetDatabaseResponse) ContentType() string

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

func (GetDatabaseResponse) Status

func (r GetDatabaseResponse) Status() string

Status returns HTTPResponse.Status

func (GetDatabaseResponse) StatusCode

func (r GetDatabaseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetIngressResponse

type GetIngressResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Ingress
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseGetIngressResponse

func ParseGetIngressResponse(rsp *http.Response) (*GetIngressResponse, error)

ParseGetIngressResponse parses an HTTP response from a GetIngressWithResponse call

func (GetIngressResponse) ContentType

func (r GetIngressResponse) ContentType() string

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

func (GetIngressResponse) Status

func (r GetIngressResponse) Status() string

Status returns HTTPResponse.Status

func (GetIngressResponse) StatusCode

func (r GetIngressResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOpenApiSpecResponse

type GetOpenApiSpecResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OpenApiSpec
	JSONDefault  *Error
}

func ParseGetOpenApiSpecResponse

func ParseGetOpenApiSpecResponse(rsp *http.Response) (*GetOpenApiSpecResponse, error)

ParseGetOpenApiSpecResponse parses an HTTP response from a GetOpenApiSpecWithResponse call

func (GetOpenApiSpecResponse) ContentType

func (r GetOpenApiSpecResponse) ContentType() string

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

func (GetOpenApiSpecResponse) Status

func (r GetOpenApiSpecResponse) Status() string

Status returns HTTPResponse.Status

func (GetOpenApiSpecResponse) StatusCode

func (r GetOpenApiSpecResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSshKeyResponse

type GetSshKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SshKey
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseGetSshKeyResponse

func ParseGetSshKeyResponse(rsp *http.Response) (*GetSshKeyResponse, error)

ParseGetSshKeyResponse parses an HTTP response from a GetSshKeyWithResponse call

func (GetSshKeyResponse) ContentType

func (r GetSshKeyResponse) ContentType() string

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

func (GetSshKeyResponse) Status

func (r GetSshKeyResponse) Status() string

Status returns HTTPResponse.Status

func (GetSshKeyResponse) StatusCode

func (r GetSshKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GoogleCredentials

type GoogleCredentials struct {
	ProjectId      string  `json:"project_id"`
	Provider       string  `json:"provider"`
	ServiceAccount *string `json:"service_account,omitempty"`
}

GoogleCredentials defines model for GoogleCredentials.

type HttpRequestDoer

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

Doer performs HTTP requests.

The standard http.Client implements this interface.

type Ingress

type Ingress struct {
	// CloudAccountId The ID of the cloud account used for the ingress.
	CloudAccountId string `json:"cloud_account_id"`

	// ClusterId The ID of the cluster this ingress is associated with.
	ClusterId string `json:"cluster_id"`

	// CreatedAt The time the ingress was created.
	CreatedAt string `json:"created_at"`

	// Domain The full wildcard domain for the ingress.
	Domain *string `json:"domain,omitempty"`

	// DomainPrefix The unique domain prefix for the ingress.
	DomainPrefix *string `json:"domain_prefix,omitempty"`

	// Id The ID of the ingress.
	Id string `json:"id"`

	// Name The name of the ingress.
	Name string `json:"name"`

	// Properties The computed properties of the ingress.
	Properties *map[string]interface{} `json:"properties,omitempty"`

	// Region The cloud region where the ingress is deployed.
	Region *string `json:"region,omitempty"`

	// Status The status of the ingress.
	Status string `json:"status"`

	// UpdatedAt The time the ingress was last updated.
	UpdatedAt string `json:"updated_at"`
}

Ingress defines model for Ingress.

type IngressRegistration

type IngressRegistration struct {
	// IngressId ID of the ingress this service is registered on.
	IngressId openapi_types.UUID `json:"ingress_id"`

	// Url Public URL for the registered service.
	Url string `json:"url"`
}

IngressRegistration defines model for IngressRegistration.

type ListAvailabilityZonesResponse

type ListAvailabilityZonesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		AvailabilityZones *[]string `json:"availability_zones,omitempty"`
	}
	JSON400     *Error
	JSON401     *Error
	JSONDefault *Error
}

func ParseListAvailabilityZonesResponse

func ParseListAvailabilityZonesResponse(rsp *http.Response) (*ListAvailabilityZonesResponse, error)

ParseListAvailabilityZonesResponse parses an HTTP response from a ListAvailabilityZonesWithResponse call

func (ListAvailabilityZonesResponse) ContentType

func (r ListAvailabilityZonesResponse) ContentType() string

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

func (ListAvailabilityZonesResponse) Status

Status returns HTTPResponse.Status

func (ListAvailabilityZonesResponse) StatusCode

func (r ListAvailabilityZonesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListBackupRepositoriesParams

type ListBackupRepositoriesParams struct {
	// DatabaseId Filter backup repositories to a specific database ID.
	DatabaseId *UUID `form:"database_id,omitempty" json:"database_id,omitempty"`

	// Type Filter backup repositories to a specific type.
	Type *string `form:"type,omitempty" json:"type,omitempty"`

	// CreatedAfter Start time for backup repository retrieval as an RFC3339 timestamp.
	CreatedAfter *time.Time `form:"created_after,omitempty" json:"created_after,omitempty"`

	// CreatedBefore End time for backup repository retrieval as an RFC3339 timestamp.
	CreatedBefore *time.Time `form:"created_before,omitempty" json:"created_before,omitempty"`

	// Limit Maximum number of results to return.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Offset into the results for pagination.
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`

	// Descending Sort in descending order.
	Descending *bool `form:"descending,omitempty" json:"descending,omitempty"`
}

ListBackupRepositoriesParams defines parameters for ListBackupRepositories.

type ListBackupRepositoriesResponse

type ListBackupRepositoriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]BackupRepository
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseListBackupRepositoriesResponse

func ParseListBackupRepositoriesResponse(rsp *http.Response) (*ListBackupRepositoriesResponse, error)

ParseListBackupRepositoriesResponse parses an HTTP response from a ListBackupRepositoriesWithResponse call

func (ListBackupRepositoriesResponse) ContentType

func (r ListBackupRepositoriesResponse) ContentType() string

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

func (ListBackupRepositoriesResponse) Status

Status returns HTTPResponse.Status

func (ListBackupRepositoriesResponse) StatusCode

func (r ListBackupRepositoriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListBackupStoresParams

type ListBackupStoresParams struct {
	// CreatedAfter Start time for backup store retrieval as an RFC3339 timestamp.
	CreatedAfter *time.Time `form:"created_after,omitempty" json:"created_after,omitempty"`

	// CreatedBefore End time for backup store retrieval as an RFC3339 timestamp.
	CreatedBefore *time.Time `form:"created_before,omitempty" json:"created_before,omitempty"`

	// Limit Maximum number of results to return.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Offset into the results for pagination.
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`

	// Descending Sort in descending order.
	Descending *bool `form:"descending,omitempty" json:"descending,omitempty"`
}

ListBackupStoresParams defines parameters for ListBackupStores.

type ListBackupStoresResponse

type ListBackupStoresResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]BackupStore
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseListBackupStoresResponse

func ParseListBackupStoresResponse(rsp *http.Response) (*ListBackupStoresResponse, error)

ParseListBackupStoresResponse parses an HTTP response from a ListBackupStoresWithResponse call

func (ListBackupStoresResponse) ContentType

func (r ListBackupStoresResponse) ContentType() string

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

func (ListBackupStoresResponse) Status

func (r ListBackupStoresResponse) Status() string

Status returns HTTPResponse.Status

func (ListBackupStoresResponse) StatusCode

func (r ListBackupStoresResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListCloudAccountsResponse

type ListCloudAccountsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]CloudAccount
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseListCloudAccountsResponse

func ParseListCloudAccountsResponse(rsp *http.Response) (*ListCloudAccountsResponse, error)

ParseListCloudAccountsResponse parses an HTTP response from a ListCloudAccountsWithResponse call

func (ListCloudAccountsResponse) ContentType

func (r ListCloudAccountsResponse) ContentType() string

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

func (ListCloudAccountsResponse) Status

func (r ListCloudAccountsResponse) Status() string

Status returns HTTPResponse.Status

func (ListCloudAccountsResponse) StatusCode

func (r ListCloudAccountsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListClusterNodesParams

type ListClusterNodesParams struct {
	// NearLat Latitude of the caller.
	NearLat *string `form:"near_lat,omitempty" json:"near_lat,omitempty"`

	// NearLon Longitude of the caller.
	NearLon *string `form:"near_lon,omitempty" json:"near_lon,omitempty"`

	// OrderBy Order by specification.
	OrderBy *ListClusterNodesParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`
}

ListClusterNodesParams defines parameters for ListClusterNodes.

type ListClusterNodesParamsOrderBy

type ListClusterNodesParamsOrderBy string

ListClusterNodesParamsOrderBy defines parameters for ListClusterNodes.

const (
	Distance ListClusterNodesParamsOrderBy = "distance"
)

Defines values for ListClusterNodesParamsOrderBy.

func (ListClusterNodesParamsOrderBy) Valid

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

type ListClusterNodesResponse

type ListClusterNodesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]ClusterNode
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseListClusterNodesResponse

func ParseListClusterNodesResponse(rsp *http.Response) (*ListClusterNodesResponse, error)

ParseListClusterNodesResponse parses an HTTP response from a ListClusterNodesWithResponse call

func (ListClusterNodesResponse) ContentType

func (r ListClusterNodesResponse) ContentType() string

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

func (ListClusterNodesResponse) Status

func (r ListClusterNodesResponse) Status() string

Status returns HTTPResponse.Status

func (ListClusterNodesResponse) StatusCode

func (r ListClusterNodesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListClusterSharesResponse

type ListClusterSharesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]ClusterShare
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseListClusterSharesResponse

func ParseListClusterSharesResponse(rsp *http.Response) (*ListClusterSharesResponse, error)

ParseListClusterSharesResponse parses an HTTP response from a ListClusterSharesWithResponse call

func (ListClusterSharesResponse) ContentType

func (r ListClusterSharesResponse) ContentType() string

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

func (ListClusterSharesResponse) Status

func (r ListClusterSharesResponse) Status() string

Status returns HTTPResponse.Status

func (ListClusterSharesResponse) StatusCode

func (r ListClusterSharesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListClustersParams

type ListClustersParams struct {
	// CreatedAfter Start time for cluster retrieval as an RFC3339 timestamp.
	CreatedAfter *time.Time `form:"created_after,omitempty" json:"created_after,omitempty"`

	// CreatedBefore End time for cluster retrieval as an RFC3339 timestamp.
	CreatedBefore *time.Time `form:"created_before,omitempty" json:"created_before,omitempty"`

	// Limit Maximum number of results to return.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Offset into the results for pagination.
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`

	// Descending Sort in descending order.
	Descending *bool `form:"descending,omitempty" json:"descending,omitempty"`
}

ListClustersParams defines parameters for ListClusters.

type ListClustersResponse

type ListClustersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Cluster
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseListClustersResponse

func ParseListClustersResponse(rsp *http.Response) (*ListClustersResponse, error)

ParseListClustersResponse parses an HTTP response from a ListClustersWithResponse call

func (ListClustersResponse) ContentType

func (r ListClustersResponse) ContentType() string

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

func (ListClustersResponse) Status

func (r ListClustersResponse) Status() string

Status returns HTTPResponse.Status

func (ListClustersResponse) StatusCode

func (r ListClustersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListConfigVersionsResponse

type ListConfigVersionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]ConfigVersion
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseListConfigVersionsResponse

func ParseListConfigVersionsResponse(rsp *http.Response) (*ListConfigVersionsResponse, error)

ParseListConfigVersionsResponse parses an HTTP response from a ListConfigVersionsWithResponse call

func (ListConfigVersionsResponse) ContentType

func (r ListConfigVersionsResponse) ContentType() string

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

func (ListConfigVersionsResponse) Status

Status returns HTTPResponse.Status

func (ListConfigVersionsResponse) StatusCode

func (r ListConfigVersionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListDatabasesParams

type ListDatabasesParams struct {
	// ClusterId Filter databases to a specific cluster ID.
	ClusterId *UUID `form:"cluster_id,omitempty" json:"cluster_id,omitempty"`

	// CreatedAfter Start time for database retrieval as an RFC3339 timestamp.
	CreatedAfter *time.Time `form:"created_after,omitempty" json:"created_after,omitempty"`

	// CreatedBefore End time for database retrieval as an RFC3339 timestamp.
	CreatedBefore *time.Time `form:"created_before,omitempty" json:"created_before,omitempty"`

	// Limit Maximum number of results to return.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Offset into the results for pagination.
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`

	// Descending Sort in descending order.
	Descending *bool `form:"descending,omitempty" json:"descending,omitempty"`
}

ListDatabasesParams defines parameters for ListDatabases.

type ListDatabasesResponse

type ListDatabasesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Database
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseListDatabasesResponse

func ParseListDatabasesResponse(rsp *http.Response) (*ListDatabasesResponse, error)

ParseListDatabasesResponse parses an HTTP response from a ListDatabasesWithResponse call

func (ListDatabasesResponse) ContentType

func (r ListDatabasesResponse) ContentType() string

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

func (ListDatabasesResponse) Status

func (r ListDatabasesResponse) Status() string

Status returns HTTPResponse.Status

func (ListDatabasesResponse) StatusCode

func (r ListDatabasesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListIngressServicesResponse

type ListIngressServicesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]ServiceRegistration
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseListIngressServicesResponse

func ParseListIngressServicesResponse(rsp *http.Response) (*ListIngressServicesResponse, error)

ParseListIngressServicesResponse parses an HTTP response from a ListIngressServicesWithResponse call

func (ListIngressServicesResponse) ContentType

func (r ListIngressServicesResponse) ContentType() string

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

func (ListIngressServicesResponse) Status

Status returns HTTPResponse.Status

func (ListIngressServicesResponse) StatusCode

func (r ListIngressServicesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListIngressesParams

type ListIngressesParams struct {
	// CreatedAfter Start time for ingress retrieval as an RFC3339 timestamp.
	CreatedAfter *time.Time `form:"created_after,omitempty" json:"created_after,omitempty"`

	// CreatedBefore End time for ingress retrieval as an RFC3339 timestamp.
	CreatedBefore *time.Time `form:"created_before,omitempty" json:"created_before,omitempty"`

	// Limit Maximum number of results to return.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Offset into the results for pagination.
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`

	// Descending Sort in descending order.
	Descending *bool `form:"descending,omitempty" json:"descending,omitempty"`
}

ListIngressesParams defines parameters for ListIngresses.

type ListIngressesResponse

type ListIngressesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Ingress
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseListIngressesResponse

func ParseListIngressesResponse(rsp *http.Response) (*ListIngressesResponse, error)

ParseListIngressesResponse parses an HTTP response from a ListIngressesWithResponse call

func (ListIngressesResponse) ContentType

func (r ListIngressesResponse) ContentType() string

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

func (ListIngressesResponse) Status

func (r ListIngressesResponse) Status() string

Status returns HTTPResponse.Status

func (ListIngressesResponse) StatusCode

func (r ListIngressesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSshKeysResponse

type ListSshKeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]SshKey
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseListSshKeysResponse

func ParseListSshKeysResponse(rsp *http.Response) (*ListSshKeysResponse, error)

ParseListSshKeysResponse parses an HTTP response from a ListSshKeysWithResponse call

func (ListSshKeysResponse) ContentType

func (r ListSshKeysResponse) ContentType() string

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

func (ListSshKeysResponse) Status

func (r ListSshKeysResponse) Status() string

Status returns HTTPResponse.Status

func (ListSshKeysResponse) StatusCode

func (r ListSshKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTasksParams

type ListTasksParams struct {
	// SubjectId Filter tasks by subject id.
	SubjectId *string `form:"subject_id,omitempty" json:"subject_id,omitempty"`

	// SubjectKind Filter tasks by kind.
	SubjectKind *string `form:"subject_kind,omitempty" json:"subject_kind,omitempty"`

	// Id Filter tasks by id.
	Id *string `form:"id,omitempty" json:"id,omitempty"`

	// Name Filter tasks by name.
	Name *string `form:"name,omitempty" json:"name,omitempty"`

	// Status Filter tasks by status.
	Status *ListTasksParamsStatus `form:"status,omitempty" json:"status,omitempty"`

	// Limit Maximum number of results to return.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Offset into the results for pagination.
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}

ListTasksParams defines parameters for ListTasks.

type ListTasksParamsStatus

type ListTasksParamsStatus string

ListTasksParamsStatus defines parameters for ListTasks.

const (
	Failed    ListTasksParamsStatus = "failed"
	Queued    ListTasksParamsStatus = "queued"
	Running   ListTasksParamsStatus = "running"
	Succeeded ListTasksParamsStatus = "succeeded"
)

Defines values for ListTasksParamsStatus.

func (ListTasksParamsStatus) Valid

func (e ListTasksParamsStatus) Valid() bool

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

type ListTasksResponse

type ListTasksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Task
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseListTasksResponse

func ParseListTasksResponse(rsp *http.Response) (*ListTasksResponse, error)

ParseListTasksResponse parses an HTTP response from a ListTasksWithResponse call

func (ListTasksResponse) ContentType

func (r ListTasksResponse) ContentType() string

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

func (ListTasksResponse) Status

func (r ListTasksResponse) Status() string

Status returns HTTPResponse.Status

func (ListTasksResponse) StatusCode

func (r ListTasksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Location

type Location struct {
	City       *string `json:"city,omitempty"`
	Code       *string `json:"code,omitempty"`
	Country    *string `json:"country,omitempty"`
	Latitude   float64 `json:"latitude"`
	Longitude  float64 `json:"longitude"`
	MetroCode  *string `json:"metro_code,omitempty"`
	Name       *string `json:"name,omitempty"`
	PostalCode *string `json:"postal_code,omitempty"`
	Region     *string `json:"region,omitempty"`
	RegionCode *string `json:"region_code,omitempty"`
	Timezone   *string `json:"timezone,omitempty"`
}

Location defines model for Location.

type MCPServiceConfig

type MCPServiceConfig struct {
	// AllowWrites Grant the MCP service read-write (INSERT/UPDATE/DELETE) access to the database via its query_database tool.
	//
	// WARNING: enabling this allows the LLM to modify, delete, or corrupt data. Only enable on development or test databases where data loss is acceptable.
	//
	// Defaults to false (read-only).
	AllowWrites *bool `json:"allow_writes,omitempty"`

	// EmbeddingApiKey API key for the embedding provider. Required when
	// embedding_provider is voyage or openai. Stored
	// encrypted server-side; returned in
	// GET /databases/{id}.
	EmbeddingApiKey *string `json:"embedding_api_key,omitempty"`

	// EmbeddingModel Embedding model identifier. Required when embedding_provider is set.
	EmbeddingModel *string `json:"embedding_model,omitempty"`

	// EmbeddingProvider Embedding provider. Setting this enables the generate_embedding tool on the MCP server.
	EmbeddingProvider *MCPServiceConfigEmbeddingProvider `json:"embedding_provider,omitempty"`

	// InitTokens Optional bearer token forwarded to the MCP server as
	// INIT_TOKENS. Stored encrypted server-side; returned in
	// GET /databases/{id}.
	InitTokens *string `json:"init_tokens,omitempty"`

	// InitUsers Optional comma-separated list of username:password pairs
	// forwarded to the MCP server as INIT_USERS. Stored
	// encrypted server-side; returned in GET /databases/{id}.
	InitUsers *string `json:"init_users,omitempty"`

	// OllamaUrl Endpoint URL for an Ollama server. Required when
	// embedding_provider is ollama.
	OllamaUrl *string `json:"ollama_url,omitempty"`
}

MCPServiceConfig MCP service configuration. Only the generate_embedding / embedding block is exposed here. NLA / web chat proxy (llm.*) configuration is not yet exposed through the SaaS API.

type MCPServiceConfigEmbeddingProvider

type MCPServiceConfigEmbeddingProvider string

MCPServiceConfigEmbeddingProvider Embedding provider. Setting this enables the generate_embedding tool on the MCP server.

const (
	MCPServiceConfigEmbeddingProviderOllama MCPServiceConfigEmbeddingProvider = "ollama"
	MCPServiceConfigEmbeddingProviderOpenai MCPServiceConfigEmbeddingProvider = "openai"
	MCPServiceConfigEmbeddingProviderVoyage MCPServiceConfigEmbeddingProvider = "voyage"
)

Defines values for MCPServiceConfigEmbeddingProvider.

func (MCPServiceConfigEmbeddingProvider) Valid

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

type Message

type Message struct {
	Level    string  `json:"level"`
	Progress *int    `json:"progress,omitempty"`
	Status   *string `json:"status,omitempty"`
	Step     *string `json:"step,omitempty"`
	Text     string  `json:"text"`
	Time     string  `json:"time"`
}

Message defines model for Message.

type Metric

type Metric struct {
	End   int64        `json:"end"`
	Items []MetricItem `json:"items"`
	Name  string       `json:"name"`
	Start int64        `json:"start"`
	Type  string       `json:"type"`
	Unit  string       `json:"unit"`
}

Metric defines model for Metric.

type MetricItem

type MetricItem struct {
	Name      string           `json:"name"`
	Resources []MetricResource `json:"resources"`
	Value     float64          `json:"value"`
	Values    [][]float64      `json:"values"`
}

MetricItem defines model for MetricItem.

type MetricResource

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

MetricResource defines model for MetricResource.

type MetricSeries

type MetricSeries struct {
	Columns []string        `json:"columns"`
	Name    string          `json:"name"`
	Values  [][]interface{} `json:"values"`
}

MetricSeries defines model for MetricSeries.

type MetricSeriesContainer

type MetricSeriesContainer struct {
	Series []MetricSeries `json:"series"`
}

MetricSeriesContainer defines model for MetricSeriesContainer.

type Metrics

type Metrics map[string]Metric

Metrics defines model for Metrics.

type OpenApiSpec

type OpenApiSpec = map[string]interface{}

OpenApiSpec defines model for OpenApiSpec.

type PgBackrestBackupInfo

type PgBackrestBackupInfo struct {
	Annotations        *map[string]string `json:"annotations,omitempty"`
	BackupSetSize      *int               `json:"backup_set_size,omitempty"`
	BackupSize         *int               `json:"backup_size,omitempty"`
	CreatedAt          *string            `json:"created_at,omitempty"`
	DatabaseBackupSize *int               `json:"database_backup_size,omitempty"`
	DatabaseSize       *int               `json:"database_size,omitempty"`
	Error              *bool              `json:"error,omitempty"`
	ErrorList          *[]string          `json:"error_list,omitempty"`
	FinishedAt         *string            `json:"finished_at,omitempty"`
	Label              *string            `json:"label,omitempty"`
	LsnStart           *string            `json:"lsn_start,omitempty"`
	LsnStop            *string            `json:"lsn_stop,omitempty"`
	PgbackrestFormat   *int               `json:"pgbackrest_format,omitempty"`
	PgbackrestVersion  *string            `json:"pgbackrest_version,omitempty"`
	Prior              *string            `json:"prior,omitempty"`
	References         *[]string          `json:"references,omitempty"`
	Type               *string            `json:"type,omitempty"`
	WalStart           *string            `json:"wal_start,omitempty"`
	WalStop            *string            `json:"wal_stop,omitempty"`
}

PgBackrestBackupInfo defines model for PgBackrestBackupInfo.

type PgBackrestRepositoryInfo

type PgBackrestRepositoryInfo struct {
	ArchiveMaxWal      *string                 `json:"archive_max_wal,omitempty"`
	ArchiveMinWal      *string                 `json:"archive_min_wal,omitempty"`
	BackupRepositoryId string                  `json:"backup_repository_id"`
	Backups            *[]PgBackrestBackupInfo `json:"backups,omitempty"`
	DatabaseId         string                  `json:"database_id"`
	NodeName           string                  `json:"node_name"`
	PgSystemId         *int                    `json:"pg_system_id,omitempty"`
	PgVersion          *string                 `json:"pg_version,omitempty"`
	Status             *string                 `json:"status,omitempty"`
	StatusCode         *int                    `json:"status_code,omitempty"`
	StatusMessage      *string                 `json:"status_message,omitempty"`
}

PgBackrestRepositoryInfo defines model for PgBackrestRepositoryInfo.

type PgBackrestRestoreCommand

type PgBackrestRestoreCommand struct {
	Delta           *bool   `json:"delta,omitempty"`
	Force           *bool   `json:"force,omitempty"`
	Set             *string `json:"set,omitempty"`
	Target          *string `json:"target,omitempty"`
	TargetExclusive *bool   `json:"target_exclusive,omitempty"`
	Type            *string `json:"type,omitempty"`
}

PgBackrestRestoreCommand defines model for PgBackrestRestoreCommand.

type PgBackrestRestoreConfig

type PgBackrestRestoreConfig struct {
	NodeName     string   `json:"node_name"`
	Repositories []string `json:"repositories"`
}

PgBackrestRestoreConfig defines model for PgBackrestRestoreConfig.

type PostgRESTServiceConfig

type PostgRESTServiceConfig struct {
	// CorsOrigins Optional comma-separated list of allowed CORS origins.
	CorsOrigins *string `json:"cors_origins,omitempty"`

	// DbAnonRole Postgres role used for unauthenticated requests.
	DbAnonRole string `json:"db_anon_role"`

	// DbPool Number of DB connections to keep open (1-30). Defaults to 10.
	DbPool *int `json:"db_pool,omitempty"`

	// DbSchemas Comma-separated Postgres schemas to expose as REST (e.g. "public" or "public,api").
	DbSchemas string `json:"db_schemas"`

	// JwtAudience Optional JWT audience claim.
	JwtAudience *string `json:"jwt_audience,omitempty"`

	// JwtRoleClaimKey Optional JSONPath to the JWT role claim.
	JwtRoleClaimKey *string `json:"jwt_role_claim_key,omitempty"`

	// JwtSecret Optional JWT signing secret (min 32 chars). Write-only; stored in AWS Secrets Manager and never returned.
	JwtSecret *string `json:"jwt_secret,omitempty"`

	// MaxRows Maximum rows returned per request (1-10000). Defaults to 1000.
	MaxRows *int `json:"max_rows,omitempty"`
}

PostgRESTServiceConfig defines model for PostgRESTServiceConfig.

type RAGCorsConfig

type RAGCorsConfig struct {
	// AllowedOrigins Allowed origins when CORS is enabled (e.g. "https://app.example.com").
	AllowedOrigins *[]string `json:"allowed_origins,omitempty"`

	// Enabled Whether CORS is enabled.
	Enabled bool `json:"enabled"`
}

RAGCorsConfig defines model for RAGCorsConfig.

type RAGEmbeddingTable

type RAGEmbeddingTable struct {
	// Filter SQL WHERE clause to scope searches (e.g. "tenant_id = '123'").
	Filter *string `json:"filter,omitempty"`

	// IdColumn Primary key column. Defaults to "id".
	IdColumn *string `json:"id_column,omitempty"`

	// Table Postgres table name (e.g. "public.documents").
	Table string `json:"table"`

	// TextColumn Column containing the text chunk.
	TextColumn string `json:"text_column"`

	// VectorColumn Column containing the embedding vector.
	VectorColumn string `json:"vector_column"`
}

RAGEmbeddingTable defines model for RAGEmbeddingTable.

type RAGLLMConfig

type RAGLLMConfig struct {
	// ApiKey API key for the LLM provider. Write-only; stored in AWS Secrets Manager.
	ApiKey *string `json:"api_key,omitempty"`

	// Model Model identifier passed to the LLM provider.
	Model string `json:"model"`

	// Provider LLM provider.
	Provider RAGLLMConfigProvider `json:"provider"`
}

RAGLLMConfig defines model for RAGLLMConfig.

type RAGLLMConfigProvider

type RAGLLMConfigProvider string

RAGLLMConfigProvider LLM provider.

const (
	RAGLLMConfigProviderAnthropic RAGLLMConfigProvider = "anthropic"
	RAGLLMConfigProviderOpenai    RAGLLMConfigProvider = "openai"
)

Defines values for RAGLLMConfigProvider.

func (RAGLLMConfigProvider) Valid

func (e RAGLLMConfigProvider) Valid() bool

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

type RAGPipelineConfig

type RAGPipelineConfig struct {
	// CompletionLlm Override the RAG server completion LLM for this pipeline. Inherits from RAGServiceConfig when omitted.
	CompletionLlm *RAGLLMConfig `json:"completion_llm,omitempty"`
	Description   *string       `json:"description,omitempty"`

	// EmbeddingLlm Override the RAG server embedding LLM for this pipeline. Inherits from RAGServiceConfig when omitted.
	EmbeddingLlm *RAGLLMConfig `json:"embedding_llm,omitempty"`

	// HybridEnabled Enable hybrid search. Defaults to true.
	HybridEnabled *bool `json:"hybrid_enabled,omitempty"`

	// MinSimilarity Minimum cosine similarity (0.0-1.0) a result must meet to reach the LLM. Guards grounded answers against irrelevant matches. Defaults to 0.0 (no floor).
	MinSimilarity *float64 `json:"min_similarity,omitempty"`

	// Name Pipeline name. Used in request paths.
	Name string `json:"name"`

	// SystemPrompt System prompt for the LLM. Defaults to RAG server built-in prompt.
	SystemPrompt *string `json:"system_prompt,omitempty"`

	// Tables Embedding tables this pipeline searches.
	Tables []RAGEmbeddingTable `json:"tables"`

	// TokenBudget Max tokens for completion. Inherits from RAGServiceConfig when omitted.
	TokenBudget *int `json:"token_budget,omitempty"`

	// TopN Number of results to retrieve. Inherits from RAGServiceConfig when omitted.
	TopN *int `json:"top_n,omitempty"`

	// VectorWeight Weight for vector search in hybrid mode (0.0-1.0). Defaults to 0.5.
	VectorWeight *float64 `json:"vector_weight,omitempty"`
}

RAGPipelineConfig defines model for RAGPipelineConfig.

type RAGServiceConfig

type RAGServiceConfig struct {
	// CompletionLlm Default completion LLM for all pipelines.
	CompletionLlm RAGLLMConfig `json:"completion_llm"`

	// Cors HTTP CORS policy for the RAG server. Off by default; enable when a browser-hosted client calls the service from another origin.
	Cors *RAGCorsConfig `json:"cors,omitempty"`

	// EmbeddingLlm Default embedding LLM for all pipelines.
	EmbeddingLlm RAGLLMConfig        `json:"embedding_llm"`
	Pipelines    []RAGPipelineConfig `json:"pipelines"`

	// TokenBudget Default max completion tokens across all pipelines. Defaults to 1000.
	TokenBudget *int `json:"token_budget,omitempty"`

	// TopN Default number of results to retrieve. Defaults to 10.
	TopN *int `json:"top_n,omitempty"`
}

RAGServiceConfig defines model for RAGServiceConfig.

type ReadClusterMetricsParams

type ReadClusterMetricsParams struct {
	// StartTime Start time for metrics retrieval.
	StartTime *string `form:"start_time,omitempty" json:"start_time,omitempty"`

	// EndTime End time for metrics retrieval.
	EndTime *string `form:"end_time,omitempty" json:"end_time,omitempty"`
}

ReadClusterMetricsParams defines parameters for ReadClusterMetrics.

type ReadClusterMetricsResponse

type ReadClusterMetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Metrics
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseReadClusterMetricsResponse

func ParseReadClusterMetricsResponse(rsp *http.Response) (*ReadClusterMetricsResponse, error)

ParseReadClusterMetricsResponse parses an HTTP response from a ReadClusterMetricsWithResponse call

func (ReadClusterMetricsResponse) ContentType

func (r ReadClusterMetricsResponse) ContentType() string

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

func (ReadClusterMetricsResponse) Status

Status returns HTTPResponse.Status

func (ReadClusterMetricsResponse) StatusCode

func (r ReadClusterMetricsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReadClusterShareResponse

type ReadClusterShareResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ClusterShare
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseReadClusterShareResponse

func ParseReadClusterShareResponse(rsp *http.Response) (*ReadClusterShareResponse, error)

ParseReadClusterShareResponse parses an HTTP response from a ReadClusterShareWithResponse call

func (ReadClusterShareResponse) ContentType

func (r ReadClusterShareResponse) ContentType() string

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

func (ReadClusterShareResponse) Status

func (r ReadClusterShareResponse) Status() string

Status returns HTTPResponse.Status

func (ReadClusterShareResponse) StatusCode

func (r ReadClusterShareResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Region

type Region struct {
	Active            *bool    `json:"active,omitempty"`
	AvailabilityZones []string `json:"availability_zones"`
	Cloud             string   `json:"cloud"`
	Code              string   `json:"code"`
	Name              string   `json:"name"`
	Parent            *string  `json:"parent,omitempty"`
}

Region defines model for Region.

type RegisterServiceInput

type RegisterServiceInput struct {
	// DatabaseId The ID of the database to register.
	DatabaseId openapi_types.UUID `json:"database_id"`

	// ServiceId The ID of the specific service instance to expose. Must be a running instance on the database.
	ServiceId string `json:"service_id"`
}

RegisterServiceInput defines model for RegisterServiceInput.

type RequestEditorFn

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

RequestEditorFn is the function signature for the RequestEditor callback function

type RestoreDatabaseJSONRequestBody

type RestoreDatabaseJSONRequestBody = CreateRestoreInput

RestoreDatabaseJSONRequestBody defines body for RestoreDatabase for application/json ContentType.

type RestoreDatabaseResponse

type RestoreDatabaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseRestoreDatabaseResponse

func ParseRestoreDatabaseResponse(rsp *http.Response) (*RestoreDatabaseResponse, error)

ParseRestoreDatabaseResponse parses an HTTP response from a RestoreDatabaseWithResponse call

func (RestoreDatabaseResponse) ContentType

func (r RestoreDatabaseResponse) ContentType() string

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

func (RestoreDatabaseResponse) Status

func (r RestoreDatabaseResponse) Status() string

Status returns HTTPResponse.Status

func (RestoreDatabaseResponse) StatusCode

func (r RestoreDatabaseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RotateDatabaseRolePasswordParamsRoleName

type RotateDatabaseRolePasswordParamsRoleName string

RotateDatabaseRolePasswordParamsRoleName defines parameters for RotateDatabaseRolePassword.

Defines values for RotateDatabaseRolePasswordParamsRoleName.

func (RotateDatabaseRolePasswordParamsRoleName) Valid

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

type RotateDatabaseRolePasswordResponse

type RotateDatabaseRolePasswordResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Error
	JSON401      *Error
	JSON500      *Error
}

func ParseRotateDatabaseRolePasswordResponse

func ParseRotateDatabaseRolePasswordResponse(rsp *http.Response) (*RotateDatabaseRolePasswordResponse, error)

ParseRotateDatabaseRolePasswordResponse parses an HTTP response from a RotateDatabaseRolePasswordWithResponse call

func (RotateDatabaseRolePasswordResponse) ContentType

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

func (RotateDatabaseRolePasswordResponse) Status

Status returns HTTPResponse.Status

func (RotateDatabaseRolePasswordResponse) StatusCode

func (r RotateDatabaseRolePasswordResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Service

type Service struct {
	// Error Error message if the service instance is in a failed state.
	Error nullable.Nullable[string] `json:"error,omitempty"`

	// HostId The cluster host this service instance runs on.
	HostId              nullable.Nullable[string] `json:"host_id,omitempty"`
	IngressRegistration *IngressRegistration      `json:"ingress_registration,omitempty"`
	Ipv4Address         nullable.Nullable[string] `json:"ipv4_address,omitempty"`

	// McpConfig MCP service configuration. Only the generate_embedding / embedding block is exposed here. NLA / web chat proxy (llm.*) configuration is not yet exposed through the SaaS API.
	McpConfig       *MCPServiceConfig       `json:"mcp_config,omitempty"`
	Port            nullable.Nullable[int]  `json:"port,omitempty"`
	PostgrestConfig *PostgRESTServiceConfig `json:"postgrest_config,omitempty"`

	// PrivateDomain Private DNS name for this service instance (e.g. mcp-a1b2c3d4.mydb.internal.pgedge.cloud). Null when the cluster has no private DNS zone.
	PrivateDomain nullable.Nullable[string] `json:"private_domain,omitempty"`

	// PublicDomain Public DNS name for this service (e.g. mcp.mydb.a1.pgedge.io). Null when the service has not been exposed via public DNS.
	PublicDomain nullable.Nullable[string] `json:"public_domain,omitempty"`
	RagConfig    *RAGServiceConfig         `json:"rag_config,omitempty"`

	// ServiceId SaaS-generated 8-char hex ID, assigned server-side.
	ServiceId string `json:"service_id"`

	// ServiceType Type of service.
	ServiceType ServiceServiceType `json:"service_type"`

	// State Runtime state of the service instance (e.g. running, failed). Null before deployment.
	State nullable.Nullable[string] `json:"state,omitempty"`

	// TargetNodes Ordered list of database node names this service connects to. Omitted or empty when using default routing.
	TargetNodes *[]string `json:"target_nodes,omitempty"`
}

Service defines model for Service.

type ServiceConfig

type ServiceConfig struct {
	// HostIds Cluster host IDs to deploy this service on. Omit to deploy on all database node hosts.
	HostIds             *[]string            `json:"host_ids,omitempty"`
	IngressRegistration *IngressRegistration `json:"ingress_registration,omitempty"`

	// McpConfig MCP service configuration. Only the generate_embedding / embedding block is exposed here. NLA / web chat proxy (llm.*) configuration is not yet exposed through the SaaS API.
	McpConfig *MCPServiceConfig `json:"mcp_config,omitempty"`

	// Port Host port for the service. Present in responses; assigned server-side based on service type.
	Port            *int                    `json:"port,omitempty"`
	PostgrestConfig *PostgRESTServiceConfig `json:"postgrest_config,omitempty"`
	RagConfig       *RAGServiceConfig       `json:"rag_config,omitempty"`

	// ServiceId SaaS-generated 8-char hex ID. Present in responses;
	// omitted on create (assigned server-side).
	ServiceId *string `json:"service_id,omitempty"`

	// ServiceType Type of service to deploy.
	ServiceType ServiceConfigServiceType `json:"service_type"`

	// State Runtime state of the service as reported by the control plane (e.g. "running", "pending", "failed").
	State *string `json:"state,omitempty"`

	// TargetNodes Ordered list of database node names to include in the MCP service connection string. Nodes are tried in the order listed. Omit to connect to all nodes with the local node first.
	TargetNodes *[]string `json:"target_nodes,omitempty"`
}

ServiceConfig defines model for ServiceConfig.

type ServiceConfigServiceType

type ServiceConfigServiceType string

ServiceConfigServiceType Type of service to deploy.

const (
	ServiceConfigServiceTypeMcp       ServiceConfigServiceType = "mcp"
	ServiceConfigServiceTypePostgrest ServiceConfigServiceType = "postgrest"
	ServiceConfigServiceTypeRag       ServiceConfigServiceType = "rag"
)

Defines values for ServiceConfigServiceType.

func (ServiceConfigServiceType) Valid

func (e ServiceConfigServiceType) Valid() bool

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

type ServiceHost

type ServiceHost struct {
	// HostId The ID of the host.
	HostId string `json:"host_id"`

	// Ip The IP address of the host.
	Ip string `json:"ip"`

	// Port The target port.
	Port int `json:"port"`

	// TargetStatus The target registration status.
	TargetStatus string `json:"target_status"`
}

ServiceHost defines model for ServiceHost.

type ServiceRegistration

type ServiceRegistration struct {
	// DatabaseId The database this service is attached to.
	DatabaseId openapi_types.UUID `json:"database_id"`
	Hosts      []ServiceHost      `json:"hosts"`

	// ServiceId The service instance ID.
	ServiceId string `json:"service_id"`

	// Url The full URL for the service.
	Url string `json:"url"`
}

ServiceRegistration defines model for ServiceRegistration.

type ServiceServiceType

type ServiceServiceType string

ServiceServiceType Type of service.

const (
	ServiceServiceTypeMcp       ServiceServiceType = "mcp"
	ServiceServiceTypePostgrest ServiceServiceType = "postgrest"
	ServiceServiceTypeRag       ServiceServiceType = "rag"
)

Defines values for ServiceServiceType.

func (ServiceServiceType) Valid

func (e ServiceServiceType) Valid() bool

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

type SshKey

type SshKey struct {
	// CreatedAt The date and time when the SSH key was created.
	CreatedAt string `json:"created_at"`

	// Id The unique identifier of the SSH key.
	Id string `json:"id"`

	// Name The name of the SSH key.
	Name string `json:"name"`

	// PublicKey The public key of the SSH key.
	PublicKey string `json:"public_key"`
}

SshKey defines model for SshKey.

type Task

type Task struct {
	CreatedAt   string                  `json:"created_at"`
	Error       *string                 `json:"error,omitempty"`
	Id          string                  `json:"id"`
	Messages    []Message               `json:"messages"`
	Name        string                  `json:"name"`
	Request     *map[string]interface{} `json:"request,omitempty"`
	Response    *map[string]interface{} `json:"response,omitempty"`
	Status      string                  `json:"status"`
	SubjectId   string                  `json:"subject_id"`
	SubjectKind string                  `json:"subject_kind"`
	UpdatedAt   string                  `json:"updated_at"`
}

Task defines model for Task.

type UUID

type UUID = openapi_types.UUID

UUID is an alias for openapi_types.UUID used by the generated client code.

type UpdateClusterInput

type UpdateClusterInput struct {
	BackupStoreIds  *[]string                        `json:"backup_store_ids,omitempty"`
	FirewallRules   *[]ClusterFirewallRuleSettings   `json:"firewall_rules,omitempty"`
	Networks        *[]ClusterNetworkSettings        `json:"networks,omitempty"`
	Nodes           *[]ClusterNodeSettings           `json:"nodes,omitempty"`
	Regions         []string                         `json:"regions"`
	ResourceTags    *map[string]string               `json:"resource_tags,omitempty"`
	VpcAssociations *[]ClusterVpcAssociationSettings `json:"vpc_associations,omitempty"`
}

UpdateClusterInput defines model for UpdateClusterInput.

type UpdateClusterJSONRequestBody

type UpdateClusterJSONRequestBody = UpdateClusterInput

UpdateClusterJSONRequestBody defines body for UpdateCluster for application/json ContentType.

type UpdateClusterResponse

type UpdateClusterResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Cluster
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseUpdateClusterResponse

func ParseUpdateClusterResponse(rsp *http.Response) (*UpdateClusterResponse, error)

ParseUpdateClusterResponse parses an HTTP response from a UpdateClusterWithResponse call

func (UpdateClusterResponse) ContentType

func (r UpdateClusterResponse) ContentType() string

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

func (UpdateClusterResponse) Status

func (r UpdateClusterResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateClusterResponse) StatusCode

func (r UpdateClusterResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateDatabaseInput

type UpdateDatabaseInput struct {
	// DisplayName Display name for the database. Set to null to remove existing display name
	DisplayName nullable.Nullable[string] `json:"display_name,omitempty"`
	Extensions  *Extensions               `json:"extensions,omitempty"`
	Nodes       *[]DatabaseNode           `json:"nodes,omitempty"`
	Options     *[]string                 `json:"options,omitempty"`

	// Services Services to deploy on this database. Replaces all existing services. Send an empty array to remove all services. Omit to leave existing services unchanged. Sending null is equivalent to sending an empty array.
	Services nullable.Nullable[[]ServiceConfig] `json:"services,omitempty"`
}

UpdateDatabaseInput defines model for UpdateDatabaseInput.

type UpdateDatabaseJSONRequestBody

type UpdateDatabaseJSONRequestBody = UpdateDatabaseInput

UpdateDatabaseJSONRequestBody defines body for UpdateDatabase for application/json ContentType.

type UpdateDatabaseResponse

type UpdateDatabaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Database
	JSON400      *Error
	JSON401      *Error
	JSONDefault  *Error
}

func ParseUpdateDatabaseResponse

func ParseUpdateDatabaseResponse(rsp *http.Response) (*UpdateDatabaseResponse, error)

ParseUpdateDatabaseResponse parses an HTTP response from a UpdateDatabaseWithResponse call

func (UpdateDatabaseResponse) ContentType

func (r UpdateDatabaseResponse) ContentType() string

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

func (UpdateDatabaseResponse) Status

func (r UpdateDatabaseResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateDatabaseResponse) StatusCode

func (r UpdateDatabaseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

Jump to

Keyboard shortcuts

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