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 ¶
MetadataPath returns the fieldsToOmit / ManifestPath path for a metadata key.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.