Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPolicy ¶ added in v1.7.0
func RegisterPolicy(pc *metrics.PromConfig, policy kyverno.PolicyInterface, policyChangeType PolicyChangeType) error
Types ¶
type PolicyChangeType ¶
type PolicyChangeType string
const ( PolicyCreated PolicyChangeType = "created" PolicyUpdated PolicyChangeType = "updated" PolicyDeleted PolicyChangeType = "deleted" )
Click to show internal directories.
Click to hide internal directories.