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.
Click to show internal directories.
Click to hide internal directories.