package
2.7.11
Repository: https://github.com/influxdata/influxdb.git
Documentation: pkg.go.dev

# Packages

package all This package is the canonical location for all migrations being made against the single shared kv.Store implementation used by InfluxDB (while it remains a single store).

# Functions

CreateBuckets returns a new BucketsMigration Spec.
CreateNewMigration persists a new migration file in the appropriate location and updates the appropriate all.go list of migrations.
DeleteBuckets returns a new BucketsMigration Spec.
NewMigrator constructs and configures a new Migrator.

# Constants

DownMigrationState is for a migration not yet applied.
UpMigration State is for a migration which has been applied.

# Structs

BucketsMigration is a migration Spec which creates the provided list of buckets on a store when Up is called and deletes them on Down.
Migration is a record of a particular migration.
Migrator is a type which manages migrations.

# Interfaces

Spec is a specification for a particular migration.

# Type aliases

MigrationState is a type for describing the state of a migration.