Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseResourceRequestOperation ¶
func ParseResourceRequestOperation(requestOperationStr string) (metrics.ResourceRequestOperation, error)
func ParseRuleTypeFromEngineRuleResponse ¶
func ParseRuleTypeFromEngineRuleResponse(rule response.RuleResponse) metrics.RuleType
Types ¶
type PromMetrics ¶
type PromMetrics metrics.PromMetrics
func ParsePromMetrics ¶
func ParsePromMetrics(pm metrics.PromMetrics) PromMetrics
func (PromMetrics) ProcessEngineResponse ¶
func (pm PromMetrics) ProcessEngineResponse(policy kyverno.ClusterPolicy, engineResponse response.EngineResponse, executionCause metrics.RuleExecutionCause, resourceRequestOperation metrics.ResourceRequestOperation, mainRequestTriggerTimestamp int64) error
policy - policy related data engineResponse - resource and rule related data
Click to show internal directories.
Click to hide internal directories.