helpers

package
v0.0.448 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyWithHelpers added in v0.0.441

func ApplyWithHelpers(ctx context.Context, intent *postgres.DatabaseIntent, db *universepg.DB) error

func EnsureDatabase

func EnsureDatabase(ctx context.Context, cluster postgres.ClusterInstance, name string, extraArgs string) (bool, error)

Types

type BackOff

type BackOff struct {
	Interval time.Duration
	Deadline time.Time
	Jitter   time.Duration
}

func (BackOff) NextBackOff

func (b BackOff) NextBackOff() time.Duration

func (BackOff) Reset

func (b BackOff) Reset()

Jump to

Keyboard shortcuts

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