source

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultDeliveryOrder = sources.Ordered

	KafkaConditionConsumerGroup apis.ConditionType = "ConsumerGroup" //condition is registered by controller
)

Variables

This section is empty.

Functions

func GetLabels added in v0.33.0

func GetLabels(name string) map[string]string

func GetLabelsAsSelector added in v0.33.0

func GetLabelsAsSelector(name string) (labels.Selector, error)

func NewController

func NewController(ctx context.Context, watcher configmap.Watcher) *controller.Impl

Types

type Reconciler

type Reconciler struct {
	KubeClient           kubernetes.Interface
	ConsumerGroupLister  internalslst.ConsumerGroupLister
	InternalsClient      internalsclient.Interface
	KedaClient           kedaclientset.Interface
	KafkaFeatureFlags    *config.KafkaFeatureFlags
	ServiceAccountLister corelisters.ServiceAccountLister
}

func (Reconciler) FinalizeKind

func (r Reconciler) FinalizeKind(ctx context.Context, ks *sources.KafkaSource) reconciler.Event

Need to have an empty definition here to ensure that we can delete older sources which had a finalizer

func (*Reconciler) ReconcileKind

func (r *Reconciler) ReconcileKind(ctx context.Context, ks *sources.KafkaSource) reconciler.Event

Jump to

Keyboard shortcuts

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