cmds

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidSteps    = errors.New("steps must be a positive number")
	ErrInvalidDownArgs = errors.New("down requires a positive number or *")
)

Functions

This section is empty.

Types

type Migrate added in v0.10.0

type Migrate struct {
	*cobra.Command
}

Migrate is a proxy command that dispatches goose operations.

func NewMigrate added in v0.10.0

func NewMigrate() *Migrate

type MigrateCreate added in v0.10.0

type MigrateCreate struct{ *cobra.Command }

func NewMigrateCreate added in v0.10.0

func NewMigrateCreate(migrator *database.Migrator) *MigrateCreate

type MigrateDown added in v0.10.0

type MigrateDown struct{ *cobra.Command }

func NewMigrateDown added in v0.10.0

func NewMigrateDown(migrator *database.Migrator, logger *slog.Logger) *MigrateDown

type MigrateRedo added in v0.10.0

type MigrateRedo struct{ *cobra.Command }

func NewMigrateRedo added in v0.10.0

func NewMigrateRedo(migrator *database.Migrator, logger *slog.Logger) *MigrateRedo

type MigrateStatus added in v0.10.0

type MigrateStatus struct{ *cobra.Command }

func NewMigrateStatus added in v0.10.0

func NewMigrateStatus(migrator *database.Migrator) *MigrateStatus

type MigrateUp added in v0.10.0

type MigrateUp struct{ *cobra.Command }

func NewMigrateUp added in v0.10.0

func NewMigrateUp(migrator *database.Migrator, logger *slog.Logger) *MigrateUp

type MigrateUpFresh added in v0.10.0

type MigrateUpFresh struct{ *cobra.Command }

func NewMigrateUpFresh added in v0.10.0

func NewMigrateUpFresh(migrator *database.Migrator, logger *slog.Logger) *MigrateUpFresh

type Schedule

type Schedule struct {
	*cobra.Command
}

func NewSchedule

func NewSchedule(scheduler *application.Scheduler) *Schedule

type Test added in v0.4.0

type Test struct {
	*cobra.Command
}

Test command for new commands registration architecture changes.

Will be removed after adds new real production commands.

Added as proof-of-concept

func NewTest added in v0.4.0

func NewTest(logger *slog.Logger) *Test

type TestSubTree added in v0.4.0

type TestSubTree struct {
	*cobra.Command
}

TestSubTree command for new commands registration architecture changes.

Will be removed after adds new real production commands.

Added as proof-of-concept

func NewTestSubTree added in v0.4.0

func NewTestSubTree(logger *slog.Logger) *TestSubTree

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL