Documentation
¶
Overview ¶
Package commandfile provides common interface to collector input file
- Copyright (C) 2023 Intel Corporation
- SPDX-License-Identifier: MIT
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { Name string `default:"test" yaml:"name"` Binpath string `default:"." yaml:"bin_path"` Timeout int `default:"300" yaml:"command_timeout"` }
func (*Arguments) UnmarshalYAML ¶
type Command ¶
type Command struct { Label string `yaml:"label"` Command string `yaml:"command"` Modprobe string `yaml:"modprobe"` Superuser bool `default:"false" yaml:"superuser"` Run bool `default:"false" yaml:"run"` Parallel bool `default:"false" yaml:"parallel"` }
func (*Command) UnmarshalYAML ¶
type CommandFile ¶
Click to show internal directories.
Click to hide internal directories.