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)
type Docker ¶
type Docker struct {
// contains filtered or unexported fields
}
func NewDocker ¶
func NewDocker(app foundation.Application) *Docker
type Postgresql ¶
type Postgresql struct {
// contains filtered or unexported fields
}
func NewPostgresql ¶
func NewPostgresql(config contractsconfig.Config, connection string) *Postgresql
func (*Postgresql) Clear ¶
func (receiver *Postgresql) Clear(pool *dockertest.Pool, resource *dockertest.Resource) error
func (*Postgresql) Config ¶
func (receiver *Postgresql) Config(resource *dockertest.Resource) testing.Config
func (*Postgresql) Image ¶
func (receiver *Postgresql) Image() *dockertest.RunOptions
func (*Postgresql) Name ¶
func (receiver *Postgresql) Name() orm.Driver
type Sqlite ¶
type Sqlite struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.