kubernetes

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Overview

Package kubernetes Manage connection to kubernetes

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func K8SExternal

func K8SExternal(ctx context.Context) (client *kubernetes.Clientset, err error)

K8SExternal Connect to External k8s Cluster

func K8sInternal

func K8sInternal(ctx context.Context) (client *kubernetes.Clientset, err error)

K8sInternal Connect to Internal k8s Cluster

func PodDiscovery

func PodDiscovery(ctx context.Context) (pods *v1.PodList, err error)

PodDiscovery will send IP of API CNI CLeanup POD

Types

This section is empty.

Jump to

Keyboard shortcuts

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