Documentation
¶
Index ¶
- Constants
- func ControlCountersForResource(l *helpersv1.AllLists) string
- type ClusterPrinter
- type ImagePrinter
- func (ip *ImagePrinter) PrintConfigurationsScanning(summaryDetails *reportsummary.SummaryDetails, sortedControlIDs [][]string, ...)
- func (ip *ImagePrinter) PrintImageScanning(summary *imageprinter.ImageScanSummary)
- func (ip *ImagePrinter) PrintImageScanningTable(summary imageprinter.ImageScanSummary)
- func (ip *ImagePrinter) PrintNextSteps()
- type MainPrinter
- type RepoPrinter
- type SummaryPrinter
- type WorkloadPrinter
Constants ¶
View Source
const (
TopPackagesNumber = 5 // number of top packages to display
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClusterPrinter ¶
type ClusterPrinter struct {
// contains filtered or unexported fields
}
func NewClusterPrinter ¶
func NewClusterPrinter(writer *os.File) *ClusterPrinter
func (*ClusterPrinter) PrintConfigurationsScanning ¶
func (cp *ClusterPrinter) PrintConfigurationsScanning(summaryDetails *reportsummary.SummaryDetails, sortedControlIDs [][]string, topWorkloadsByScore []reporthandling.IResource)
func (*ClusterPrinter) PrintImageScanning ¶
func (cp *ClusterPrinter) PrintImageScanning(summary *imageprinter.ImageScanSummary)
func (*ClusterPrinter) PrintNextSteps ¶
func (cp *ClusterPrinter) PrintNextSteps()
type ImagePrinter ¶
type ImagePrinter struct {
// contains filtered or unexported fields
}
func NewImagePrinter ¶
func NewImagePrinter(writer *os.File, verboseMode bool) *ImagePrinter
func (*ImagePrinter) PrintConfigurationsScanning ¶
func (ip *ImagePrinter) PrintConfigurationsScanning(summaryDetails *reportsummary.SummaryDetails, sortedControlIDs [][]string, topWorkloadsByScore []reporthandling.IResource)
func (*ImagePrinter) PrintImageScanning ¶
func (ip *ImagePrinter) PrintImageScanning(summary *imageprinter.ImageScanSummary)
func (*ImagePrinter) PrintImageScanningTable ¶
func (ip *ImagePrinter) PrintImageScanningTable(summary imageprinter.ImageScanSummary)
func (*ImagePrinter) PrintNextSteps ¶
func (ip *ImagePrinter) PrintNextSteps()
type MainPrinter ¶
type MainPrinter interface { PrintConfigurationsScanning(summaryDetails *reportsummary.SummaryDetails, sortedControls [][]string, topWorkloadsByScore []reporthandling.IResource) PrintImageScanning(imageScanSummary *imageprinter.ImageScanSummary) PrintNextSteps() }
type RepoPrinter ¶
type RepoPrinter struct {
// contains filtered or unexported fields
}
func NewRepoPrinter ¶
func NewRepoPrinter(writer *os.File, inputPatterns []string) *RepoPrinter
func (*RepoPrinter) PrintConfigurationsScanning ¶
func (rp *RepoPrinter) PrintConfigurationsScanning(summaryDetails *reportsummary.SummaryDetails, sortedControlIDs [][]string, topWorkloadsByScore []reporthandling.IResource)
func (*RepoPrinter) PrintImageScanning ¶
func (rp *RepoPrinter) PrintImageScanning(summary *imageprinter.ImageScanSummary)
func (*RepoPrinter) PrintNextSteps ¶
func (rp *RepoPrinter) PrintNextSteps()
type SummaryPrinter ¶
type SummaryPrinter struct {
// contains filtered or unexported fields
}
func NewSummaryPrinter ¶
func NewSummaryPrinter(writer *os.File, verboseMode bool) *SummaryPrinter
func (*SummaryPrinter) PrintConfigurationsScanning ¶
func (sp *SummaryPrinter) PrintConfigurationsScanning(summaryDetails *reportsummary.SummaryDetails, sortedControlIDs [][]string, topWorkloadsByScore []reporthandling.IResource)
func (*SummaryPrinter) PrintImageScanning ¶
func (sp *SummaryPrinter) PrintImageScanning(*imageprinter.ImageScanSummary)
func (*SummaryPrinter) PrintNextSteps ¶
func (sp *SummaryPrinter) PrintNextSteps()
type WorkloadPrinter ¶
type WorkloadPrinter struct {
// contains filtered or unexported fields
}
func NewWorkloadPrinter ¶
func NewWorkloadPrinter(writer *os.File) *WorkloadPrinter
func (*WorkloadPrinter) PrintConfigurationsScanning ¶
func (wp *WorkloadPrinter) PrintConfigurationsScanning(summaryDetails *reportsummary.SummaryDetails, sortedControlIDs [][]string, topWorkloadsByScore []reporthandling.IResource)
func (*WorkloadPrinter) PrintImageScanning ¶
func (wp *WorkloadPrinter) PrintImageScanning(summary *imageprinter.ImageScanSummary)
func (*WorkloadPrinter) PrintNextSteps ¶
func (wp *WorkloadPrinter) PrintNextSteps()
Source Files
¶
Click to show internal directories.
Click to hide internal directories.