bootstrap

package
v0.0.0-...-dd30ea9 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2022 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 BootstrapDb

type BootstrapDb struct {
	Base *pg.Db
	// contains filtered or unexported fields
}

func New

func New(db database.Db) *BootstrapDb

func (*BootstrapDb) BootstrapAdminUser

func (t *BootstrapDb) BootstrapAdminUser(tx interface{}) (bool, *domain.User, error)

func (*BootstrapDb) BootstrapAll

func (db *BootstrapDb) BootstrapAll(tx interface{}, conn *setup.ConfigurationDatabase, environment string, chdir string) error

func (*BootstrapDb) BootstrapPriorities

func (t *BootstrapDb) BootstrapPriorities(tx interface{}) error

func (*BootstrapDb) BootstrapWorkflows

func (t *BootstrapDb) BootstrapWorkflows(tx interface{}) error

func (*BootstrapDb) CreatePermissionNames

func (t *BootstrapDb) CreatePermissionNames(tx interface{}) error

func (*BootstrapDb) PriorityDb

func (db *BootstrapDb) PriorityDb() database.Priority

func (*BootstrapDb) ResetApplicationPath

func (db *BootstrapDb) ResetApplicationPath(chdir string) error

func (*BootstrapDb) SetPriorityDb

func (db *BootstrapDb) SetPriorityDb(item *database.Priority)

func (*BootstrapDb) SetStatusDb

func (db *BootstrapDb) SetStatusDb(item *database.Status)

func (*BootstrapDb) SetUserDb

func (db *BootstrapDb) SetUserDb(item *database.User)

func (*BootstrapDb) StatusDb

func (db *BootstrapDb) StatusDb() database.Status

func (*BootstrapDb) UpgradeDbScripts

func (t *BootstrapDb) UpgradeDbScripts(conn *setup.ConfigurationDatabase, environment, chdir string) error

func (*BootstrapDb) UserDb

func (db *BootstrapDb) UserDb() database.User

Jump to

Keyboard shortcuts

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