Documentation ¶
Index ¶
- func FindNotEvictedPod(pods []v1.Pod) v1.Pod
- func GetKubeClient(config *rest.Config) (*kubernetes.Clientset, error)
- func GetMatchingContexts(config api.Config, context string) []string
- func GetNodes(kubeClient *kubernetes.Clientset) (map[string]v1.Node, error)
- func GetPersistentVolumes(kubeClient *kubernetes.Clientset) (map[string]v1.PersistentVolume, error)
- func GetPodStatus(pod v1.Pod) string
- func GetPodsByPVC(kubeClient *kubernetes.Clientset) (map[string][]v1.Pod, error)
- func GetServices(kubeClient *kubernetes.Clientset) (map[int32]v1.Service, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKubeClient ¶
func GetKubeClient(config *rest.Config) (*kubernetes.Clientset, error)
func GetPersistentVolumes ¶
func GetPersistentVolumes(kubeClient *kubernetes.Clientset) (map[string]v1.PersistentVolume, error)
func GetPodStatus ¶
func GetPodsByPVC ¶
func GetServices ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.