Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
LoadConfig loads a Kubernetes client configuration from the specified kubeconfig path and context.
func NewK8sClientset ¶
func NewK8sClientset(kubeconfigPath, k8sContext string) (*kubernetes.Clientset, error)
NewK8sClientset creates a new Kubernetes 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.