Documentation ¶
Index ¶
- type AspectNodeProvider
- type Stringifier
- func (this *Stringifier) ConditionalEvent(doc *etree.Document, element deploymentmodel.Element) (err error)
- func (this *Stringifier) Deployment(deployment deploymentmodel.Deployment, userId string, token auth.Token) (xml string, err error)
- func (this *Stringifier) Element(doc *etree.Document, element deploymentmodel.Element, userId string, ...) error
- func (this *Stringifier) MessageEvent(doc *etree.Document, element deploymentmodel.Element) (err error)
- func (this *Stringifier) Notification(doc *etree.Document, element deploymentmodel.Element, userId string) (err error)
- func (this *Stringifier) Task(doc *etree.Document, element deploymentmodel.Element, token auth.Token) (err error)
- func (this *Stringifier) TimeEvent(doc *etree.Document, element deploymentmodel.Element) (err error)
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)
Click to show internal directories.
Click to hide internal directories.