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.
Click to show internal directories.
Click to hide internal directories.