# Packages
No description provided by the author
This package provides a graph data struture and graph functionality using ObjMetadata as vertices in the graph.
No description provided by the author
No description provided by the author
# Functions
FieldPath formats a list of KRM field keys as a JSONPath expression.
FromStringMap returns a set from a serializable map, with objMeta keys and empty string values.
GetCRDGroupKind returns the GroupKind stored in the passed Unstructured CustomResourceDefinition and true if the passed object is a CRD.
InfosToObjMetas returns object metadata (ObjMetadata) for the passed objects (infos); returns an error if one occurs.
InfosToUnstructureds transforms the passed objects in Info format to Unstructured.
InfoToObjMeta takes information from the provided info and returns an ObjMetadata that identifies the resource.
InfoToUnstructured transforms the passed info object into unstructured format.
Invalid returns a *Error indicating "invalid value".
InvalidType returns a *Error indicating "invalid value type".
IsCRD returns true if the passed Unstructured object has GroupKind == Extensions/CustomResourceDefinition; false otherwise.
IsKindNamespace returns true if the passed Unstructured object is GroupKind == Core/Namespace (no version checked); false otherwise.
IsNamespace returns true if the passed Unstructured object is Namespace in the core (empty string) group.
IsNamespaced returns true if the passed Unstructured object is namespace-scoped (not cluster-scoped); false otherwise.
LookupResourceScope tries to look up the scope of the type of the provided resource, looking at both the types known to the cluster (through the RESTMapper) and the provided CRDs.
NestedField gets a value from a KRM map, if it exists, otherwise nil.
NotFound returns a *Error indicating "value not found".
UnstructuredSetEquals returns true if the slice of objects in setA equals the slice of objects in setB.
ObjMetadataSetFromMap constructs a set from a map.
ParseObjMetadata takes a string, splits it into its four fields, and returns an ObjMetadata struct storing the four fields.
RuntimeToObjMeta extracts the object metadata information from a runtime.Object and returns it as ObjMetadata.
StripKyamlAnnotations removes any path and index annotations from the unstructured resource.
UnstructuredSetEquals returns true if the slice of objects in setA equals the slice of objects in setB.
UnstructuredSetToObjMetadataSet converts a UnstructuredSet to a ObjMetadataSet.
UnstructuredsToInfos transforms the passed Unstructured objects into Info format or an error if one occurs.
UnstructuredToInfo transforms the passed Unstructured object into Info format, or an error if one occurs.
UnstructuredToObjMetadata extracts the identifying information from an Unstructured object and returns it as ObjMetadata object.
# Variables
No description provided by the author
RBACGroupKind is a map of the RBAC resources.
# Structs
InvalidAnnotationError represents an invalid annotation.
ObjMetadata organizes and stores the indentifying information for an object.
UnknownTypeError captures information about a type for which no information could be found in the cluster or among the known CRDs.
YamlStringer delays YAML marshalling for logging until String() is called.
# Type aliases
ObjMetadataSet is an ordered list of ObjMetadata that acts like an unordered set for comparison purposes.
UnstructuredSet is an ordered list of Unstructured that acts like an unordered set for comparison purposes.