Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
Instance is MySQL instance installed by bytebase for testing.
func SetupTestInstance ¶ added in v1.0.1
SetupTestInstance installs and starts a mysql instance for testing, returns the instance and the stop function.
func (*Instance) Import ¶ added in v1.0.1
Import executes sql script in the given path on the instance. If the path is a directory, it imports all sql scripts in the directory recursively.
Click to show internal directories.
Click to hide internal directories.