randutil

package
v2.7.0-nightly.20230526 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes

func Bytes(random *rand.Rand, n int) []byte

Bytes generates random bytes (n is number of bytes)

func NewBytesReader

func NewBytesReader(random *rand.Rand, n int64) *bytesReader

NewBytesReader creates a reader that generates random bytes (n is number of bytes)

func UniqueString

func UniqueString(prefix string) string

UniqueString adds a UUID suffix to 'prefix'. This helps avoid name conflicts between tests that share the same Pachyderm cluster

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL