objectmeta

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package objectmeta provides object metadata utilities.

Index

Constants

This section is empty.

Variables

View Source
var ServerManagedMetadataKeys = []string{
	"resourceVersion",
	"uid",
	"creationTimestamp",
	"generation",
	"managedFields",
	"selfLink",
}

ServerManagedMetadataKeys lists ObjectMeta JSON field names populated by the API server. They are not part of desired-state manifests and should be stripped when generating references and omitted during cluster-compare diffs.

Keep in sync with k8s.io/apimachinery/pkg/util/managedfields/internal/stripmeta.go.

Functions

func MetadataPath

func MetadataPath(key string) string

MetadataPath returns the fieldsToOmit / ManifestPath path for a metadata key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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