broker

package
v0.42.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const BrokerClassEnvVarKey = "BROKER_CLASS"

Variables

This section is empty.

Functions

func Creator

func Creator(client *eventingtestlib.Client, version string) string

Creator creates a Broker with the class that is specified in an environment variable.

func CreatorForClass added in v0.36.0

func CreatorForClass(class string) func(*eventingtestlib.Client, string) string

CreatorForClass creates a Broker with the given class.

func CreatorWithBrokerOptions added in v0.35.0

func CreatorWithBrokerOptions(client *eventingtestlib.Client, version string, brokerOptions ...resources.BrokerOption) string

func CreatorWithOptions added in v0.35.0

func CreatorWithOptions(client *eventingtestlib.Client, version string, brokerOptions []resources.BrokerOption, configOptions []ConfigOptions) string

func GetKafkaClassFromEnv added in v0.34.0

func GetKafkaClassFromEnv() (string, error)

func WithBrokerClassFromEnvVar added in v0.36.0

func WithBrokerClassFromEnvVar(b *eventingv1.Broker)

Types

type ConfigOptions added in v0.35.0

type ConfigOptions func(data map[string]string)

Jump to

Keyboard shortcuts

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