Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigFilePath ¶
func GetConfigFilePath() string
GetConfigFilePath gets HCL config file path from CLI args or print usage and exit
func GetDeckerDir ¶
func GetDeckerDir() string
GetDeckerDir finds the directory the "decker" binary is in.
func GetPluginDirectory ¶
func GetPluginDirectory() string
GetPluginDirectory gets the default directory decker searches for plugins.
func GetPluginHCLFilePath ¶
GetPluginHCLFilePath is given a plugin name and returns the path to its HCL config file (which defines its inputs and outputs).
func GetPluginPath ¶
GetPluginPath takes the name of a plugin, searches the plugin directories for a match, and returns the path to the plugin or empty string if the plugin isn't found
func GetReportFilePath ¶
GetReportFilePath is given a resource name and returns the path for its report file. The directory can be set using environment variable DECKER_REPORTS_DIR or will default to "/tmp/reports"
func GetReportsDir ¶
func GetReportsDir() string
GetReportsDir returns a directory can be set using environment variable DECKER_REPORTS_DIR or will default to "/tmp/reports"
Types ¶
This section is empty.