Documentation ¶
Index ¶
- Constants
- func DefaultResolver(uri string) (*tektonv1beta1.Task, error)
- func OverrideStep(step *tektonv1beta1.Step, override *tektonv1beta1.Step)
- func OverrideTask(pt *tektonv1beta1.PipelineTask, overrideSteps *tektonv1beta1.TaskSpec)
- func TransformPipelineRun(prs *tektonv1beta1.PipelineRun, resolver TaskResolver) error
- func TransformSteps(steps []tektonv1beta1.Step, resolver TaskResolver) ([]tektonv1beta1.Step, error)
- func TransformTask(task *tektonv1beta1.TaskSpec, resolver TaskResolver) error
- type TaskResolver
Constants ¶
View Source
const ( // IncludePrefix the prefix on an image to identity this step as being included from a Task via // a remote URL IncludePrefix = "include:" // OverridePrefix the prefix on a task name to indicate it defines override steps OverridePrefix = "override:" )
Variables ¶
This section is empty.
Functions ¶
func DefaultResolver ¶
func DefaultResolver(uri string) (*tektonv1beta1.Task, error)
DefaultResolver default resolver which handles URLs
func OverrideStep ¶
func OverrideStep(step *tektonv1beta1.Step, override *tektonv1beta1.Step)
func OverrideTask ¶
func OverrideTask(pt *tektonv1beta1.PipelineTask, overrideSteps *tektonv1beta1.TaskSpec)
func TransformPipelineRun ¶
func TransformPipelineRun(prs *tektonv1beta1.PipelineRun, resolver TaskResolver) error
TransformPipelineRun processes the tasks to inline any included steps
func TransformSteps ¶
func TransformSteps(steps []tektonv1beta1.Step, resolver TaskResolver) ([]tektonv1beta1.Step, error)
TransformSteps transforms the steps adding any include directives
func TransformTask ¶
func TransformTask(task *tektonv1beta1.TaskSpec, resolver TaskResolver) error
Types ¶
type TaskResolver ¶
type TaskResolver func(string) (*tektonv1beta1.Task, error)
Click to show internal directories.
Click to hide internal directories.