Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
NewController returns a new HPA reconcile controller.
func NewWarnInternal ¶
func NewWarnInternal(msgf string, args ...interface{}) reconciler.Event
NewWarnInternal makes a new reconciler event with event type Warning, and reason InternalError.
Types ¶
type Interface ¶
type Interface interface { ReconcileBroker(context.Context, *v1alpha1.Broker) reconciler.Event ReconcileTrigger(context.Context, *v1alpha1.Broker, *v1alpha1.Trigger) reconciler.Event }
Interface defines the strongly typed interfaces to be implemented by a controller reconciling v1alpha1.Broker.
type Reconciler ¶
type Reconciler struct { // Client is used to write back status updates. Client clientset.Interface ServingClientSet servingclientset.Interface // Listers index properties about resources BrokerLister listers.BrokerLister TriggerLister listers.TriggerLister ServiceLister servinglisters.ServiceLister // The tracker builds an index of what resources are watching other // resources so that we can immediately react to changes to changes in // tracked resources. Tracker tracker.Interface SubResolver *resolver.URIResolver BrokerImage string // TODO // Recorder is an event recorder for recording Event resources to the // Kubernetes API. Recorder record.EventRecorder }
Reconciler implements controller.Reconciler for AddressableService resources.
func (*Reconciler) Reconcile ¶
func (r *Reconciler) Reconcile(ctx context.Context, key string) error
Reconcile implements controller.Reconciler
func (*Reconciler) ReconcileBroker ¶
func (r *Reconciler) ReconcileBroker(ctx context.Context, o *v1alpha1.Broker) reconciler.Event
ReconcileKind implements Interface
func (*Reconciler) ReconcileTrigger ¶
func (r *Reconciler) ReconcileTrigger(ctx context.Context, b *v1alpha1.Broker, o *v1alpha1.Trigger) reconciler.Event
ReconcileKind implements Interface
Click to show internal directories.
Click to hide internal directories.