java
java copied to clipboard
Return JSON format for CRD API
trafficstars
Like getting pod list, creating pod, is there method to return json response with http status included? Can't find any. Currently it's converted to V1PodList or V1Pod, from ApiResponse. Sometimes we need this client work in the middle, so all data in ApiResponse will be necessary for relaying to the real requester. Thanks in advance.