Documentation ¶
Index ¶
- func BrokerBackedByChannelTest(opts ChannelTestOptions) pkgupgrade.BackgroundOperation
- func BrokerTest(opts KafkaBrokerTestOptions) pkgupgrade.BackgroundOperation
- func ChannelTest(opts ChannelTestOptions) pkgupgrade.BackgroundOperation
- func SinkSourceTest(opts KafkaSinkSourceTestOptions) pkgupgrade.BackgroundOperation
- type Broker
- type ChannelTestOptions
- type KafkaBrokerTestOptions
- type KafkaSinkSourceTestOptions
- type ReplicationOptions
- type RetryOptions
- type Sink
- type Source
- type TestOptions
- type Triggers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BrokerBackedByChannelTest ¶ added in v0.36.0
func BrokerBackedByChannelTest(opts ChannelTestOptions) pkgupgrade.BackgroundOperation
BrokerBackedByChannelTest tests a broker backed by KafkaChannel operation in continual manner during the whole upgrade and downgrade process asserting that all event are propagated well.
func BrokerTest ¶
func BrokerTest(opts KafkaBrokerTestOptions) pkgupgrade.BackgroundOperation
BrokerTest tests a broker operation in continual manner during the whole upgrade and downgrade process asserting that all event are propagated well.
func ChannelTest ¶ added in v0.36.0
func ChannelTest(opts ChannelTestOptions) pkgupgrade.BackgroundOperation
ChannelTest tests channel operation in continual manner during the whole upgrade and downgrade process asserting that all event are propagated well.
func SinkSourceTest ¶ added in v0.29.0
func SinkSourceTest(opts KafkaSinkSourceTestOptions) pkgupgrade.BackgroundOperation
Types ¶
type Broker ¶
type Broker struct { Name string Class string *ReplicationOptions *RetryOptions }
type ChannelTestOptions ¶ added in v0.36.0
type ChannelTestOptions struct { *TestOptions *ReplicationOptions *RetryOptions *metav1.TypeMeta }
ChannelTestOptions holds test options for KafkaChannel tests.
type KafkaBrokerTestOptions ¶
type KafkaBrokerTestOptions struct { *TestOptions *Broker *Triggers }
KafkaBrokerTestOptions holds test options for Kafka Broker tests.
type KafkaSinkSourceTestOptions ¶ added in v0.29.0
type KafkaSinkSourceTestOptions struct { *TestOptions *Sink *Source }
type ReplicationOptions ¶ added in v0.36.0
ReplicationOptions hold options for replication.
type RetryOptions ¶ added in v0.36.0
type RetryOptions struct { RetryCount int BackoffPolicy eventingduckv1.BackoffPolicyType BackoffDelay string }
RetryOptions holds options for retries.
type Sink ¶ added in v0.29.0
type Sink struct { Name string Spec eventing.KafkaSinkSpec }
type Source ¶ added in v0.29.0
type Source struct { Name string Spec sources.KafkaSourceSpec }
type TestOptions ¶
type TestOptions struct { prober.ContinualVerificationOptions SUTs map[string]sut.SystemUnderTest }
TestOptions holds options for EventingKafka continual tests.