Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Random ¶
Random returns a CEL library that provides functions to generate random text
Library functions:
random.seededString() returns a CEL function that generates deterministic random strings based on a seed.
The function takes two arguments: - length: an integer specifying the length of the random string to generate - seed: a string used as the seed for the random string generation
Example usage:
random.seededString(10, schema.metadata.uid)
This will generate a random string of length 10 using the seed schema.metadata.uid. The same length and seed will always produce the same random string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.