controlplaneoperatoroverrides

package
v0.1.76 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	CPOOverridesEnvVar = "ENABLE_CPO_OVERRIDES"
)

Variables

This section is empty.

Functions

func CPOImage

func CPOImage(rawPlatform, version string) string

func IsOverridesEnabled

func IsOverridesEnabled() bool

func LatestOverrideTestReleases

func LatestOverrideTestReleases(platform string) (string, string)

func ShouldRunOverrideTests added in v0.1.71

func ShouldRunOverrideTests(platform string) bool

Types

type CPOOverride

type CPOOverride struct {
	Version  string `yaml:"version"`
	CPOImage string `yaml:"cpoImage"`
}

type CPOOverrideTestReleases

type CPOOverrideTestReleases struct {
	Latest   string `yaml:"latest"`
	Previous string `yaml:"previous"`
	RunTests bool   `yaml:"runTests"`
}

type CPOOverrides

type CPOOverrides struct {
	Platforms CPOPlatforms `yaml:"platforms,omitempty"`
}

type CPOPlatformOverrides added in v0.1.66

type CPOPlatformOverrides struct {
	Overrides []CPOOverride            `yaml:"overrides,omitempty"`
	Testing   *CPOOverrideTestReleases `yaml:"testing,omitempty"`
}

type CPOPlatforms added in v0.1.66

type CPOPlatforms struct {
	AWS   *CPOPlatformOverrides `yaml:"aws,omitempty"`
	Azure *CPOPlatformOverrides `yaml:"azure,omitempty"`
}

Jump to

Keyboard shortcuts

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