runtime.Unknown 怎么转成对应的类型
Closed this issue · 0 comments
testwill commented
您好,请问runtime.Unknown这个应该如何转换成对应的资源对象,比如Pod、PodList之类的。runtime.Decode要怎么用?谢谢。
runtime.Decode(unstructured.UnstructuredJSONScheme, event.RequestObject.Raw) 这种方式用起来不方便。
Closed this issue · 0 comments
您好,请问runtime.Unknown这个应该如何转换成对应的资源对象,比如Pod、PodList之类的。runtime.Decode要怎么用?谢谢。
runtime.Decode(unstructured.UnstructuredJSONScheme, event.RequestObject.Raw) 这种方式用起来不方便。