Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type UnstructuredResources ¶
type UnstructuredResources struct { NamespacedLists map[string][]unstructured.UnstructuredList // contains filtered or unexported fields }
UnstructuredResources is a namespace-separated cache of unstructured k8s resources.
func NewUnstructuredResources ¶
func NewUnstructuredResources(client k8s.Client) (ur *UnstructuredResources)
func (*UnstructuredResources) Gather ¶
func (r *UnstructuredResources) Gather(namespace string, gvks []schema.GroupVersionKind) (err error)
Gather unstructured resources that match the provided GVK and namespace.
Click to show internal directories.
Click to hide internal directories.