Versions in this module Expand all Collapse all v1 v1.0.189 Feb 10, 2021 v1.0.188 Feb 10, 2021 Changes in this version + const DefaultContainerImage + const DefaultStageNameForBuildPack + const GitMergeImage + const KanikoDockerImage + const LabelStageName + const TektonAPIVersion + const WorkingDirRoot + func CombineEnv(newEnv []corev1.EnvVar, parentEnv []corev1.EnvVar) []corev1.EnvVar + func EnvMapToSlice(envMap map[string]corev1.EnvVar) []corev1.EnvVar + func GetSh() string + func MangleToRfc1035Label(body string, suffix string) string + func MergeContainers(parentContainer, childContainer *corev1.Container) (*corev1.Container, error) + func PipelineRunName(pipelineIdentifier string, buildIdentifier string) string + func ReplaceCurlyWithParen(input string) string + func StringParamValue(val string) tektonv1alpha1.ArrayOrString + type Agent struct + Container string + Dir string + Image string + Label string + func (a *Agent) DeepCopyForParsedPipeline() *Agent + func (a *Agent) GetImage() string + func (a *Agent) Groovy() string + func (in *Agent) DeepCopy() *Agent + func (in *Agent) DeepCopyInto(out *Agent) + type CRDsFromPipelineParams struct + BuildIdentifier string + DefaultImage string + InterpretMode bool + Labels map[string]string + Namespace string + PipelineIdentifier string + PodTemplates map[string]*corev1.Pod + SourceDir string + TaskParams []tektonv1alpha1.ParamSpec + VersionsDir string + func (in *CRDsFromPipelineParams) DeepCopy() *CRDsFromPipelineParams + func (in *CRDsFromPipelineParams) DeepCopyInto(out *CRDsFromPipelineParams) + type Loop struct + Steps []Step + Values []string + Variable string + func (in *Loop) DeepCopy() *Loop + func (in *Loop) DeepCopyInto(out *Loop) + type ParsedPipeline struct + Agent *Agent + Env []corev1.EnvVar + Environment []corev1.EnvVar + Options *RootOptions + Post []Post + Stages []Stage + WorkingDir *string + func ApplyNonStepOverridesToPipeline(pipeline *ParsedPipeline, override *PipelineOverride) *ParsedPipeline + func ApplyStepOverridesToPipeline(pipeline *ParsedPipeline, override *PipelineOverride) *ParsedPipeline + func (in *ParsedPipeline) DeepCopy() *ParsedPipeline + func (in *ParsedPipeline) DeepCopyInto(out *ParsedPipeline) + func (j *ParsedPipeline) AddContainerEnvVarsToPipeline(origEnv []corev1.EnvVar) + func (j *ParsedPipeline) GenerateCRDs(params CRDsFromPipelineParams) (*tektonv1alpha1.Pipeline, []*tektonv1alpha1.Task, error) + func (j *ParsedPipeline) GetEnv() []corev1.EnvVar + func (j *ParsedPipeline) GetPodLabels() map[string]string + func (j *ParsedPipeline) GetPossibleAffinityPolicy(name string) *corev1.Affinity + func (j *ParsedPipeline) GetTolerations() []corev1.Toleration + func (j *ParsedPipeline) ReplacePlaceholdersInStepAndStageDirs(args StepPlaceholderReplacementArgs) + func (j *ParsedPipeline) Validate(context context.Context) *apis.FieldError + func (j *ParsedPipeline) ValidateInCluster(context context.Context, kubeClient kubernetes.Interface, ns string) *apis.FieldError + type PipelineOverride struct + Agent *Agent + ContainerOptions *corev1.Container + Name string + Pipeline string + Sidecars []*corev1.Container + Stage string + Step *Step + Steps []*Step + Type *StepOverrideType + Volumes []*corev1.Volume + func (in *PipelineOverride) DeepCopy() *PipelineOverride + func (in *PipelineOverride) DeepCopyInto(out *PipelineOverride) + func (p *PipelineOverride) AsStepsSlice() []*Step + func (p *PipelineOverride) HasNonStepOverrides() bool + func (p *PipelineOverride) MatchesPipeline(name string) bool + func (p *PipelineOverride) MatchesStage(name string) bool + type Post struct + Actions []PostAction + Condition PostCondition + func (in *Post) DeepCopy() *Post + func (in *Post) DeepCopyInto(out *Post) + type PostAction struct + Name string + Options map[string]string + func (in *PostAction) DeepCopy() *PostAction + func (in *PostAction) DeepCopyInto(out *PostAction) + type PostCondition string + const PostConditionAlways + const PostConditionFailure + const PostConditionSuccess + type RootOptions struct + ContainerOptions *corev1.Container + DistributeParallelAcrossNodes bool + PodLabels map[string]string + Retry int8 + Sidecars []*corev1.Container + Timeout *Timeout + Tolerations []corev1.Toleration + Volumes []*corev1.Volume + func (in *RootOptions) DeepCopy() *RootOptions + func (in *RootOptions) DeepCopyInto(out *RootOptions) + type Stage struct + Agent *Agent + Env []corev1.EnvVar + Environment []corev1.EnvVar + Name string + Options *StageOptions + Parallel []Stage + Post []Post + Stages []Stage + Steps []Step + WorkingDir *string + func ApplyNonStepOverridesToStage(stage Stage, override *PipelineOverride) Stage + func ApplyStepOverridesToStage(stage Stage, override *PipelineOverride) Stage + func (in *Stage) DeepCopy() *Stage + func (in *Stage) DeepCopyInto(out *Stage) + func (s *Stage) GetEnv() []corev1.EnvVar + type StageOptions struct + Stash *Stash + Unstash *Unstash + Workspace *string + func (in *StageOptions) DeepCopy() *StageOptions + func (in *StageOptions) DeepCopyInto(out *StageOptions) + type Stash struct + Files string + Name string + func (in *Stash) DeepCopy() *Stash + func (in *Stash) DeepCopyInto(out *Stash) + type Step struct + Agent *Agent + Arguments []string + Command string + Comment string + Container string + Dir string + Env []corev1.EnvVar + Groovy string + Image string + Loop *Loop + Name string + Options map[string]string + Sh string + Step string + Steps []*Step + When string + func OverrideStep(step Step, override *PipelineOverride) []Step + func (in *Step) DeepCopy() *Step + func (in *Step) DeepCopyInto(out *Step) + func (s *Step) GetCommand() string + func (s *Step) GetFullCommand() string + func (s *Step) GetImage() string + func (s *Step) GroovyBlock(parentIndent string) string + func (s *Step) PutAllEnvVars(m map[string]string) + func (s *Step) ToJenkinsfileStatements() []*statement.Statement + func (s *Step) Validate() error + type StepOverrideType string + const StepOverrideAfter + const StepOverrideBefore + const StepOverrideReplace + type StepPlaceholderReplacementArgs struct + DockerRegistry string + DockerRegistryOrg string + GitHost string + GitName string + GitOrg string + KanikoImage string + ProjectID string + UseKaniko bool + WorkspaceDir string + func (in *StepPlaceholderReplacementArgs) DeepCopy() *StepPlaceholderReplacementArgs + func (in *StepPlaceholderReplacementArgs) DeepCopyInto(out *StepPlaceholderReplacementArgs) + type Timeout struct + Time int64 + Unit TimeoutUnit + func (in *Timeout) DeepCopy() *Timeout + func (in *Timeout) DeepCopyInto(out *Timeout) + func (t *Timeout) ToDuration() (*metav1.Duration, error) + type TimeoutUnit string + const TimeoutUnitDays + const TimeoutUnitHours + const TimeoutUnitMinutes + const TimeoutUnitSeconds + type Unstash struct + Dir string + Name string + func (in *Unstash) DeepCopy() *Unstash + func (in *Unstash) DeepCopyInto(out *Unstash)