Documentation
¶
Index ¶
- func ShowCLITitle()
- type CLIGlobalArgs
- type Cfg
- func (c *Cfg) GetFromAny(key string) (CfgValue, error)
- func (c *Cfg) GetFromEnvVars(key string) (CfgValue, error)
- func (c *Cfg) GetFromViper(key string) (CfgValue, error)
- func (c *Cfg) GetFromViperOrDefault(key string, defaultValue interface{}) (CfgValue, error)
- func (c *Cfg) GetStringInterfaceMapFromViper(key string) (CfgValue, error)
- func (c *Cfg) GetStringSliceFromViper(key string) (CfgValue, error)
- func (c *Cfg) IsRunningInVendorAutomation() bool
- func (c *Cfg) ValidateCfgKey(key string) (string, error)
- type CfgRetriever
- type CfgValue
- type DefaultDirs
- type PipelineDirs
- type PipelineOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShowCLITitle ¶
func ShowCLITitle()
Types ¶
type CLIGlobalArgs ¶
type CLIGlobalArgs struct { WorkingDir string MountDir string TargetDir string TaskName string ScanEnvVarKeys []string EnvKeyValuePairsToSet map[string]interface{} EnvKeyValuePairsToSetString map[string]string ScanAWSKeys bool ScanTerraformVars bool ScanEnvVarsWithPrefix []string DotEnvFile string ScanAllEnvVars bool CustomCommands []string InitDaggerWithWorkDirByDefault bool RunInVendor bool }
func GetCLIGlobalArgs ¶
func GetCLIGlobalArgs() (CLIGlobalArgs, error)
type Cfg ¶
type Cfg struct {
// contains filtered or unexported fields
}
func (*Cfg) GetFromViperOrDefault ¶ added in v0.2.2
func (*Cfg) GetStringInterfaceMapFromViper ¶ added in v0.2.9
func (*Cfg) GetStringSliceFromViper ¶ added in v0.2.9
func (*Cfg) IsRunningInVendorAutomation ¶
type CfgRetriever ¶
type CfgRetriever interface { GetFromViper(key string) (CfgValue, error) GetFromViperOrDefault(key string, defaultValue interface{}) (CfgValue, error) GetFromEnvVars(key string) (CfgValue, error) GetFromAny(key string) (CfgValue, error) IsRunningInVendorAutomation() bool ValidateCfgKey(key string) (string, error) GetStringSliceFromViper(key string) (CfgValue, error) GetStringInterfaceMapFromViper(key string) (CfgValue, error) }
type DefaultDirs ¶
type DefaultDirs struct { CurrentDir string BinaryDir string GitRepositoryRootDir string HomeDir string BuildDirInContainer string }
func GetDefaultDirs ¶
func GetDefaultDirs() *DefaultDirs
type PipelineDirs ¶ added in v0.2.6
type PipelineOptions ¶
type PipelineOptions struct { WorkDir string WorkDirPath string MountDir string MountDirPath string TargetDir string TargetDirPath string TaskName string EnvVarsDotEnvFilePath string EnvVarsToScanAndSet []string EnvVarsToScanByPrefix []string EnvKeyValuePairsToSet map[string]string EnvVarsFromDotEnvFile map[string]string EnvVarsAWSKeysToScan map[string]string // Automatic discovery of environment variables, for well-known use cases. IsAWSEnvVarKeysToScanEnabled bool IsTerraformVarsScanEnabled bool IsAllEnvVarsToScanEnabled bool IsEnvVarsToScanFromDotEnvFile bool IsEnvVarsToScanByPrefix bool InitDaggerWithWorkDirByDefault bool }
Click to show internal directories.
Click to hide internal directories.