postgres

package
v6.6.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIVersionCmd

func APIVersionCmd() *core.Command

func BackupCmd

func BackupCmd() *core.Command

func ClusterBackupCmd

func ClusterBackupCmd() *core.Command

func ClusterCmd

func ClusterCmd() *core.Command

func ClusterDeleteAll

func ClusterDeleteAll(c *core.CommandConfig) error

func DBaaSPostgresCmd

func DBaaSPostgresCmd() *core.Command

func LogsCmd

func LogsCmd() *core.Command

func PgsqlVersionCmd

func PgsqlVersionCmd() *core.Command

func PreRunBackupId

func PreRunBackupId(c *core.PreCommandConfig) error

func PreRunClusterBackupIds

func PreRunClusterBackupIds(c *core.PreCommandConfig) error

func PreRunClusterCreate

func PreRunClusterCreate(c *core.PreCommandConfig) error

func PreRunClusterDelete

func PreRunClusterDelete(c *core.PreCommandConfig) error

func PreRunClusterId

func PreRunClusterId(c *core.PreCommandConfig) error

func PreRunClusterLogsList

func PreRunClusterLogsList(c *core.PreCommandConfig) error

func RunAPIVersionGet

func RunAPIVersionGet(c *core.CommandConfig) error

func RunAPIVersionList

func RunAPIVersionList(c *core.CommandConfig) error

func RunBackupGet

func RunBackupGet(c *core.CommandConfig) error

func RunBackupList

func RunBackupList(c *core.CommandConfig) error

func RunClusterBackupList

func RunClusterBackupList(c *core.CommandConfig) error

func RunClusterCreate

func RunClusterCreate(c *core.CommandConfig) error

func RunClusterDelete

func RunClusterDelete(c *core.CommandConfig) error

func RunClusterGet

func RunClusterGet(c *core.CommandConfig) error

func RunClusterList

func RunClusterList(c *core.CommandConfig) error

func RunClusterLogsList

func RunClusterLogsList(c *core.CommandConfig) error

func RunClusterRestore

func RunClusterRestore(c *core.CommandConfig) error

func RunClusterUpdate

func RunClusterUpdate(c *core.CommandConfig) error

func RunPgsqlVersionGet

func RunPgsqlVersionGet(c *core.CommandConfig) error

func RunPgsqlVersionList

func RunPgsqlVersionList(c *core.CommandConfig) error

Types

type APIVersionPrint

type APIVersionPrint struct {
	Version    string `json:"Version,omitempty"`
	SwaggerUrl string `json:"SwaggerUrl,omitempty"`
}

type BackupPrint

type BackupPrint struct {
	BackupId                   string `json:"BackupId,omitempty"`
	ClusterId                  string `json:"ClusterId,omitempty"`
	EarliestRecoveryTargetTime string `json:"EarliestRecoveryTargetTime,omitempty"`
	Version                    string `json:"Version,omitempty"`
	Active                     bool   `json:"Active,omitempty"`
	CreatedDate                string `json:"CreatedDate,omitempty"`
	State                      string `json:"State,omitempty"`
}

type ClusterLogsPrint

type ClusterLogsPrint struct {
	Name    string `json:"Name,omitempty"`
	Logs    string `json:"Logs,omitempty"`
	Message string `json:"Message,omitempty"`
	Time    string `json:"Time,omitempty"`
}

type ClusterPrint

type ClusterPrint struct {
	ClusterId           string `json:"ClusterId,omitempty"`
	Location            string `json:"Location,omitempty"`
	BackupLocation      string `json:"BackupLocation,omitempty"`
	State               string `json:"State,omitempty"`
	DisplayName         string `json:"DisplayName,omitempty"`
	PostgresVersion     string `json:"PostgresVersion,omitempty"`
	Instances           int32  `json:"Instances,omitempty"`
	Ram                 string `json:"Ram,omitempty"`
	Cores               int32  `json:"Cores,omitempty"`
	StorageSize         string `json:"StorageSize,omitempty"`
	StorageType         string `json:"StorageType,omitempty"`
	DatacenterId        string `json:"DatacenterId,omitempty"`
	LanId               string `json:"LanId,omitempty"`
	Cidr                string `json:"Cidr,omitempty"`
	MaintenanceWindow   string `json:"MaintenanceWindow,omitempty"`
	SynchronizationMode string `json:"SynchronizationMode,omitempty"`
}

type PgsqlVersionPrint

type PgsqlVersionPrint struct {
	PostgresVersions []string `json:"PostgresVersions,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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