config

package
v0.0.0-...-0e15285 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const NamespaceEnv = "POD_NAMESPACE"

NamespaceEnv is the environment variable for setting the k8s namespace

Variables

This section is empty.

Functions

func GetNamespaceFromEnv

func GetNamespaceFromEnv() string

GetNamespaceFromEnv gets the Kubernetes namespace from the environment

func GetRestConfig

func GetRestConfig() (*rest.Config, error)

GetRestConfig returns the Kubernetes REST API configuration

func GetRestConfigOrDie

func GetRestConfigOrDie() *rest.Config

GetRestConfigOrDie returns the Kubernetes REST API configuration

Types

This section is empty.

Jump to

Keyboard shortcuts

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