Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiClient ¶
type ApiClient struct { DynClient dynamic.Interface ClientSet kubernetes.Interface Namespace string }
func NewHelmClient ¶
func NewHelmClient(kfcg KubConfigSetup, namespace string) (*ApiClient, error)
NewHelmClient holds a new helm client
type KubConfigSetup ¶
KubConfigSetup holds user defined config
type MatchedResources ¶
type MatchedResources struct { Gvr map[bool][]schema.GroupVersionResource WantRes map[string][]string }
func FetchedFilteredResources ¶
func FetchedFilteredResources(client *ApiClient, wantResources map[string][]string) (namespaceResource, clusterResource *MatchedResources, err error)
FetchedFilteredResources figure out which resources we want to query based on given resources
Click to show internal directories.
Click to hide internal directories.