Documentation ¶
Index ¶
Constants ¶
const (
LastActiveRevision = "experimental.serving.knative.dev/last-active-annotation"
)
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
Types ¶
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
func (*Reconciler) FinalizeKind ¶
func (r *Reconciler) FinalizeKind(ctx context.Context, o *v1.Service) reconciler.Event
FinalizeKind implements custom logic to finalize v1.Service. Any changes to the objects .Status or .Finalizers will be ignored. Returning a nil or Normal type reconciler.Event will allow the finalizer to be deleted on the resource. The resource passed to FinalizeKind will always have a set deletion timestamp.
func (*Reconciler) ObserveDeletion ¶
func (r *Reconciler) ObserveDeletion(ctx context.Context, key types.NamespacedName) error
ObserveDeletion implements custom logic to observe deletion of the respective resource with the given key.
func (*Reconciler) ReconcileKind ¶
func (r *Reconciler) ReconcileKind(ctx context.Context, ksvc *v1.Service) reconciler.Event
ReconcileKind implements custom logic to reconcile v1.Service. Any changes to the objects .Status or .Finalizers will be propagated to the stored object. It is recommended that implementors do not call any update calls for the Kind inside of ReconcileKind, it is the responsibility of the calling controller to propagate those properties. The resource passed to ReconcileKind will always have an empty deletion timestamp.