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) IsRunningInVendorAutomation() bool
- func (c *Cfg) ValidateCfgKey(key string) (string, error)
- type CfgRetriever
- type CfgValue
- type DefaultDirs
- 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
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) 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)
}
type DefaultDirs ¶
type DefaultDirs struct {
CurrentDir string
BinaryDir string
GitRepositoryRootDir string
HomeDir string
BuildDirInContainer string
}
func GetDefaultDirs ¶
func GetDefaultDirs() *DefaultDirs
type PipelineOptions ¶
type PipelineOptions struct {
WorkDir string
WorkDirPath string
MountDir string
MountDirPath string
TargetDir string
TargetDirPath string
TaskName string
EnvVarsDotEnvFilePath string
EnvVarsToScanAndSet []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
InitDaggerWithWorkDirByDefault bool
}
Click to show internal directories.
Click to hide internal directories.