Documentation ¶
Index ¶
- func Plugins() []plugins.Plugin
- type MigrationGen
- func (MigrationGen) CmdName() string
- func (MigrationGen) Description() string
- func (g *MigrationGen) Flags() *pflag.FlagSet
- func (mg *MigrationGen) Generate(ctx context.Context, root string, args []string) error
- func (mg *MigrationGen) GenerateResourceMigrations(ctx context.Context, root string, args []string) error
- func (MigrationGen) PluginName() string
- func (g *MigrationGen) PrintFlags(w io.Writer) error
- func (g *MigrationGen) ResourceFlags() []*pflag.Flag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MigrationGen ¶
type MigrationGen struct { Env string MigrationType string Path string TableName string // contains filtered or unexported fields }
func (MigrationGen) CmdName ¶
func (MigrationGen) CmdName() string
func (MigrationGen) Description ¶
func (MigrationGen) Description() string
func (*MigrationGen) Flags ¶
func (g *MigrationGen) Flags() *pflag.FlagSet
func (*MigrationGen) GenerateResourceMigrations ¶
func (MigrationGen) PluginName ¶
func (MigrationGen) PluginName() string
func (*MigrationGen) PrintFlags ¶
func (g *MigrationGen) PrintFlags(w io.Writer) error
func (*MigrationGen) ResourceFlags ¶
func (g *MigrationGen) ResourceFlags() []*pflag.Flag
Click to show internal directories.
Click to hide internal directories.