Documentation ¶
Index ¶
Constants ¶
View Source
const ( DockerPushSecretMountPath = "/var/run/secrets/openshift.io/push" DockerPullSecretMountPath = "/var/run/secrets/openshift.io/pull" )
Variables ¶
View Source
var STITempDirectoryCreator = &tempDirectoryCreator{}
Functions ¶
This section is empty.
Types ¶
type CustomBuildStrategy ¶ added in v0.2.1
type CustomBuildStrategy struct { // Codec is the codec to use for encoding the output pod. // IMPORTANT: This may break backwards compatibility when // it changes. Codec runtime.Codec }
CustomBuildStrategy creates a build using a custom builder image.
func (*CustomBuildStrategy) CreateBuildPod ¶ added in v0.2.1
CreateBuildPod creates the pod to be used for the Custom build
type DockerBuildStrategy ¶
type DockerBuildStrategy struct { Image string // Codec is the codec to use for encoding the output pod. // IMPORTANT: This may break backwards compatibility when // it changes. Codec runtime.Codec }
DockerBuildStrategy creates a Docker build using a Docker builder image.
func (*DockerBuildStrategy) CreateBuildPod ¶
CreateBuildPod creates the pod to be used for the Docker build TODO: Make the Pod definition configurable
type SourceBuildStrategy ¶ added in v0.5.2
type SourceBuildStrategy struct { Image string TempDirectoryCreator TempDirectoryCreator // Codec is the codec to use for encoding the output pod. // IMPORTANT: This may break backwards compatibility when // it changes. Codec runtime.Codec AdmissionControl admission.Interface }
SourceBuildStrategy creates STI(source to image) builds
func (*SourceBuildStrategy) CreateBuildPod ¶ added in v0.5.2
CreateBuildPod creates a pod that will execute the STI build TODO: Make the Pod definition configurable
type TempDirectoryCreator ¶
Click to show internal directories.
Click to hide internal directories.