Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MergeBuildVolumes ¶
func MergeBuildVolumes(into []buildv1alpha1.BuildStrategyVolume, new []buildv1alpha1.BuildVolume) ([]buildv1alpha1.BuildStrategyVolume, error)
MergeBuildVolumes merges Build Volumes from one list into the other. It only allows to merge those that have property Overridable set to true. In case it is empty or false, it is not allowed to be overridden, so Volume cannot be merged Merging in this context means copying the VolumeSource from one object to the other.
func TaskSpecVolumes ¶
func TaskSpecVolumes( existingVolumeMounts map[string]bool, strategyVolumes []buildv1alpha1.BuildStrategyVolume, buildVolumes []buildv1alpha1.BuildVolume, buildrunVolumes []buildv1alpha1.BuildVolume, ) ([]corev1.Volume, error)
TaskSpecVolumes creates a list of Volumes for the generated TaskSpec object and checks for some erroneous situations around volumes and volume mounts
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.