defaults

package
v0.0.0-...-d1f8b28 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromConfig

func FromConfig(
	ctx context.Context,
	config *api.ReleaseBuildConfiguration,
	graphConf *api.GraphConfiguration,
	jobSpec *api.JobSpec,
	templates []*templateapi.Template,
	paramFile string,
	promote bool,
	clusterConfig *rest.Config,
	podPendingTimeout time.Duration,
	leaseClient *lease.Client,
	requiredTargets []string,
	cloneAuthConfig *steps.CloneAuthConfig,
	pullSecret, pushSecret *coreapi.Secret,
	censor *secrets.DynamicCensor,
	hiveKubeconfig *rest.Config,
	consoleHost string,
	nodeName string,
	nodeArchitectures []string,
	targetAdditionalSuffix string,
	manifestToolDockerCfg string,
	localRegistryDNS string,
	integratedStreams map[string]*configresolver.IntegratedStream,
	injectedTest bool,
) ([]api.Step, []api.Step, error)

FromConfig generates the final execution graph. It interprets the human-friendly fields in the release build configuration and pre-parsed graph configuration and generates steps for them, returning the full set of steps requires for the build, including defaulted steps, generated steps and all raw steps that the user provided.

func FromConfigStatic

func FromConfigStatic(config *api.ReleaseBuildConfiguration) api.GraphConfiguration

FromConfigStatic pre-parses the configuration into step graph configuration. This graph configuration can then be used to perform validation and build the final execution graph. See also FromConfig.

Types

This section is empty.

Jump to

Keyboard shortcuts

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