# Functions

No description provided by the author
Make a resource from an unstructured, parse it, and return it.
Encapsulates the logic for making a query and returning a resource counter in one method call.

# Variables

No description provided by the author

# Structs

No description provided by the author
Represents a k8s resource in a type-neutral way We used to have lots of repeated code because we needed to perform the same operations on different resources, which are represented by the go k8s sdk as different types.
In order to status check resources we check their status conditions for a condition with a specific type and status.
Provides a simple API for getting common figures on Resources and ResourceLists The Count method returns a ResourceCounterResults instance.
Represents a resource query for a count We count resources of a given GVK (which derive from OfType ), in a given set of namespaces, owned by a given guid.
Results that a resource counter provides back when its count method is called.
An operator is interested in how many of a resource it manages and how many are ready.
The pattern other k8s SDKs follow is that resources are queried by some criteria resulting in a list object that then can be iterated over or acted on.
Represents the metadata we pull off the unstructured resource.
Represents the status we pull off the unstructured resource I only parse what I need to reduce the oppurtunity for bugs.
No description provided by the author