# Functions
ApplyPatches patches given resource with given patches and returns patched document.
ApplyPatchNew patches given resource with given joined patches.
No description provided by the author
CreateElementHandler factory to process elements.
FormAbsolutePath returns absolute path.
Generate apply generation rules on a resource.
JoinPatches joins array of serialized JSON patches to the single JSONPatch array.
MatchesResourceDescription checks if the resource matches resource desription of the rule or not.
Mutate performs mutation.
NewConditionAnchorHandler returns an instance of condition acnhor handler.
NewDefaultHandler returns handler for non anchor elements.
NewEqualityHandler returens instance of equality handler.
NewExistanceHandler returns existence handler.
NewNegationHandler returns instance of negation handler.
ParseKindFromObject get kind from resource.
ParseNameFromObject extracts resource name from JSON obj.
ParseNamespaceFromObject extracts the namespace from the JSON obj.
ParseResourceInfoFromObject get kind/namepace/name from resource.
Validate applies validation rules from policy on the resource.
ValidateValueWithPattern validates value with operators and wildcards.
# Constants
No description provided by the author
Equal stands for ==.
No description provided by the author
Less stands for <.
LessEqual stands for <=.
More stands for >.
MoreEqual stands for >=.
No description provided by the author
NotEqual stands for !.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
ConditionAnchorHandler provides handler for condition anchor.
DefaultHandler provides handler for non anchor element.
EngineResponse engine response to the action.
EngineStats stores in the statistics for a single application of resource.
EqualityHandler provides handler for non anchor element.
ExistanceHandler provides handlers to process exitence anchor handler.
NegationHandler provides handler for check if the tag in anchor is not defined.
PolicyResponse policy application response.
PolicyStats stores statistics for the single policy application.
ResourceSpec resource action applied on.
RuleResponse details for each rule applicatino.
RuleStats stores the statisctis for the single rule application.
# Interfaces
ValidationHandler for element processes.