Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsExcludedResource ¶
func IsExcludedResource(gvk schema.GroupVersionKind) bool
Types ¶
type KubeClient ¶
type KubeClient struct { Cluster cluster.Cluster Discovery *discovery.DiscoveryClient }
func MakeKubeClient ¶
func MakeKubeClient(config *genericclioptions.ConfigFlags, allNamespaces bool) (*KubeClient, error)
func MakeKubeClientFromCluster ¶
func MakeKubeClientFromCluster(c cluster.Cluster) (*KubeClient, error)
func MakeKubeClientFromRestConfig ¶
func MakeKubeClientFromRestConfig(cfg *rest.Config, namespace string) (*KubeClient, error)
func (*KubeClient) DetectGVK ¶
func (k *KubeClient) DetectGVK(arg string) (*schema.GroupVersionKind, error)
func (*KubeClient) IsValidGVK ¶
func (k *KubeClient) IsValidGVK(gvk *schema.GroupVersionKind) error
Click to show internal directories.
Click to hide internal directories.