Documentation ¶
Index ¶
- Variables
- func AddGeneralMigration(f GeneralMigrationFunc)
- func AddPluginMigration(name string, f PluginMigrationFunc)
- func AddPluginOptionMigration(name string, f PluginOptionMigrationFunc)
- func AsStringSlice(raw interface{}) ([]string, error)
- func CreateTOMLStruct(category, name string) pluginTOMLStruct
- type GeneralMigrationFunc
- type PluginMigrationFunc
- type PluginOptionMigrationFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotApplicable = errors.New("no migration applied")
View Source
var GeneralMigrations []GeneralMigrationFunc
View Source
var PluginMigrations = make(map[string]PluginMigrationFunc)
View Source
var PluginOptionMigrations = make(map[string]PluginOptionMigrationFunc)
Functions ¶
func AddGeneralMigration ¶ added in v1.29.0
func AddGeneralMigration(f GeneralMigrationFunc)
func AddPluginMigration ¶
func AddPluginMigration(name string, f PluginMigrationFunc)
func AddPluginOptionMigration ¶ added in v1.29.0
func AddPluginOptionMigration(name string, f PluginOptionMigrationFunc)
func AsStringSlice ¶ added in v1.29.0
func CreateTOMLStruct ¶
func CreateTOMLStruct(category, name string) pluginTOMLStruct
Types ¶
type GeneralMigrationFunc ¶ added in v1.29.0
type PluginOptionMigrationFunc ¶ added in v1.29.0
type PluginOptionMigrationFunc PluginMigrationFunc
Click to show internal directories.
Click to hide internal directories.