# Packages
Package cmd contains the main entry point for the docker and STI builders.
package crioclient embeds github.com/kubernetes-incubator/cri-o/client to reduce dependencies.
No description provided by the author
No description provided by the author
# Functions
No description provided by the author
ExtractInputBinary processes the provided input stream as directed by BinaryBuildSource into dir.
GetCGroupLimits returns a struct populated with cgroup limit values gathered from the local /sys/fs/cgroup filesystem.
GetDockerClient returns a valid Docker client, the address of the client, or an error if the client couldn't be created.
GetSourceRevision returns a SourceRevision object either from the build (if it already had one) or by creating one from the sourceInfo object passed in.
GitClone clones the source associated with a build(if any) into the specified directory.
HandleBuildStatusUpdate handles updating the build status retries occur on update conflict and unreachable api server.
ManageDockerfile manipulates the dockerfile for docker builds.
MergeEnv will take an existing environment and merge it with a new set of variables.
NewDockerBuilder creates a new instance of DockerBuilder.
NewS2IBuilder creates a new STIBuilder instance.
No description provided by the author
SafeForLoggingDockerConfig returns a copy of a docker config struct where any proxy credentials in the env section of the config have been redacted.
SafeForLoggingDockerCreateOptions returns a copy of a docker create container options struct where any proxy credentials in the env section of the config have been redacted.
SafeForLoggingEnvironmentList returns a copy of an s2i EnvironmentList array with proxy credential values redacted.
SafeForLoggingS2IConfig returns a copy of an s2i Config with proxy credentials redacted.
# Variables
DefaultPushOrPullRetryCount is the number of retries of pushing or pulling the built Docker image into a configured repository.
DefaultPushOrPullRetryDelay is the time to wait before triggering a push or pull retry.
RetriableErrors is a set of strings that indicate that an retriable error occurred.
# Structs
DockerBuilder builds Docker images given a git repository URL.
KeyValue can be used to build ordered lists of key-value pairs.
S2IBuilder performs an STI build given the build object.
# Interfaces
DockerClient is an interface to the Docker client that contains the methods used by the common builder.
GitClient performs git operations.