local_migrations

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: GPL-3.0 Imports: 63 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 Common added in v0.19.0

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

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 MigrationAddVar2 added in v0.17.0

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

func NewMigrationAddVar2 added in v0.17.0

func NewMigrationAddVar2(adaptors *adaptors.Adaptors) *MigrationAddVar2

func (*MigrationAddVar2) Up added in v0.17.0

func (n *MigrationAddVar2) 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 MigrationAutocert added in v0.17.0

type MigrationAutocert struct {
	Common
}

func NewMigrationAutocert added in v0.17.0

func NewMigrationAutocert(adaptors *adaptors.Adaptors) *MigrationAutocert

func (*MigrationAutocert) Up added in v0.17.0

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

type MigrationMdns struct {
	Common
}

func NewMigrationMdns added in v0.20.0

func NewMigrationMdns(adaptors *adaptors.Adaptors) *MigrationMdns

func (*MigrationMdns) Up added in v0.20.0

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

type MigrationMqttBridge added in v0.12.0

type MigrationMqttBridge struct {
	Common
}

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 MigrationPachka added in v0.18.0

type MigrationPachka struct {
	Common
}

func NewMigrationPachka added in v0.18.0

func NewMigrationPachka(adaptors *adaptors.Adaptors) *MigrationPachka

func (*MigrationPachka) Up added in v0.18.0

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

type MigrationPlugins

type MigrationPlugins struct {
	Common
}

func NewMigrationPlugins

func NewMigrationPlugins(adaptors *adaptors.Adaptors) *MigrationPlugins

func (*MigrationPlugins) Up

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

type MigrationRemoveTriggersPlugin added in v0.19.0

type MigrationRemoveTriggersPlugin struct {
	Common
}

func NewMigrationRemoveTriggersPlugin added in v0.19.0

func NewMigrationRemoveTriggersPlugin(adaptors *adaptors.Adaptors) *MigrationRemoveTriggersPlugin

func (*MigrationRemoveTriggersPlugin) Up added in v0.19.0

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 {
	Common
}

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 MigrationVosk added in v0.20.0

type MigrationVosk struct {
	Common
}

func NewMigrationVosk added in v0.20.0

func NewMigrationVosk(adaptors *adaptors.Adaptors) *MigrationVosk

func (*MigrationVosk) Up added in v0.20.0

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

type MigrationWebdav added in v0.15.0

type MigrationWebdav struct {
	Common
}

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 MigrationWebhook added in v0.18.0

type MigrationWebhook struct {
	Common
}

func NewMigrationWebhook added in v0.18.0

func NewMigrationWebhook(adaptors *adaptors.Adaptors) *MigrationWebhook

func (*MigrationWebhook) Up added in v0.18.0

func (n *MigrationWebhook) 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