Documentation ¶
Index ¶
- func ACLUsersTable(t *testing.T, cfg *backendConfig.Config) func()
- func CreateConfig(t *testing.T) (*backendConfig.Config, func())
- func CreateDatabaseList() []database.Database
- func CreateModelList() []database.Model
- func CreateUserSampleData(db *gorm.DB) ([]utilDB.User, error)
- func MigrateTables(db *gorm.DB) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ACLUsersTable ¶
func ACLUsersTable(t *testing.T, cfg *backendConfig.Config) func()
func CreateConfig ¶
func CreateConfig(t *testing.T) (*backendConfig.Config, func())
CreateConfig fake config for test
func CreateModelList ¶
CreateModelList fake model list from agent
func CreateUserSampleData ¶
CreateUserSampleData sample data for test
func MigrateTables ¶
MigrateTables migrate db with tables base by domain model
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.