Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPolicy ¶ added in v1.7.0
func RegisterPolicy(ctx context.Context, m metrics.MetricsConfigManager, policy kyvernov1.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.