Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DummyBasicRes ¶
func DummyBasicRes(callback func(mockDal *mockdal.Dal)) *mockcontext.BasicRes
DummyBasicRes FIXME ...
func DummySubTaskContext ¶
func DummySubTaskContext(db dal.Dal) *mockplugin.SubTaskContext
DummySubTaskContext FIXME ...
Types ¶
type TableInfoChecker ¶
type TableInfoChecker struct {
// contains filtered or unexported fields
}
func NewTableInfoChecker ¶
func NewTableInfoChecker(cfg TableInfoCheckerConfig) *TableInfoChecker
func (*TableInfoChecker) FeedIn ¶
func (checker *TableInfoChecker) FeedIn(modelsDir string, f func() []dal.Tabler, additionalIgnorablePackages ...string)
The FeedIn function iterates through the model definitions, identifies all the tables by parsing the source files, and then compares them with the output obtained from the GetTablesInfo function. If the plugin has no models directory, pass in the root directory of the plugin
func (*TableInfoChecker) Verify ¶
func (checker *TableInfoChecker) Verify() errors.Error
type TableInfoCheckerConfig ¶
Click to show internal directories.
Click to hide internal directories.