Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KubeConfigPathFlag *string
Functions ¶
func GetKubeClient ¶
func GetKubeClient() (*kubernetes.Clientset, error)
func GetKubeConfig ¶
func NewK8sAPIServer ¶
func NewK8sAPIServer(pr PodRegistry) k8sApi.K8SDaemonServer
Types ¶
type ForEachHandler ¶
type PodRegistry ¶
type PodRegistry interface { AddPod(pod v1.Pod) GetPod(key string) (v1.Pod, bool) RemovePod(pod v1.Pod) ForEach(handler ForEachHandler) }
func NewPodRegistry ¶
func NewPodRegistry() PodRegistry
Click to show internal directories.
Click to hide internal directories.