Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssertPlugin ¶
type BasicRegistry ¶
func (*BasicRegistry) AssertPlugins ¶
func (b *BasicRegistry) AssertPlugins() []AssertPlugin
AssertPlugins implements Registry
func (*BasicRegistry) EnvPlugins ¶
func (b *BasicRegistry) EnvPlugins() []EnvPlugin
EnvPlugins implements Registry
func (*BasicRegistry) RegisterAssertPlugin ¶
func (b *BasicRegistry) RegisterAssertPlugin(plugins ...AssertPlugin)
RegisterAssertPlugin implements Registry
func (*BasicRegistry) RegisterEnvPlugin ¶
func (b *BasicRegistry) RegisterEnvPlugin(plugins ...EnvPlugin)
RegisterEnvPlugin implements Registry
type Config ¶
type Config struct{}
Config defines the config structure
func (*Config) RegisterFlagsWithPrefix ¶
RegisterFlagsWithPrefix is used to register flags
type EnvPlugin ¶
type EnvPlugin interface { Plugin // GetTypeName the plugin type GetTypeName() string // Run setup run Run(commands []string) error }
EnvPlugin Provide environmental support at runtime. (mysql, redis, ....)
Click to show internal directories.
Click to hide internal directories.