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
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 (rec *Reconciler) FinalizeKind(ctx context.Context, r *v1.Route) pkgreconciler.Event
FinalizeKind removes all Route reference metadata from its traffic targets. This does not modify or observe spec for the Route itself.
func (*Reconciler) ReconcileKind ¶ added in v0.13.0
func (rec *Reconciler) ReconcileKind(ctx context.Context, r *v1.Route) pkgreconciler.Event
ReconcileKind syncs the Route reference metadata to its traffic targets. This does not modify or observe spec for the Route itself.