Documentation
¶
Overview ¶
Package cli implements the compliance check command line interface
Package cli implements the compliance check command line interface
Index ¶
- func FillCheckFlags(flagSet *pflag.FlagSet, checkArgs *CheckParams)
- func FillLoadFlags(flagSet *pflag.FlagSet, loadArgs *LoadParams)
- func RunCheck(log log.Component, config config.Component, _ secrets.Component, ...) error
- func RunLoad(_ log.Component, _ config.Component, loadArgs *LoadParams) error
- type CheckParams
- type LoadParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FillCheckFlags ¶
func FillCheckFlags(flagSet *pflag.FlagSet, checkArgs *CheckParams)
FillCheckFlags fills the check command flags
func FillLoadFlags ¶
func FillLoadFlags(flagSet *pflag.FlagSet, loadArgs *LoadParams)
FillLoadFlags fills the load command flags with the provided parameters
Types ¶
type CheckParams ¶
type CheckParams struct {
Args []string
Framework string
File string
Verbose bool
Report bool
OverrideRegoInput string
DumpReports string
}
CheckParams needs to be exported because the compliance subcommand is tightly coupled to this subcommand and tests need to be able to access this type.
type LoadParams ¶
LoadParams contains parameters for the compliance load command
Click to show internal directories.
Click to hide internal directories.