# Functions

CreateMultiple creates multiple objects using the given client and options.
CreateMultipleFromFile creates multiple objects by reading the given file as unstructured objects and then creating the read objects using the given client and options.
CreateOrUseAndPatch traverses through a slice of objects and tries to find a matching object using matchFunc.
DeleteIfExists deletes the given object, if it exists.
DeleteMultiple deletes multiple given client.Object objects using the given client.DeleteOption options.
DeleteMultipleFromFile deletes all client.Object objects from the given file with the given client.DeleteOption options.
DeleteMultipleIfExist deletes the given objects, if they exist.
GetMultiple gets multiple objects using the given client.
GetMultipleFromFile creates multiple objects by reading the given file as unstructured objects and then creating the read objects using the given client and options.
GetRequestFromObject converts the given client.Object to a GetRequest.
GetRequestsFromObjects converts each client.Object into a GetRequest using GetRequestFromObject.
IgnoreAlreadyExists returns nil if the given error matches apierrors.IsAlreadyExists.
IsOlderThan returns a function that determines whether an object is older than another.
ListAndFilter is a shorthand for doing a client.Client.List followed by filtering the list's elements with the given function.
ListAndFilterControlledBy is a shorthand for doing a client.List followed by filtering the list's elements using metautils.IsControlledBy.
NewGetRequestSet creates a new set of GetRequest.
NewObjectKeySet creates a new ObjectKeySet and initializes it with the given items.
NewObjectRefSet creates a new ObjectRefSet with the given set.
NewSharedFieldIndexer creates a new SharedFieldIndexer.
ObjectRefFromGetRequest creates a new ObjectRef from the given GetRequest.
ObjectRefFromObject creates a new ObjectRef from the given client.Object.
ObjectRefSetFromGetRequestSet creates a new ObjectRefSet from the given GetRequestSet.
ObjectRefSetFromObjects creates a new ObjectRefSet from the given list of client.Object.
ObjectRefSetReferencesGetRequest is a utility function to determine whether an ObjectRefSet contains a GetRequest.
ObjectRefSetReferencesObject is a utility function to determine whether an ObjectRefSet contains a client.Object.
ObjectRefsFromGetRequests creates a list of ObjectRef from the given list of GetRequest.
ObjectRefsFromObjects creates a list of ObjectRef from a list of client.Object.
ObjectsFromGetRequests retrieves all client.Object objects from the given slice of GetRequest.
ObjectsFromPatchRequests extracts all client.Object objects from the given slice of PatchRequest.
PatchAddFinalizer issues a patch to add the given finalizer to the given object.
PatchEnsureFinalizer checks if the given object has the given finalizer and, if not, issues a patch request to add it.
PatchEnsureNoFinalizer checks if the given object has the given finalizer and, if yes, issues a patch request to remove it.
PatchMultiple executes multiple PatchRequest with the given client.PatchOption.
PatchMultipleFromFile patches all objects from the given filename using the patchFor function.
PatchRemoveFinalizer issues a patch to remove the given finalizer from the given object.
PatchRequestFromObjectAndProvider is a shorthand to create a PatchRequest using a client.Object and PatchProvider.
PatchRequestsFromObjectsAndProvider converts all client.Object objects to PatchRequest using PatchRequestFromObjectAndProvider.
ReaderClient returns a client.Client that uses the given client.Reader for all read operations and the client.Client for the remaining operations.

# Variables

ApplyAll provides client.Apply for any given object.

# Structs

GetRequest is a request to get an object with the given key and object (that is later used to write the result into).
GetRequestSet is a set of GetRequest.
ObjectRef references an object regardless of its version.
PatchRequest is the request to patch an object with a patch.
SharedFieldIndexer allows registering and calling field index functions shared by different users.

# Interfaces

PatchProvider retrieves a patch for any given object.

# Type aliases

ObjectKeySet set is a set of client.ObjectKey.
ObjectRefSet is a set of ObjectRef references.