cmds

package
v0.22.1 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: Apache-2.0 Imports: 23 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 Dev added in v0.16.0

type Dev struct {
	*cobra.Command
}

func NewDev added in v0.16.0

func NewDev(db *sql.DB, queries *sqlcgen.Queries, ollamaClient *ollama.Client, logger *slog.Logger) *Dev

type Jobs added in v0.20.0

type Jobs struct {
	*cobra.Command
}

Jobs is the parent command for queue inspection utilities.

func NewJobs added in v0.20.0

func NewJobs() *Jobs

type JobsList added in v0.20.0

type JobsList struct {
	*cobra.Command
}

JobsList lists all pending messages in the goqite queue.

func NewJobsList added in v0.20.0

func NewJobsList(db *sql.DB) *JobsList

type JobsShow added in v0.20.0

type JobsShow struct {
	*cobra.Command
}

JobsShow displays a single goqite message with full payload.

func NewJobsShow added in v0.20.0

func NewJobsShow(db *sql.DB) *JobsShow

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 Outbox added in v0.16.0

type Outbox struct {
	*cobra.Command
}

Outbox is a parent command for outbox dev utilities.

func NewOutbox added in v0.16.0

func NewOutbox() *Outbox

type OutboxReplay added in v0.16.0

type OutboxReplay struct {
	*cobra.Command
}

OutboxReplay resets processed_at so the explainer re-processes events.

func NewOutboxReplay added in v0.16.0

func NewOutboxReplay(db *sql.DB, logger *slog.Logger) *OutboxReplay

type Schedule

type Schedule struct {
	*cobra.Command
}

func NewSchedule

func NewSchedule(scheduler *schedule.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