models

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2021 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
	OCPLabel                string
	OCPLabelAnnotations     string
	BuildAt                 string
	SkipRangeDB             string
	VersionDB               string
	SkipsDB                 string
	ReplacesDB              string
	ScorecardResults        v1alpha3.TestList
	ValidatorsResults       []errors.ManifestResult
	OperatorBundleName      string
	OperatorBundleImagePath string
	CSVFromIndexDB          *v1alpha1.ClusterServiceVersion
	Channels                []string
	PackageName             string
	DefaultChannel          string
	PropertiesDB            []pkg.PropertiesAnnotation
	HasCustomScorecardTests bool
	IsHeadOfChannel         bool
	Errors                  []string
}

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

func NewAuditBundle

func NewAuditBundle(operatorBundleName, operatorBundleImagePath string) *AuditBundle

type AuditChannel

type AuditChannel struct {
	AuditBundles     []AuditBundle
	PackageName      string
	ChannelName      string
	HeadBundle       string
	IsDefaultChannel bool
	Errors           []error
}

func NewAuditChannels

func NewAuditChannels(packageName, channelName, headBundle string) *AuditChannel

type AuditPackage

type AuditPackage struct {
	AuditBundle    []AuditBundle
	PackageName    string
	DefaultChannel string
	IsMultiChannel bool
}

func NewAuditPackage

func NewAuditPackage(packageName string) *AuditPackage

Jump to

Keyboard shortcuts

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