kubeutils

package
v0.0.0-...-5e0bd72 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateKubeClientset

func CreateKubeClientset() (clientset *kubernetes.Clientset, err error)

CreateKubeClientset creates a new kubernetes clientset

func TryCreateKubeClientset

func TryCreateKubeClientset() *kubernetes.Clientset

TryCreateKubeClientset creates a new kubernetes clientset. If it fails return nil

func TryGetSecretInBytes

func TryGetSecretInBytes(secret string, key string) (value []byte, exists bool)

TryGetSecretInBytes retrieves the value of given key in the given secret in current namespace.

func TryGetSystemConfig

func TryGetSystemConfig(key string) (value string, exists bool)

TryGetSystemConfig retrieves the value of given key in a01 system config.

Types

This section is empty.

Jump to

Keyboard shortcuts

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