kube

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KubeConfig

func KubeConfig(apiServerHost string) (*rest.Config, error)

KubeConfig will return a rest.Config for communicating with the Kubernetes API server. If apiServerHost is specified, a config without authentication that is configured to talk to the apiServerHost URL will be returned. Else, the in-cluster config will be loaded, and failing this, the config will be loaded from the users local kubeconfig directory

Types

This section is empty.

Jump to

Keyboard shortcuts

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