Documentation ¶
Index ¶
Constants ¶
View Source
const ( FailOutcomeType OutcomeType = "FAIL" PassOutcomeType OutcomeType = "PASS" SkippedOutcomeType OutcomeType = "SKIPPED" UnknownOutcomeType OutcomeType = "UNKNOWN" JSONReport ReportFormat = "json" YamlReport ReportFormat = "yaml" ReportShaVersion string = "v1.9.0" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIReport ¶
type CheckReport ¶
type OutcomeType ¶
type OutcomeType = string
type Report ¶
type Report struct { Apiversion string `json:"apiversion" yaml:"apiversion"` Kind string `json:"kind" yaml:"kind"` Metadata ReportMetadata `json:"metadata" yaml:"metadata"` Results []*CheckReport `json:"results" yaml:"results"` // contains filtered or unexported fields }
func (*Report) GetContent ¶
func (r *Report) GetContent(format ReportFormat) (string, error)
func (*Report) GetReportDigest ¶
func (*Report) SetContent ¶
type ReportFormat ¶
type ReportFormat = string
type ReportMetadata ¶
type ReportMetadata struct { ToolMetadata ToolMetadata `json:"tool" yaml:"tool"` ChartData *helmchart.Metadata `json:"chart" yaml:"chart"` Overrides string `json:"chart-overrides" yaml:"chart-overrides"` }
type ToolMetadata ¶
type ToolMetadata struct { Version string `json:"verifier-version" yaml:"verifier-version"` Profile Profile `json:"profile" yaml:"profile"` ReportDigest string `json:"reportDigest" yaml:"reportDigest"` //nolint:stylecheck // complaining Uri should be URI ChartUri string `json:"chart-uri" yaml:"chart-uri"` Digests Digests `json:"digests" yaml:"digests"` LastCertifiedTimestamp string `json:"lastCertifiedTimestamp,omitempty" yaml:"lastCertifiedTimestamp,omitempty"` CertifiedOpenShiftVersions string `json:"certifiedOpenShiftVersions,omitempty" yaml:"certifiedOpenShiftVersions,omitempty"` TestedOpenShiftVersion string `json:"testedOpenShiftVersion,omitempty" yaml:"testedOpenShiftVersion,omitempty"` SupportedOpenShiftVersions string `json:"supportedOpenShiftVersions,omitempty" yaml:"supportedOpenShiftVersions,omitempty"` ProviderDelivery bool `json:"providerControlledDelivery,omitempty" yaml:"providerControlledDelivery,omitempty"` WebCatalogOnly bool `json:"webCatalogOnly" yaml:"webCatalogOnly" hash:"ignore"` }
Click to show internal directories.
Click to hide internal directories.