Documentation ¶
Overview ¶
cmdconfig contains the input config for commands. This is in its own package to avoid an import cycle with the clientinfo package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Name string `json:"name" toml:"name" xml:"name" yaml:"name"` Command string `json:"-" toml:"command" xml:"command" yaml:"command"` Shell bool `json:"shell" toml:"shell" xml:"shell" yaml:"shell"` Log bool `json:"log" toml:"log" xml:"log" yaml:"log"` Notify bool `json:"notify" toml:"notify" xml:"notify" yaml:"notify"` Timeout cnfg.Duration `json:"-" toml:"timeout" xml:"timeout" yaml:"timeout"` Hash string `json:"hash" toml:"-" xml:"-" yaml:"-"` Args int `json:"args" toml:"-" xml:"-" yaml:"-"` }
Click to show internal directories.
Click to hide internal directories.