Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindFlags ¶
type BindFlags struct { IndexImage string `json:"image"` Limit int32 `json:"limit"` HeadOnly bool `json:"headOnly"` DisableScorecard bool `json:"disableScorecard"` DisableValidators bool `json:"disableValidators"` ServerMode bool `json:"serverMode"` Label string `json:"label"` LabelValue string `json:"labelValue"` Filter string `json:"filter"` OutputPath string `json:"outputPath"` OutputFormat string `json:"outputFormat"` ContainerEngine string `json:"containerEngine"` }
BindFlags define the flags used to generate the bundle report
type Column ¶
type Column struct { PackageName string `json:"packageName"` BundleImagePath string `json:"bundleImagePath,omitempty"` DefaultChannel string `json:"defaultChannel,omitempty"` MaxOCPVersion string `json:"maxOCPVersion,omitempty"` Channels []string `json:"bundleChannel,omitempty"` ValidatorErrors []string `json:"validatorErrors,omitempty"` ValidatorWarnings []string `json:"validatorWarnings,omitempty"` ScorecardErrors []string `json:"scorecardErrors,omitempty"` ScorecardSuggestions []string `json:"scorecardSuggestions,omitempty"` ScorecardFailingTests []string `json:"scorecardFailingTests,omitempty"` AuditErrors []string `json:"errors,omitempty"` HasPossiblePerformIssues bool `json:"hasPossiblePerformIssues"` HasCustomScorecardTests bool `json:"hasCustomScorecardTests"` IsHeadOfChannel bool `json:"isHeadOfChannel"` IsDeprecated bool `json:"isDeprecated"` IsFromDefaultChannel bool `json:"isFromDefaultChannel"` BundleImageLabels map[string]string `json:"bundleImageLabels,omitempty"` BundleAnnotations map[string]string `json:"bundleAnnotations,omitempty"` BundleCSV *v1alpha1.ClusterServiceVersion `json:"csv,omitempty"` PropertiesFromDB []pkg.PropertiesAnnotation `json:"propertiesFromDB,omitempty"` }
func NewColumn ¶
func NewColumn(v models.AuditBundle) *Column
func (*Column) AddDataFromScorecard ¶
func (*Column) AddDataFromValidators ¶
func (c *Column) AddDataFromValidators(results []errors.ManifestResult)
func (*Column) SetIsDeprecated ¶
func (c *Column) SetIsDeprecated()
func (*Column) SetMaxOpenshiftVersion ¶
func (c *Column) SetMaxOpenshiftVersion()
type Data ¶
type Data struct { AuditBundle []models.AuditBundle Flags BindFlags IndexImageInspect pkg.DockerInspect }
func (*Data) BuildBundlesQuery ¶
func (*Data) OutputReport ¶
func (*Data) PrepareReport ¶
Click to show internal directories.
Click to hide internal directories.