Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiscoveryClient ¶
type DiscoveryClient struct { ClientSet dynamic.Interface DiscoveryClient discovery.DiscoveryInterface Instance *api.Instance // contains filtered or unexported fields }
DiscoveryClient is the declaration to hold objects needed for client-go/discovery.
func NewDiscoveryClient ¶
func NewDiscoveryClient(namespace string, kubeContext string, instance *api.Instance, kubeConfigPath string) (*DiscoveryClient, error)
NewDiscoveryClient returns a new struct with config portions complete.
func (*DiscoveryClient) GetApiResources ¶
func (cl *DiscoveryClient) GetApiResources() error
GetApiResources discovers the api-resources for a cluster
Click to show internal directories.
Click to hide internal directories.