Documentation ¶
Index ¶
- type ClusterClient
- type HelmRESTClientGetter
- func (c *HelmRESTClientGetter) ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error)
- func (c *HelmRESTClientGetter) ToRESTConfig() (*rest.Config, error)
- func (c *HelmRESTClientGetter) ToRESTMapper() (meta.RESTMapper, error)
- func (c *HelmRESTClientGetter) ToRawKubeConfigLoader() clientcmd.ClientConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterClient ¶
type ClusterClient struct { RestConfig *rest.Config KubeClient kubernetes.Interface RESTClientGetter genericclioptions.RESTClientGetter NsInContext string }
func GetClusterClient ¶
func GetClusterClient(kubeconfigPath string, context string) (*ClusterClient, error)
type HelmRESTClientGetter ¶
type HelmRESTClientGetter struct {
// contains filtered or unexported fields
}
func NewRESTClientGetter ¶
func NewRESTClientGetter(restConfig *rest.Config, clientConfig clientcmd.ClientConfig, ) *HelmRESTClientGetter
func (*HelmRESTClientGetter) ToDiscoveryClient ¶
func (c *HelmRESTClientGetter) ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error)
func (*HelmRESTClientGetter) ToRESTConfig ¶
func (c *HelmRESTClientGetter) ToRESTConfig() (*rest.Config, error)
func (*HelmRESTClientGetter) ToRESTMapper ¶
func (c *HelmRESTClientGetter) ToRESTMapper() (meta.RESTMapper, error)
func (*HelmRESTClientGetter) ToRawKubeConfigLoader ¶
func (c *HelmRESTClientGetter) ToRawKubeConfigLoader() clientcmd.ClientConfig
Click to show internal directories.
Click to hide internal directories.