common

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyObjToNode

func CopyObjToNode(obj interface{}) (*v1.Node, error)

CopyObjToNode copies a Node object, so that no changes would be done to the original Node which is part of the cache

func GetClientConfig

func GetClientConfig(kubeconfig string) (*rest.Config, error)

GetClientConfig gets the credentials necessary to connect to the Kubernetes cluster either through the specified kubeconfig or to get the necessary info from the running pod within the cluster

Types

This section is empty.

Jump to

Keyboard shortcuts

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