# Functions
Diffs returns the diffs between declared and actual state.
IsManageableSystemNamespace returns if the input namespace is a manageable system namespace.
ManagedByConfigSync returns true if a resource is managed by Config Sync.
ManagementDisabled returns true if the resource in the repo explicitly has management disabled.
ManagementEnabled returns true if the resource explicitly has management enabled on a resource on the API server.
ManagementUnset returns true if the resource has no Nomos ResourceManagementKey.
# Constants
Create indicates the resource should be created.
Delete indicates the resource should be deleted.
DeleteNsConfig indicates the namespaceconfig should be deleted.
Error indicates the resource's management annotation in the API server is invalid.
NoOp indicates that no action should be taken.
Unmanage indicates the resource's management annotation should be removed from the API Server.
UnmanageNamespace indicates that the resource is a special Namespace which should not be deleted directly by ACM.
Update indicates the resource is declared and is on the API server, so we should calculate a patch and apply it.
# Variables
SpecialNamespaces tracks the namespaces ACM should never remove from a cluster.
# Structs
Diff is resource where Declared and Actual do not match.
NamespaceDiff represents a diff between a Namespace config and the one on the cluster.
# Type aliases
Type indicates the state of the given resource.