Documentation ¶
Index ¶
Constants ¶
View Source
const ( // InternalContainerPrefix To indicate that this is not for user interest InternalContainerPrefix = "internal-" // CloneConfigContainerName Name of container for clone in the outer pipeline CloneConfigContainerName = "clone-config" // CloneContainerName Name of container CloneContainerName = "clone" // GitSSHKeyVolumeName Deploy key + known_hosts GitSSHKeyVolumeName = "git-ssh-keys" // BuildContextVolumeName Name of volume to hold build context BuildContextVolumeName = "build-context" // Workspace Folder to hold the code to build Workspace = "/workspace" )
Variables ¶
This section is empty.
Functions ¶
func CloneInitContainers ¶
func CloneInitContainers(sshURL, branch string, containerSecContext corev1.SecurityContext) []corev1.Container
CloneInitContainers The sidecars for cloning repo
func CloneInitContainersWithContainerName ¶
func CloneInitContainersWithContainerName(sshURL, branch, cloneContainerName string, containerSecContext corev1.SecurityContext) []corev1.Container
CloneInitContainersWithContainerName The sidecars for cloning repo
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.