stringifier

package
v0.0.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AspectNodeProvider

type AspectNodeProvider func(token auth.Token, aspectNodeId string) (aspectNode devicemodel.AspectNode, err error)

type Stringifier

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

func New

func New(conf config.Config, aspectNodeProvider AspectNodeProvider) *Stringifier

func (*Stringifier) ConditionalEvent

func (this *Stringifier) ConditionalEvent(doc *etree.Document, element deploymentmodel.Element) (err error)

func (*Stringifier) Deployment

func (this *Stringifier) Deployment(deployment deploymentmodel.Deployment, userId string, token auth.Token) (xml string, err error)

func (*Stringifier) Element

func (this *Stringifier) Element(doc *etree.Document, element deploymentmodel.Element, userId string, token auth.Token) error

func (*Stringifier) MessageEvent

func (this *Stringifier) MessageEvent(doc *etree.Document, element deploymentmodel.Element) (err error)

func (*Stringifier) Notification

func (this *Stringifier) Notification(doc *etree.Document, element deploymentmodel.Element, userId string) (err error)

func (*Stringifier) Task

func (this *Stringifier) Task(doc *etree.Document, element deploymentmodel.Element, token auth.Token) (err error)

func (*Stringifier) TimeEvent

func (this *Stringifier) TimeEvent(doc *etree.Document, element deploymentmodel.Element) (err error)

Jump to

Keyboard shortcuts

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