Documentation ¶
Index ¶
Constants ¶
View Source
const ReportChangeRequestPrefix = "kyverno.io/reportchangerequests/"
Full path looks like /giantswarm.io/kyverno.io/reportchangerequests/.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RCRCleaner ¶
type RCRCleaner struct {
// contains filtered or unexported fields
}
func NewRCRCleaner ¶
func NewRCRCleaner(config Config) (*RCRCleaner, error)
func (*RCRCleaner) CheckAndDelete ¶
func (r *RCRCleaner) CheckAndDelete(ctx context.Context) error
Retrieves the list of ReportChangeRequests in the cluster and deletes them if the list exceeds the configured threshold.
Click to show internal directories.
Click to hide internal directories.