What is the package `unstructured` used for in k8s.io /apimachinery?

1/3/2019

I could not understand what the package can do, the offical doc show nothing about unstructured. What the package used for ? Is it used for converting map[string]interface{} to K8S Obj ?

https://godoc.org/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured

-- jamlee
client-go
kubernetes

1 Answer

2/17/2019

It looks like unstructured provides an interface to kubernetes objects, when you don't know object type upfront, i.e. dynamic package in client-go uses it extensively

-- Kseniia Churiumova
Source: StackOverflow