utils

package
v0.0.0-...-bd297b8 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClient

func GetClient() kubernetes.Interface

GetClient returns a k8s clientset to the request from inside of cluster

func GetClientOutOfCluster

func GetClientOutOfCluster(apiServerHost, kubeconfigPath string) kubernetes.Interface

GetClientOutOfCluster returns a k8s clientset to the request from outside of cluster

func Retry

func Retry(f func() error, describe string, attempts int, sleep int) error

func Sqrt

func Sqrt(f float64) (float64, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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