Documentation ¶
Overview ¶
Package execer provides a trigger type that executes an external program.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ExecerSpec = conf.SectionSpec{ { Name: "Command", Type: conf.StringSliceType, Description: "The command to execute.", Aliases: []string{"Run"}, Required: true, }, { Name: "Stdin", Type: conf.StringType, Description: "The format to pass the event on stdin. Possible values are 'json', 'yaml', 'no' (default) or 'close'.", Default: "no", }, { Name: "CommandTemplates", Type: conf.BoolType, Default: "true", Description: "Whether or not the commands are interpolated using text/template.", }, { Name: "MaxProcTime", Type: conf.DurationType, Default: "1m", Description: "Maximum time a Command= is allowed to run before it will be killed.", }, }
Functions ¶
func AddTriggerType ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.