Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Getter ¶
func Getter(namespace string, clientset kubernetes.Interface, restConfig *rest.Config, resources []ResourceMeta, c chan FetchResult)
Getter the This should be go routine ready. Such that getter can be called via goroutines and over a channel the value can be passed to a switch type through with the respective printer can be called.
Types ¶
type FetchResult ¶
type FetchResult struct {
Kind string
Resource interface{}
}
type ResourceMeta ¶
func Discover ¶
func Discover(dc discovery.DiscoveryInterface, kinds string) ([]ResourceMeta, error)
Click to show internal directories.
Click to hide internal directories.