Documentation ¶
Index ¶
- Variables
- func AddGeneralMigration(f GeneralMigrationFunc)
- func AddGlobalMigration(f GlobalMigrationFunc)
- 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 GlobalMigrationFunc
- 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 GlobalMigrations []GlobalMigrationFunc
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 AddGlobalMigration ¶ added in v1.32.0
func AddGlobalMigration(f GlobalMigrationFunc)
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 GlobalMigrationFunc ¶ added in v1.32.0
type PluginOptionMigrationFunc ¶ added in v1.29.0
type PluginOptionMigrationFunc PluginMigrationFunc
Click to show internal directories.
Click to hide internal directories.