postgres

package
v0.0.0-...-dd0f4c9 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: AGPL-3.0, Apache-2.0, MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const ERRCODE_DATABES_NOT_FOUND = "3D000"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Init(ctx context.Context, client k8sclient.Client, credentials *v1alpha1.PostgresCredentials) error
	Ping() error
	DatabaseExists(database string) (bool, error)
	DeleteDatabase(dbName string) error
	UpsertDatabase(dbName string) error
	UpsertUser(username, password string) error
	DeleteUser(username string) error
	SetDatabaseOwner(database, username string) error
}

func New

func New() Client

Jump to

Keyboard shortcuts

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