Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShootRecorderNamespaceRewriter ¶
func ShootRecorderNamespaceRewriter(shootRecorder record.EventRecorder) func(f *firewallv2.Firewall, eventtype, reason, message string)
ShootRecorderNamespaceRewriter returns a function to record an event in the shoot cluster for a firewall v2 resource. Before recording the event we rewrite the firewall resource's namespace because the firewall v2 resource resides in the seed namespace which does not exist in the shoot, so we need to alter it to the firewall namespace in the shoot.
Types ¶
Click to show internal directories.
Click to hide internal directories.