dbcluster

package
v1.1.54-test Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: MIT Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterSpec

type ClusterSpec struct {
	ExternalAccessEnabled bool                `json:"externalAccessEnabled,omitempty"`
	Postgres              ClusterSpecPostgres `json:"postgres"`
}

type ClusterSpecPostgres

type ClusterSpecPostgres struct {
	Version   ClusterSpecPostgresVersion     `json:"version,omitempty"`
	StorageGB float32                        `json:"storageGB"`
	Defaults  ClusterSpecPostgresDefaults    `json:"defaults,omitempty"`
	Locations []ClusterSpecPostgresLocations `json:"locations,omitempty"`
}

type ClusterSpecPostgresDefaults

type ClusterSpecPostgresDefaults struct {
	Size      ClusterSpecPostgresDefaultsSize `json:"size,omitempty"`
	Instances float32                         `json:"instances"`
}

type ClusterSpecPostgresDefaultsSize

type ClusterSpecPostgresDefaultsSize string
const (
	ClusterSpecPostgresDefaultsSizeDeveloper2C4G ClusterSpecPostgresDefaultsSize = "developer-2c-4g"
	ClusterSpecPostgresDefaultsSizeSmall2C8G     ClusterSpecPostgresDefaultsSize = "small-2c-8g"
	ClusterSpecPostgresDefaultsSizeStandard4C16G ClusterSpecPostgresDefaultsSize = "standard-4c-16g"
	ClusterSpecPostgresDefaultsSizeLarge8C32G    ClusterSpecPostgresDefaultsSize = "large-8c-32g"
	ClusterSpecPostgresDefaultsSizeXlarge16C64G  ClusterSpecPostgresDefaultsSize = "xlarge-16c-64g"
)

type ClusterSpecPostgresLocations

type ClusterSpecPostgresLocations struct {
	Name      string                           `json:"name,omitempty"`
	Writable  bool                             `json:"writable,omitempty"`
	Size      ClusterSpecPostgresLocationsSize `json:"size,omitempty"`
	Instances *float32                         `json:"instances,omitempty"`
}

type ClusterSpecPostgresLocationsSize

type ClusterSpecPostgresLocationsSize string
const (
	ClusterSpecPostgresLocationsSizeDeveloper2C4G ClusterSpecPostgresLocationsSize = "developer-2c-4g"
	ClusterSpecPostgresLocationsSizeSmall2C8G     ClusterSpecPostgresLocationsSize = "small-2c-8g"
	ClusterSpecPostgresLocationsSizeStandard4C16G ClusterSpecPostgresLocationsSize = "standard-4c-16g"
	ClusterSpecPostgresLocationsSizeLarge8C32G    ClusterSpecPostgresLocationsSize = "large-8c-32g"
	ClusterSpecPostgresLocationsSizeXlarge16C64G  ClusterSpecPostgresLocationsSize = "xlarge-16c-64g"
)

type ClusterSpecPostgresVersion

type ClusterSpecPostgresVersion string
const (
	ClusterSpecPostgresVersion128 ClusterSpecPostgresVersion = "12.8"
	ClusterSpecPostgresVersion134 ClusterSpecPostgresVersion = "13.4"
)

type ClusterStatus

type ClusterStatus struct {
	ParentId         string `json:"parentId,omitempty"`
	ExternalEndpoint string `json:"externalEndpoint,omitempty"`
}

type DbCluster

type DbCluster struct {
	Id           string        `json:"id,omitempty"`
	Name         base.Name     `json:"name,omitempty"`
	Kind         base.Kind     `json:"kind,omitempty"`
	Version      *float32      `json:"version,omitempty"`
	Description  string        `json:"description,omitempty"`
	Tags         DbClusterTags `json:"tags,omitempty"`
	Created      string        `json:"created,omitempty"`
	LastModified string        `json:"lastModified,omitempty"`
	Links        base.Links    `json:"links,omitempty"`
	Spec         ClusterSpec   `json:"spec,omitempty"`
	Status       ClusterStatus `json:"status,omitempty"`
	Alias        string        `json:"alias,omitempty"`
}

type DbClusterStatus

type DbClusterStatus struct {
	Data         ClusterStatus `json:"data,omitempty"`
	LastModified string        `json:"lastModified,omitempty"`
	Version      *float32      `json:"version,omitempty"`
}

type DbClusterTags

type DbClusterTags map[string]any

Jump to

Keyboard shortcuts

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