Documentation
¶
Index ¶
Constants ¶
View Source
const ( // SelectorKey is the key of the selector for the KnativeServing resources. SelectorKey = "app.kubernetes.io/name" // SelectorValue is the value of the selector for the KnativeServing resources. SelectorValue = "knative-serving" // Selector is the selector for the KnativeServing resources. Selector = SelectorKey + "=" + SelectorValue )
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
NewController initializes the controller and is called by the generated code Registers eventhandlers to enqueue events
func NewExtendedController ¶ added in v0.16.0
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 Knativeserving resources.
func (*Reconciler) FinalizeKind ¶
func (r *Reconciler) FinalizeKind(ctx context.Context, original *v1beta1.KnativeServing) pkgreconciler.Event
FinalizeKind removes all resources after deletion of a KnativeServing.
func (*Reconciler) ReconcileKind ¶
func (r *Reconciler) ReconcileKind(ctx context.Context, ks *v1beta1.KnativeServing) pkgreconciler.Event
ReconcileKind compares the actual state with the desired, and attempts to converge the two.
Click to show internal directories.
Click to hide internal directories.