Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPolicy ¶ added in v1.7.0
func AddPolicy(m *metrics.MetricsConfig, policy kyvernov1.PolicyInterface) error
func RemovePolicy ¶ added in v1.7.0
func RemovePolicy(m *metrics.MetricsConfig, policy kyvernov1.PolicyInterface) error
Types ¶
type PolicyRuleInfoMetricChangeType ¶
type PolicyRuleInfoMetricChangeType string
const ( PolicyRuleCreated PolicyRuleInfoMetricChangeType = "created" PolicyRuleDeleted PolicyRuleInfoMetricChangeType = "deleted" )
func ParsePolicyRuleInfoMetricChangeType ¶
func ParsePolicyRuleInfoMetricChangeType(change string) (PolicyRuleInfoMetricChangeType, error)
Click to show internal directories.
Click to hide internal directories.