Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Plugin = taskplugin.New("script", "0.1", exec, taskplugin.WithConfig(validConfig, Config{}), ) )
the script plugin execute scripts
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
File string `json:"file"`
Argv []string `json:"argv,omitempty"`
Timeout string `json:"timeout,omitempty"`
Stdin string `json:"stdin,omitempty"`
LastLineNotJSONOutput bool `json:"last_line_not_json,omitempty"`
AllowExitNonZero bool `json:"allow_exit_non_zero,omitempty"`
}
Config is the configuration needed to execute a script
Click to show internal directories.
Click to hide internal directories.