postgres

package
v0.0.0-...-5d42de7 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Postgres

type Postgres struct {
	Name                          string
	Namespace                     string
	PVCName                       string
	Port                          int32
	Image                         string
	MinCPU                        string
	MaxCPU                        string
	MinMemory                     string
	MaxMemory                     string
	Database                      string
	User                          string
	PasswordSecretName            string
	UserPasswordSecretKey         string
	AdminPasswordSecretKey        string
	MaxConnections                int
	SharedBufferInMB              int
	EnvConfigMapRefs              []string
	TerminationGracePeriodSeconds int64
	IsOpenshift                   bool
	Labels                        map[string]string
	ImagePullSecrets              []string
	SecurityContext               map[string]api.SecurityContext
	ServiceAccount                string
}

Postgres will provide the postgres container configuration

func (*Postgres) GetPostgresDeployment

func (p *Postgres) GetPostgresDeployment() (*components.Deployment, error)

GetPostgresDeployment will return the postgres deployment

func (*Postgres) GetPostgresService

func (p *Postgres) GetPostgresService() *components.Service

GetPostgresService will return the postgres service

Jump to

Keyboard shortcuts

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