docker

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: MIT Imports: 11 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 {
	// contains filtered or unexported fields
}

func NewDatabase

func NewDatabase(app foundation.Application, connection string, gormInitialize gorm.Initialize) (*Database, error)

func (*Database) Build

func (receiver *Database) Build() error

func (*Database) Clear deprecated

func (receiver *Database) Clear() error

Deprecated: Use Stop instead.

func (*Database) Config

func (receiver *Database) Config() testing.DatabaseConfig

func (*Database) Image

func (receiver *Database) Image(image testing.Image)

func (*Database) Seed

func (receiver *Database) Seed(seeds ...seeder.Seeder)

func (*Database) Stop

func (receiver *Database) Stop() error

type Docker

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

func NewDocker

func NewDocker(app foundation.Application) *Docker

func (*Docker) Database

func (receiver *Docker) Database(connection ...string) (testing.Database, error)

Jump to

Keyboard shortcuts

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