inventory

package
v0.0.0-...-b4e7bf2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: Apache-2.0, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddChangeSet

func AddChangeSet(inv *kustomizev1.ResourceInventory, set *ssa.ChangeSet) error

AddChangeSet extracts the metadata from the given objects and adds it to the inventory.

func Diff

Diff returns the slice of objects that do not exist in the target inventory.

func List

List returns the inventory entries as unstructured.Unstructured objects.

func ListMetadata

ListMetadata returns the inventory entries as object.ObjMetadata objects.

func New

func ReferenceToObjMetadataSet

func ReferenceToObjMetadataSet(cr []meta.NamespacedObjectKindReference) (object.ObjMetadataSet, error)

ReferenceToObjMetadataSet transforms a NamespacedObjectKindReference to an ObjMetadataSet.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL