fbc

package
v0.0.0-...-f8fd53e Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DescribeFBCImageTests

func DescribeFBCImageTests(product string, defaultsData []byte) bool

DescribeFBCImageTests verifies file-based catalog images for the given product. Each FBC version (table entry) uses Ordered so a failure skips only remaining specs for that version; other versions still run.

Types

type FBCConfig

type FBCConfig struct {
	OLMPackage           string   `yaml:"olmPackage"`
	OperatorBundleImage  string   `yaml:"operatorBundleImage"`
	CatalogPath          string   `yaml:"catalogPath"`
	ImageKeyPrefix       string   `yaml:"imageKeyPrefix"`
	DefaultChannel       string   `yaml:"defaultChannel"`
	ExpectedChannels     []string `yaml:"expectedChannels"`
	ExpectedDeprecations []string `yaml:"expectedDeprecations,omitempty"`
}

FBCConfig holds file-based catalog test parameters.

func GetFBCConfig

func GetFBCConfig(product string, defaultsData []byte) (FBCConfig, error)

GetFBCConfig returns FBC config for the given product (shared config). Embedded defaultsData provides fallback values; TEST_CONFIG overrides them.

func GetFBCConfigForVersion

func GetFBCConfigForVersion(product, versionKey string, defaultsData []byte) (FBCConfig, error)

GetFBCConfigForVersion returns FBC config for the given product and version key. Uses shared fbc config, then applies fbc.override[versionKey] from defaults and TEST_CONFIG.

Jump to

Keyboard shortcuts

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