loadtestutil
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
Constants¶
const (// Prefix for all scaletest resources (users and workspaces)ScaleTestPrefix = "scaletest"// Email domain for scaletest usersEmailDomain = "@scaletest.local"DefaultRandLength = 8)
Variables¶
This section is empty.
Functions¶
funcGenerateUserIdentifier¶added inv2.27.0
GenerateUserIdentifier generates a username and email for scale testing.The username follows the pattern: scaletest-<random>-<id>The email follows the pattern: <random>-<id>@scaletest.local
funcGenerateWorkspaceName¶added inv2.27.0
GenerateWorkspaceName generates a workspace name for scale testing.The workspace name follows the pattern: scaletest-<random>-<id>
funcIsScaleTestUser¶added inv2.27.0
IsScaleTestUser checks if a username indicates it was created for scale testing.
funcIsScaleTestWorkspace¶added inv2.27.0
IsScaleTestWorkspace checks if a workspace name indicates it was created for scale testing.
Types¶
typeSyncWriter¶
type SyncWriter struct {// contains filtered or unexported fields}SyncWriter wraps an io.Writer in a sync.Mutex.
funcNewSyncWriter¶
func NewSyncWriter(wio.Writer) *SyncWriter
func (*SyncWriter)Close¶
func (sw *SyncWriter) Close()error