databases

package
v3.9.2 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceVersion = "formance.com/module-version"

Variables

This section is empty.

Functions

func BuildPostgresQueryString added in v3.8.1

func BuildPostgresQueryString(rawQuery url.Values) string

BuildPostgresQueryString takes the raw URI query params, filters internal params (secret, disableSSLMode), and returns the final encoded query string.

func Create

func Create(ctx core.Context, stack *v1beta1.Stack, owner interface {
	v1beta1.Object
	IsDebug() bool
}) (*v1beta1.Database, error)

func Delete

func Delete(ctx core.Context, database *v1beta1.Database) error

func GetPostgresEnvVars

func GetPostgresEnvVars(ctx core.Context, stack *v1beta1.Stack, database *v1beta1.Database) ([]corev1.EnvVar, error)

func GetSavedModuleVersion

func GetSavedModuleVersion(database *v1beta1.Database) string

func Migrate

func Migrate(
	ctx core.Context,
	stack *v1beta1.Stack,
	owner v1beta1.Dependent,
	imageConfiguration *registries.ImageConfiguration,
	database *v1beta1.Database,
	options ...jobs.HandleJobOption,
) error

func Reconcile

func Reconcile(ctx core.Context, stack *v1beta1.Stack, database *v1beta1.Database) error

func SaveModuleVersion

func SaveModuleVersion(ctx core.Context, database *v1beta1.Database, version string) error

func Watch

func Watch[T client.Object]() core.ReconcilerOption[T]

Types

This section is empty.

Jump to

Keyboard shortcuts

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