kube-monkey: github.com/asobti/kube-monkey/kubernetes Index | Files

package kubernetes

import "github.com/asobti/kube-monkey/kubernetes"

Package kubernetes is the km k8 package that sets up the configured k8 clientset used to communicate with the apiserver

Use CreateClient to create and verify connectivity. It's recommended to create a new clientset after a period of inactivity

Index

Package Files

kubernetes.go

func CreateClient Uses

func CreateClient() (*kube.Clientset, error)

CreateClient creates, verifes and returns an instance of k8 clientset

func NewInClusterClient Uses

func NewInClusterClient() (*kube.Clientset, error)

NewInClusterClient only creates an initialized instance of k8 clientset

func VerifyClient Uses

func VerifyClient(client discovery.DiscoveryInterface) bool

Package kubernetes imports 6 packages (graph) and is imported by 3 packages. Updated 2018-06-29. Refresh now. Tools for package owners.