Documentation ¶
Index ¶
- func AddChangeSet(inv *fluxcdv1.ResourceInventory, set *ssa.ChangeSet) error
- func Diff(inv *fluxcdv1.ResourceInventory, target *fluxcdv1.ResourceInventory) ([]*unstructured.Unstructured, error)
- func List(inv *fluxcdv1.ResourceInventory) ([]*unstructured.Unstructured, error)
- func ListMetadata(inv *fluxcdv1.ResourceInventory) (object.ObjMetadataSet, error)
- func New() *fluxcdv1.ResourceInventory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddChangeSet ¶
func AddChangeSet(inv *fluxcdv1.ResourceInventory, set *ssa.ChangeSet) error
AddChangeSet extracts the metadata from the given objects and adds it to the inventory.
func Diff ¶
func Diff(inv *fluxcdv1.ResourceInventory, target *fluxcdv1.ResourceInventory) ([]*unstructured.Unstructured, error)
Diff returns the slice of objects that do not exist in the target inventory.
func List ¶
func List(inv *fluxcdv1.ResourceInventory) ([]*unstructured.Unstructured, error)
List returns the inventory entries as unstructured.Unstructured objects.
func ListMetadata ¶
func ListMetadata(inv *fluxcdv1.ResourceInventory) (object.ObjMetadataSet, error)
ListMetadata returns the inventory entries as object.ObjMetadata objects. nolint:prealloc
func New ¶
func New() *fluxcdv1.ResourceInventory
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.