Documentation
¶
Overview ¶
Package sync contains core resource sync tests (pods, PVCs, services, etc.).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func K8sDefaultEndpointSpec ¶
func K8sDefaultEndpointSpec()
K8sDefaultEndpointSpec registers the spec.
func NodeSyncLabelSelectorSpec ¶
func NodeSyncLabelSelectorSpec()
NodeSyncLabelSelectorSpec registers the spec.
func SyncErrorSanitisationSpec ¶
func SyncErrorSanitisationSpec()
SyncErrorSanitisationSpec verifies that SyncError warning events recorded on virtual pods never expose the host-side translated pod name.
The host pod name (e.g. "my-pod-x-default-x-my-vc") must not appear in event messages visible from inside the virtual cluster. The sanitising event recorder (pkg/syncer/translator/sanitising_event_recorder.go) rewrites it back to the virtual name before the event is persisted.
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.