Documentation
¶
Index ¶
- func CatalogPrefixFromConfig(config pgconn.Config) string
- func CleanupOldMigrationCatalogs(fsys afero.Fs, prefix string) error
- func HashMigrations(fsys afero.Fs) (string, error)
- func MigrationCatalogPath(hash, prefix string, createdAt time.Time) string
- func ResolveMigrationCatalogPath(fsys afero.Fs, hash, prefix string) (string, bool, error)
- func SanitizedCatalogPrefix(prefix string) string
- func ShouldCacheMigrationsCatalog() bool
- func TryCacheMigrationsCatalog(ctx context.Context, config pgconn.Config, prefix string, version string, ...) error
- func WriteMigrationCatalogSnapshot(fsys afero.Fs, prefix, hash, snapshot string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CatalogPrefixFromConfig ¶
func MigrationCatalogPath ¶
func SanitizedCatalogPrefix ¶
func ShouldCacheMigrationsCatalog ¶
func ShouldCacheMigrationsCatalog() bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.