continual

package
v0.41.5 Latest Latest
Warning

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

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

Documentation

Index

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

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

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

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

type ReplicationOptions struct {
	NumPartitions     int
	ReplicationFactor int
}

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.

type Triggers

type Triggers struct {
	Prefix string
	sut.Triggers
}

Jump to

Keyboard shortcuts

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