shared

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckElasticsearchDocuments

func CheckElasticsearchDocuments(indexName string, expected int)

CheckElasticsearchDocuments fetches all documents from the passed index and checks for the expected number of matches.

func ConsumeTestData

func ConsumeTestData(topic string, expected int)

ConsumeTestData consumes data from the passed topic, stopping when it reaches the expected number of records or times out.

func ProduceTestData

func ProduceTestData(topic string, count int)

ProduceTestData generates syslog entries onto the test topic.

Types

This section is empty.

Jump to

Keyboard shortcuts

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