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 PromConfig ¶ added in v1.4.3
type PromConfig metrics.PromConfig
func ParsePromConfig ¶ added in v1.4.3
func ParsePromConfig(pc metrics.PromConfig) PromConfig
func (PromConfig) ProcessEngineResponse ¶ added in v1.4.3
func (pc PromConfig) ProcessEngineResponse(policy kyverno.ClusterPolicy, engineResponse response.EngineResponse, executionCause metrics.RuleExecutionCause, generateRuleLatencyType string, resourceRequestOperation metrics.ResourceRequestOperation) error
policy - policy related data engineResponse - resource and rule related data
type PromMetrics ¶
type PromMetrics metrics.PromMetrics
func ParsePromMetrics ¶
func ParsePromMetrics(pm metrics.PromMetrics) PromMetrics
Click to show internal directories.
Click to hide internal directories.