Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderTestruns ¶
func RenderTestruns(ctx context.Context, log logr.Logger, parameters *Parameters, shootFlavors []*shootflavors.ExtendedFlavorInstance) (testrunner.RunList, error)
RenderTestruns renders a helm chart with containing testruns, adds the provided parameters and values, and returns the parsed and modified testruns. Adds the component descriptor to metadata.
Types ¶
type Parameters ¶
type Parameters struct { FlavorConfigPath string // Path to the kubeconfig where the gardener is running. GardenKubeconfigPath string Namespace string FlavoredTestrunChartPath string DefaultTestrunChartPath string // metadata Landscape string ComponentDescriptorPath string Repository string OCMConfigPath string SetValues []string FileValues []string }
Parameters are the parameters which describe the test that is executed by the testrunner.
type ValueRenderer ¶
type ValueRenderer interface {
Render(defaultValues map[string]interface{}) (values map[string]interface{}, metadata *metadata.Metadata, info interface{}, err error)
}
ValueRenderer renders the helm values, run metadata and info for a specific chart rendering
func NewDefaultValueRenderer ¶
func NewDefaultValueRenderer(parameters *internalParameters) ValueRenderer
func NewShootValueRenderer ¶
func NewShootValueRenderer(log logr.Logger, shoot *shootflavors.ExtendedFlavorInstance, parameters *internalParameters) ValueRenderer
Click to show internal directories.
Click to hide internal directories.