Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfigDecoder ¶ added in v0.0.23
NewConfigDecoder reads the provided into a new yaml decoder and leaves the file open
Types ¶
type CloudProviders ¶
type CloudProviders struct {
Azure azureconfig.Azure `yaml:"Azure"`
}
CloudProviders config options
type GlobalOpts ¶ added in v0.0.26
type GlobalOpts struct { StartTime time.Time VarsFile string InstallDir string `yaml:"InstallDir"` TmpDir string `yaml:"TmpDir"` GodogResultsFormat string `yaml:"GodogResultsFormat"` CloudProviders CloudProviders `yaml:"CloudProviders"` WriteDirectory string `yaml:"WriteDirectory"` LogLevel string `yaml:"LogLevel"` TagExclusions []string `yaml:"TagExclusions"` TagInclusions []string `yaml:"TagInclusions"` WriteConfig string `yaml:"WriteConfig"` }
GlobalOpts provides configurable options that will be used throughout the SDK
var GlobalConfig GlobalOpts
GlobalConfig ...
func (*GlobalOpts) CleanupTmp ¶ added in v0.0.28
func (ctx *GlobalOpts) CleanupTmp()
CleanupTmp is used to dispose of any temp resources used during execution
func (*GlobalOpts) LogConfigState ¶ added in v0.0.28
func (ctx *GlobalOpts) LogConfigState()
LogConfigState ...
func (*GlobalOpts) OutputDir ¶ added in v0.0.28
func (ctx *GlobalOpts) OutputDir() string
OutputDir parses a filepath based on GlobalOpts.InstallDir and the datetime this was initialized
func (*GlobalOpts) SetTmpDir ¶ added in v0.0.26
func (ctx *GlobalOpts) SetTmpDir(path string)
SetTmpDir sets the location that temporary files will be written to
Click to show internal directories.
Click to hide internal directories.