Documentation ¶
Index ¶
Constants ¶
View Source
const ( PromoterDefaultThreads = 10 PromoterDefaultOutputFormat = "yaml" PromoterDefaultMaxImageSize = 2048 PromoterDefaultSeverityThreshold = -1 // flags. PromoterManifestFlag = "manifest" PromoterThinManifestDirFlag = "thin-manifest-dir" PromoterSnapshotFlag = "snapshot" PromoterManifestBasedSnapshotOfFlag = "manifest-based-snapshot-of" PromoterOutputFlag = "output" )
Variables ¶
View Source
var PromoterAllowedOutputFormats = []string{
"csv",
"yaml",
}
Functions ¶
func RunAuditCmd ¶
func RunAuditCmd(opts *AuditOptions) error
func RunPromoteCmd ¶
func RunPromoteCmd(opts *RunOptions) error
TODO: Function 'runPromoteCmd' has too many statements (97 > 40) (funlen) nolint: funlen,gocognit,gocyclo
func RunVersionCmd ¶
func RunVersionCmd(opts *VersionOptions) error
Types ¶
type AuditOptions ¶
type RootOptions ¶
type RootOptions struct {
LogLevel string
}
type RunOptions ¶
type RunOptions struct { Manifest string ThinManifestDir string KeyFiles string Snapshot string SnapshotTag string OutputFormat string SnapshotSvcAcct string ManifestBasedSnapshotOf string Threads int MaxImageSize int SeverityThreshold int Confirm bool JSONLogSummary bool ParseOnly bool MinimalSnapshot bool UseServiceAcct bool }
type VersionOptions ¶
type VersionOptions struct {
JSON bool
}
Click to show internal directories.
Click to hide internal directories.