8.0: API Group + v1.24 (#850)

* swagger 1.24

* trim converter

* api group

* before moving method

* grouped api for client

* fix classic build

* fix e2e

* move all code to v8

* fix vis to

* bump ver

* fix authtest filename
This commit is contained in:
Boshi Lian
2022-05-07 13:05:17 -07:00
committed by GitHub
parent 78bfa24157
commit 85755ccb3e
51 changed files with 2461 additions and 3335 deletions

View File

@@ -12,7 +12,7 @@ namespace logs
IKubernetes client = new Kubernetes(config);
Console.WriteLine("Starting Request!");
var list = client.ListNamespacedPod("default");
var list = client.CoreV1.ListNamespacedPod("default");
if (list.Items.Count == 0)
{
Console.WriteLine("No pods!");
@@ -21,7 +21,7 @@ namespace logs
var pod = list.Items[0];
var response = await client.ReadNamespacedPodLogWithHttpMessagesAsync(
var response = await client.CoreV1.ReadNamespacedPodLogWithHttpMessagesAsync(
pod.Metadata.Name,
pod.Metadata.NamespaceProperty, follow: true).ConfigureAwait(false);
var stream = response.Body;