This will copy over, it won’t append to it correct?
Sent from my iPhone
> On May 2, 2021, at 4:17 PM, Amnon 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:1
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
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,
Mo
On Wednesday, March 18, 2020 at 11:59:38 AM UTC-4, Ian Lance Taylor wrote:
>
> On Wed, Mar 18, 2020 at 5:18 AM Mohamed Mahmoud > wrote:
> >
> > On Wednesday, March 18, 2020 at 8:01:27 AM UTC-4, Mohamed Mahmoud wrote:
> >>
> >>
> >>>
On Wednesday, March 18, 2020 at 8:01:27 AM UTC-4, Mohamed Mahmoud wrote:
>
>
> It doesn't look like the -ldflags option is getting through to the linker.
>> Try
>> go build "-ldflags=all=-w -extldflags=-lmabain -v"
>>
>> Ian
>>
> It doesn't look like the -ldflags option is getting through to the linker.
> Try
> go build "-ldflags=all=-w -extldflags=-lmabain -v"
>
> Ian
>
I tried the new format however it still can't link mabain lib and I get the
same errors
Step 25/26 : RUN cd ${MABAIN_SRC}/; go build -x -i
On Tuesday, March 17, 2020 at 5:01:43 PM UTC-4, Mohamed Mahmoud wrote:
>
> I don't see anything obviously wrong. Add -v to -ldflags to see
>
>> exactly how the external linker is being invoked. Make sure that
>> -lmabain appears at the right point in the link line.
I don't see anything obviously wrong. Add -v to -ldflags to see
> exactly how the external linker is being invoked. Make sure that
> -lmabain appears at the right point in the link line.
>
> Ian
>
I added -v its not showing libmabain , I am not sure what exactly you mean
by having -lmabain
On Tuesday, March 17, 2020 at 12:04:34 PM UTC-4, Mohamed Mahmoud wrote:
>
> I have created swigcxx file , since swig now is natively integrated in go
> tools
> I ran the following to build a test program that interact with the mabain
> wrapper go package to test the APIs
>