Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
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.
type Recorder ¶ added in v0.8.0
type Recorder struct {
// contains filtered or unexported fields
}
func NewRecorder ¶ added in v0.8.0
NewRecorder creates a new metrics recorder instance to log the TaskRun related metrics
func (*Recorder) DurationAndCount ¶ added in v0.8.0
DurationAndCount logs the duration of TaskRun execution and count for number of TaskRuns succeed or failed returns an error if its failed to log the metrics
func (*Recorder) RecordPodLatency ¶ added in v0.8.0
RecordPodLatency logs the duration required to schedule the pod for TaskRun returns an error if its failed to log the metrics
func (*Recorder) RunningTaskRuns ¶ added in v0.8.0
func (r *Recorder) RunningTaskRuns(lister listers.TaskRunLister) error
RunningTaskRuns logs the number of TaskRuns running right now returns an error if its failed to log the metrics
Click to show internal directories.
Click to hide internal directories.