Help us shape the future of Go! Take the 2026 Go Developer Survey

docker

package
v1.20.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	docker.DatabaseDriver
	// contains filtered or unexported fields
}

func NewDatabase

func NewDatabase(artisan contractsconsole.Artisan, config contractsconfig.Config, orm contractsorm.Orm, connection string) (*Database, error)

func (*Database) Migrate

func (r *Database) Migrate() error

func (*Database) Ready

func (r *Database) Ready() error

func (*Database) Seed

func (r *Database) Seed(seeders ...seeder.Seeder) error

type Docker

type Docker struct {
	// contains filtered or unexported fields
}

func (*Docker) Cache

func (r *Docker) Cache(store ...string) (docker.CacheDriver, error)

func (*Docker) Database

func (r *Docker) Database(connection ...string) (docker.Database, error)

func (*Docker) Image

func (r *Docker) Image(image docker.Image) docker.ImageDriver

type ImageDriver

type ImageDriver struct {
	// contains filtered or unexported fields
}

func NewImageDriver

func NewImageDriver(image contractsdocker.Image, process contractsprocess.Process) *ImageDriver

func (*ImageDriver) Build

func (r *ImageDriver) Build() error

func (*ImageDriver) Config

func (*ImageDriver) Ready

func (r *ImageDriver) Ready(fn func() error, durations ...time.Duration) error

func (*ImageDriver) Shutdown

func (r *ImageDriver) Shutdown() error

Jump to

Keyboard shortcuts

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