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 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
Click to show internal directories.
Click to hide internal directories.