testutils

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddMessagesToQueue

func AddMessagesToQueue(client sqsiface.SQSAPI, qname string, nBatches, messageBatchSize int) (err error)

func CountMessagesInQueue

func CountMessagesInQueue(client sqsiface.SQSAPI, qname string,
	messageBatchSize, visibilityTimeoutSeconds int64) (totalMessages, totalMessagesWithAttrs int, err error)

func CountObjectsInBucket added in v1.15.0

func CountObjectsInBucket(client s3iface.S3API, bucket, prefix string) (count int, err error)

func CreateQueue

func CreateQueue(client sqsiface.SQSAPI, qname string) (err error)

func CreateTopic added in v1.15.0

func CreateTopic(client snsiface.SNSAPI, topic string) (output *sns.CreateTopicOutput, err error)

func DeleteQueue

func DeleteQueue(client sqsiface.SQSAPI, qname string) (err error)

func DeleteTopic added in v1.15.0

func DeleteTopic(client snsiface.SNSAPI, topicArn string) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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