package
2.10.18+incompatible
Repository: https://github.com/kosli-dev/cli.git
Documentation: pkg.go.dev

# Functions

GetClusterNamespaces gets a namespace list from the cluster.
GetPodsData lists pods in the target namespace(s) of a target cluster and creates a list of PodData objects for them.
NewK8sClientSet creates a k8s clientset if the kubeconfigPath is empty, it attempts to get an in-cluster client.
NewPodData creates a PodData object from a k8s pod.

# Structs

K8sEnvRequest represents the PUT request body to be sent to kosli from k8s.
PodData represents the harvested pod data.