taskrun

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: Apache-2.0 Imports: 51 Imported by: 20

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController(namespace string, conf ControllerConfiguration) func(context.Context, configmap.Watcher) *controller.Impl

NewController instantiates a new controller.Impl from knative.dev/pkg/controller

func ValidateResolvedTaskResources

func ValidateResolvedTaskResources(ctx context.Context, params []v1beta1.Param, rtr *resources.ResolvedTaskResources) error

ValidateResolvedTaskResources validates task inputs, params and output matches taskrun

Types

type ControllerConfiguration added in v0.28.0

type ControllerConfiguration struct {
	// Images are the image references used across Tekton Pipelines.
	Images pipeline.Images
	// DisableTaskRefResolution tells the controller not to perform
	// resolution of task refs from the cluster or bundles.
	DisableTaskRefResolution bool
}

ControllerConfiguration holds fields used to configure the TaskRun controller.

type DeletePod

type DeletePod func(podName string, options *metav1.DeleteOptions) error

type Reconciler

type Reconciler struct {
	KubeClientSet     kubernetes.Interface
	PipelineClientSet clientset.Interface
	Images            pipeline.Images
	// contains filtered or unexported fields
}

Reconciler implements controller.Reconciler for Configuration resources.

func (*Reconciler) ReconcileKind added in v0.14.0

func (c *Reconciler) ReconcileKind(ctx context.Context, tr *v1beta1.TaskRun) pkgreconciler.Event

ReconcileKind compares the actual state with the desired, and attempts to converge the two. It then updates the Status block of the Task Run resource with the current status of the resource.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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