queue

package
v0.22.5 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunAssertions

func RunAssertions(ctx context.Context, queueNames []string, testSpec *api.TestSpec, conn *client.ApiConnectionDetails, out io.Writer) error

RunAssertions checks queue state assertions. activeInPool is checked against testSpec.Queue (the queue jobs are submitted to); appearsInStream and matches are checked against every queue in queueNames, since a batched setup creates and updates many queues that must all be valid.

func RunSetup

func RunSetup(ctx context.Context, testSpec *api.TestSpec, conn *client.ApiConnectionDetails, out io.Writer) ([]string, error)

RunSetup creates the queue(s) if configured and returns list of created queue names

func RunTeardown

func RunTeardown(queueNames []string, testSpec *api.TestSpec, conn *client.ApiConnectionDetails, out io.Writer) error

RunTeardown deletes the queue(s).

func RunUpdate

func RunUpdate(ctx context.Context, queueNames []string, testSpec *api.TestSpec, conn *client.ApiConnectionDetails, out io.Writer) error

RunUpdate applies the configured update to the queue(s), if configured.

Types

This section is empty.

Jump to

Keyboard shortcuts

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