Documentation ¶
Index ¶
- func Diff(a, b komv1alpha1.AppliedResourceList) ([]*unstructured.Unstructured, error)
- func ToAppliedResource(u unstructured.Unstructured) (*komv1alpha1.AppliedResource, error)
- func ToListUnstructured(resources komv1alpha1.AppliedResourceList) ([]*unstructured.Unstructured, error)
- func ToUnstructured(a komv1alpha1.AppliedResource) (*unstructured.Unstructured, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Diff ¶
func Diff(a, b komv1alpha1.AppliedResourceList) ([]*unstructured.Unstructured, error)
Diff returns the unstructed objects that do not exist in the b resources (a-b)
func ToAppliedResource ¶
func ToAppliedResource(u unstructured.Unstructured) (*komv1alpha1.AppliedResource, error)
func ToListUnstructured ¶
func ToListUnstructured(resources komv1alpha1.AppliedResourceList) ([]*unstructured.Unstructured, error)
func ToUnstructured ¶
func ToUnstructured(a komv1alpha1.AppliedResource) (*unstructured.Unstructured, error)
ToUnstructured converts an AppliedResource into an Unstructured object. It returns an error if the conversion fails or if the Unstructured object cannot be created.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.