kubernetesk8s.io/kubernetes/pkg/util/rand Index | Files

package rand

import "k8s.io/kubernetes/pkg/util/rand"

Package rand provides utilities related to randomization.

Index

Functions

func Seed

func Seed(seed int64)

Seed seeds the rng with the provided seed.

func String

func String(n int) string

String generates a random alphanumeric string n characters long. This will panic if n is less than zero.

Source Files

rand.go

Version
v1.1.0-alpha.1
Published
Aug 28, 2015
Platform
js/wasm
Imports
3 packages
Last checked
55 minutes ago

Tools for package owners.