kubernetes

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClient

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

CreateClient creates, verifes and returns an instance of k8 clientset

func NewInClusterClient

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

NewInClusterClient only creates an initialized instance of k8 clientset

func VerifyClient

func VerifyClient(client discovery.DiscoveryInterface) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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