docker

package
v1.58.10 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: MPL-2.0 Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	DefaultSuperuserUsername = "postgres"
	DefaultSuperuserPassword = "postgres"
	DefaultRootDatabase      = "postgres"
)
View Source
const Image = "encoredotdev/postgres:18"

Variables

This section is empty.

Functions

func ImageExists

func ImageExists(ctx context.Context) (ok bool, err error)

ImageExists reports whether the docker image exists.

func PullImage

func PullImage(ctx context.Context) error

PullImage pulls the image.

Types

type Driver

type Driver struct{}

func (*Driver) CanDestroyCluster added in v1.23.0

func (d *Driver) CanDestroyCluster(ctx context.Context, id sqldb.ClusterID) error

func (*Driver) CheckRequirements added in v1.17.0

func (d *Driver) CheckRequirements(ctx context.Context) error

func (*Driver) ClusterStatus

func (d *Driver) ClusterStatus(ctx context.Context, id sqldb.ClusterID) (*sqldb.ClusterStatus, error)

func (*Driver) CreateCluster

func (d *Driver) CreateCluster(ctx context.Context, p *sqldb.CreateParams, log zerolog.Logger) (status *sqldb.ClusterStatus, err error)

func (*Driver) DestroyCluster

func (d *Driver) DestroyCluster(ctx context.Context, id sqldb.ClusterID) error

func (*Driver) DestroyNamespaceData added in v1.23.3

func (d *Driver) DestroyNamespaceData(ctx context.Context, ns *namespace.Namespace) error

func (*Driver) Meta added in v1.17.0

func (d *Driver) Meta() sqldb.DriverMeta

Jump to

Keyboard shortcuts

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