taskrun

package
v0.0.0-...-79fe4a6 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2019 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController(
	opt reconciler.Options,
	taskRunInformer informers.TaskRunInformer,
	taskInformer informers.TaskInformer,
	clusterTaskInformer informers.ClusterTaskInformer,
	resourceInformer informers.PipelineResourceInformer,
	podInformer coreinformers.PodInformer,
) *controller.Impl

NewController creates a new Configuration controller

func ValidateResolvedTaskResources

func ValidateResolvedTaskResources(params []v1alpha1.Param, rtr *resources.ResolvedTaskResources) error

ValidateResolvedTaskResources validates task inputs, params and output matches taskrun

Types

type Reconciler

type Reconciler struct {
	*reconciler.Base
	// contains filtered or unexported fields
}

Reconciler implements controller.Reconciler for Configuration resources.

func (*Reconciler) Reconcile

func (c *Reconciler) Reconcile(ctx context.Context, key string) error

Reconcile 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
Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the PipelineRun controller depends.
Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the PipelineRun controller depends.
Package resources provides methods to convert a Build CRD to a k8s Pod resource.
Package resources provides methods to convert a Build CRD to a k8s Pod resource.

Jump to

Keyboard shortcuts

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