MCPcopy
hub / github.com/apecloud/kubeblocks / GetRandomStr

Method GetRandomStr

pkg/testutil/type.go:146–149  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

144}
145
146func (testCtx TestContext) GetRandomStr() string {
147 seq, _ := password.Generate(6, 2, 0, true, true)
148 return seq
149}
150
151func (testCtx TestContext) UsingExistingCluster() bool {
152 if testCtx.TestEnv == nil || testCtx.TestEnv.UseExistingCluster == nil {

Calls

no outgoing calls

Tested by 2

createStopOpsRequestFunction · 0.64
createHorizontalScalingFunction · 0.64