Documentation ¶
Index ¶
- Constants
- func Creator(client *eventingtestlib.Client, version string) string
- func CreatorForClass(class string) func(*eventingtestlib.Client, string) string
- func CreatorWithBrokerOptions(client *eventingtestlib.Client, version string, ...) string
- func CreatorWithOptions(client *eventingtestlib.Client, version string, ...) string
- func GetKafkaClassFromEnv() (string, error)
- func WithBrokerClassFromEnvVar(b *eventingv1.Broker)
- type ConfigOptions
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 WithBrokerClassFromEnvVar ¶ added in v0.36.0
func WithBrokerClassFromEnvVar(b *eventingv1.Broker)
Types ¶
type ConfigOptions ¶ added in v0.35.0
Click to show internal directories.
Click to hide internal directories.