Documentation ¶
Index ¶
- Constants
- func MissingKeysObjectParamNames(paramSpecs []v1beta1.ParamSpec, params []v1beta1.Param) map[string][]string
- func NewController(opts *pipeline.Options, clock clock.PassiveClock, ...) func(context.Context, configmap.Watcher) *controller.Impl
- func ValidateResolvedTaskResources(ctx context.Context, params []v1beta1.Param, matrix *v1beta1.Matrix, ...) error
- type Reconciler
Constants ¶
View Source
const ( // TracerName is the name of the tracer TracerName = "TaskRunReconciler" // SpanContextAnnotation is the name of the Annotation used for propogating SpanContext SpanContextAnnotation = "tekton.dev/taskrunSpanContext" )
Variables ¶
This section is empty.
Functions ¶
func MissingKeysObjectParamNames ¶ added in v0.38.0
func MissingKeysObjectParamNames(paramSpecs []v1beta1.ParamSpec, params []v1beta1.Param) map[string][]string
MissingKeysObjectParamNames checks if all required keys of object type params are provided in taskrun params or taskSpec's default.
func NewController ¶
func NewController(opts *pipeline.Options, clock clock.PassiveClock, tracerProvider trace.TracerProvider) func(context.Context, configmap.Watcher) *controller.Impl
NewController instantiates a new controller.Impl from knative.dev/pkg/controller
Types ¶
type Reconciler ¶
type Reconciler struct { KubeClientSet kubernetes.Interface PipelineClientSet clientset.Interface Images pipeline.Images Clock clock.PassiveClock // 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.
Click to show internal directories.
Click to hide internal directories.