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:
parent
3f3d25d568
commit
f53d5f419e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user