labeler

package
v0.14.3 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2020 License: Apache-2.0 Imports: 23 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package labeler holds the logic that applies Route labels to Configurations to implement knative/serving#226. We run this as a separate reconciliation because we may choose to relax the 1:N relationship between Route:Configuration in the future.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController added in v0.9.0

func NewController(
	ctx context.Context,
	cmw configmap.Watcher,
) *controller.Impl

NewController wraps a new instance of the labeler that labels Configurations with Routes in a controller.

Types

type Reconciler

type Reconciler struct {
	// contains filtered or unexported fields
}

Reconciler implements controller.Reconciler for Route resources.

func (*Reconciler) FinalizeKind added in v0.13.0

func (c *Reconciler) FinalizeKind(ctx context.Context, r *v1.Route) pkgreconciler.Event

func (*Reconciler) ReconcileKind added in v0.13.0

func (c *Reconciler) ReconcileKind(ctx context.Context, r *v1.Route) pkgreconciler.Event

Jump to

Keyboard shortcuts

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