models

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditBundle

type AuditBundle struct {
	Bundle                  *apimanifests.Bundle
	FoundLabel              bool
	OperatorBundleName      string
	OperatorBundleImagePath string
	PackageName             string
	DefaultChannel          string
	ScorecardResults        v1alpha3.TestList
	ValidatorsResults       []errors.ManifestResult
	CSVFromIndexDB          *v1alpha1.ClusterServiceVersion
	PropertiesDB            []pkg.PropertiesAnnotation
	Channels                []string
	HasCustomScorecardTests bool
	IsHeadOfChannel         bool
	BundleImageLabels       map[string]string `json:"bundleImageLabels,omitempty"`
	BundleAnnotations       map[string]string `json:"bundleAnnotations,omitempty"`
	Errors                  []string
}

AuditBundle defines the data per bundle which is gathering to generate the reports

func NewAuditBundle

func NewAuditBundle(operatorBundleName, operatorBundleImagePath string) *AuditBundle

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL