Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadKubeConfig ¶
LoadKubeConfig loads a Kubernetes client configuration from the specified kubeconfig path and context.
func NewMetricsClientset ¶
func NewMetricsClientset(kubeconfigPath, k8sContext string) (*metricsv1beta1.Clientset, error)
NewMetricsClientset creates a new Kubernetes Metrics Clientset using the provided kubeconfig path and context.
Types ¶
type Client ¶
type Client struct {
ateapipb.ControlClient
// contains filtered or unexported fields
}
Client wraps the gRPC ControlClient and ensures the port-forward connection is closed when done.
Click to show internal directories.
Click to hide internal directories.