controller

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SubscriptionReconciler

type SubscriptionReconciler struct {
	crclient.Client
	Scheme    *runtime.Scheme
	NewClient newPubSubClientFunc
	Recorder  record.EventRecorder
	Clock     clock.PassiveClock
}

SubscriptionReconciler reconciles a Subscription object

func (*SubscriptionReconciler) Reconcile

func (r *SubscriptionReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*SubscriptionReconciler) SetupWithManager

func (r *SubscriptionReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type TopicReconciler

type TopicReconciler struct {
	crclient.Client
	Scheme    *runtime.Scheme
	NewClient newPubSubClientFunc
	Recorder  record.EventRecorder
	Clock     clock.PassiveClock
}

TopicReconciler reconciles a Topic object

func (*TopicReconciler) Reconcile

func (r *TopicReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*TopicReconciler) SetupWithManager

func (r *TopicReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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