testrun_renderer

package
v0.0.0-...-7d92a45 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddLocationsToTestrun

func AddLocationsToTestrun(tr *tmv1beta1.Testrun, locationSetName string, components []*componentdescriptor.Component, useAsDefault bool, additionalLocations []common.AdditionalLocation) error

AddLocationsToTestrun adds component descriptor repositories and the given additionalLocations as locations to location sets for the given Testrun tr.

func GetRevisionFromVersion

func GetRevisionFromVersion(version string) string

GetRevisionFromVersion parses the version of a component and returns its revision if applicable.

Types

type TestsFunc

type TestsFunc = func(suffix string, parents []string) ([]*v1beta1.DAGStep, []string, error)

TestsFunc generates tests that adds the parents as dependencies and return the generated steps and the names of the last steps that should be used as dependencies for subsequent steps.

Jump to

Keyboard shortcuts

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