package
2.0.0-alpha.14
Repository: https://github.com/trivigy/migrate.git
Documentation: pkg.go.dev

# Constants

DirectionDown indicates the direction type is backward (rollback).
DirectionUp indicates the direction type is forward.

# Structs

Executor is a wrapper class for passing a specialized executable root object across chained commands.
Migration defines a set of operations to run on the database.
Operation defines a single query operation to run on the database.
Patch defines an executable patch function and filters for which this function will run.
PsqlDSN config represents a parsed PostgreSQL connection string.
Registry holds stored changes of either database migrations or kubernetes releases.
Release defines a collection of kubernetes manifests which can be released together as a logical unit.

# Interfaces

Command defines an interface for a command which is executable.
Executable defines an interface for the execute command of the root command executable method when it is passed through the chain of chained commands.
OpExecutor describes an abstract database operations executor.
Resource represents a command object that is able to generate commands.

# Type aliases

Direction defines the type of the migration direction.
DNSRecords represents an abstraction for dns record sets collection.
Migrations represents multiple database migrations.
Patches implements a collection of patching elements each of which executes a pre-execution hook function.
RangeFunc is used to simplify syntax.
Releases represents a collection of kubernetes releases.