{"modulePath":"github.com/ci-plugins/telegraf","version":"v0.2.4","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package exec\n\n## Types\n\n```go\ntype Clock interface {\n\tNow() time.Time\n}\n```\n\n```go\ntype Command struct {\n\tCommand  string\n\tName     string\n\tInterval int\n\t// contains filtered or unexported fields\n}\n```\n\n```go\ntype CommandRunner struct{}\n```\n\n```go\nfunc (c CommandRunner) Run(command *Command) ([]byte, error)\n```\n\n```go\ntype Exec struct {\n\tCommands []*Command\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewExec() *Exec\n```\n\n```go\nfunc (e *Exec) Description() string\n```\n\n```go\nfunc (e *Exec) Gather(acc plugins.Accumulator) error\n```\n\n```go\nfunc (e *Exec) SampleConfig() string\n```\n\n```go\ntype RealClock struct{}\n```\n\n```go\nfunc (c RealClock) Now() time.Time\n```\n\n```go\ntype Runner interface {\n\tRun(*Command) ([]byte, error)\n}\n```\n\n","path":"github.com/ci-plugins/telegraf/plugins/exec","name":"exec","synopsis":"","isRedistributable":true}
