Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Pipelines ConfigMap FeatureFlag = "feature-flags" ConfigDefaults = "config-defaults" ConfigMetrics = "config-observability" ResolverFeatureFlag = "resolvers-feature-flags" )
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
NewController initializes the controller and is called by the generated code Registers event handlers to enqueue events
func NewExtendedController ¶
func NewExtendedController(generator common.ExtensionGenerator) injection.ControllerConstructor
NewExtendedController returns a controller extended to a specific platform
Types ¶
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler implements controller.Reconciler for TektonPipeline resources.
func (*Reconciler) FinalizeKind ¶
func (r *Reconciler) FinalizeKind(ctx context.Context, original *v1alpha1.TektonPipeline) pkgreconciler.Event
FinalizeKind removes all resources after deletion of a TektonPipeline.
func (*Reconciler) ReconcileKind ¶
func (r *Reconciler) ReconcileKind(ctx context.Context, tp *v1alpha1.TektonPipeline) pkgreconciler.Event
ReconcileKind compares the actual state with the desired, and attempts to converge the two.
type Recorder ¶ added in v0.50.0
Recorder holds keys for Tekton metrics
func NewRecorder ¶ added in v0.50.0
NewRecorder creates a new metrics recorder instance to log the PipelineRun related metrics
func (*Recorder) Count ¶ added in v0.50.0
Count logs number of times a component (pipeline/trigger atm) has been installed or failed to install.
func (*Recorder) LogMetrics ¶ added in v0.63.0
func (m *Recorder) LogMetrics(status, version string, logger *zap.SugaredLogger)
Click to show internal directories.
Click to hide internal directories.