test

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PathShardingCRDs

func PathShardingCRDs() string

PathShardingCRDs returns the path to the directory containing the sharding CRDs. For use in tests only.

func RandomSuffix

func RandomSuffix() string

RandomSuffix generates a random string that is safe to use as a name suffix in tests.

func RepoRoot

func RepoRoot() string

RepoRoot returns a relative path from the current working directory to the repository root. For use in tests only.

func UseExistingCluster

func UseExistingCluster() bool

UseExistingCluster reads the `USE_EXISTING_CLUSTER` env var similar to what envtest does, though exported.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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