Versions in this module Expand all Collapse all v0 v0.7.0 Sep 28, 2019 v0.1.1 Sep 24, 2019 Changes in this version + type ClientInterface interface + Close func() + DefaultNamespace func() string + DiscoveryClient func() (discovery.DiscoveryInterface, error) + DynamicClient func() (dynamic.Interface, error) + InfoClient func() (InfoInterface, error) + KubernetesClient func() (kubernetes.Interface, error) + NamespaceClient func() (NamespaceInterface, error) + Resource func(schema.GroupKind) (schema.GroupVersionResource, error) + ResourceExists func(schema.GroupVersionResource) bool + type Cluster struct + func FromKubeConfig(ctx context.Context, kubeConfig, contextName string, options RESTConfigOptions) (*Cluster, error) + func (c *Cluster) Close() + func (c *Cluster) DefaultNamespace() string + func (c *Cluster) DiscoveryClient() (discovery.DiscoveryInterface, error) + func (c *Cluster) DynamicClient() (dynamic.Interface, error) + func (c *Cluster) InfoClient() (InfoInterface, error) + func (c *Cluster) KubernetesClient() (kubernetes.Interface, error) + func (c *Cluster) NamespaceClient() (NamespaceInterface, error) + func (c *Cluster) RESTClient() (rest.Interface, error) + func (c *Cluster) RESTConfig() *rest.Config + func (c *Cluster) Resource(gk schema.GroupKind) (schema.GroupVersionResource, error) + func (c *Cluster) ResourceExists(gvr schema.GroupVersionResource) bool + func (c *Cluster) Version() (string, error) + type InfoInterface interface + Cluster func() string + Context func() string + Server func() string + User func() string + type NamespaceInterface interface + InitialNamespace func() string + Names func() ([]string, error) + type RESTConfigOptions struct + Burst int + QPS float32 + type RESTInterface interface + RESTClient func() (rest.Interface, error) + RESTConfig func() *rest.Config