vshnpostgres

package
v4.38.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: BSD-3-Clause Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// PostgresqlHost is env variable in the connection secret
	PostgresqlHost = "POSTGRESQL_HOST"
	// PostgresqlUser is env variable in the connection secret
	PostgresqlUser = "POSTGRESQL_USER"
	// PostgresqlPassword is env variable in the connection secret
	PostgresqlPassword = "POSTGRESQL_PASSWORD"
	// PostgresqlPort is env variable in the connection secret
	PostgresqlPort = "POSTGRESQL_PORT"
	// PostgresqlDb is env variable in the connection secret
	PostgresqlDb = "POSTGRESQL_DB"
	// PostgresqlUrl is env variable in the connection secret
	PostgresqlUrl = "POSTGRESQL_URL"
)

Functions

func AddExtensions

func AddExtensions(ctx context.Context, iof *runtime.Runtime) runtime.Result

AddExtensions adds the user specified extensions to the SGCluster.

func AddLoadBalancerIPToConnectionDetails

func AddLoadBalancerIPToConnectionDetails(ctx context.Context, iof *runtime.Runtime) runtime.Result

func AddMaintenanceJob

func AddMaintenanceJob(ctx context.Context, iof *runtime.Runtime) runtime.Result

AddMaintenanceJob will add a job to do the maintenance in for the instance

func AddPvcSecret

func AddPvcSecret(ctx context.Context, iof *runtime.Runtime) runtime.Result

AddPvcSecret adds a secret for the encrypted PVC for the PostgreSQL instance.

func AddUrlToConnectionDetails

func AddUrlToConnectionDetails(ctx context.Context, iof *runtime.Runtime) runtime.Result

AddUrlToConnectionDetails changes the desired state of a FunctionIO

func AddUserAlerting

func AddUserAlerting(ctx context.Context, iof *runtime.Runtime) runtime.Result

AddUserAlerting adds user alerting to the PostgreSQL instance.

func ConfigureReplication

func ConfigureReplication(ctx context.Context, iof *runtime.Runtime) runtime.Result

ConfigureReplication configures the stackgres replication based on the claim

func MailgunAlerting

func MailgunAlerting(ctx context.Context, iof *runtime.Runtime) runtime.Result

func TransformRestart

func TransformRestart(ctx context.Context, iof *runtime.Runtime) runtime.Result

TransformRestart triggers a restart of the postgreqsql instance if there is a pending restart and the composite is configured to restart on update.

func TransformSchedule

func TransformSchedule(ctx context.Context, iof *runtime.Runtime) runtime.Result

TransformSchedule initializes the backup and maintenance schedules if the user did not explicitly provide a schedule.

Types

This section is empty.

Jump to

Keyboard shortcuts

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