testutil

package
v1.8.6 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindModuleDir

func FindModuleDir(module string) string

FindModuleDir returns the on-disk directory for the provided Go module.

func GetRootDir

func GetRootDir() (string, error)

GetRootDir returns the root directory of this git repo.

func GetRootDirOrDie

func GetRootDirOrDie() string

GetRootDirOrDie returns the root directory of this git repo or dies.

func WriteKubeConfig

func WriteKubeConfig(config *rest.Config) ([]byte, error)

WriteKubeConfig writes an existing *rest.Config out as the typical KubeConfig YAML data.

Types

This section is empty.

Jump to

Keyboard shortcuts

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