utils

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes

func Bytes(n int) []byte

Bytes generates n random bytes.

func GetConfig

func GetConfig(kubeconfigPath string) (*rest.Config, error)

func LoadConfig

func LoadConfig(kubeconfigPath string) (*rest.Config, error)

func String

func String(n int, letters ...string) string

String generates a random string using only letters provided in the letters parameter if user omit letters parameters, this function will use defLetters instead.

Types

This section is empty.

Jump to

Keyboard shortcuts

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