Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler is a trigger handler
type HandlerSettings ¶
type HandlerSettings struct {
ASetting string `md:aSetting,required"`
}
HandlerSettings are the settings for the dummy trigger handlers
type Output ¶
type Output struct {
Content interface{} `md:"content"`
}
Output is the output of the dummy trigger
type Reply ¶
type Reply struct {
AReply interface{} `md:"aReply"`
}
Reply is the reply the trigger gets
type Settings ¶
type Settings struct {
ASetting int `md:"aSetting,required"`
}
Settings are the settings for the dummy trigger
type Trigger ¶
type Trigger struct {
// contains filtered or unexported fields
}
Trigger is a dummy trigger for testing
func (*Trigger) Initialize ¶
func (t *Trigger) Initialize(ctx trigger.InitContext) error
type TriggerFactory ¶
type TriggerFactory struct { }
TriggerFactory creates dummy triggers for testing
func (*TriggerFactory) Metadata ¶
func (f *TriggerFactory) Metadata() *trigger.Metadata
Click to show internal directories.
Click to hide internal directories.