k8s

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateStats

func CalculateStats(data []float64) (mean float64, stdDev float64)

func FindServiceNamespace

func FindServiceNamespace(serviceName string, clientset *kubernetes.Clientset) string

func GetNodeName

func GetNodeName(podName string, args []string, clientset *kubernetes.Clientset) string

func GetNodeNameFromPod

func GetNodeNameFromPod(podName string, clientset *kubernetes.Clientset) string

func ListPod

func ListPod(node string, clientset *kubernetes.Clientset)

func PromptForService

func PromptForService(clientset *kubernetes.Clientset) (serviceName string, namespace string)

func SelectNode

func SelectNode(args []string, clientset *kubernetes.Clientset) string

func ShowServiceDetailsAndRelatedResources

func ShowServiceDetailsAndRelatedResources(serviceName, namespace string, clientset *kubernetes.Clientset)

func TopPod

func TopPod(node string, clientset *kubernetes.Clientset, metricsClient *versioned.Clientset)

func ZScore

func ZScore(value, mean, stdDev float64) float64

Types

This section is empty.

Jump to

Keyboard shortcuts

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