consumer

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: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FalseAnyStatus added in v0.35.6

func FalseAnyStatus(*corev1.Pod) bool

func IsPodNotRunning added in v0.35.6

func IsPodNotRunning(p *corev1.Pod) bool

func NewController added in v0.30.0

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

Types

type ControllerConfig added in v0.32.0

type ControllerConfig struct {
	ContractConfigMapFormat string `required:"true" split_words:"true"`
}

type PodStatusSummary added in v0.41.0

type PodStatusSummary struct {
	Pod *corev1.Pod
}

func (*PodStatusSummary) Error added in v0.41.0

func (s *PodStatusSummary) Error() string

type PodStatusWaitFunc added in v0.35.6

type PodStatusWaitFunc func(p *corev1.Pod) bool

type Reconciler

type Reconciler struct {
	SerDe                      contract.FormatSerDe
	Resolver                   *resolver.URIResolver
	Tracker                    tracker.Interface
	ConsumerGroupLister        kafkainternalslisters.ConsumerGroupLister
	SecretLister               corelisters.SecretLister
	PodLister                  corelisters.PodLister
	KubeClient                 kubernetes.Interface
	KafkaFeatureFlags          *config.KafkaFeatureFlags
	TrustBundleConfigMapLister corelisters.ConfigMapNamespaceLister
}

func (*Reconciler) FinalizeKind

func (*Reconciler) ReconcileKind

func (r *Reconciler) ReconcileKind(ctx context.Context, c *kafkainternals.Consumer) reconciler.Event

func (*Reconciler) SecretProviderFunc

func (r *Reconciler) SecretProviderFunc() security.SecretProviderFunc

type SecretLocator

type SecretLocator struct {
	*kafkainternals.Consumer
}

func (*SecretLocator) SecretName

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

func (*SecretLocator) SecretNamespace

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

Jump to

Keyboard shortcuts

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