func TestExtractInto(t *testing.T) { … } func applyFieldsEntry(fieldManager string, fieldsJSON string, subresource string) metav1.ManagedFieldsEntry { … } type fakeDeployment … type fakeDeploymentSpec … type fakeDeploymentStatus … func (o *fakeDeployment) GetObjectMeta() metav1.ObjectMeta { … } func (o *fakeDeployment) GetObjectKind() runtimeschema.ObjectKind { … } func (o *fakeDeployment) DeepCopyObject() runtime.Object { … } const schemaYAML …