Documentation ¶
Index ¶
- func GVR() schema.GroupVersionResource
- func GoesReady(name string, cfg ...manifest.CfgFn) *feature.Feature
- func HasNumPartitions(name string, numPartitions int, timings ...time.Duration) feature.StepFn
- func HasReplicationFactor(name string, replicationFactor int, timings ...time.Duration) feature.StepFn
- func Install(name string, opts ...manifest.CfgFn) feature.StepFn
- func IsReady(name string, timings ...time.Duration) feature.StepFn
- func WithClusterName(name string) manifest.CfgFn
- func WithClusterNamespace(namespace string) manifest.CfgFn
- func WithPartitions(partitions string) manifest.CfgFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GVR ¶
func GVR() schema.GroupVersionResource
func GoesReady ¶ added in v0.41.10
GoesReady returns a feature that will create a topic of the given name and confirm it becomes ready.
func HasNumPartitions ¶ added in v0.37.0
HasReplicationFactor asserts that the Topic has the given replication factor.
func HasReplicationFactor ¶ added in v0.37.0
func HasReplicationFactor(name string, replicationFactor int, timings ...time.Duration) feature.StepFn
HasReplicationFactor asserts that the Topic has the given replication factor.
func Install ¶
Install will create a Kafka Topic via the Strimzi topic CRD,, augmented with the config fn options.
func WithClusterName ¶
WithClusterName overrides the Kafka cluster names where to create the topic (default: my-cluster)
func WithClusterNamespace ¶
WithClusterNamespace overrides the Kafka cluster namespace where to create the topic (default: kafka)
func WithPartitions ¶
WithPartitions overrides the number of partitions (default: 10).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.