config

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.13.0

type Config struct {
	SystemNamespace      string `json:"systemNamespace"`
	SystemServiceAccount string `json:"systemServiceAccount"`

	EnablePriorityClasses     bool   `json:"enablePriorityClasses"`
	MaximumPlatformApiVersion string `json:"maximumPlatformApiVersion"`
	SshTrustUnknownHosts      bool   `json:"sshTrustUnknownHosts"`
	ScalingFactor             int    `json:"scalingFactor"`
}

type FeatureFlags added in v0.13.0

type FeatureFlags struct {
	InjectedSidecarSupport  bool `json:"injectedSidecarSupport"`
	GenerateSlsaAttestation bool `json:"generateSlsaAttestation"`
}

type Images added in v0.13.0

type Images struct {
	BuildInitImage   string `json:"buildInitImage"`
	BuildWaiterImage string `json:"buildWaiterImage"`
	CompletionImage  string `json:"completionImage"`
	RebaseImage      string `json:"rebaseImage"`
}

func (*Images) ToBuildPodImages added in v0.13.0

func (i *Images) ToBuildPodImages() v1alpha2.BuildPodImages

TODO: evaluate if we can move the lifecycle_provider stuff out of this config package Ideally v1alpha2.BuildPodImages should either just use config.Images directly or be an alias to it. However this doesn't work right now because lifecycle_provider.go imports pkg/cnb which imports pkg/apis/build/v1alpha2 and thus creating an import cycle.

Jump to

Keyboard shortcuts

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