internal

package
v0.0.0-...-9c4fa02 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TestDataFromChartDir = "../testdata"

Functions

func FindHelmTestFiles

func FindHelmTestFiles(pathToSearch string) ([]string, error)

func LoadConfigAndMerge

func LoadConfigAndMerge(configPath string, configOverride map[string]any) (map[string]any, error)

func ReplaceImageDigest

func ReplaceImageDigest(yamlCfg map[string]any) map[string]any

Types

type HelmStepWithPath

type HelmStepWithPath struct {
	HelmStep     *types.HelmStep
	PipelinePath string
	AKSCluster   string
}

func FindHelmSteps

func FindHelmSteps(topologyDir, configPath string) ([]HelmStepWithPath, error)

func (*HelmStepWithPath) ChartDirFromRoot

func (h *HelmStepWithPath) ChartDirFromRoot(topologyDir string) string

func (*HelmStepWithPath) ValuesFileFromRoot

func (h *HelmStepWithPath) ValuesFileFromRoot(topologyDir string) string

type Replace

type Replace struct {
	Regex       string
	Replacement string
}

type Settings

type Settings struct {
	ConfigPath  string
	TopologyDir string
	Replace     []Replace
}

func LoadSettings

func LoadSettings(settingsPath string) (*Settings, error)

type TestCase

type TestCase struct {
	Name         string         `yaml:"name"`
	Namespace    string         `yaml:"namespace"`
	Values       string         `yaml:"values"`
	HelmChartDir string         `yaml:"helmChartDir,omitempty"`
	TestData     map[string]any `yaml:"testData"`
}

Jump to

Keyboard shortcuts

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