1
0
mirror of https://github.com/rancher/types.git synced 2025-04-28 02:30:07 +00:00

Add kubeconfig to scaledcontext

This commit is contained in:
Darren Shepherd 2020-02-12 14:45:06 -07:00
parent 3f3d25d568
commit f53d5f419e

View File

@ -36,6 +36,7 @@ import (
k8dynamic "k8s.io/client-go/dynamic"
"k8s.io/client-go/kubernetes"
"k8s.io/client-go/rest"
clientcmdapi "k8s.io/client-go/tools/clientcmd/api"
)
var (
@ -45,6 +46,7 @@ var (
type ScaledContext struct {
ClientGetter proxy.ClientGetter
KubeConfig clientcmdapi.Config
RESTConfig rest.Config
UnversionedClient rest.Interface
K8sClient kubernetes.Interface