k8s

package
v5.1.11-release+incomp... Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2020 License: LGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefListEventsByPod

func DefListEventsByPod(clientset kubernetes.Interface, pod *corev1.Pod) *corev1.EventList

DefListEventsByPod default implementatoin of ListEventsByPod

func ExtractLabels

func ExtractLabels(labels map[string]string) (string, string, string, string)

ExtractLabels extracts the service information from the labels

func NewClientset

func NewClientset(kubecfg string) (kubernetes.Interface, error)

NewClientset -

func NewRainbondFilteredSharedInformerFactory

func NewRainbondFilteredSharedInformerFactory(clientset kubernetes.Interface) informers.SharedInformerFactory

NewRainbondFilteredSharedInformerFactory -

Types

type ListEventsByPod

type ListEventsByPod func(kubernetes.Interface, *corev1.Pod) *corev1.EventList

ListEventsByPod -

Jump to

Keyboard shortcuts

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