utils

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoCurrentNamespace = errors.New("could not determine current namespace")
)

Functions

func GetCurrentNamespace

func GetCurrentNamespace() (string, error)

GetCurrentNamespace returns the "current" namespace, as it is configured in the default service account's namespace file. The namespace file should be accessible when running in a cluster.

Types

This section is empty.

Jump to

Keyboard shortcuts

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