sink

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExternalTopicOwner   = "external"
	ControllerTopicOwner = "kafkasink-controller"
)

Variables

This section is empty.

Functions

func NewController

func NewController(ctx context.Context, _ configmap.Watcher, configs *config.Env) *controller.Impl

Types

type Reconciler

type Reconciler struct {
	*base.Reconciler
	*config.Env

	ConfigMapLister corelisters.ConfigMapLister

	// NewKafkaClusterAdminClient creates new sarama ClusterAdmin. It's convenient to add this as Reconciler field so that we can
	// mock the function used during the reconciliation loop.
	NewKafkaClusterAdminClient kafka.NewClusterAdminClientFunc

	Prober prober.Prober

	IngressHost string
}

func (*Reconciler) FinalizeKind

func (r *Reconciler) FinalizeKind(ctx context.Context, ks *eventing.KafkaSink) reconciler.Event

func (*Reconciler) ReconcileKind

func (r *Reconciler) ReconcileKind(ctx context.Context, ks *eventing.KafkaSink) reconciler.Event

type SecretLocator added in v0.21.0

type SecretLocator struct {
	*eventing.KafkaSink
}

func (*SecretLocator) SecretName added in v0.21.0

func (ks *SecretLocator) SecretName() (string, bool)

func (*SecretLocator) SecretNamespace added in v0.21.0

func (ks *SecretLocator) SecretNamespace() (string, bool)

Jump to

Keyboard shortcuts

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