Documentation
¶
Index ¶
- Variables
- func Plugins(migrations packd.Box) []plugins.Plugin
- type Command
- type Logger
- type MigrateDown
- type MigrateUp
- func (mu MigrateUp) Direction() string
- func (mu *MigrateUp) Flags() *pflag.FlagSet
- func (mu MigrateUp) HelpText() string
- func (mu MigrateUp) Name() string
- func (mu MigrateUp) ParentName() string
- func (mu *MigrateUp) ParseFlags(args []string)
- func (mu *MigrateUp) Run(ctx context.Context, root string, args []string) error
- func (mu *MigrateUp) SetConn(conn string)
- type Migrator
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Command ¶ added in v0.4.1
type Command struct {
// contains filtered or unexported fields
}
func (*Command) ParentName ¶ added in v0.4.1
func (*Command) Subcommands ¶ added in v0.4.1
type MigrateDown ¶
type MigrateDown struct {
*Logger
// contains filtered or unexported fields
}
func (*MigrateDown) Flags ¶
func (mu *MigrateDown) Flags() *pflag.FlagSet
func (MigrateDown) HelpText ¶ added in v0.4.0
func (mu MigrateDown) HelpText() string
func (MigrateDown) Name ¶
func (mu MigrateDown) Name() string
func (MigrateDown) ParentName ¶ added in v0.4.0
func (mu MigrateDown) ParentName() string
func (*MigrateDown) ParseFlags ¶
func (mu *MigrateDown) ParseFlags(args []string)
type MigrateUp ¶
type MigrateUp struct {
*Logger
// contains filtered or unexported fields
}
func (MigrateUp) ParentName ¶ added in v0.4.0
func (*MigrateUp) ParseFlags ¶
Click to show internal directories.
Click to hide internal directories.