Documentation ¶
Index ¶
- Constants
- func SafeForLoggingBuild(build *buildapiv1.Build) *buildapiv1.Build
- func SafeForLoggingBuildCommonSpec(spec *buildapiv1.CommonSpec) *buildapiv1.CommonSpec
- func SafeForLoggingEnvVar(env []corev1.EnvVar) []corev1.EnvVar
- func SafeForLoggingEnvironmentList(env s2iapi.EnvironmentList) s2iapi.EnvironmentList
- func SafeForLoggingS2IConfig(config *s2iapi.Config) *s2iapi.Config
- func SafeForLoggingURL(u *url.URL) *url.URL
Constants ¶
View Source
const ( // AllowedUIDs is an environment variable that contains ranges of UIDs that are allowed in // Source builder images AllowedUIDs = "ALLOWED_UIDS" // DropCapabilities is an environment variable that contains a list of capabilities to drop when // executing a Source build DropCapabilities = "DROP_CAPS" // DefaultDockerLabelNamespace is the key of a Build label, whose values are build metadata. DefaultDockerLabelNamespace = "io.openshift." StatusMessageCannotCreateBuildPodSpec = "Failed to create pod spec." StatusMessageCannotCreateBuildPod = "Failed creating build pod." StatusMessageInvalidOutputRef = "Output image could not be resolved." StatusMessageInvalidImageRef = "Referenced image could not be resolved." StatusMessageCancelBuildFailed = "Failed to cancel build." StatusMessageBuildPodDeleted = "The pod for this build was deleted before the build completed." StatusMessageExceededRetryTimeout = "Build did not complete and retrying timed out." StatusMessageMissingPushSecret = "Missing push secret." StatusMessagePostCommitHookFailed = "Build failed because of post commit hook." StatusMessagePushImageToRegistryFailed = "Failed to push the image to the registry." StatusMessagePullBuilderImageFailed = "Failed pulling builder image." StatusMessageFetchSourceFailed = "Failed to fetch the input source." StatusMessageInvalidContextDirectory = "The supplied context directory does not exist." StatusMessageCancelledBuild = "The build was cancelled by the user." StatusMessageDockerBuildFailed = "Docker build strategy has failed." StatusMessageBuildPodExists = "The pod for this build already exists and is older than the build." StatusMessageNoBuildContainerStatus = "The pod for this build has no container statuses indicating success or failure." StatusMessageFailedContainer = "The pod for this build has at least one container with a non-zero exit status." StatusMessageGenericBuildFailed = "Generic Build failure - check logs for details." StatusMessageUnresolvableEnvironmentVariable = "Unable to resolve build environment variable reference." StatusMessageCannotRetrieveServiceAccount = "Unable to look up the service account associated with this build." )
Variables ¶
This section is empty.
Functions ¶
func SafeForLoggingBuild ¶
func SafeForLoggingBuild(build *buildapiv1.Build) *buildapiv1.Build
SafeForLoggingBuild returns a copy of a Build with proxy credentials redacted.
func SafeForLoggingBuildCommonSpec ¶
func SafeForLoggingBuildCommonSpec(spec *buildapiv1.CommonSpec) *buildapiv1.CommonSpec
SafeForLoggingBuildCommonSpec returns a copy of a CommonSpec with proxy credential env variable values redacted.
func SafeForLoggingEnvVar ¶
SafeForLoggingEnvVar returns a copy of an EnvVar array with proxy credential values redacted.
func SafeForLoggingEnvironmentList ¶
func SafeForLoggingEnvironmentList(env s2iapi.EnvironmentList) s2iapi.EnvironmentList
SafeForLoggingEnvironmentList returns a copy of an s2i EnvironmentList array with proxy credential values redacted.
func SafeForLoggingS2IConfig ¶
SafeForLoggingS2IConfig returns a copy of an s2i Config with proxy credentials redacted.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package dockerfile has utilities that complement Docker's official Dockerfile parser.
|
Package dockerfile has utilities that complement Docker's official Dockerfile parser. |
Click to show internal directories.
Click to hide internal directories.