testrunner

package
v0.0.0-...-bc644ae Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: Apache-2.0 Imports: 30 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareWithFixture

func CompareWithFixture(t *testing.T, output any, opts ...option)

CompareWithFixture compares output with a golden fixture. When WithGoldenDir is used, fixtures are stored in that directory. Otherwise delegates to testutil.CompareWithFixture which uses testdata/.

func RunTestACRValues

func RunTestACRValues(t *testing.T, settingsPath string)

func RunTestHelmTemplate

func RunTestHelmTemplate(t *testing.T, settingsPath string)

RunTestHelmTemplate renders discovered Helm cases and checks fixtures and configured policies.

func RunTestNodeRolloutConfig

func RunTestNodeRolloutConfig(t *testing.T, settingsPath string)

func WithExtension

func WithExtension(extension string) option

func WithGoldenDir

func WithGoldenDir(goldenDir string) option

func WithSuffix

func WithSuffix(suffix string) option

func WithUpdateEnv

func WithUpdateEnv(env string) option

Types

type NodeRolloutConfig

type NodeRolloutConfig struct {
	RegistryOverrides         []string `json:"registryOverrides" yaml:"registryOverrides"`
	SharedIngressHAProxyImage string   `json:"sharedIngressHAProxyImage,omitempty" yaml:"sharedIngressHAProxyImage,omitempty"`
	AdditionalInstallArgs     []string `json:"additionalInstallArgs,omitempty" yaml:"additionalInstallArgs,omitempty"`
}

Jump to

Keyboard shortcuts

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