env1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const BaseScript = `

main =->
`
View Source
const CmdConditionCheckV1 = `` /* 139-byte string literal not displayed */
View Source
const MbDev1ActionsV1 = `` /* 934-byte string literal not displayed */
View Source
const MbDev1ConditionCheckV1 = `` /* 1954-byte string literal not displayed */
View Source
const MiDoorSensor = `` /* 624-byte string literal not displayed */
View Source
const MiPirSensor = `` /* 640-byte string literal not displayed */
View Source
const MiTempSensor = `` /* 840-byte string literal not displayed */
View Source
const WflowScenarioWeekdayV1 = `` /* 342-byte string literal not displayed */
View Source
const WflowScenarioWeekendV1 = `` /* 338-byte string literal not displayed */
View Source
const WflowScriptV1 = `` /* 245-byte string literal not displayed */

Variables

This section is empty.

Functions

func Create added in v0.2.0

func Create(adaptors *Adaptors,
	accessList *access_list.AccessListService,
	scriptService *ScriptService)

func InstallDemoData added in v0.2.0

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

env1

node1 + node2 script1 + script2 + script3 device1

  • child device2

device3

func Upgrade added in v0.2.0

func Upgrade(oldVersion int,
	adaptors *Adaptors,
	accessList *access_list.AccessListService,
	scriptService *ScriptService)

Types

type ImageManager added in v0.2.0

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

func NewImageManager added in v0.2.0

func NewImageManager(adaptors *adaptors.Adaptors) *ImageManager

func (ImageManager) Create added in v0.2.0

func (i ImageManager) Create() (imageList map[string]*m.Image)

func (ImageManager) Upgrade added in v0.2.0

func (i ImageManager) Upgrade(oldVersion int) (err error)

type NodeManager added in v0.2.0

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

func NewNodeManager added in v0.2.0

func NewNodeManager(adaptors *adaptors.Adaptors) *NodeManager

func (NodeManager) Create added in v0.2.0

func (n NodeManager) Create() (node1, node2 *m.Node)

type RoleManager added in v0.2.0

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

func NewRoleManager added in v0.2.0

func NewRoleManager(adaptors *adaptors.Adaptors,
	accessList *access_list.AccessListService) *RoleManager

func (RoleManager) Create added in v0.2.0

func (r RoleManager) Create()

func (RoleManager) Upgrade added in v0.2.0

func (r RoleManager) Upgrade(oldVersion int) (err error)

type ScriptManager added in v0.2.0

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

func NewScriptManager added in v0.2.0

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

func (ScriptManager) Create added in v0.2.0

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

func (ScriptManager) Upgrade added in v0.2.0

func (s ScriptManager) Upgrade(oldVersion int) (err error)

type TemplateManager added in v0.2.0

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

func NewTemplateManager added in v0.2.0

func NewTemplateManager(adaptors *adaptors.Adaptors) *TemplateManager

func (TemplateManager) Create added in v0.2.0

func (t TemplateManager) Create()

func (TemplateManager) Upgrade added in v0.2.0

func (t TemplateManager) Upgrade(oldVersion int) (err error)

Jump to

Keyboard shortcuts

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