public async Task <IActionResult> ListAsync(ListParameters parameters) { var list = await _testCluster.ListResourcesAsync(string.Empty, Version, Plural, parameters); var result = new KubernetesList <ResourceObject>( apiVersion: Version, kind: "PodList", metadata: new V1ListMeta( continueProperty: list.Continue, remainingItemCount: null, resourceVersion: list.ResourceVersion), items: list.Items); return(new ObjectResult(result)); }