Documentation
¶
Overview ¶
Package core implements cross-functional features used across the application.
Includes default configuration settings.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AuthorName = "Jack Sullivan" AuthorEmail = "jack@divergent.codes" Version = "dev-snapshot" Commit = "unspecified" Date = "unspecified" BuiltBy = "unspecified" )
Build-time variables that can be overridden by LDFLAGS.
View Source
var ( OptStr_Config = "config" OptStr_Debug = "debug" OptStr_OutJSON = "out-json" OptStr_Quiet = "quiet" OptStr_Verbose = "verbose" )
Global configuration options (viper lookup strings).
View Source
var ( OptStr_NoConflict = "no-conflict" OptStr_OutFile = "outfile.path" OptStr_FileMode = "outfile.mode" OptStr_AWS_Region = "aws.region" OptStr_AWS_SsmParameterStore = "aws.ssm_param" OptStr_AWS_SecretManager = "aws.sm_secret" //#nosec )
Fetch configuration options
Functions ¶
func InitConfigDefaults ¶
func InitConfigDefaults()
InitConfigDefaults intializes the default configuration settings for the program.
func InitConfigInstance ¶ added in v0.0.4
func InitConfigInstance()
func PrintAlways ¶
func PrintAlways(message string)
Always print message, even when --quiet is passed.
func PrintFatal ¶
Print message and immediately exit with exitCode.
func PrintNormal ¶
func PrintNormal(message string)
Always print message, except when --quiet is passed.
func PrintVerbose ¶
func PrintVerbose(message string)
Only print message when --verbose or --debug is passed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.