crash.software
Projects
Pull Requests
Issues
Builds
grype
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
grype
Files
🤬
Sign In
7614621b
ROOT
/
internal
/
config
/
application.go
Search
History
248 lines
|
ISO-8859-1
|
10 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
ErrApplicationConfigNotFound
defaultValueLoader
loadDefaultValues
(*viper.Viper)
parser
parseConfigValues
()
:
error
Application
ConfigPath
:
string
Verbosity
:
uint
Output
:
string
File
:
string
Distro
:
string
GenerateMissingCPEs
:
bool
OutputTemplateFile
:
string
Quiet
:
bool
CheckForAppUpdate
:
bool
OnlyFixed
:
bool
OnlyNotFixed
:
bool
Platform
:
string
CliOptions
:
CliOnlyOptions
Search
:
search
Ignore
:
[]match.IgnoreRule
Exclusions
:
[]string
DB
:
database
ExternalSources
:
externalSources
Match
:
matchConfig
Dev
:
development
FailOn
:
string
FailOnSeverity
:
*vulnerability.Severity
Registry
:
registry
Log
:
logging
ShowSuppressed
:
bool
ByCVE
:
bool
loadDefaultValues
(v *viper.Viper)
String
()
:
string
newApplicationConfig
(v *viper.Viper, cliOpts CliOnlyOptions)
:
*Application
LoadApplicationConfig
(v *viper.Viper, cliOpts CliOnlyOptions)
:
(*Application, error)
readConfig
(v *viper.Viper, configPath string)
:
error
*Application
parseConfigValues
()
:
error
parseLogLevelOption
()
:
error
parseFailOnOption
()
:
error
All occurrences
Please wait...
Page is in error, reload to recover