defaults

package
v0.0.0-...-4b8b1c4 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: Apache-2.0 Imports: 42 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromConfig

func FromConfig(ctx context.Context, cfg *Config) ([]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

type Clients

type Clients struct {
	LeaseClientEnabled bool
	LeaseClient        *lease.Client
	// contains filtered or unexported fields
}

type Config

type Config struct {
	Clients

	CIConfig                    *api.ReleaseBuildConfiguration
	GraphConf                   *api.GraphConfiguration
	JobSpec                     *api.JobSpec
	ParamFile                   string
	Promote                     bool
	ClusterConfig               *rest.Config
	PodPendingTimeout           time.Duration
	RequiredTargets             []string
	CloneAuthConfig             *steps.CloneAuthConfig
	PullSecret                  *coreapi.Secret
	PushSecret                  *coreapi.Secret
	Censor                      *secrets.DynamicCensor
	HiveKubeconfig              *rest.Config
	NodeName                    string
	NodeArchitectures           []string
	TargetAdditionalSuffix      string
	ManifestToolDockerCfg       string
	LocalRegistryDNS            string
	IntegratedStreams           map[string]*configresolver.IntegratedStream
	InjectedTest                bool
	EnableSecretsStoreCSIDriver bool
	GSMConfig                   *multi_stage.GSMConfiguration
	MetricsAgent                *metrics.MetricsAgent
	SkippedImages               sets.Set[string]

	ClusterProfileGetter func(profileName string) (*api.ClusterProfileDetails, error)

	HTTPServerAddr string
	HTTPServerMux  *http.ServeMux
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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