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, config CloneConfig) ([]corev1.Container, error)
CloneInitContainers The sidecars for cloning repo
func CloneInitContainersWithContainerName ¶
func CloneInitContainersWithContainerName(sshURL, branch, cloneContainerName string, config CloneConfig) ([]corev1.Container, error)
CloneInitContainersWithContainerName The sidecars for cloning repo
Types ¶
type CloneConfig ¶ added in v1.57.0
func (CloneConfig) Validate ¶ added in v1.57.0
func (c CloneConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.