sources

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2021 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendGitStep

func AppendGitStep(
	cfg *config.Config,
	taskSpec *tektonv1beta1.TaskSpec,
	source buildv1alpha1.Source,
	name string,
)

AppendGitStep appends the Git step and results and volume if needed to the TaskSpec

func AppendHTTPStep

func AppendHTTPStep(
	cfg *config.Config,
	taskSpec *tektonv1beta1.TaskSpec,
	source buildv1alpha1.BuildSource,
)

AppendHTTPStep appends the step for a HTTP source to the TaskSpec

func AppendSecretVolume

func AppendSecretVolume(
	taskSpec *tektonv1beta1.TaskSpec,
	secretName string,
)

AppendSecretVolume checks if a volume for a secret already exists, if not it appends it to the TaskSpec

func SanitizeVolumeNameForSecretName

func SanitizeVolumeNameForSecretName(secretName string) string

SanitizeVolumeNameForSecretName creates the name of a Volume for a Secret

Types

This section is empty.

Jump to

Keyboard shortcuts

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