resolve

package
v0.15.3 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Resolve

func Resolve(ctx context.Context, cs *params.Run, logger *zap.SugaredLogger, providerintf provider.Interface, event *info.Event, data string, ropt *Opts) ([]*tektonv1beta1.PipelineRun, error)

Resolve gets a large string which is a yaml multi documents containing Pipeline/PipelineRuns/Tasks and resolve them inline as a single PipelineRun generateName can be set as True to set the name as a generateName + "-" for unique pipelinerun

Types

type Opts

type Opts struct {
	GenerateName  bool     // whether to GenerateName
	RemoteTasks   bool     // whether to parse annotation to fetch tasks from remote
	SkipInlining  []string // task to skip inlining
	ProviderToken string
}

type Types

type Types struct {
	PipelineRuns []*tektonv1beta1.PipelineRun
	Pipelines    []*tektonv1beta1.Pipeline
	TaskRuns     []*tektonv1beta1.TaskRun
	Tasks        []*tektonv1beta1.Task
}

Jump to

Keyboard shortcuts

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