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 Mysql ¶
type Mysql struct {
// contains filtered or unexported fields
}
func (*Mysql) Clear ¶
func (receiver *Mysql) Clear(pool *dockertest.Pool, resource *dockertest.Resource) error
func (*Mysql) Image ¶
func (receiver *Mysql) Image() *dockertest.RunOptions
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
}
func (*Sqlite) Clear ¶
func (receiver *Sqlite) Clear(pool *dockertest.Pool, resource *dockertest.Resource) error
func (*Sqlite) Config ¶
func (receiver *Sqlite) Config(resource *dockertest.Resource) testing.Config
func (*Sqlite) Image ¶
func (receiver *Sqlite) Image() *dockertest.RunOptions
type Sqlserver ¶
type Sqlserver struct {
// contains filtered or unexported fields
}
func NewSqlserver ¶
func NewSqlserver(config contractsconfig.Config, connection string) *Sqlserver
func (*Sqlserver) Clear ¶
func (receiver *Sqlserver) Clear(pool *dockertest.Pool, resource *dockertest.Resource) error
func (*Sqlserver) Config ¶
func (receiver *Sqlserver) Config(resource *dockertest.Resource) testing.Config
func (*Sqlserver) Image ¶
func (receiver *Sqlserver) Image() *dockertest.RunOptions
Click to show internal directories.
Click to hide internal directories.