local_migrations

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: GPL-3.0 Imports: 56 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddVariableIfNotExist added in v0.13.0

func AddVariableIfNotExist(adaptors *adaptors.Adaptors, ctx context.Context, name, value string) (err error)

Types

type Migration

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

Migration ...

type MigrationAddVar1 added in v0.13.1

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

func NewMigrationAddVar1 added in v0.13.1

func NewMigrationAddVar1(adaptors *adaptors.Adaptors) *MigrationAddVar1

func (*MigrationAddVar1) Up added in v0.13.1

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

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 MigrationAutomations added in v0.11.0

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

func NewMigrationAutomations added in v0.11.0

func NewMigrationAutomations(adaptors *adaptors.Adaptors, endpoint *endpoint.Endpoint) *MigrationAutomations

func (*MigrationAutomations) Up added in v0.11.0

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

type MigrationBackup added in v0.13.0

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

func NewMigrationBackup added in v0.13.0

func NewMigrationBackup(adaptors *adaptors.Adaptors) *MigrationBackup

func (*MigrationBackup) Up added in v0.13.0

func (n *MigrationBackup) Up(ctx context.Context, adaptors *adaptors.Adaptors) 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 MigrationEncryptor added in v0.12.0

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

func NewMigrationEncryptor added in v0.12.0

func NewMigrationEncryptor(adaptors *adaptors.Adaptors) *MigrationEncryptor

func (*MigrationEncryptor) Up added in v0.12.0

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

type MigrationEntity added in v0.11.0

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

func NewMigrationEntity added in v0.11.0

func NewMigrationEntity(adaptors *adaptors.Adaptors, endpoint *endpoint.Endpoint) *MigrationEntity

func (*MigrationEntity) Up added in v0.11.0

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

type MigrationGate added in v0.13.0

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

func NewMigrationGate added in v0.13.0

func NewMigrationGate(adaptors *adaptors.Adaptors) *MigrationGate

func (*MigrationGate) Up added in v0.13.0

func (n *MigrationGate) 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 MigrationJavascript added in v0.12.0

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

func NewMigrationJavascript added in v0.12.0

func NewMigrationJavascript(adaptors *adaptors.Adaptors) *MigrationJavascript

func (*MigrationJavascript) Up added in v0.12.0

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

type MigrationJavascriptV2 added in v0.12.0

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

func NewMigrationJavascriptV2 added in v0.12.0

func NewMigrationJavascriptV2(adaptors *adaptors.Adaptors) *MigrationJavascriptV2

func (*MigrationJavascriptV2) Up added in v0.12.0

type MigrationMqttBridge added in v0.12.0

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

func NewMigrationMqttBridge added in v0.12.0

func NewMigrationMqttBridge(adaptors *adaptors.Adaptors) *MigrationMqttBridge

func (*MigrationMqttBridge) Up added in v0.12.0

func (n *MigrationMqttBridge) Up(ctx context.Context, adaptors *adaptors.Adaptors) 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 MigrationRoleNobody added in v0.9.2

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

func NewMigrationRoleNobody added in v0.9.2

func NewMigrationRoleNobody(adaptors *adaptors.Adaptors) *MigrationRoleNobody

func (*MigrationRoleNobody) Up added in v0.9.2

func (r *MigrationRoleNobody) Up(ctx context.Context, adaptors *adaptors.Adaptors) (err 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 MigrationScheduler added in v0.12.0

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

func NewMigrationScheduler added in v0.12.0

func NewMigrationScheduler(adaptors *adaptors.Adaptors) *MigrationScheduler

func (*MigrationScheduler) Up added in v0.12.0

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

type MigrationScripts added in v0.11.0

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

func NewMigrationScripts added in v0.11.0

func NewMigrationScripts(adaptors *adaptors.Adaptors,
	scriptService scripts.ScriptService) *MigrationScripts

func (*MigrationScripts) Up added in v0.11.0

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

type MigrationSpeedtest added in v0.13.0

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

func NewMigrationSpeedtest added in v0.13.0

func NewMigrationSpeedtest(adaptors *adaptors.Adaptors) *MigrationSpeedtest

func (*MigrationSpeedtest) Up added in v0.13.0

func (n *MigrationSpeedtest) Up(ctx context.Context, adaptors *adaptors.Adaptors) 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 MigrationTimezone added in v0.12.0

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

func NewMigrationTimezone added in v0.12.0

func NewMigrationTimezone(adaptors *adaptors.Adaptors) *MigrationTimezone

func (*MigrationTimezone) Up added in v0.12.0

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

type MigrationUpdatePermissions added in v0.14.1

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

func NewMigrationUpdatePermissions added in v0.14.1

func NewMigrationUpdatePermissions(adaptors *adaptors.Adaptors,
	accessList access_list.AccessListService,
	orm *orm.Orm) *MigrationUpdatePermissions

func (*MigrationUpdatePermissions) Up added in v0.14.1

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

type MigrationWebdav added in v0.15.0

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

func NewMigrationWebdav added in v0.15.0

func NewMigrationWebdav(adaptors *adaptors.Adaptors) *MigrationWebdav

func (*MigrationWebdav) Up added in v0.15.0

func (n *MigrationWebdav) Up(ctx context.Context, adaptors *adaptors.Adaptors) 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, adaptors *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