Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCRDs ¶
func AddCRDs(inv *v2.ResourceInventory, chart *helmchart.Chart) error
AddCRDs adds CRDs from the chart's crds/ directory to the inventory. CRDs are cluster-scoped, so no namespace complement is needed.
func AddManifest ¶
func AddManifest(inv *v2.ResourceInventory, manifest string, releaseNamespace string, c client.Client) (warnings []string, err error)
AddManifest parses the manifest, complements namespaces, and adds the objects to the inventory.
func New ¶
func New() *v2.ResourceInventory
New returns a new ResourceInventory with an empty Entries slice.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.