Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
GVRPolicy = schema.GroupVersionResource{
Group: "policy.open-cluster-management.io",
Version: "v1",
Resource: "policies",
}
)
Functions ¶
func DisabledEventsRecorder ¶
func DisabledEventsRecorder( ctx context.Context, managedClient dynamic.Interface, clusterNamespace string, eventsQueue workqueue.RateLimitingInterface, initialResourceVersion string, )
DisabledEventsRecorder watches for deleted policies and records disabled compliance events on the compliance history API. Set initialResourceVersion to the list query of policies in the managed cluster namespace from before the spec-sync starting to avoid missing events.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.