Versions in this module Expand all Collapse all v0 v0.2.9 Feb 13, 2024 Changes in this version + func GetFlags(fs *flag.FlagSet) []*flag.Flag + func Invoke() (string, error) + func RenderTemplate(w io.Writer, text string, data interface{}) + type Factory struct + func (*Factory) Metadata() *trigger.Metadata + func (*Factory) New(config *trigger.Config) (trigger.Trigger, error) + type HandlerSettings struct + FlagDesc []interface{} + Long string + Short string + Usage string + type Output struct + Args []interface{} + Flags map[string]interface{} + func (o *Output) FromMap(values map[string]interface{}) error + func (o *Output) ToMap() map[string]interface{} + type Reply struct + Data interface{} + func (r *Reply) FromMap(values map[string]interface{}) error + func (r *Reply) ToMap() map[string]interface{} + type Settings struct + Long string + SingleCmd bool + Usage string + type Trigger struct + func (t *Trigger) Initialize(ctx trigger.InitContext) error + func (t *Trigger) Invoke(handler trigger.Handler, flags map[string]interface{}, args []string) (string, error) + func (t *Trigger) Metadata() *trigger.Metadata + func (t *Trigger) Start() error + func (t *Trigger) Stop() error Other modules containing this package github.com/AiRISTAFlowInc/fs-contrib