Help us shape the future of Go! Take the 2026 Go Developer Survey

syncertest

package
v1.24.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const Token = "b38239ea8f58eaed17af6734bd6a025eeafccda1"

Token is a test sync token.

Variables

View Source
var (
	// ManagementEnabled sets management labels and annotations on the object.
	ManagementEnabled core.MetaMutator = func(obj client.Object) {
		core.SetAnnotation(obj, metadata.ManagementModeAnnotationKey, metadata.ManagementEnabled.String())
		core.SetAnnotation(obj, metadata.ResourceIDKey, core.GKNN(obj))
		core.SetLabel(obj, metadata.ManagedByKey, metadata.ManagedByValue)
	}
	// ManagementDisabled sets the management disabled annotation on the object.
	ManagementDisabled = metadata.WithManagementMode(metadata.ManagementDisabled)
	// ManagementInvalid sets an invalid management annotation on the object.
	ManagementInvalid = metadata.WithManagementMode("invalid")
	// TokenAnnotation sets the sync token annotation on the object
	TokenAnnotation = core.Annotation(metadata.SyncTokenAnnotationKey, Token)
	// IgnoreMutationAnnotation sets the ignore mutation annotation on the object
	IgnoreMutationAnnotation = core.Annotation(metadata.LifecycleMutationAnnotation, metadata.IgnoreMutation)
)

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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