kube

package
v0.0.30 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ResourceMap = map[string]runtime.Object{
	"configMaps": &v1.ConfigMap{},
	"secrets":    &v1.Secret{},
}

ResourceMap are resources from where changes are going to be detected

Functions

func GetClient

func GetClient() (*kubernetes.Clientset, error)

GetClient gets the client for k8s, if ~/.kube/config exists so get that config else incluster config

Types

This section is empty.

Jump to

Keyboard shortcuts

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