Documentation ¶
Index ¶
- Variables
- func AdminName() string
- func AlphaN(num int) string
- func AlphanumericN(num int) string
- func Bool() bool
- func Comment() string
- func GenerateRSAPublicKey(t *testing.T) (string, string)
- func GenerateX509(t *testing.T) string
- func Password() string
- func String() string
- func StringN(num int) string
- func UUID() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AcceptanceTestsSuffix = acceptanceTestsSuffix() IntegrationTestsSuffix = integrationTestsSuffix() )
TODO [SNOW-955520]: add generation tests TODO [SNOW-955520]: use the same fallback suffix for acceptance and integration tests (now two different ones are generated if the env is missing)
Functions ¶
func AdminName ¶ added in v0.92.0
func AdminName() string
AdminName returns admin name acceptable by Snowflake: 090088 (22000): ADMIN_NAME can only contain letters, numbers and underscores. 090089 (22000): ADMIN_NAME must start with a letter.
func AlphanumericN ¶
func GenerateRSAPublicKey ¶ added in v0.92.0
GenerateRSA returns an RSA public key without BEGIN and END markers, and key's hash.
func GenerateX509 ¶ added in v0.92.0
Generate X509 returns base64 encoded certificate on a single line without the leading -----BEGIN CERTIFICATE----- and ending -----END CERTIFICATE----- markers.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.