Documentation
¶
Index ¶
- func Add(inv *mpasv1alpha1.ResourceInventory, objs ...runtime.Object) error
- func Diff(source *mpasv1alpha1.ResourceInventory, target *mpasv1alpha1.ResourceInventory) ([]*unstructured.Unstructured, error)
- func List(inv *mpasv1alpha1.ResourceInventory) ([]*unstructured.Unstructured, error)
- func ListMetadata(inv *mpasv1alpha1.ResourceInventory) (object.ObjMetadataSet, error)
- func New() *mpasv1alpha1.ResourceInventory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add(inv *mpasv1alpha1.ResourceInventory, objs ...runtime.Object) error
Add adds a new object reference to the inventory.
func Diff ¶
func Diff(source *mpasv1alpha1.ResourceInventory, target *mpasv1alpha1.ResourceInventory) ([]*unstructured.Unstructured, error)
Diff returns the slice of objects that do not exist in the target inventory.
func List ¶
func List(inv *mpasv1alpha1.ResourceInventory) ([]*unstructured.Unstructured, error)
List return the inventory entries as unstructured.Unstructured objects.
func ListMetadata ¶
func ListMetadata(inv *mpasv1alpha1.ResourceInventory) (object.ObjMetadataSet, error)
ListMetadata returns the inventory entries as object.ObjMetadata objects.
func New ¶
func New() *mpasv1alpha1.ResourceInventory
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.