Documentation ¶
Index ¶
- Variables
- func DefaultRegistry() checks.Registry
- func GenerateSha(rawFiles []*helmchart.File) string
- func GetPackageDigest(uri string) string
- func NewCheckErr(err error) error
- type AnnotationHolder
- type By
- type CheckErr
- type CheckNotFoundErr
- type CheckResult
- type FilteredRegistry
- type InternalCheckReport
- type InternalReport
- type ReportBuilder
- type Verifier
- type VerifierBuilder
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ReportAPIVersion = "v1" ReportKind = "verify-report" )
Functions ¶
func DefaultRegistry ¶
func GenerateSha ¶
func GetPackageDigest ¶
func NewCheckErr ¶
Types ¶
type AnnotationHolder ¶
type AnnotationHolder struct { Holder ReportBuilder CertifiedOpenShiftVersionFlag string }
func (*AnnotationHolder) GetCertifiedOpenShiftVersionFlag ¶
func (holder *AnnotationHolder) GetCertifiedOpenShiftVersionFlag() string
func (*AnnotationHolder) SetCertifiedOpenShiftVersion ¶
func (holder *AnnotationHolder) SetCertifiedOpenShiftVersion(version string)
func (*AnnotationHolder) SetSupportedOpenShiftVersions ¶
func (holder *AnnotationHolder) SetSupportedOpenShiftVersions(versions string)
type CheckNotFoundErr ¶
type CheckNotFoundErr string
func (CheckNotFoundErr) Error ¶
func (e CheckNotFoundErr) Error() string
type CheckResult ¶
type InternalCheckReport ¶
type InternalCheckReport struct {
APICheckReport apiReport.CheckReport
}
func (*InternalCheckReport) GetAPICheckReport ¶
func (cr *InternalCheckReport) GetAPICheckReport() *apiReport.CheckReport
type InternalReport ¶
func (*InternalReport) AddCheck ¶
func (ir *InternalReport) AddCheck(check checks.Check) *InternalCheckReport
func (*InternalReport) GetAPIReport ¶
func (ir *InternalReport) GetAPIReport() *apiReport.Report
func (*InternalReport) SetReportDigest ¶
func (ir *InternalReport) SetReportDigest()
type ReportBuilder ¶
type ReportBuilder interface { SetToolVersion(name string) ReportBuilder SetProfile(vendorType profiles.VendorType, version string) ReportBuilder SetChartURI(name string) ReportBuilder AddCheck(check checks.Check, result checks.Result) ReportBuilder SetChart(chart *helmchart.Chart) ReportBuilder SetTestedOpenShiftVersion(version string) ReportBuilder SetSupportedOpenShiftVersions(versions string) ReportBuilder SetWebCatalogOnly(webCatalogOnly bool) ReportBuilder SetPublicKeyDigest(digest string) ReportBuilder Build() (*apiReport.Report, error) }
func NewReportBuilder ¶
func NewReportBuilder() ReportBuilder
type VerifierBuilder ¶
type VerifierBuilder interface { SetRegistry(registry checks.Registry) VerifierBuilder SetValues(vals map[string]interface{}) VerifierBuilder SetChecks(checks FilteredRegistry) VerifierBuilder SetConfig(config *viper.Viper) VerifierBuilder GetConfig() *viper.Viper SetOverrides(map[string]interface{}) VerifierBuilder SetToolVersion(string) VerifierBuilder SetOpenShiftVersion(string) VerifierBuilder SetWebCatalogOnly(bool) VerifierBuilder SetSkipCleanup(bool) VerifierBuilder SetTimeout(time.Duration) VerifierBuilder SetPublicKeys([]string) VerifierBuilder SetHelmInstallTimeout(time.Duration) VerifierBuilder SetSettings(settings *cli.EnvSettings) VerifierBuilder Build() (Verifier, error) }
func NewVerifierBuilder ¶
func NewVerifierBuilder() VerifierBuilder
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
* Copyright 2021 Red Hat * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
|
* Copyright 2021 Red Hat * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. |
Click to show internal directories.
Click to hide internal directories.