Versions in this module Expand all Collapse all v1 v1.7.0 Feb 14, 2023 Changes in this version + func GetKubeConfig() string + type Client interface + APIExtensionClientSet func() apiextension.Interface + APIRegistrationClientSet func() aggregator.Interface + ClientSet func() kubernetes.Interface + Config func() *rest.Config + DynamicClientSet func() dynamic.Interface + HelmAction func(namespace string) (*action.Configuration, error) + MeshExists func() (bool, error) + MetricsClientSet func() metrics.Interface + Namespace func() string + type ClientImpl struct + APIExtensionClientset apiextension.Interface + Clientset kubernetes.Interface + HelmInvoker HelmWrapper + func NewK8SClient(kubeconfig, namespace string) (*ClientImpl, error) + func (k *ClientImpl) APIExtensionClientSet() apiextension.Interface + func (k *ClientImpl) APIRegistrationClientSet() aggregator.Interface + func (k *ClientImpl) ClientSet() kubernetes.Interface + func (k *ClientImpl) Config() *rest.Config + func (k *ClientImpl) DynamicClientSet() dynamic.Interface + func (k *ClientImpl) HelmAction(namespace string) (*action.Configuration, error) + func (k *ClientImpl) MeshExists() (bool, error) + func (k *ClientImpl) MetricsClientSet() metrics.Interface + func (k *ClientImpl) Namespace() string + type HelmInvoker struct + func (hi *HelmInvoker) HelmAction(namespace string) (*action.Configuration, error) + type HelmWrapper interface + HelmAction func(namespace string) (*action.Configuration, error) + func NewHelmInvoker(kubeconfig, namespace string, deferredClientConfig clientcmd.ClientConfig) HelmWrapper