example1

package
Version: v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2022 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AreaManager

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

AreaManager ...

func NewAreaManager

func NewAreaManager(adaptors *adaptors.Adaptors) *AreaManager

NewAreaManager ...

func (*AreaManager) Upgrade

func (a *AreaManager) Upgrade(oldVersion int) (areas []*m.Area)

Upgrade ...

type EntityManager

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

EntityManager ...

func NewEntityManager

func NewEntityManager(adaptors *adaptors.Adaptors) *EntityManager

NewEntityManager ...

func (*EntityManager) Create

func (e *EntityManager) Create(scripts []*m.Script, areas []*m.Area) []*m.Entity

Create ...

func (EntityManager) Upgrade

func (e EntityManager) Upgrade(oldVersion int, scripts []*m.Script, areas []*m.Area) (entities []*m.Entity, err error)

Upgrade ...

type Example1

type Example1 struct{}

Example1 ...

func (Example1) Create

func (e Example1) Create(adaptors *adaptors.Adaptors,
	accessList access_list.AccessListService,
	scriptService scripts.ScriptService,
	validation *validation.Validate)

Create ...

func (Example1) InstallDemoData

func (e Example1) InstallDemoData(adaptors *adaptors.Adaptors,
	accessList access_list.AccessListService,
	scriptService scripts.ScriptService)

InstallDemoData ...

func (Example1) Upgrade

func (e Example1) Upgrade(oldVersion int,
	adaptors *adaptors.Adaptors,
	accessList access_list.AccessListService,
	scriptService scripts.ScriptService,
	validation *validation.Validate)

Upgrade ...

type ScriptManager

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

ScriptManager ...

func NewScriptManager

func NewScriptManager(adaptors *adaptors.Adaptors,
	scriptService scripts.ScriptService) *ScriptManager

NewScriptManager ...

func (*ScriptManager) Create

func (s *ScriptManager) Create() []*m.Script

Create ...

func (*ScriptManager) Upgrade

func (s *ScriptManager) Upgrade(oldVersion int) (scripts []*m.Script)

Upgrade ...

type TriggerManager

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

TriggerManager ...

func NewTriggerManager

func NewTriggerManager(adaptors *adaptors.Adaptors) *TriggerManager

NewTriggerManager ...

func (*TriggerManager) Create

func (t *TriggerManager) Create(scripts []*m.Script,
	entities []*m.Entity) []*m.Task

Create ...

func (*TriggerManager) Upgrade

func (t *TriggerManager) Upgrade(oldVersion int,
	scripts []*m.Script, entities []*m.Entity) (tasks []*m.Task, err error)

Upgrade ...

Jump to

Keyboard shortcuts

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