package
1.3.8
Repository: https://github.com/redhat-cop/operator-utils.git
Documentation: pkg.go.dev

# Functions

CreateIfNotExistTemplatedResources processes an initialized template expecting an array of objects as a result and then processes them with the CreateResourceIfNotExists function requires a context with log and client.
CreateOrUpdateResource creates a resource if it doesn't exist, and updates (overwrites it), if it exist if owner is not nil, the owner field os set if namespace is not "", the namespace field of the object is overwritten with the passed value requires a context with log and client.
CreateOrUpdateResources operates as CreateOrUpdate, but on an array of resources requires a context with log and client.
CreateOrUpdateTemplatedResources processes an initialized template expecting an array of objects as a result and the processes them with the CreateOrUpdate function requires a context with log and client.
CreateOrUpdateUnstructuredResources operates as CreateOrUpdate, but on an array of unstructured.Unstructured requires a context with log and client.
CreateResourceIfNotExists create a resource if it doesn't already exists.
CreateResourcesIfNotExist operates as CreateResourceIfNotExists, but on an array of resources requires a context with log and client.
CreateUnstructuredResourcesIfNotExist operates as CreateResourceIfNotExists, but on an array of unstructured.Unstructured requires a context with log and client.
DeleteResourceIfExists deletes an existing resource.
DeleteResourcesIfExist operates like DeleteResources, but on an arrays of resources requires a context with log and client.
DeleteTemplatedResources processes an initialized template expecting an array of objects as a result and then processes them with the Delete function requires a context with log and client.
DeleteUnstructuredResources operates like DeleteResources, but on an arrays of unstructured.Unstructured requires a context with log and client.