We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d8c7f2 commit 97d8d2dCopy full SHA for 97d8d2d
staging/src/k8s.io/apimachinery/pkg/util/managedfields/patch.go
@@ -0,0 +1,15 @@
1
+package managedfields
2
+
3
+import (
4
+ metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
5
+ "k8s.io/apimachinery/pkg/util/managedfields/internal"
6
+)
7
8
+// ManagedInterface groups a fieldpath.ManagedFields together with the timestamps associated with each operation.
9
+type ManagedInterface = internal.ManagedInterface
10
11
+// DecodeManagedFields converts ManagedFields from the wire format (api format)
12
+// to the format used by sigs.k8s.io/structured-merge-diff
13
+func DecodeManagedFields(encodedManagedFields []metav1.ManagedFieldsEntry) (ManagedInterface, error) {
14
+ return internal.DecodeManagedFields(encodedManagedFields)
15
+}
0 commit comments