Documentation
¶
Index ¶
- Constants
- func Create(adaptors *Adaptors, accessList *access_list.AccessListService, ...)
- func InstallDemoData(adaptors *Adaptors, accessList *access_list.AccessListService, ...)
- func Upgrade(oldVersion int, adaptors *Adaptors, accessList *access_list.AccessListService, ...)
- type ImageManager
- type NodeManager
- type RoleManager
- type ScriptManager
- type TemplateManager
Constants ¶
View Source
const AlexaLightIntentV1 = `` /* 613-byte string literal not displayed */
AlexaLightIntentV1 ...
View Source
const AlexaOnLaunchV1 = `
Alexa.
OutputSpeech("I listen to the order").
Card("office light", "I listen to the order.").
EndSession(false)
`
AlexaOnLaunchV1 ...
View Source
const BaseScript = `
main =->
`
BaseScript ...
View Source
const CmdConditionCheckV1 = `` /* 139-byte string literal not displayed */
CmdConditionCheckV1 ...
View Source
const MbDev1ActionsV1 = `` /* 934-byte string literal not displayed */
MbDev1ActionsV1 ...
View Source
const MbDev1ConditionCheckV1 = `` /* 1954-byte string literal not displayed */
MbDev1ConditionCheckV1 ...
View Source
const MiDoorSensor = `` /* 624-byte string literal not displayed */
MiDoorSensor ...
View Source
const MiPirSensor = `` /* 640-byte string literal not displayed */
MiPirSensor ...
View Source
const MiTempSensor = `` /* 840-byte string literal not displayed */
MiTempSensor ...
View Source
const WflowScenarioWeekdayV1 = `` /* 342-byte string literal not displayed */
WflowScenarioWeekdayV1 ...
View Source
const WflowScenarioWeekendV1 = `` /* 338-byte string literal not displayed */
WflowScenarioWeekendV1 ...
View Source
const WflowScriptV1 = `` /* 245-byte string literal not displayed */
WflowScriptV1 ...
Variables ¶
This section is empty.
Functions ¶
func Create ¶ added in v0.2.0
func Create(adaptors *Adaptors, accessList *access_list.AccessListService, scriptService *ScriptService)
Create ...
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)
Upgrade ...
Types ¶
type ImageManager ¶ added in v0.2.0
type ImageManager struct {
// contains filtered or unexported fields
}
ImageManager ...
func NewImageManager ¶ added in v0.2.0
func NewImageManager(adaptors *adaptors.Adaptors) *ImageManager
NewImageManager ...
func (ImageManager) Create ¶ added in v0.2.0
func (i ImageManager) Create() (imageList map[string]*m.Image)
Create ...
func (ImageManager) Upgrade ¶ added in v0.2.0
func (i ImageManager) Upgrade(oldVersion int) (err error)
Upgrade ...
type NodeManager ¶ added in v0.2.0
type NodeManager struct {
// contains filtered or unexported fields
}
NodeManager ...
func NewNodeManager ¶ added in v0.2.0
func NewNodeManager(adaptors *adaptors.Adaptors) *NodeManager
NewNodeManager ...
func (NodeManager) Create ¶ added in v0.2.0
func (n NodeManager) Create() (node1, node2 *m.Node)
Create ...
type RoleManager ¶ added in v0.2.0
type RoleManager struct {
// contains filtered or unexported fields
}
RoleManager ...
func NewRoleManager ¶ added in v0.2.0
func NewRoleManager(adaptors *adaptors.Adaptors, accessList *access_list.AccessListService) *RoleManager
NewRoleManager ...
func (RoleManager) Upgrade ¶ added in v0.2.0
func (r RoleManager) Upgrade(oldVersion int) (err error)
Upgrade ...
type ScriptManager ¶ added in v0.2.0
type ScriptManager struct {
// contains filtered or unexported fields
}
ScriptManager ...
func NewScriptManager ¶ added in v0.2.0
func NewScriptManager(adaptors *adaptors.Adaptors, scriptService *scripts.ScriptService) *ScriptManager
NewScriptManager ...
func (ScriptManager) Create ¶ added in v0.2.0
func (s ScriptManager) Create() (scripts map[string]*m.Script)
Create ...
func (ScriptManager) Upgrade ¶ added in v0.2.0
func (s ScriptManager) Upgrade(oldVersion int) (err error)
Upgrade ...
type TemplateManager ¶ added in v0.2.0
type TemplateManager struct {
// contains filtered or unexported fields
}
TemplateManager ...
func NewTemplateManager ¶ added in v0.2.0
func NewTemplateManager(adaptors *adaptors.Adaptors) *TemplateManager
NewTemplateManager ...
func (TemplateManager) Upgrade ¶ added in v0.2.0
func (t TemplateManager) Upgrade(oldVersion int) (err error)
Upgrade ...
Click to show internal directories.
Click to hide internal directories.