Use the unstructured type for decode 83/86183/2
authorKiran Kamineni <kiran.k.kamineni@intel.com>
Wed, 24 Apr 2019 18:39:17 +0000 (11:39 -0700)
committerKiran Kamineni <kiran.k.kamineni@intel.com>
Thu, 25 Apr 2019 21:49:19 +0000 (14:49 -0700)
commit4095bd620f3ca4f4e6b6042f68829a895471fafa
tree67906e1a3ef06f6ac9fe65ad04cab7052af009f2
parent6e08385919be58ae316a637d21b43ee7aa8df39c
Use the unstructured type for decode

Use the unstructured type in the into field.
This allows us to remove the convert part of the
code and also allows decoding for CRDs.

Issue-ID: MULTICLOUD-585
Change-Id: I27ecdba7127ce63137dfbcd1c0a6938343b4e759
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
src/k8splugin/internal/utils.go
src/k8splugin/plugins/generic/plugin.go