kubeconfig

package
v0.0.0-...-aab1398 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InCluster bool

InCluster true when endpoints are accessible, when the service is running with the cluster's network namespaces

Functions

func CheckInCluster

func CheckInCluster() bool

CheckInCluster reports if the env variable is set for cluster

func NewClientset

func NewClientset(kubeconfig string) *kubernetes.Clientset

NewClientset returns a new handle to a kubernetes client takes kubeconfig path arg

Types

This section is empty.

Jump to

Keyboard shortcuts

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