package
3.10.0-alpha.0+incompatible
Repository: https://github.com/nalind/origin.git
Documentation: pkg.go.dev
# Functions
BuildConfigBuilds return a list of builds for the given build config.
BuildConfigSelector returns a label Selector which can be used to find all builds for a BuildConfig.
BuildConfigSelectorDeprecated returns a label Selector which can be used to find all builds for a BuildConfig that use the deprecated labels.
BuildNameForConfigVersion returns the name of the version-th build for the config that has the provided name.
BuildNumber returns the given build number.
BuildRunPolicy returns the scheduling policy for the build based on the "queued" label.
ConfigNameForBuild returns the name of the build config from a build name.
No description provided by the author
No description provided by the author
FindDockerSecretAsReference looks through a set of k8s Secrets to find one that represents Docker credentials and which contains credentials that are associated with the registry identified by the image.
GetBuildConfigEnv gets the buildconfig strategy environment.
GetBuildEnv gets the build strategy environment.
GetBuildName returns name of the build pod.
IsBuildComplete returns whether the provided build is complete or not.
IsPaused returns true if the provided BuildConfig is paused and cannot be used to create a new Build.
IsTerminalPhase returns true if the provided phase is terminal.
MergeTrustedEnvWithoutDuplicates merges two environment lists without having duplicate items in the output list.
ParseProxyURL parses a proxy URL and allows fallback to non-URLs like myproxy:80 (for example) which url.Parse no longer accepts in Go 1.8.
SafeForLoggingBuild returns a copy of a Build with proxy credentials redacted.
SafeForLoggingBuildCommonSpec returns a copy of a CommonSpec with proxy credential env variable values redacted.
SafeForLoggingEnvironmentList returns a copy of an s2i EnvironmentList array with proxy credential values redacted.
SafeForLoggingEnvVar returns a copy of an EnvVar array with proxy credential values redacted.
SafeForLoggingS2IConfig returns a copy of an s2i Config with proxy credentials redacted.
SafeForLoggingURL removes the user:password section of a url if present.
SetBuildConfigEnv replaces the current buildconfig environment.
SetBuildEnv replaces the current build environment.
UpdateBuildEnv updates the strategy environment This will replace the existing variable definitions with provided env.
VersionForBuild returns the version from the provided build name.
# Constants
BuilderServiceAccountName is the name of the account used to run build pods by default.
WorkDir is the working directory within the build pod, mounted as a volume.
NoBuildLogsMessage reports that no build logs are available.
# Variables
InputContentPath is the path at which the build inputs will be available to all the build containers.