adapter

package
v0.0.0-...-3779000 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ControllerConstruct

func ControllerConstruct(_ sfplugins.StatefunExecutor, ctx *sfplugins.StatefunContextProcessor)

@property:<json path>

@function:<function.name.id>:[[arg1 value],[arg2 value],...[argN value]] - ideal

@function:getChildren(linkType) - now

func ControllerObjectTrigger

func ControllerObjectTrigger(_ sfplugins.StatefunExecutor, ctxProcessor *sfplugins.StatefunContextProcessor)

func InitSchema

func InitSchema(runtime *statefun.Runtime) error

func RegisterFunctions

func RegisterFunctions(runtime *statefun.Runtime)

func StartController

payload: {
	declaration:{},
	uuids: []string,
	name: string,
}
controller_id: {
	name: string,
	declaration: {...},
},

func UpdateControllerObject

func UpdateControllerObject(_ sfplugins.StatefunExecutor, ctx *sfplugins.StatefunContextProcessor)

fetch declaration from controller send to construct compare result if it's different send update to controller

Types

type Link struct {
	Source string   `json:"source"`
	Target string   `json:"target"`
	Type   string   `json:"type,omitempty"`
	Tags   []string `json:"tags,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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