jetstream

package
v0.0.0-...-a7b4c27 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToScheme

func AddToScheme(scheme *runtime.Scheme) error

AddToScheme adds all types of clientset and eventing into the given scheme.

func AddV1Alpha2ToScheme

func AddV1Alpha2ToScheme(scheme *runtime.Scheme) error

AddV1Alpha2ToScheme adds v1alpha2 scheme into the given scheme.

Types

type SubscriptionManager

type SubscriptionManager struct {
	// contains filtered or unexported fields
}

func NewSubscriptionManager

func NewSubscriptionManager(restCfg *rest.Config, natsConfig env.NATSConfig, metricsAddr string,
	metricsCollector *backendmetrics.Collector, logger *logger.Logger,
) *SubscriptionManager

NewSubscriptionManager creates the subscription manager for JetStream.

func (*SubscriptionManager) Init

func (sm *SubscriptionManager) Init(mgr manager.Manager) error

Init initialize the JetStream subscription manager.

func (*SubscriptionManager) Start

func (*SubscriptionManager) Stop

func (sm *SubscriptionManager) Stop(runCleanup bool) error

Jump to

Keyboard shortcuts

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