postgres

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvStoreType             = "KUMA_STORE_TYPE"
	EnvStorePostgresHost     = "KUMA_STORE_POSTGRES_HOST"
	EnvStorePostgresPort     = "KUMA_STORE_POSTGRES_PORT"
	EnvStorePostgresUser     = "KUMA_STORE_POSTGRES_USER"
	EnvStorePostgresPassword = "KUMA_STORE_POSTGRES_PASSWORD"
	EnvStorePostgresDBName   = "KUMA_STORE_POSTGRES_DB_NAME"

	DefaultPostgresPort     = uint32(5432)
	DefaultPostgresUser     = "kuma"
	DefaultPostgresPassword = "kuma"
	DefaultPostgresDBName   = "kuma"

	PostgresImage = "postgres"

	PostgresEnvVarUser     = "POSTGRES_USER"
	PostgresEnvVarPassword = "POSTGRES_PASSWORD"
	PostgresEnvVarDB       = "POSTGRES_DB"

	AppPostgres = "postgres"
)

Variables

This section is empty.

Functions

func Install

func Install(name string) InstallFunc

func NewUniversalDeployment

func NewUniversalDeployment(cluster Cluster, name string) *universalDeployment

Types

type Postgres

type Postgres interface {
	GetEnvVars() map[string]string
}

func From

func From(cluster Cluster, name string) Postgres

type PostgresDeployment

type PostgresDeployment interface {
	Postgres
	Deployment
}

Jump to

Keyboard shortcuts

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