test_core

package
v0.35.0-alpha.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2026 License: Apache-2.0 Imports: 30 Imported by: 0

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 NetworkPolicySyncSpec

func NetworkPolicySyncSpec()

NetworkPolicySyncSpec registers the spec.

func NodeSyncLabelSelectorSpec

func NodeSyncLabelSelectorSpec()

NodeSyncLabelSelectorSpec registers the spec.

func PVCSyncSpec

func PVCSyncSpec()

PVCSyncSpec registers the spec.

func PodSyncSpec

func PodSyncSpec()

PodSyncSpec registers the spec.

func ServiceBasicSyncSpec

func ServiceBasicSyncSpec()

ServiceBasicSyncSpec registers the spec.

func ServiceSyncSpec

func ServiceSyncSpec()

ServiceSyncSpec 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.

Directories

Path Synopsis
Package fromhost contains fromHost sync tests.
Package fromhost contains fromHost sync tests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL