Documentation
¶
Overview ¶
Copyright The Shipwright Contributors
SPDX-License-Identifier: Apache-2.0
Index ¶
- Constants
- func AppendBundleResult(buildRun *build.BuildRun, name string, results []pipelineapi.TaskRunResult)
- func AppendBundleStep(cfg *config.Config, taskSpec *pipelineapi.TaskSpec, oci *build.OCIArtifact, ...)
- func AppendGitResult(buildRun *buildv1beta1.BuildRun, name string, ...)
- func AppendGitStep(cfg *config.Config, taskSpec *pipelineapi.TaskSpec, source buildv1beta1.Git, ...)
- func AppendLocalCopyStep(cfg *config.Config, taskSpec *pipelineapi.TaskSpec, timeout *metav1.Duration)
- func AppendSecretVolume(taskSpec *pipelineapi.TaskSpec, secretName string)
- func FindResultValue(results []pipelineapi.TaskRunResult, sourceName, resultName string) string
- func SanitizeVolumeNameForSecretName(secretName string) string
- func TaskResultName(sourceName, resultName string) string
Constants ¶
const (
PrefixParamsResultsVolumes = "shp"
)
const WaiterContainerName = "source-local"
WaiterContainerName name given to the container watier container.
Variables ¶
This section is empty.
Functions ¶
func AppendBundleResult ¶ added in v0.6.0
func AppendBundleResult(buildRun *build.BuildRun, name string, results []pipelineapi.TaskRunResult)
AppendBundleResult append bundle source result to build run
func AppendBundleStep ¶ added in v0.6.0
func AppendBundleStep(cfg *config.Config, taskSpec *pipelineapi.TaskSpec, oci *build.OCIArtifact, name string)
AppendBundleStep appends the bundle step to the TaskSpec
func AppendGitResult ¶ added in v0.6.0
func AppendGitResult(buildRun *buildv1beta1.BuildRun, name string, results []pipelineapi.TaskRunResult)
AppendGitResult append git source result to build run
func AppendGitStep ¶
func AppendGitStep( cfg *config.Config, taskSpec *pipelineapi.TaskSpec, source buildv1beta1.Git, name string, )
AppendGitStep appends the Git step and results and volume if needed to the TaskSpec
func AppendLocalCopyStep ¶ added in v0.8.0
func AppendLocalCopyStep(cfg *config.Config, taskSpec *pipelineapi.TaskSpec, timeout *metav1.Duration)
AppendLocalCopyStep defines and append a new task based on the waiter container template, passed by the configuration instance.
func AppendSecretVolume ¶
func AppendSecretVolume( taskSpec *pipelineapi.TaskSpec, secretName string, )
AppendSecretVolume checks if a volume for a secret already exists, if not it appends it to the TaskSpec
func FindResultValue ¶ added in v0.13.0
func FindResultValue(results []pipelineapi.TaskRunResult, sourceName, resultName string) string
func SanitizeVolumeNameForSecretName ¶
SanitizeVolumeNameForSecretName creates the name of a Volume for a Secret
func TaskResultName ¶ added in v0.13.0
Types ¶
This section is empty.