local_migrations

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2022 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Migration

type Migration interface {
	Up(context.Context, *adaptors.Adaptors) error
}

Migration ...

type MigrationAreas

type MigrationAreas struct {
	// contains filtered or unexported fields
}

func NewMigrationAreas

func NewMigrationAreas(adaptors *adaptors.Adaptors) *MigrationAreas

func (*MigrationAreas) Up

func (n *MigrationAreas) Up(ctx context.Context, adaptors *adaptors.Adaptors) (err error)

type MigrationDashboard added in v0.7.1

type MigrationDashboard struct {
	// contains filtered or unexported fields
}

func NewMigrationDashboard added in v0.7.1

func NewMigrationDashboard(adaptors *adaptors.Adaptors) *MigrationDashboard

func (*MigrationDashboard) Up added in v0.7.1

func (n *MigrationDashboard) Up(ctx context.Context, adaptors *adaptors.Adaptors) error

type MigrationImages

type MigrationImages struct {
	// contains filtered or unexported fields
}

func NewMigrationImages

func NewMigrationImages(adaptors *adaptors.Adaptors, dir string) *MigrationImages

func (*MigrationImages) Up

func (i *MigrationImages) Up(ctx context.Context, adaptors *adaptors.Adaptors) (err error)

type MigrationPlugins

type MigrationPlugins struct {
	// contains filtered or unexported fields
}

func NewMigrationPlugins

func NewMigrationPlugins(adaptors *adaptors.Adaptors) *MigrationPlugins

func (*MigrationPlugins) Up

func (n *MigrationPlugins) Up(ctx context.Context, adaptors *adaptors.Adaptors) error

type MigrationRoles

type MigrationRoles struct {
	// contains filtered or unexported fields
}

func NewMigrationRoles

func NewMigrationRoles(adaptors *adaptors.Adaptors,
	accessList access_list.AccessListService,
	validation *validation.Validate) *MigrationRoles

func (*MigrationRoles) Up

func (r *MigrationRoles) Up(ctx context.Context, adaptors *adaptors.Adaptors) (err error)

type MigrationTemplates

type MigrationTemplates struct {
	// contains filtered or unexported fields
}

func NewMigrationTemplates

func NewMigrationTemplates(adaptors *adaptors.Adaptors) *MigrationTemplates

func (*MigrationTemplates) Up

func (t *MigrationTemplates) Up(ctx context.Context, adaptors *adaptors.Adaptors) (err error)

type MigrationZones

type MigrationZones struct {
	// contains filtered or unexported fields
}

func NewMigrationZones

func NewMigrationZones(adaptors *adaptors.Adaptors) *MigrationZones

func (*MigrationZones) Up

func (n *MigrationZones) Up(_ context.Context, adaptors *adaptors.Adaptors) (err error)

type Migrations

type Migrations struct {
	// contains filtered or unexported fields
}

func NewMigrations

func NewMigrations(list []Migration) *Migrations

func (*Migrations) Up

func (t *Migrations) Up(ctx context.Context, tx *adaptors.Adaptors, ver string) (newVersion string, err error)

Jump to

Keyboard shortcuts

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