volumes

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeBuildVolumes

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 []buildv1beta1.BuildStrategyVolume,
	buildVolumes []buildv1beta1.BuildVolume,
	buildrunVolumes []buildv1beta1.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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL