# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package status provides functionality to update the status of a build with information about failures that occurred.
No description provided by the author
# Functions
CreateTruncateFilesScript creates a shell script that contains truncation of all files we injected into the container.
FixInjectionsWithRelativePath fixes the injections that does not specify the destination directory or the directory is relative to use the provided working directory.
GenerateLabelsFromConfig generate the labels based on build s2i Config.
GenerateLabelsFromSourceInfo generate the labels based on the source repository informations.
GenerateOutputImageLabels generate the labels based on the s2i Config and source repository informations.
HandleInjectionError handles the error caused by injection and provide reasonable suggestion to users.
IsTimeoutError checks if the provided error is a TimeoutError.
ListFiles returns a flat list of all files injected into a container for the given `VolumeSpec`.
ListFilesToTruncate returns a flat list of all files that are injected into a container which need to be truncated.
NewCallbackInvoker creates an instance of the default CallbackInvoker implementation.
ReadEnvironmentFile reads the content for a file that contains a list of environment variables and values.
SafeForLoggingContainerConfig returns a copy of the container.Config object with sensitive information (proxy environment variables containing credentials) redacted.
SafeForLoggingEnv attempts to strip sensitive information from proxy environment variable strings in key=value form.
SafeForLoggingURL removes the user:password section of a url if present.
TimeoutAfter executes the provided function and returns TimeoutError in the case that the execution time of the function exceeded the provided duration.
# Structs
TimeoutError is error returned after timeout occurred.
# Interfaces
CallbackInvoker posts results to a callback URL when a STI build is done.