natsstreaming

package
v0.0.0-...-932eec2 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ComponentType    = "pubsub.natsstreaming"
	ComponentVersion = "v1"
	ScaledObjectType = "stan"
)

Variables

This section is empty.

Functions

Types

type EventBus

type EventBus struct {
	Spec     *ofevent.NatsStreamingSpec
	Metadata map[string]interface{}
	// contains filtered or unexported fields
}

func (*EventBus) GenComponent

func (eb *EventBus) GenComponent(namespace string, name string) (*componentsv1alpha1.Component, error)

func (*EventBus) GenScaleOptions

func (eb *EventBus) GenScaleOptions(subjects []string) (*ofcore.KedaScaledObject, []*kedav1alpha1.ScaleTriggers)

func (*EventBus) GetMetadata

func (eb *EventBus) GetMetadata() map[string]interface{}

func (*EventBus) SetMetadata

func (eb *EventBus) SetMetadata(key string, value interface{})

Jump to

Keyboard shortcuts

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