# Functions
CheckAllowedUser retrieves the execution users for a Docker image and checks that user against an allowed range of uids.
Dir returns the path to the configuration directory as specified by the DOCKER_CONFIG environment variable.
GetAssembleUser finds an assemble user on the given image.
GetBuilderImage processes the config and performs operations necessary to make the Docker image specified as BuilderImage available locally.
GetDefaultDockerConfig checks relevant Docker environment variables to provide defaults for our command line flags.
GetImageRegistryAuth retrieves the appropriate docker client authentication object for a given image name and a given set of client authentication objects.
GetRebuildImage obtains the metadata information for the image specified in a s2i rebuild operation.
GetRuntimeImage processes the config and performs operations necessary to make the Docker image specified as RuntimeImage available locally.
LoadImageRegistryAuth loads and returns the set of client auth objects from a docker config json file.
New creates a new implementation of the STI Docker interface.
NewAuthConfigurations finishes creating the auth config array s2i pulls from any auth config file it is pointed to when started from the command line.
NewEngineAPIClient creates a new Docker engine API client.
PullImage pulls the Docker image specified by name taking the pull policy into the account.
StreamContainerIO starts a goroutine to take data from the reader and redirect it to the log function (typically we pass in glog.Error for stderr and glog.Info for stdout.
# Constants
DefaultDestination is the destination where the artifacts will be placed if DestinationLabel was not specified.
DefaultDockerTimeout specifies a timeout for Docker API calls.
DefaultPullRetryCount is the default pull image retry times.
DefaultPullRetryDelay is the default pull image retry interval.
DefaultShmSize is the default shared memory size to use (in bytes) if not specified.
DefaultTag is the image tag, being applied if none is specified.
# Variables
DefaultEntrypoint is the default entry point used when starting containers.
RetriableErrors is a set of strings that indicate that an retriable error occurred.
# Structs
AuthConfigurations maps a registry name to an AuthConfig, as used for example in the .dockercfg file.
BuildImageOptions are options passed in to the BuildImage method.
CommitContainerOptions are options passed in to the CommitContainer method.
FakeDocker provides a fake docker interface.
PullResult is the result returned by the PullImage function.
RunContainerOptions are options passed in to the RunContainer method.
# Interfaces
Client contains all methods used when interacting directly with docker engine-api.
Docker is the interface between STI and the docker engine-api.
PostExecutor is an interface which provides a PostExecute function.