This will copy over, it won’t append to it correct? Sent from my iPhone
> On May 2, 2021, at 4:17 PM, Amnon <amno...@gmail.com> wrote: > > Aha. > OK, is > https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured#Unstructured.DeepCopyInto > what you are looking for? > >> On Sunday, 2 May 2021 at 19:18:43 UTC+1 mmahmo...@gmail.com wrote: >> https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured#section-documentation >> >> I am looking for something like the following >> func mergeObjects(obj1 *uns.Unstructured, obj2 *uns.Unstructured) >> (*uns.Unstructred, error) { >> >> } >> >> Thanks >>> On Sunday, May 2, 2021 at 1:35:06 PM UTC-4 Amnon wrote: >>> I am not sure what you mean by an unstructured object. >>> So probably best if you show us the code where they are defined. >>> >>>> On Sunday, 2 May 2021 at 16:37:12 UTC+1 mmahmo...@gmail.com wrote: >>>> Hi All: >>>> >>>> I am using two unstructured objects to represent two different >>>> ConfigMaps, of the same everything but different data, I am looking for a >>>> way/API to merge both into one ConfigMap >>>> >>>> I am looking for something like DeepAppend() or DeepMerge() >>>> any suggestion or recommendation ? >>>> >>>> Thanks, >>>> Mohamed > > -- > You received this message because you are subscribed to a topic in the Google > Groups "golang-nuts" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/golang-nuts/TGjNhPCynEI/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/9fe1da2f-cf8a-493c-b040-1876a78c0196n%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/761F258D-E1EB-4B6C-8F13-C265E5668A78%40gmail.com.