diff --git a/.github/workflows/buildtest.yaml b/.github/workflows/buildtest.yaml
index a31e0e50f..ea79ee222 100644
--- a/.github/workflows/buildtest.yaml
+++ b/.github/workflows/buildtest.yaml
@@ -50,7 +50,7 @@ jobs:
- name: Setup dotnet SDK
uses: actions/setup-dotnet@v4
with:
- dotnet-version: '8.0.x'
+ dotnet-version: '9.0.x'
- name: Restore nugets (msbuild)
run: msbuild .\src\KubernetesClient\ -t:restore -p:RestorePackagesConfig=true
- name: Build (msbuild)
diff --git a/.github/workflows/docfx.yaml b/.github/workflows/docfx.yaml
index b437c1b5f..c10c7e1e9 100644
--- a/.github/workflows/docfx.yaml
+++ b/.github/workflows/docfx.yaml
@@ -39,7 +39,7 @@ jobs:
- name: Build
run: dotnet build -c Release
- - uses: nunit/docfx-action@v4.0.0
+ - uses: nunit/docfx-action@v4.1.0
name: Build Documentation
with:
args: doc/docfx.json
diff --git a/Directory.Build.props b/Directory.Build.props
index 10ec5bf39..3d3e1cfce 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -26,7 +26,7 @@
snupkg
true
$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb
- 11.0
+ 13.0
diff --git a/Directory.Packages.props b/Directory.Packages.props
index f083f5a48..2e1b01456 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -1,53 +1,53 @@
-
-
- true
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
+
+
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/README.md b/README.md
index 58bfe650b..f92d95e61 100644
--- a/README.md
+++ b/README.md
@@ -154,6 +154,7 @@ ${GEN_DIR}/openapi/csharp.sh ${REPO_DIR}/src/KubernetesClient ${REPO_DIR}/csharp
| SDK Version | Kubernetes Version | .NET Targeting |
|-------------|--------------------|-----------------------------------------------------|
+| 17.0 | 1.33 | net8.0;net9.0;net48*;netstandard2.0* |
| 16.0 | 1.32 | net8.0;net9.0;net48*;netstandard2.0* |
| 15.0 | 1.31 | net6.0;net8.0;net48*;netstandard2.0* |
| 14.0 | 1.30 | net6.0;net8.0;net48*;netstandard2.0* |
diff --git a/csharp.settings b/csharp.settings
index 5bf31f681..1cc92da6d 100644
--- a/csharp.settings
+++ b/csharp.settings
@@ -1,3 +1,3 @@
-export KUBERNETES_BRANCH=v1.32.0
+export KUBERNETES_BRANCH=v1.33.0
export CLIENT_VERSION=0.0.1
export PACKAGE_NAME=k8s
diff --git a/examples/Directory.Build.props b/examples/Directory.Build.props
index edc5738f1..b87fe6aaa 100644
--- a/examples/Directory.Build.props
+++ b/examples/Directory.Build.props
@@ -1,6 +1,7 @@
+
- net8.0
+ net9.0
diff --git a/examples/Directory.Build.targets b/examples/Directory.Build.targets
index 65c630b6d..bf5f5ee49 100644
--- a/examples/Directory.Build.targets
+++ b/examples/Directory.Build.targets
@@ -1,4 +1,5 @@
+
diff --git a/examples/attach/Attach.cs b/examples/attach/Attach.cs
index a53b5da56..cfdce7d8e 100755
--- a/examples/attach/Attach.cs
+++ b/examples/attach/Attach.cs
@@ -3,38 +3,29 @@
using System;
using System.Threading.Tasks;
-namespace attach
-{
- internal class Attach
- {
- private static async Task Main(string[] args)
- {
- var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
- IKubernetes client = new Kubernetes(config);
- Console.WriteLine("Starting Request!");
+var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
+IKubernetes client = new Kubernetes(config);
+Console.WriteLine("Starting Request!");
- var list = client.CoreV1.ListNamespacedPod("default");
- var pod = list.Items[0];
- await AttachToPod(client, pod).ConfigureAwait(false);
- }
+var list = client.CoreV1.ListNamespacedPod("default");
+var pod = list.Items[0];
+await AttachToPod(client, pod).ConfigureAwait(false);
- private static async Task AttachToPod(IKubernetes client, V1Pod pod)
- {
- var webSocket =
- await client.WebSocketNamespacedPodAttachAsync(pod.Metadata.Name, "default",
- pod.Spec.Containers[0].Name).ConfigureAwait(false);
+async Task AttachToPod(IKubernetes client, V1Pod pod)
+{
+ var webSocket =
+ await client.WebSocketNamespacedPodAttachAsync(pod.Metadata.Name, "default",
+ pod.Spec.Containers[0].Name).ConfigureAwait(false);
- var demux = new StreamDemuxer(webSocket);
- demux.Start();
+ var demux = new StreamDemuxer(webSocket);
+ demux.Start();
- var buff = new byte[4096];
- var stream = demux.GetStream(1, 1);
- while (true)
- {
- var read = stream.Read(buff, 0, 4096);
- var str = System.Text.Encoding.Default.GetString(buff);
- Console.WriteLine(str);
- }
- }
+ var buff = new byte[4096];
+ var stream = demux.GetStream(1, 1);
+ while (true)
+ {
+ var read = stream.Read(buff, 0, 4096);
+ var str = System.Text.Encoding.Default.GetString(buff);
+ Console.WriteLine(str);
}
}
diff --git a/examples/clientset/Program.cs b/examples/clientset/Program.cs
new file mode 100644
index 000000000..9c2cac461
--- /dev/null
+++ b/examples/clientset/Program.cs
@@ -0,0 +1,26 @@
+// See https://aka.ms/new-console-template for more information
+using k8s;
+using k8s.ClientSets;
+using System.Threading.Tasks;
+
+namespace clientset
+{
+ internal class Program
+ {
+ private static async Task Main(string[] args)
+ {
+ var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
+ var client = new Kubernetes(config);
+
+ ClientSet clientSet = new ClientSet(client);
+ var list = await clientSet.CoreV1.Pod.ListAsync("default").ConfigureAwait(false);
+ foreach (var item in list)
+ {
+ System.Console.WriteLine(item.Metadata.Name);
+ }
+
+ var pod = await clientSet.CoreV1.Pod.GetAsync("test","default").ConfigureAwait(false);
+ System.Console.WriteLine(pod?.Metadata?.Name);
+ }
+ }
+}
diff --git a/examples/clientset/clientset.csproj b/examples/clientset/clientset.csproj
new file mode 100644
index 000000000..4274ceb02
--- /dev/null
+++ b/examples/clientset/clientset.csproj
@@ -0,0 +1,6 @@
+
+
+ Exe
+
+
+
diff --git a/examples/cp/Cp.cs b/examples/cp/Cp.cs
index b7dd5b207..43e769490 100644
--- a/examples/cp/Cp.cs
+++ b/examples/cp/Cp.cs
@@ -1,4 +1,4 @@
-using ICSharpCode.SharpZipLib.Tar;
+using ICSharpCode.SharpZipLib.Tar;
using k8s;
using System;
using System.IO;
@@ -7,110 +7,104 @@
using System.Threading;
using System.Threading.Tasks;
-namespace cp
-{
- internal class Cp
- {
- private static IKubernetes client;
+namespace cp;
- private static async Task Main(string[] args)
- {
- var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
- client = new Kubernetes(config);
+internal class Cp
+{
+ private static IKubernetes client;
+ private static async Task Main(string[] args)
+ {
+ var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
+ client = new Kubernetes(config);
- var pods = client.CoreV1.ListNamespacedPod("default", null, null, null, $"job-name=upload-demo");
- var pod = pods.Items.First();
- await CopyFileToPodAsync(pod.Metadata.Name, "default", "upload-demo", args[0], $"home/{args[1]}");
+ var pods = client.CoreV1.ListNamespacedPod("default", null, null, null, $"job-name=upload-demo");
+ var pod = pods.Items.First();
- }
+ await CopyFileToPodAsync(pod.Metadata.Name, "default", "upload-demo", args[0], $"home/{args[1]}").ConfigureAwait(false);
+ }
- private static void ValidatePathParameters(string sourcePath, string destinationPath)
+ private static void ValidatePathParameters(string sourcePath, string destinationPath)
+ {
+ if (string.IsNullOrWhiteSpace(sourcePath))
{
- if (string.IsNullOrWhiteSpace(sourcePath))
- {
- throw new ArgumentException($"{nameof(sourcePath)} cannot be null or whitespace");
- }
-
- if (string.IsNullOrWhiteSpace(destinationPath))
- {
- throw new ArgumentException($"{nameof(destinationPath)} cannot be null or whitespace");
- }
-
+ throw new ArgumentException($"{nameof(sourcePath)} cannot be null or whitespace");
}
- public static async Task CopyFileToPodAsync(string name, string @namespace, string container, string sourceFilePath, string destinationFilePath, CancellationToken cancellationToken = default(CancellationToken))
+ if (string.IsNullOrWhiteSpace(destinationPath))
{
- // All other parameters are being validated by MuxedStreamNamespacedPodExecAsync called by NamespacedPodExecAsync
- ValidatePathParameters(sourceFilePath, destinationFilePath);
+ throw new ArgumentException($"{nameof(destinationPath)} cannot be null or whitespace");
+ }
+ }
+
+ public static async Task CopyFileToPodAsync(string name, string @namespace, string container, string sourceFilePath, string destinationFilePath, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ // All other parameters are being validated by MuxedStreamNamespacedPodExecAsync called by NamespacedPodExecAsync
+ ValidatePathParameters(sourceFilePath, destinationFilePath);
- // The callback which processes the standard input, standard output and standard error of exec method
- var handler = new ExecAsyncCallback(async (stdIn, stdOut, stdError) =>
+ // The callback which processes the standard input, standard output and standard error of exec method
+ var handler = new ExecAsyncCallback(async (stdIn, stdOut, stdError) =>
+ {
+ var fileInfo = new FileInfo(destinationFilePath);
+ try
{
- var fileInfo = new FileInfo(destinationFilePath);
- try
+ using (var memoryStream = new MemoryStream())
{
- using (var memoryStream = new MemoryStream())
+ using (var inputFileStream = File.OpenRead(sourceFilePath))
+ using (var tarOutputStream = new TarOutputStream(memoryStream, Encoding.Default))
{
- using (var inputFileStream = File.OpenRead(sourceFilePath))
- using (var tarOutputStream = new TarOutputStream(memoryStream, Encoding.Default))
- {
- tarOutputStream.IsStreamOwner = false;
-
- var fileSize = inputFileStream.Length;
- var entry = TarEntry.CreateTarEntry(fileInfo.Name);
-
- entry.Size = fileSize;
+ tarOutputStream.IsStreamOwner = false;
- tarOutputStream.PutNextEntry(entry);
- await inputFileStream.CopyToAsync(tarOutputStream);
- tarOutputStream.CloseEntry();
- }
+ var fileSize = inputFileStream.Length;
+ var entry = TarEntry.CreateTarEntry(fileInfo.Name);
- memoryStream.Position = 0;
+ entry.Size = fileSize;
- await memoryStream.CopyToAsync(stdIn);
- await stdIn.FlushAsync();
+ tarOutputStream.PutNextEntry(entry);
+ await inputFileStream.CopyToAsync(tarOutputStream).ConfigureAwait(false);
+ tarOutputStream.CloseEntry();
}
- }
- catch (Exception ex)
- {
- throw new IOException($"Copy command failed: {ex.Message}");
- }
+ memoryStream.Position = 0;
- using StreamReader streamReader = new StreamReader(stdError);
- while (streamReader.EndOfStream == false)
- {
- string error = await streamReader.ReadToEndAsync();
- throw new IOException($"Copy command failed: {error}");
+ await memoryStream.CopyToAsync(stdIn).ConfigureAwait(false);
+ await stdIn.FlushAsync().ConfigureAwait(false);
}
- });
-
- string destinationFolder = GetFolderName(destinationFilePath);
-
- return await client.NamespacedPodExecAsync(
- name,
- @namespace,
- container,
- new string[] { "sh", "-c", $"tar xmf - -C {destinationFolder}" },
- false,
- handler,
- cancellationToken);
- }
-
+ }
+ catch (Exception ex)
+ {
+ throw new IOException($"Copy command failed: {ex.Message}");
+ }
- private static string GetFolderName(string filePath)
- {
- var folderName = Path.GetDirectoryName(filePath);
+ using StreamReader streamReader = new StreamReader(stdError);
+ while (streamReader.EndOfStream == false)
+ {
+ string error = await streamReader.ReadToEndAsync().ConfigureAwait(false);
+ throw new IOException($"Copy command failed: {error}");
+ }
+ });
+
+ string destinationFolder = GetFolderName(destinationFilePath);
+
+ return await client.NamespacedPodExecAsync(
+ name,
+ @namespace,
+ container,
+ new string[] { "sh", "-c", $"tar xmf - -C {destinationFolder}" },
+ false,
+ handler,
+ cancellationToken).ConfigureAwait(false);
+ }
- return string.IsNullOrEmpty(folderName) ? "." : folderName;
- }
+ private static string GetFolderName(string filePath)
+ {
+ var folderName = Path.GetDirectoryName(filePath);
+ return string.IsNullOrEmpty(folderName) ? "." : folderName;
}
}
diff --git a/examples/csrApproval/Program.cs b/examples/csrApproval/Program.cs
index b4f154864..fc94ae9a8 100644
--- a/examples/csrApproval/Program.cs
+++ b/examples/csrApproval/Program.cs
@@ -1,4 +1,4 @@
-using Json.Patch;
+using Json.Patch;
using k8s;
using k8s.Models;
using System.Net;
@@ -21,7 +21,7 @@ string GenerateCertificate(string name)
var request = new CertificateRequest(distinguishedName, rsa, HashAlgorithmName.SHA256, RSASignaturePadding.Pkcs1);
request.CertificateExtensions.Add(new X509KeyUsageExtension(X509KeyUsageFlags.DataEncipherment | X509KeyUsageFlags.KeyEncipherment | X509KeyUsageFlags.DigitalSignature, false));
- request.CertificateExtensions.Add(new X509EnhancedKeyUsageExtension(new OidCollection { new("1.3.6.1.5.5.7.3.1") }, false));
+ request.CertificateExtensions.Add(new X509EnhancedKeyUsageExtension([new ("1.3.6.1.5.5.7.3.1")], false));
request.CertificateExtensions.Add(sanBuilder.Build());
var csr = request.CreateSigningRequest();
var pemKey = "-----BEGIN CERTIFICATE REQUEST-----\r\n" +
@@ -44,34 +44,34 @@ string GenerateCertificate(string name)
Kind = "CertificateSigningRequest",
Metadata = new V1ObjectMeta
{
- Name = name
+ Name = name,
},
Spec = new V1CertificateSigningRequestSpec
{
Request = encodedCsr,
SignerName = "kubernetes.io/kube-apiserver-client",
Usages = new List { "client auth" },
- ExpirationSeconds = 600 // minimum should be 10 minutes
- }
+ ExpirationSeconds = 600, // minimum should be 10 minutes
+ },
};
-await client.CertificatesV1.CreateCertificateSigningRequestAsync(request);
+await client.CertificatesV1.CreateCertificateSigningRequestAsync(request).ConfigureAwait(false);
var serializeOptions = new JsonSerializerOptions
{
PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
- WriteIndented = true
+ WriteIndented = true,
};
-var readCert = await client.CertificatesV1.ReadCertificateSigningRequestAsync(name);
+var readCert = await client.CertificatesV1.ReadCertificateSigningRequestAsync(name).ConfigureAwait(false);
var old = JsonSerializer.SerializeToDocument(readCert, serializeOptions);
var replace = new List
{
- new("True", "Approved", DateTime.UtcNow, DateTime.UtcNow, "This certificate was approved by k8s client", "Approve")
+ new ("True", "Approved", DateTime.UtcNow, DateTime.UtcNow, "This certificate was approved by k8s client", "Approve"),
};
readCert.Status.Conditions = replace;
var expected = JsonSerializer.SerializeToDocument(readCert, serializeOptions);
var patch = old.CreatePatch(expected);
-await client.CertificatesV1.PatchCertificateSigningRequestApprovalAsync(new V1Patch(patch, V1Patch.PatchType.JsonPatch), name);
+await client.CertificatesV1.PatchCertificateSigningRequestApprovalAsync(new V1Patch(patch, V1Patch.PatchType.JsonPatch), name).ConfigureAwait(false);
diff --git a/examples/exec/Exec.cs b/examples/exec/Exec.cs
index 9fdfc73b0..20bbd2125 100755
--- a/examples/exec/Exec.cs
+++ b/examples/exec/Exec.cs
@@ -3,35 +3,26 @@
using System;
using System.Threading.Tasks;
-namespace exec
-{
- internal class Exec
- {
- private static async Task Main(string[] args)
- {
- var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
- IKubernetes client = new Kubernetes(config);
- Console.WriteLine("Starting Request!");
+var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
+IKubernetes client = new Kubernetes(config);
+Console.WriteLine("Starting Request!");
- var list = client.CoreV1.ListNamespacedPod("default");
- var pod = list.Items[0];
- await ExecInPod(client, pod).ConfigureAwait(false);
- }
+var list = client.CoreV1.ListNamespacedPod("default");
+var pod = list.Items[0];
+await ExecInPod(client, pod).ConfigureAwait(false);
- private static async Task ExecInPod(IKubernetes client, V1Pod pod)
- {
- var webSocket =
- await client.WebSocketNamespacedPodExecAsync(pod.Metadata.Name, "default", "ls",
- pod.Spec.Containers[0].Name).ConfigureAwait(false);
+async Task ExecInPod(IKubernetes client, V1Pod pod)
+{
+ var webSocket =
+ await client.WebSocketNamespacedPodExecAsync(pod.Metadata.Name, "default", "ls",
+ pod.Spec.Containers[0].Name).ConfigureAwait(false);
- var demux = new StreamDemuxer(webSocket);
- demux.Start();
+ var demux = new StreamDemuxer(webSocket);
+ demux.Start();
- var buff = new byte[4096];
- var stream = demux.GetStream(1, 1);
- var read = stream.Read(buff, 0, 4096);
- var str = System.Text.Encoding.Default.GetString(buff);
- Console.WriteLine(str);
- }
- }
+ var buff = new byte[4096];
+ var stream = demux.GetStream(1, 1);
+ var read = stream.Read(buff, 0, 4096);
+ var str = System.Text.Encoding.Default.GetString(buff);
+ Console.WriteLine(str);
}
diff --git a/examples/generic/Generic.cs b/examples/generic/Generic.cs
index 41f91b39f..f65fb944d 100644
--- a/examples/generic/Generic.cs
+++ b/examples/generic/Generic.cs
@@ -1,26 +1,16 @@
using k8s;
using k8s.Models;
using System;
-using System.Threading.Tasks;
-namespace exec
-{
- internal class Generic
- {
- private static async Task Main(string[] args)
- {
- var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
- IKubernetes client = new Kubernetes(config);
- var generic = new GenericClient(client, "", "v1", "nodes");
- var node = await generic.ReadAsync("kube0").ConfigureAwait(false);
- Console.WriteLine(node.Metadata.Name);
+var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
+IKubernetes client = new Kubernetes(config);
+var generic = new GenericClient(client, "", "v1", "nodes");
+var node = await generic.ReadAsync("kube0").ConfigureAwait(false);
+Console.WriteLine(node.Metadata.Name);
- var genericPods = new GenericClient(client, "", "v1", "pods");
- var pods = await genericPods.ListNamespacedAsync("default").ConfigureAwait(false);
- foreach (var pod in pods.Items)
- {
- Console.WriteLine(pod.Metadata.Name);
- }
- }
- }
+var genericPods = new GenericClient(client, "", "v1", "pods");
+var pods = await genericPods.ListNamespacedAsync("default").ConfigureAwait(false);
+foreach (var pod in pods.Items)
+{
+ Console.WriteLine(pod.Metadata.Name);
}
diff --git a/examples/labels/PodList.cs b/examples/labels/PodList.cs
index 2d59e9026..0c5df001d 100755
--- a/examples/labels/PodList.cs
+++ b/examples/labels/PodList.cs
@@ -2,47 +2,38 @@
using System;
using System.Collections.Generic;
-namespace simple
+var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
+IKubernetes client = new Kubernetes(config);
+Console.WriteLine("Starting Request!");
+
+var list = client.CoreV1.ListNamespacedService("default");
+foreach (var item in list.Items)
{
- internal class PodList
+ Console.WriteLine("Pods for service: " + item.Metadata.Name);
+ Console.WriteLine("=-=-=-=-=-=-=-=-=-=-=");
+ if (item.Spec == null || item.Spec.Selector == null)
{
- private static void Main(string[] args)
- {
- var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
- IKubernetes client = new Kubernetes(config);
- Console.WriteLine("Starting Request!");
-
- var list = client.CoreV1.ListNamespacedService("default");
- foreach (var item in list.Items)
- {
- Console.WriteLine("Pods for service: " + item.Metadata.Name);
- Console.WriteLine("=-=-=-=-=-=-=-=-=-=-=");
- if (item.Spec == null || item.Spec.Selector == null)
- {
- continue;
- }
-
- var labels = new List();
- foreach (var key in item.Spec.Selector)
- {
- labels.Add(key.Key + "=" + key.Value);
- }
+ continue;
+ }
- var labelStr = string.Join(",", labels.ToArray());
- Console.WriteLine(labelStr);
- var podList = client.CoreV1.ListNamespacedPod("default", labelSelector: labelStr);
- foreach (var pod in podList.Items)
- {
- Console.WriteLine(pod.Metadata.Name);
- }
+ var labels = new List();
+ foreach (var key in item.Spec.Selector)
+ {
+ labels.Add(key.Key + "=" + key.Value);
+ }
- if (podList.Items.Count == 0)
- {
- Console.WriteLine("Empty!");
- }
+ var labelStr = string.Join(",", labels.ToArray());
+ Console.WriteLine(labelStr);
+ var podList = client.CoreV1.ListNamespacedPod("default", labelSelector: labelStr);
+ foreach (var pod in podList.Items)
+ {
+ Console.WriteLine(pod.Metadata.Name);
+ }
- Console.WriteLine();
- }
- }
+ if (podList.Items.Count == 0)
+ {
+ Console.WriteLine("Empty!");
}
+
+ Console.WriteLine();
}
diff --git a/examples/logs/Logs.cs b/examples/logs/Logs.cs
index ea23fa05f..5293de579 100755
--- a/examples/logs/Logs.cs
+++ b/examples/logs/Logs.cs
@@ -1,31 +1,21 @@
using k8s;
using System;
-using System.Threading.Tasks;
-namespace logs
-{
- internal class Logs
- {
- private static async Task Main(string[] args)
- {
- var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
- IKubernetes client = new Kubernetes(config);
- Console.WriteLine("Starting Request!");
+var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
+IKubernetes client = new Kubernetes(config);
+Console.WriteLine("Starting Request!");
- var list = client.CoreV1.ListNamespacedPod("default");
- if (list.Items.Count == 0)
- {
- Console.WriteLine("No pods!");
- return;
- }
+var list = client.CoreV1.ListNamespacedPod("default");
+if (list.Items.Count == 0)
+{
+ Console.WriteLine("No pods!");
+ return;
+}
- var pod = list.Items[0];
+var pod = list.Items[0];
- var response = await client.CoreV1.ReadNamespacedPodLogWithHttpMessagesAsync(
- pod.Metadata.Name,
- pod.Metadata.NamespaceProperty, container: pod.Spec.Containers[0].Name, follow: true).ConfigureAwait(false);
- var stream = response.Body;
- stream.CopyTo(Console.OpenStandardOutput());
- }
- }
-}
+var response = await client.CoreV1.ReadNamespacedPodLogWithHttpMessagesAsync(
+ pod.Metadata.Name,
+ pod.Metadata.NamespaceProperty, container: pod.Spec.Containers[0].Name, follow: true).ConfigureAwait(false);
+var stream = response.Body;
+stream.CopyTo(Console.OpenStandardOutput());
diff --git a/examples/metrics/Program.cs b/examples/metrics/Program.cs
index 33a779f09..f823bf54d 100644
--- a/examples/metrics/Program.cs
+++ b/examples/metrics/Program.cs
@@ -3,58 +3,49 @@
using System.Linq;
using System.Threading.Tasks;
-namespace metrics
+async Task NodesMetrics(IKubernetes client)
{
- internal class Program
+ var nodesMetrics = await client.GetKubernetesNodesMetricsAsync().ConfigureAwait(false);
+
+ foreach (var item in nodesMetrics.Items)
{
- private static async Task NodesMetrics(IKubernetes client)
+ Console.WriteLine(item.Metadata.Name);
+
+ foreach (var metric in item.Usage)
{
- var nodesMetrics = await client.GetKubernetesNodesMetricsAsync().ConfigureAwait(false);
+ Console.WriteLine($"{metric.Key}: {metric.Value}");
+ }
+ }
+}
- foreach (var item in nodesMetrics.Items)
- {
- Console.WriteLine(item.Metadata.Name);
+async Task PodsMetrics(IKubernetes client)
+{
+ var podsMetrics = await client.GetKubernetesPodsMetricsAsync().ConfigureAwait(false);
- foreach (var metric in item.Usage)
- {
- Console.WriteLine($"{metric.Key}: {metric.Value}");
- }
- }
- }
+ if (!podsMetrics.Items.Any())
+ {
+ Console.WriteLine("Empty");
+ }
- private static async Task PodsMetrics(IKubernetes client)
+ foreach (var item in podsMetrics.Items)
+ {
+ foreach (var container in item.Containers)
{
- var podsMetrics = await client.GetKubernetesPodsMetricsAsync().ConfigureAwait(false);
-
- if (!podsMetrics.Items.Any())
- {
- Console.WriteLine("Empty");
- }
+ Console.WriteLine(container.Name);
- foreach (var item in podsMetrics.Items)
+ foreach (var metric in container.Usage)
{
- foreach (var container in item.Containers)
- {
- Console.WriteLine(container.Name);
-
- foreach (var metric in container.Usage)
- {
- Console.WriteLine($"{metric.Key}: {metric.Value}");
- }
- }
-
- Console.Write(Environment.NewLine);
+ Console.WriteLine($"{metric.Key}: {metric.Value}");
}
}
- private static async Task Main(string[] args)
- {
- var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
- var client = new Kubernetes(config);
-
- await NodesMetrics(client).ConfigureAwait(false);
- Console.WriteLine(Environment.NewLine);
- await PodsMetrics(client).ConfigureAwait(false);
- }
+ Console.Write(Environment.NewLine);
}
}
+
+var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
+var client = new Kubernetes(config);
+
+await NodesMetrics(client).ConfigureAwait(false);
+Console.WriteLine(Environment.NewLine);
+await PodsMetrics(client).ConfigureAwait(false);
diff --git a/examples/namespace/NamespaceExample.cs b/examples/namespace/NamespaceExample.cs
index 22ad06cde..06e8757a4 100644
--- a/examples/namespace/NamespaceExample.cs
+++ b/examples/namespace/NamespaceExample.cs
@@ -4,52 +4,37 @@
using System.Net;
using System.Threading.Tasks;
-namespace @namespace
+void ListNamespaces(IKubernetes client)
{
- internal class NamespaceExample
+ var list = client.CoreV1.ListNamespace();
+ foreach (var item in list.Items)
{
- private static void ListNamespaces(IKubernetes client)
- {
- var list = client.CoreV1.ListNamespace();
- foreach (var item in list.Items)
- {
- Console.WriteLine(item.Metadata.Name);
- }
+ Console.WriteLine(item.Metadata.Name);
+ }
- if (list.Items.Count == 0)
- {
- Console.WriteLine("Empty!");
- }
- }
+ if (list.Items.Count == 0)
+ {
+ Console.WriteLine("Empty!");
+ }
+}
- private static async Task DeleteAsync(IKubernetes client, string name, int delayMillis)
+async Task DeleteAsync(IKubernetes client, string name, int delayMillis)
+{
+ while (true)
+ {
+ await Task.Delay(delayMillis).ConfigureAwait(false);
+ try
{
- while (true)
+ await client.CoreV1.ReadNamespaceAsync(name).ConfigureAwait(false);
+ }
+ catch (AggregateException ex)
+ {
+ foreach (var innerEx in ex.InnerExceptions)
{
- await Task.Delay(delayMillis).ConfigureAwait(false);
- try
- {
- await client.CoreV1.ReadNamespaceAsync(name).ConfigureAwait(false);
- }
- catch (AggregateException ex)
- {
- foreach (var innerEx in ex.InnerExceptions)
- {
- if (innerEx is k8s.Autorest.HttpOperationException exception)
- {
- var code = exception.Response.StatusCode;
- if (code == HttpStatusCode.NotFound)
- {
- return;
- }
-
- throw;
- }
- }
- }
- catch (k8s.Autorest.HttpOperationException ex)
+ if (innerEx is k8s.Autorest.HttpOperationException exception)
{
- if (ex.Response.StatusCode == HttpStatusCode.NotFound)
+ var code = exception.Response.StatusCode;
+ if (code == HttpStatusCode.NotFound)
{
return;
}
@@ -58,41 +43,47 @@ private static async Task DeleteAsync(IKubernetes client, string name, int delay
}
}
}
-
- private static void Delete(IKubernetes client, string name, int delayMillis)
+ catch (k8s.Autorest.HttpOperationException ex)
{
- DeleteAsync(client, name, delayMillis).Wait();
+ if (ex.Response.StatusCode == HttpStatusCode.NotFound)
+ {
+ return;
+ }
+
+ throw;
}
+ }
+}
- private static void Main(string[] args)
- {
- var k8SClientConfig = KubernetesClientConfiguration.BuildConfigFromConfigFile();
- IKubernetes client = new Kubernetes(k8SClientConfig);
+void Delete(IKubernetes client, string name, int delayMillis)
+{
+ DeleteAsync(client, name, delayMillis).Wait();
+}
- ListNamespaces(client);
+var k8SClientConfig = KubernetesClientConfiguration.BuildConfigFromConfigFile();
+IKubernetes client = new Kubernetes(k8SClientConfig);
- var ns = new V1Namespace { Metadata = new V1ObjectMeta { Name = "test" } };
+ListNamespaces(client);
- var result = client.CoreV1.CreateNamespace(ns);
- Console.WriteLine(result);
+var ns = new V1Namespace { Metadata = new V1ObjectMeta { Name = "test" } };
- ListNamespaces(client);
+var result = client.CoreV1.CreateNamespace(ns);
+Console.WriteLine(result);
- var status = client.CoreV1.DeleteNamespace(ns.Metadata.Name, new V1DeleteOptions());
+ListNamespaces(client);
- if (status.HasObject)
- {
- var obj = status.ObjectView();
- Console.WriteLine(obj.Status.Phase);
+var status = client.CoreV1.DeleteNamespace(ns.Metadata.Name, new V1DeleteOptions());
- Delete(client, ns.Metadata.Name, 3 * 1000);
- }
- else
- {
- Console.WriteLine(status.Message);
- }
+if (status.HasObject)
+{
+ var obj = status.ObjectView();
+ Console.WriteLine(obj.Status.Phase);
- ListNamespaces(client);
- }
- }
+ Delete(client, ns.Metadata.Name, 3 * 1000);
}
+else
+{
+ Console.WriteLine(status.Message);
+}
+
+ListNamespaces(client);
diff --git a/examples/openTelemetryConsole/Program.cs b/examples/openTelemetryConsole/Program.cs
index 9a5460dcb..4b7406be3 100644
--- a/examples/openTelemetryConsole/Program.cs
+++ b/examples/openTelemetryConsole/Program.cs
@@ -24,11 +24,12 @@
// Read the list of pods contained in default namespace
var list = client.CoreV1.ListNamespacedPod("default");
-// Print the name of pods
+// Print the name of pods
foreach (var item in list.Items)
{
Console.WriteLine(item.Metadata.Name);
}
+
// Or empty if there are no pods
if (list.Items.Count == 0)
{
diff --git a/examples/patch-aot/Program.cs b/examples/patch-aot/Program.cs
index 06a693dde..e72f6a4d2 100644
--- a/examples/patch-aot/Program.cs
+++ b/examples/patch-aot/Program.cs
@@ -28,5 +28,6 @@ static void PrintLabels(V1Pod pod)
{
Console.WriteLine($"{k} : {v}");
}
+
Console.WriteLine("=-=-=-=-=-=-=-=-=-=-=");
}
diff --git a/examples/patch/Program.cs b/examples/patch/Program.cs
index 7958fcc35..f8cefa67c 100644
--- a/examples/patch/Program.cs
+++ b/examples/patch/Program.cs
@@ -3,21 +3,15 @@
using System;
using System.Linq;
-namespace patch
-{
- internal class Program
- {
- private static void Main(string[] args)
- {
- var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
- IKubernetes client = new Kubernetes(config);
- Console.WriteLine("Starting Request!");
+var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
+IKubernetes client = new Kubernetes(config);
+Console.WriteLine("Starting Request!");
- var pod = client.CoreV1.ListNamespacedPod("default").Items.First();
- var name = pod.Metadata.Name;
- PrintLabels(pod);
+var pod = client.CoreV1.ListNamespacedPod("default").Items.First();
+var name = pod.Metadata.Name;
+PrintLabels(pod);
- var patchStr = @"
+var patchStr = @"
{
""metadata"": {
""labels"": {
@@ -26,19 +20,16 @@ private static void Main(string[] args)
}
}";
- client.CoreV1.PatchNamespacedPod(new V1Patch(patchStr, V1Patch.PatchType.MergePatch), name, "default");
- PrintLabels(client.CoreV1.ReadNamespacedPod(name, "default"));
- }
-
- private static void PrintLabels(V1Pod pod)
- {
- Console.WriteLine($"Labels: for {pod.Metadata.Name}");
- foreach (var (k, v) in pod.Metadata.Labels)
- {
- Console.WriteLine($"{k} : {v}");
- }
+client.CoreV1.PatchNamespacedPod(new V1Patch(patchStr, V1Patch.PatchType.MergePatch), name, "default");
+PrintLabels(client.CoreV1.ReadNamespacedPod(name, "default"));
- Console.WriteLine("=-=-=-=-=-=-=-=-=-=-=");
- }
+void PrintLabels(V1Pod pod)
+{
+ Console.WriteLine($"Labels: for {pod.Metadata.Name}");
+ foreach (var (k, v) in pod.Metadata.Labels)
+ {
+ Console.WriteLine($"{k} : {v}");
}
+
+ Console.WriteLine("=-=-=-=-=-=-=-=-=-=-=");
}
diff --git a/examples/portforward/PortForward.cs b/examples/portforward/PortForward.cs
index fe9485d86..ee095e073 100644
--- a/examples/portforward/PortForward.cs
+++ b/examples/portforward/PortForward.cs
@@ -6,74 +6,66 @@
using System.Text;
using System.Threading.Tasks;
-namespace portforward
-{
- internal class Portforward
- {
- private static async Task Main(string[] args)
- {
- var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
- IKubernetes client = new Kubernetes(config);
- Console.WriteLine("Starting port forward!");
+var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
+IKubernetes client = new Kubernetes(config);
+Console.WriteLine("Starting port forward!");
- var list = client.CoreV1.ListNamespacedPod("default");
- var pod = list.Items[0];
- await Forward(client, pod);
- }
-
- private static async Task Forward(IKubernetes client, V1Pod pod)
- {
- // Note this is single-threaded, it won't handle concurrent requests well...
- var webSocket = await client.WebSocketNamespacedPodPortForwardAsync(pod.Metadata.Name, "default", new int[] { 80 }, "v4.channel.k8s.io");
- var demux = new StreamDemuxer(webSocket, StreamType.PortForward);
- demux.Start();
+var list = client.CoreV1.ListNamespacedPod("default");
+var pod = list.Items[0];
+await Forward(client, pod).ConfigureAwait(false);
- var stream = demux.GetStream((byte?)0, (byte?)0);
+async Task Forward(IKubernetes client, V1Pod pod)
+{
+ // Note this is single-threaded, it won't handle concurrent requests well...
+ var webSocket = await client.WebSocketNamespacedPodPortForwardAsync(pod.Metadata.Name, "default", new int[] { 80 }, "v4.channel.k8s.io").ConfigureAwait(false);
+ var demux = new StreamDemuxer(webSocket, StreamType.PortForward);
+ demux.Start();
- IPAddress ipAddress = IPAddress.Loopback;
- IPEndPoint localEndPoint = new IPEndPoint(ipAddress, 8080);
- Socket listener = new Socket(ipAddress.AddressFamily, SocketType.Stream, ProtocolType.Tcp);
- listener.Bind(localEndPoint);
- listener.Listen(100);
+ var stream = demux.GetStream((byte?)0, (byte?)0);
- Socket handler = null;
+ IPAddress ipAddress = IPAddress.Loopback;
+ IPEndPoint localEndPoint = new IPEndPoint(ipAddress, 8080);
+ Socket listener = new Socket(ipAddress.AddressFamily, SocketType.Stream, ProtocolType.Tcp);
+ listener.Bind(localEndPoint);
+ listener.Listen(100);
- // Note this will only accept a single connection
- var accept = Task.Run(() =>
- {
- while (true)
- {
- handler = listener.Accept();
- var bytes = new byte[4096];
- while (true)
- {
- int bytesRec = handler.Receive(bytes);
- stream.Write(bytes, 0, bytesRec);
- if (bytesRec == 0 || Encoding.ASCII.GetString(bytes, 0, bytesRec).IndexOf("") > -1)
- {
- break;
- }
- }
- }
- });
+ Socket handler = null;
- var copy = Task.Run(() =>
+ // Note this will only accept a single connection
+ var accept = Task.Run(() =>
+ {
+ while (true)
+ {
+ handler = listener.Accept();
+ var bytes = new byte[4096];
+ while (true)
{
- var buff = new byte[4096];
- while (true)
+ int bytesRec = handler.Receive(bytes);
+ stream.Write(bytes, 0, bytesRec);
+ if (bytesRec == 0 || Encoding.ASCII.GetString(bytes, 0, bytesRec).IndexOf("") > -1)
{
- var read = stream.Read(buff, 0, 4096);
- handler.Send(buff, read, 0);
+ break;
}
- });
-
- await accept;
- await copy;
- if (handler != null)
- {
- handler.Close();
}
- listener.Close();
}
+ });
+
+ var copy = Task.Run(() =>
+ {
+ var buff = new byte[4096];
+ while (true)
+ {
+ var read = stream.Read(buff, 0, 4096);
+ handler.Send(buff, read, 0);
+ }
+ });
+
+ await accept.ConfigureAwait(false);
+ await copy.ConfigureAwait(false);
+ if (handler != null)
+ {
+ handler.Close();
}
+
+ listener.Close();
}
diff --git a/examples/restart/Program.cs b/examples/restart/Program.cs
index b6e7a6f22..894e305a6 100644
--- a/examples/restart/Program.cs
+++ b/examples/restart/Program.cs
@@ -1,17 +1,17 @@
-using Json.Patch;
+using Json.Patch;
using k8s;
using k8s.Models;
using System.Text.Json;
async Task RestartDaemonSetAsync(string name, string @namespace, IKubernetes client)
{
- var daemonSet = await client.AppsV1.ReadNamespacedDaemonSetAsync(name, @namespace);
+ var daemonSet = await client.AppsV1.ReadNamespacedDaemonSetAsync(name, @namespace).ConfigureAwait(false);
var options = new JsonSerializerOptions { PropertyNamingPolicy = JsonNamingPolicy.CamelCase, WriteIndented = true };
var old = JsonSerializer.SerializeToDocument(daemonSet, options);
var now = DateTimeOffset.Now.ToUnixTimeSeconds();
var restart = new Dictionary
{
- ["date"] = now.ToString()
+ ["date"] = now.ToString(),
};
daemonSet.Spec.Template.Metadata.Annotations = restart;
@@ -19,18 +19,18 @@ async Task RestartDaemonSetAsync(string name, string @namespace, IKubernetes cli
var expected = JsonSerializer.SerializeToDocument(daemonSet);
var patch = old.CreatePatch(expected);
- await client.AppsV1.PatchNamespacedDaemonSetAsync(new V1Patch(patch, V1Patch.PatchType.JsonPatch), name, @namespace);
+ await client.AppsV1.PatchNamespacedDaemonSetAsync(new V1Patch(patch, V1Patch.PatchType.JsonPatch), name, @namespace).ConfigureAwait(false);
}
async Task RestartDeploymentAsync(string name, string @namespace, IKubernetes client)
{
- var deployment = await client.AppsV1.ReadNamespacedDeploymentAsync(name, @namespace);
+ var deployment = await client.AppsV1.ReadNamespacedDeploymentAsync(name, @namespace).ConfigureAwait(false);
var options = new JsonSerializerOptions { PropertyNamingPolicy = JsonNamingPolicy.CamelCase, WriteIndented = true };
var old = JsonSerializer.SerializeToDocument(deployment, options);
var now = DateTimeOffset.Now.ToUnixTimeSeconds();
var restart = new Dictionary
{
- ["date"] = now.ToString()
+ ["date"] = now.ToString(),
};
deployment.Spec.Template.Metadata.Annotations = restart;
@@ -38,18 +38,18 @@ async Task RestartDeploymentAsync(string name, string @namespace, IKubernetes cl
var expected = JsonSerializer.SerializeToDocument(deployment);
var patch = old.CreatePatch(expected);
- await client.AppsV1.PatchNamespacedDeploymentAsync(new V1Patch(patch, V1Patch.PatchType.JsonPatch), name, @namespace);
+ await client.AppsV1.PatchNamespacedDeploymentAsync(new V1Patch(patch, V1Patch.PatchType.JsonPatch), name, @namespace).ConfigureAwait(false);
}
async Task RestartStatefulSetAsync(string name, string @namespace, IKubernetes client)
{
- var deployment = await client.AppsV1.ReadNamespacedStatefulSetAsync(name, @namespace);
+ var deployment = await client.AppsV1.ReadNamespacedStatefulSetAsync(name, @namespace).ConfigureAwait(false);
var options = new JsonSerializerOptions { PropertyNamingPolicy = JsonNamingPolicy.CamelCase, WriteIndented = true };
var old = JsonSerializer.SerializeToDocument(deployment, options);
var now = DateTimeOffset.Now.ToUnixTimeSeconds();
var restart = new Dictionary
{
- ["date"] = now.ToString()
+ ["date"] = now.ToString(),
};
deployment.Spec.Template.Metadata.Annotations = restart;
@@ -57,12 +57,12 @@ async Task RestartStatefulSetAsync(string name, string @namespace, IKubernetes c
var expected = JsonSerializer.SerializeToDocument(deployment);
var patch = old.CreatePatch(expected);
- await client.AppsV1.PatchNamespacedStatefulSetAsync(new V1Patch(patch, V1Patch.PatchType.JsonPatch), name, @namespace);
+ await client.AppsV1.PatchNamespacedStatefulSetAsync(new V1Patch(patch, V1Patch.PatchType.JsonPatch), name, @namespace).ConfigureAwait(false);
}
var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
IKubernetes client = new Kubernetes(config);
-await RestartDeploymentAsync("event-exporter", "monitoring", client);
-await RestartDaemonSetAsync("prometheus-exporter", "monitoring", client);
-await RestartStatefulSetAsync("argocd-application-controlle", "argocd", client);
+await RestartDeploymentAsync("event-exporter", "monitoring", client).ConfigureAwait(false);
+await RestartDaemonSetAsync("prometheus-exporter", "monitoring", client).ConfigureAwait(false);
+await RestartStatefulSetAsync("argocd-application-controlle", "argocd", client).ConfigureAwait(false);
diff --git a/examples/simple/PodList.cs b/examples/simple/PodList.cs
index b9eb3cdcf..751622c16 100755
--- a/examples/simple/PodList.cs
+++ b/examples/simple/PodList.cs
@@ -1,26 +1,17 @@
using k8s;
using System;
-namespace simple
-{
- internal class PodList
- {
- private static void Main(string[] args)
- {
- var config = KubernetesClientConfiguration.BuildDefaultConfig();
- IKubernetes client = new Kubernetes(config);
- Console.WriteLine("Starting Request!");
+var config = KubernetesClientConfiguration.BuildDefaultConfig();
+IKubernetes client = new Kubernetes(config);
+Console.WriteLine("Starting Request!");
- var list = client.CoreV1.ListNamespacedPod("default");
- foreach (var item in list.Items)
- {
- Console.WriteLine(item.Metadata.Name);
- }
+var list = client.CoreV1.ListNamespacedPod("default");
+foreach (var item in list.Items)
+{
+ Console.WriteLine(item.Metadata.Name);
+}
- if (list.Items.Count == 0)
- {
- Console.WriteLine("Empty!");
- }
- }
- }
+if (list.Items.Count == 0)
+{
+ Console.WriteLine("Empty!");
}
diff --git a/examples/watch/Program.cs b/examples/watch/Program.cs
index 525cbec5c..f21f8f88c 100644
--- a/examples/watch/Program.cs
+++ b/examples/watch/Program.cs
@@ -4,47 +4,37 @@
using System.Threading;
using System.Threading.Tasks;
-namespace watch
-{
- internal class Program
- {
- private static async Task Main(string[] args)
- {
- var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
+var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
- IKubernetes client = new Kubernetes(config);
+IKubernetes client = new Kubernetes(config);
- var podlistResp = client.CoreV1.ListNamespacedPodWithHttpMessagesAsync("default", watch: true);
- // C# 8 required https://docs.microsoft.com/en-us/archive/msdn-magazine/2019/november/csharp-iterating-with-async-enumerables-in-csharp-8
- await foreach (var (type, item) in podlistResp.WatchAsync())
- {
- Console.WriteLine("==on watch event==");
- Console.WriteLine(type);
- Console.WriteLine(item.Metadata.Name);
- Console.WriteLine("==on watch event==");
- }
-
- // uncomment if you prefer callback api
- // WatchUsingCallback(client);
- }
+var podlistResp = client.CoreV1.ListNamespacedPodWithHttpMessagesAsync("default", watch: true);
+// C# 8 required https://docs.microsoft.com/en-us/archive/msdn-magazine/2019/november/csharp-iterating-with-async-enumerables-in-csharp-8
+await foreach (var (type, item) in podlistResp.WatchAsync().ConfigureAwait(false))
+{
+ Console.WriteLine("==on watch event==");
+ Console.WriteLine(type);
+ Console.WriteLine(item.Metadata.Name);
+ Console.WriteLine("==on watch event==");
+}
- private static void WatchUsingCallback(IKubernetes client)
- {
- var podlistResp = client.CoreV1.ListNamespacedPodWithHttpMessagesAsync("default", watch: true);
- using (podlistResp.Watch((type, item) =>
- {
- Console.WriteLine("==on watch event==");
- Console.WriteLine(type);
- Console.WriteLine(item.Metadata.Name);
- Console.WriteLine("==on watch event==");
- }))
- {
- Console.WriteLine("press ctrl + c to stop watching");
+#pragma warning disable CS8321 // Remove unused private members
+void WatchUsingCallback(IKubernetes client)
+#pragma warning restore CS8321 // Remove unused private members
+{
+ var podlistResp = client.CoreV1.ListNamespacedPodWithHttpMessagesAsync("default", watch: true);
+ using (podlistResp.Watch((type, item) =>
+ {
+ Console.WriteLine("==on watch event==");
+ Console.WriteLine(type);
+ Console.WriteLine(item.Metadata.Name);
+ Console.WriteLine("==on watch event==");
+ }))
+ {
+ Console.WriteLine("press ctrl + c to stop watching");
- var ctrlc = new ManualResetEventSlim(false);
- Console.CancelKeyPress += (sender, eventArgs) => ctrlc.Set();
- ctrlc.Wait();
- }
- }
+ var ctrlc = new ManualResetEventSlim(false);
+ Console.CancelKeyPress += (sender, eventArgs) => ctrlc.Set();
+ ctrlc.Wait();
}
}
diff --git a/examples/webApiDependencyInjection/Controllers/ExampleDependencyInjectionOnConstructorController.cs b/examples/webApiDependencyInjection/Controllers/ExampleDependencyInjectionOnConstructorController.cs
index 30fd2656c..6bff6df0d 100644
--- a/examples/webApiDependencyInjection/Controllers/ExampleDependencyInjectionOnConstructorController.cs
+++ b/examples/webApiDependencyInjection/Controllers/ExampleDependencyInjectionOnConstructorController.cs
@@ -10,22 +10,23 @@ public class ExampleDependencyInjectionOnConstructorController : ControllerBase
private readonly IKubernetes kubernetesClient;
///
- /// Inject the kubernets class in the constructor.
+ /// Initializes a new instance of the class.
+ /// Injects the Kubernetes client into the controller.
///
- ///
+ /// The Kubernetes client to interact with the Kubernetes API.
public ExampleDependencyInjectionOnConstructorController(IKubernetes kubernetesClient)
{
this.kubernetesClient = kubernetesClient;
}
///
- /// Example using the kubernetes client obtained from the constructor (this.kubernetesClient).
+ /// Retrieves the names of all pods in the default namespace using the injected Kubernetes client.
///
- ///
- [HttpGet()]
+ /// A collection of pod names in the default namespace.
+ [HttpGet]
public IEnumerable GetPods()
{
- // Read the list of pods contained in default namespace
+ // Read the list of pods contained in the default namespace
var podList = this.kubernetesClient.CoreV1.ListNamespacedPod("default");
// Return names of pods
diff --git a/examples/webApiDependencyInjection/Controllers/ExampleDependencyInjectionOnMethodController.cs b/examples/webApiDependencyInjection/Controllers/ExampleDependencyInjectionOnMethodController.cs
index 0a831befb..84427f5e2 100644
--- a/examples/webApiDependencyInjection/Controllers/ExampleDependencyInjectionOnMethodController.cs
+++ b/examples/webApiDependencyInjection/Controllers/ExampleDependencyInjectionOnMethodController.cs
@@ -10,11 +10,13 @@ public class ExampleDependencyInjectionOnMethodController : ControllerBase
///
/// Example using the kubernetes client injected directly into the method ([FromServices] IKubernetes kubernetesClient).
///
- ///
- ///
- [HttpGet()]
+ /// The Kubernetes client instance injected via dependency injection.
+ /// A collection of pod names in the default namespace.
+ [HttpGet]
public IEnumerable GetPods([FromServices] IKubernetes kubernetesClient)
{
+ ArgumentNullException.ThrowIfNull(kubernetesClient);
+
// Read the list of pods contained in default namespace
var podList = kubernetesClient.CoreV1.ListNamespacedPod("default");
diff --git a/examples/workerServiceDependencyInjection/Program.cs b/examples/workerServiceDependencyInjection/Program.cs
index 59bf3cf25..a894a33fe 100644
--- a/examples/workerServiceDependencyInjection/Program.cs
+++ b/examples/workerServiceDependencyInjection/Program.cs
@@ -14,4 +14,4 @@
})
.Build();
-await host.RunAsync();
+await host.RunAsync().ConfigureAwait(false);
diff --git a/examples/workerServiceDependencyInjection/Worker.cs b/examples/workerServiceDependencyInjection/Worker.cs
index 87d2ecfe2..cb2f82386 100644
--- a/examples/workerServiceDependencyInjection/Worker.cs
+++ b/examples/workerServiceDependencyInjection/Worker.cs
@@ -8,10 +8,11 @@ public class Worker : BackgroundService
private readonly IKubernetes kubernetesClient;
///
+ /// Initializes a new instance of the class.
/// Inject in the constructor the IKubernetes interface.
///
- ///
- ///
+ /// The logger instance used for logging information.
+ /// The Kubernetes client used to interact with the Kubernetes API.
public Worker(ILogger logger, IKubernetes kubernetesClient)
{
this.logger = logger;
@@ -33,7 +34,7 @@ protected override async Task ExecuteAsync(CancellationToken stoppingToken)
Console.WriteLine(pod.Metadata.Name);
}
- await Task.Delay(1000, stoppingToken);
+ await Task.Delay(1000, stoppingToken).ConfigureAwait(false);
}
}
}
diff --git a/examples/yaml/Program.cs b/examples/yaml/Program.cs
index 04676b16f..47b70bdfe 100644
--- a/examples/yaml/Program.cs
+++ b/examples/yaml/Program.cs
@@ -2,27 +2,17 @@
using k8s.Models;
using System;
using System.Collections.Generic;
-using System.Threading.Tasks;
-namespace yaml
+var typeMap = new Dictionary
{
- internal class Program
- {
- private static async Task Main(string[] args)
- {
- var typeMap = new Dictionary
- {
- { "v1/Pod", typeof(V1Pod) },
- { "v1/Service", typeof(V1Service) },
- { "apps/v1/Deployment", typeof(V1Deployment) }
- };
+ { "v1/Pod", typeof(V1Pod) },
+ { "v1/Service", typeof(V1Service) },
+ { "apps/v1/Deployment", typeof(V1Deployment) },
+};
- var objects = await KubernetesYaml.LoadAllFromFileAsync(args[0], typeMap);
+var objects = await KubernetesYaml.LoadAllFromFileAsync(args[0], typeMap).ConfigureAwait(false);
- foreach (var obj in objects)
- {
- Console.WriteLine(obj);
- }
- }
- }
+foreach (var obj in objects)
+{
+ Console.WriteLine(obj);
}
diff --git a/src/KubernetesClient.Aot/KubernetesClient.Aot.csproj b/src/KubernetesClient.Aot/KubernetesClient.Aot.csproj
index 226f818e6..88fe09488 100644
--- a/src/KubernetesClient.Aot/KubernetesClient.Aot.csproj
+++ b/src/KubernetesClient.Aot/KubernetesClient.Aot.csproj
@@ -46,6 +46,10 @@
+
+
+
+
@@ -107,4 +111,4 @@
-
\ No newline at end of file
+
diff --git a/src/KubernetesClient.Classic/KubernetesClient.Classic.csproj b/src/KubernetesClient.Classic/KubernetesClient.Classic.csproj
index bc8ad033a..254e745f3 100644
--- a/src/KubernetesClient.Classic/KubernetesClient.Classic.csproj
+++ b/src/KubernetesClient.Classic/KubernetesClient.Classic.csproj
@@ -75,7 +75,10 @@
-
+
+
+
+
diff --git a/src/KubernetesClient.ModelConverter/AutoMapper/AutoMapperModelVersionConverter.cs b/src/KubernetesClient.ModelConverter/AutoMapper/AutoMapperModelVersionConverter.cs
deleted file mode 100644
index c44190a46..000000000
--- a/src/KubernetesClient.ModelConverter/AutoMapper/AutoMapperModelVersionConverter.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using static k8s.Models.ModelVersionConverter;
-
-namespace k8s.ModelConverter.AutoMapper;
-
-public class AutoMapperModelVersionConverter : IModelVersionConverter
-{
- public static IModelVersionConverter Instance { get; } = new AutoMapperModelVersionConverter();
-
- private AutoMapperModelVersionConverter()
- {
- }
-
- public TTo Convert(TFrom from)
- {
- return VersionConverter.Mapper.Map(from);
- }
-}
diff --git a/src/KubernetesClient.ModelConverter/AutoMapper/KubernetesVersionComparer.cs b/src/KubernetesClient.ModelConverter/AutoMapper/KubernetesVersionComparer.cs
deleted file mode 100644
index de22d25e1..000000000
--- a/src/KubernetesClient.ModelConverter/AutoMapper/KubernetesVersionComparer.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Text.RegularExpressions;
-
-namespace k8s.ModelConverter.AutoMapper;
-
-internal class KubernetesVersionComparer : IComparer
-{
- public static KubernetesVersionComparer Instance { get; } = new KubernetesVersionComparer();
- private static readonly Regex KubernetesVersionRegex = new Regex(@"^v(?[0-9]+)((?alpha|beta)(?[0-9]+))?$", RegexOptions.Compiled);
-
- internal KubernetesVersionComparer()
- {
- }
-
- public int Compare(string x, string y)
- {
- if (x == null || y == null)
- {
- return StringComparer.CurrentCulture.Compare(x, y);
- }
-
- var matchX = KubernetesVersionRegex.Match(x);
- if (!matchX.Success)
- {
- return StringComparer.CurrentCulture.Compare(x, y);
- }
-
- var matchY = KubernetesVersionRegex.Match(y);
- if (!matchY.Success)
- {
- return StringComparer.CurrentCulture.Compare(x, y);
- }
-
- var versionX = ExtractVersion(matchX);
- var versionY = ExtractVersion(matchY);
- return versionX.CompareTo(versionY);
- }
-
- private Version ExtractVersion(Match match)
- {
- var major = int.Parse(match.Groups["major"].Value);
- if (!Enum.TryParse(match.Groups["stream"].Value, true, out var stream))
- {
- stream = Stream.Final;
- }
-
- _ = int.TryParse(match.Groups["minor"].Value, out var minor);
- return new Version(major, (int)stream, minor);
- }
-
- private enum Stream
- {
- Alpha = 1,
- Beta = 2,
- Final = 3,
- }
-}
diff --git a/src/KubernetesClient.ModelConverter/AutoMapper/VersionConverter.cs b/src/KubernetesClient.ModelConverter/AutoMapper/VersionConverter.cs
deleted file mode 100644
index ebc1b214e..000000000
--- a/src/KubernetesClient.ModelConverter/AutoMapper/VersionConverter.cs
+++ /dev/null
@@ -1,176 +0,0 @@
-// WARNING: DO NOT LEAVE COMMENTED CODE IN THIS FILE. IT GETS SCANNED BY GEN PROJECT SO IT CAN EXCLUDE ANY MANUALLY DEFINED MAPS
-
-using AutoMapper;
-#if NET6_0_OR_GREATER
-using AutoMapper.Internal;
-#endif
-using k8s.Models;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Reflection;
-
-namespace k8s.ModelConverter.AutoMapper;
-
-///
-/// Provides mappers that converts Kubernetes models between different versions
-///
-internal static partial class VersionConverter
-{
- static VersionConverter()
- {
- UpdateMappingConfiguration(expression => { });
- }
-
- public static IMapper Mapper { get; private set; }
- internal static MapperConfiguration MapperConfiguration { get; private set; }
-
- ///
- /// Two level lookup of model types by Kind and then Version
- ///
- internal static Dictionary> KindVersionsMap { get; private set; }
-
- public static Type GetTypeForVersion(string version)
- {
- return GetTypeForVersion(typeof(T), version);
- }
-
- public static Type GetTypeForVersion(Type type, string version)
- {
- return KindVersionsMap[type.GetKubernetesTypeMetadata().Kind][version];
- }
-
- public static void UpdateMappingConfiguration(Action configuration)
- {
- MapperConfiguration = new MapperConfiguration(cfg =>
- {
- GetConfigurations(cfg);
- configuration(cfg);
- });
- Mapper = MapperConfiguration
-#if NET6_0_OR_GREATER
- .Internal()
-#endif
- .CreateMapper();
- KindVersionsMap = MapperConfiguration
-#if NET6_0_OR_GREATER
- .Internal()
-#endif
- .GetAllTypeMaps()
- .SelectMany(x => new[] { x.Types.SourceType, x.Types.DestinationType })
- .Where(x => x.GetCustomAttribute() != null)
- .Select(x =>
- {
- var attr = GetKubernetesEntityAttribute(x);
- return new { attr.Kind, attr.ApiVersion, Type = x };
- })
- .GroupBy(x => x.Kind)
- .ToDictionary(x => x.Key, kindGroup => kindGroup
- .GroupBy(x => x.ApiVersion)
- .ToDictionary(
- x => x.Key,
- versionGroup => versionGroup.Select(x => x.Type).Distinct().Single())); // should only be one type for each Kind/Version combination
- }
-
- public static object ConvertToVersion(object source, string apiVersion)
- {
- if (source == null)
- {
- throw new ArgumentNullException(nameof(source));
- }
-
- var type = source.GetType();
- var attr = GetKubernetesEntityAttribute(type);
- if (attr.ApiVersion == apiVersion)
- {
- return source;
- }
-
- if (!KindVersionsMap.TryGetValue(attr.Kind, out var kindVersions))
- {
- throw new InvalidOperationException($"Version converter does not have any registered types for Kind `{attr.Kind}`");
- }
-
- if (!kindVersions.TryGetValue(apiVersion, out var targetType) || !kindVersions.TryGetValue(attr.ApiVersion, out var sourceType) ||
- MapperConfiguration
-#if NET6_0_OR_GREATER
- .Internal()
-#endif
- .FindTypeMapFor(sourceType, targetType) == null)
- {
- throw new InvalidOperationException($"There is no conversion mapping registered for Kind `{attr.Kind}` from ApiVersion {attr.ApiVersion} to {apiVersion}");
- }
-
- return Mapper.Map(source, sourceType, targetType);
- }
-
- private static KubernetesEntityAttribute GetKubernetesEntityAttribute(Type type)
- {
- if (type == null)
- {
- throw new ArgumentNullException(nameof(type));
- }
-
- var attr = type.GetCustomAttribute();
- if (attr == null)
- {
- throw new InvalidOperationException($"Type {type} does not have {nameof(KubernetesEntityAttribute)}");
- }
-
- return attr;
- }
-
- internal static void GetConfigurations(IMapperConfigurationExpression cfg)
- {
- AutoConfigurations(cfg);
- ManualConfigurations(cfg);
- }
-
- private static void ManualConfigurations(IMapperConfigurationExpression cfg)
- {
- cfg.AllowNullCollections = true;
- cfg.DisableConstructorMapping();
- cfg
-#if NET6_0_OR_GREATER
- .Internal()
-#endif
- .ForAllMaps((typeMap, opt) =>
- {
- if (!typeof(IKubernetesObject).IsAssignableFrom(typeMap.Types.DestinationType))
- {
- return;
- }
-
- var metadata = typeMap.Types.DestinationType.GetKubernetesTypeMetadata();
- opt.ForMember(nameof(IKubernetesObject.ApiVersion), x => x.Ignore());
- opt.ForMember(nameof(IKubernetesObject.Kind), x => x.Ignore());
- opt.AfterMap((from, to) =>
- {
- var obj = (IKubernetesObject)to;
- obj.ApiVersion = !string.IsNullOrEmpty(metadata.Group) ? $"{metadata.Group}/{metadata.ApiVersion}" : metadata.ApiVersion;
- obj.Kind = metadata.Kind;
- });
- });
-
- cfg.CreateMap()
- .ForMember(dest => dest.Metrics, opt => opt.Ignore())
- .ForMember(dest => dest.Behavior, opt => opt.Ignore())
- .ReverseMap();
-
-
- cfg.CreateMap()
- .ForMember(dest => dest.Conditions, opt => opt.Ignore())
- .ForMember(dest => dest.CurrentMetrics, opt => opt.Ignore())
- .ReverseMap();
-
- cfg.CreateMap()
- .ForMember(dest => dest.Name, opt => opt.Ignore())
- .ForMember(dest => dest.Request, opt => opt.Ignore())
- .ReverseMap();
-
- cfg.CreateMap()
- .ForMember(dest => dest.Name, opt => opt.Ignore())
- .ForMember(dest => dest.Request, opt => opt.Ignore())
- .ReverseMap();
- }
-}
diff --git a/src/KubernetesClient.ModelConverter/KubernetesClient.ModelConverter.csproj b/src/KubernetesClient.ModelConverter/KubernetesClient.ModelConverter.csproj
deleted file mode 100644
index cbd90f79d..000000000
--- a/src/KubernetesClient.ModelConverter/KubernetesClient.ModelConverter.csproj
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
- net8.0;net9.0
- k8s.ModelConverter
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/KubernetesClient/ClientSets/ClientSet.cs b/src/KubernetesClient/ClientSets/ClientSet.cs
new file mode 100644
index 000000000..53aa37df9
--- /dev/null
+++ b/src/KubernetesClient/ClientSets/ClientSet.cs
@@ -0,0 +1,16 @@
+namespace k8s.ClientSets
+{
+ ///
+ /// Represents a base class for clients that interact with Kubernetes resources.
+ /// Provides shared functionality for derived resource-specific clients.
+ ///
+ public partial class ClientSet
+ {
+ private readonly Kubernetes _kubernetes;
+
+ public ClientSet(Kubernetes kubernetes)
+ {
+ _kubernetes = kubernetes;
+ }
+ }
+}
diff --git a/src/KubernetesClient/ClientSets/ResourceClient.cs b/src/KubernetesClient/ClientSets/ResourceClient.cs
new file mode 100644
index 000000000..bbf1c43e8
--- /dev/null
+++ b/src/KubernetesClient/ClientSets/ResourceClient.cs
@@ -0,0 +1,16 @@
+namespace k8s.ClientSets
+{
+ ///
+ /// Represents a set of Kubernetes clients for interacting with the Kubernetes API.
+ /// This class provides access to various client implementations for managing Kubernetes resources.
+ ///
+ public abstract class ResourceClient
+ {
+ protected Kubernetes Client { get; }
+
+ public ResourceClient(Kubernetes kubernetes)
+ {
+ Client = kubernetes;
+ }
+ }
+}
diff --git a/src/KubernetesClient/Kubernetes.WebSocket.cs b/src/KubernetesClient/Kubernetes.WebSocket.cs
index a3a5bc908..aeca29708 100644
--- a/src/KubernetesClient/Kubernetes.WebSocket.cs
+++ b/src/KubernetesClient/Kubernetes.WebSocket.cs
@@ -18,11 +18,11 @@ public partial class Kubernetes
///
public Task WebSocketNamespacedPodExecAsync(string name, string @namespace = "default",
string command = null, string container = null, bool stderr = true, bool stdin = true, bool stdout = true,
- bool tty = true, string webSocketSubProtol = null, Dictionary> customHeaders = null,
+ bool tty = true, string webSocketSubProtocol = null, Dictionary> customHeaders = null,
CancellationToken cancellationToken = default)
{
return WebSocketNamespacedPodExecAsync(name, @namespace, new string[] { command }, container, stderr, stdin,
- stdout, tty, webSocketSubProtol, customHeaders, cancellationToken);
+ stdout, tty, webSocketSubProtocol, customHeaders, cancellationToken);
}
///
@@ -30,7 +30,7 @@ public virtual async Task MuxedStreamNamespacedPodExecAsync(
string name,
string @namespace = "default", IEnumerable command = null, string container = null,
bool stderr = true, bool stdin = true, bool stdout = true, bool tty = true,
- string webSocketSubProtol = WebSocketProtocol.V4BinaryWebsocketProtocol,
+ string webSocketSubProtocol = WebSocketProtocol.V4BinaryWebsocketProtocol,
Dictionary> customHeaders = null,
CancellationToken cancellationToken = default)
{
@@ -45,7 +45,7 @@ public virtual async Task MuxedStreamNamespacedPodExecAsync(
public virtual Task WebSocketNamespacedPodExecAsync(string name, string @namespace = "default",
IEnumerable command = null, string container = null, bool stderr = true, bool stdin = true,
bool stdout = true, bool tty = true,
- string webSocketSubProtol = WebSocketProtocol.V4BinaryWebsocketProtocol,
+ string webSocketSubProtocol = WebSocketProtocol.V4BinaryWebsocketProtocol,
Dictionary> customHeaders = null,
CancellationToken cancellationToken = default)
{
@@ -114,7 +114,7 @@ public virtual Task WebSocketNamespacedPodExecAsync(string name, stri
uriBuilder.Query =
query.ToString(1, query.Length - 1); // UriBuilder.Query doesn't like leading '?' chars, so trim it
- return StreamConnectAsync(uriBuilder.Uri, webSocketSubProtol, customHeaders,
+ return StreamConnectAsync(uriBuilder.Uri, webSocketSubProtocol, customHeaders,
cancellationToken);
}
@@ -173,7 +173,7 @@ public Task WebSocketNamespacedPodPortForwardAsync(string name, strin
///
public Task WebSocketNamespacedPodAttachAsync(string name, string @namespace,
string container = default, bool stderr = true, bool stdin = false, bool stdout = true,
- bool tty = false, string webSocketSubProtol = null, Dictionary> customHeaders = null,
+ bool tty = false, string webSocketSubProtocol = null, Dictionary> customHeaders = null,
CancellationToken cancellationToken = default)
{
if (name == null)
@@ -208,7 +208,7 @@ public Task WebSocketNamespacedPodAttachAsync(string name, string @na
uriBuilder.Query =
query.ToString(1, query.Length - 1); // UriBuilder.Query doesn't like leading '?' chars, so trim it
- return StreamConnectAsync(uriBuilder.Uri, webSocketSubProtol, customHeaders,
+ return StreamConnectAsync(uriBuilder.Uri, webSocketSubProtocol, customHeaders,
cancellationToken);
}
diff --git a/src/LibKubernetesGenerator/ClientSetGenerator.cs b/src/LibKubernetesGenerator/ClientSetGenerator.cs
new file mode 100644
index 000000000..a0b392d8b
--- /dev/null
+++ b/src/LibKubernetesGenerator/ClientSetGenerator.cs
@@ -0,0 +1,103 @@
+using CaseExtensions;
+using Microsoft.CodeAnalysis;
+using NSwag;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace LibKubernetesGenerator
+{
+ internal class ClientSetGenerator
+ {
+ private readonly ScriptObjectFactory _scriptObjectFactory;
+
+ public ClientSetGenerator(ScriptObjectFactory scriptObjectFactory)
+ {
+ _scriptObjectFactory = scriptObjectFactory;
+ }
+
+ public void Generate(OpenApiDocument swagger, IncrementalGeneratorPostInitializationContext context)
+ {
+ var data = swagger.Operations
+ .Where(o => o.Method != OpenApiOperationMethod.Options)
+ .Select(o =>
+ {
+ var ps = o.Operation.ActualParameters.OrderBy(p => !p.IsRequired).ToArray();
+
+ o.Operation.Parameters.Clear();
+
+ var name = new HashSet();
+
+ var i = 1;
+ foreach (var p in ps)
+ {
+ if (name.Contains(p.Name))
+ {
+ p.Name += i++;
+ }
+
+ o.Operation.Parameters.Add(p);
+ name.Add(p.Name);
+ }
+
+ return o;
+ })
+ .Select(o =>
+ {
+ o.Path = o.Path.TrimStart('/');
+ o.Method = char.ToUpper(o.Method[0]) + o.Method.Substring(1);
+ return o;
+ })
+ .ToArray();
+
+ var sc = _scriptObjectFactory.CreateScriptObject();
+
+ var groups = new List();
+ var apiGroups = new Dictionary();
+
+ foreach (var grouped in data.Where(d => HasKubernetesAction(d.Operation?.ExtensionData))
+ .GroupBy(d => d.Operation.Tags.First()))
+ {
+ var clients = new List();
+ var name = grouped.Key.ToPascalCase();
+ groups.Add(name);
+ var apis = grouped.Select(x =>
+ {
+ var groupVersionKindElements = x.Operation?.ExtensionData?["x-kubernetes-group-version-kind"];
+ var groupVersionKind = (Dictionary)groupVersionKindElements;
+
+ return new { Kind = groupVersionKind?["kind"] as string, Api = x };
+ });
+
+ foreach (var item in apis.GroupBy(x => x.Kind))
+ {
+ var kind = item.Key;
+ apiGroups[kind] = item.Select(x => x.Api).ToArray();
+ clients.Add(kind);
+ }
+
+ sc.SetValue("clients", clients, true);
+ sc.SetValue("name", name, true);
+ context.RenderToContext("GroupClient.cs.template", sc, $"{name}GroupClient.g.cs");
+ }
+
+ foreach (var apiGroup in apiGroups)
+ {
+ var name = apiGroup.Key;
+ var apis = apiGroup.Value.ToArray();
+ var group = apis.Select(x => x.Operation.Tags[0]).First();
+ sc.SetValue("apis", apis, true);
+ sc.SetValue("name", name, true);
+ sc.SetValue("group", group.ToPascalCase(), true);
+ context.RenderToContext("Client.cs.template", sc, $"{name}Client.g.cs");
+ }
+
+ sc = _scriptObjectFactory.CreateScriptObject();
+ sc.SetValue("groups", groups, true);
+
+ context.RenderToContext("ClientSet.cs.template", sc, $"ClientSet.g.cs");
+ }
+
+ private bool HasKubernetesAction(IDictionary extensionData) =>
+ extensionData?.ContainsKey("x-kubernetes-action") ?? false;
+ }
+}
diff --git a/src/LibKubernetesGenerator/GeneralNameHelper.cs b/src/LibKubernetesGenerator/GeneralNameHelper.cs
index c9b5cf5af..15194bb90 100644
--- a/src/LibKubernetesGenerator/GeneralNameHelper.cs
+++ b/src/LibKubernetesGenerator/GeneralNameHelper.cs
@@ -21,7 +21,8 @@ public GeneralNameHelper(ClassNameHelper classNameHelper)
public void RegisterHelper(ScriptObject scriptObject)
{
scriptObject.Import(nameof(GetInterfaceName), new Func(GetInterfaceName));
- scriptObject.Import(nameof(GetMethodName), new Func(GetMethodName));
+ scriptObject.Import(nameof(GetOperationId), new Func(GetOperationId));
+ scriptObject.Import(nameof(GetActionName), new Func(GetActionName));
scriptObject.Import(nameof(GetDotNetName), new Func(GetDotNetName));
scriptObject.Import(nameof(GetDotNetNameOpenApiParameter), new Func(GetDotNetNameOpenApiParameter));
}
@@ -138,7 +139,7 @@ public string GetDotNetName(string jsonName, string style = "parameter")
return jsonName.ToCamelCase();
}
- public static string GetMethodName(OpenApiOperation watchOperation, string suffix)
+ public static string GetOperationId(OpenApiOperation watchOperation, string suffix)
{
var tag = watchOperation.Tags[0];
tag = tag.Replace("_", string.Empty);
@@ -162,5 +163,28 @@ public static string GetMethodName(OpenApiOperation watchOperation, string suffi
return methodName;
}
+
+ public static string GetActionName(OpenApiOperation apiOperation, string resource, string suffix)
+ {
+ var operationId = apiOperation.OperationId.ToPascalCase();
+ var replacements = new Dictionary(StringComparer.OrdinalIgnoreCase)
+ {
+ { "Replace", "Update" },
+ { "Read", "Get" },
+ };
+
+ foreach (var replacement in replacements)
+ {
+ operationId = Regex.Replace(operationId, replacement.Key, replacement.Value, RegexOptions.IgnoreCase);
+ }
+
+ var resources = new[] { resource, "ForAllNamespaces", "Namespaced" };
+ var pattern = string.Join("|", Array.ConvertAll(resources, Regex.Escape));
+ var actionName = pattern.Length > 0
+ ? Regex.Replace(operationId, pattern, string.Empty, RegexOptions.IgnoreCase)
+ : operationId;
+
+ return $"{actionName}{suffix}";
+ }
}
}
diff --git a/src/LibKubernetesGenerator/KubernetesClientSourceGenerator.cs b/src/LibKubernetesGenerator/KubernetesClientSourceGenerator.cs
index 8dd368e03..6ea216f28 100644
--- a/src/LibKubernetesGenerator/KubernetesClientSourceGenerator.cs
+++ b/src/LibKubernetesGenerator/KubernetesClientSourceGenerator.cs
@@ -1,12 +1,6 @@
using Autofac;
using Microsoft.CodeAnalysis;
using NSwag;
-#if GENERATE_AUTOMAPPER
-using System.Collections.Generic;
-using System;
-using System.IO;
-using System.Linq;
-#endif
namespace LibKubernetesGenerator
{
@@ -67,8 +61,8 @@ private static IContainer BuildContainer(OpenApiDocument swagger)
builder.RegisterType();
builder.RegisterType();
builder.RegisterType();
+ builder.RegisterType();
builder.RegisterType();
- builder.RegisterType();
builder.RegisterType();
return builder.Build();
@@ -87,36 +81,10 @@ public void Initialize(IncrementalGeneratorInitializationContext generatorContex
container.Resolve().Generate(swagger, ctx);
container.Resolve().Generate(swagger, ctx);
container.Resolve().Generate(swagger, ctx);
+ container.Resolve().Generate(swagger, ctx);
});
#endif
-#if GENERATE_AUTOMAPPER
- var automappersrc = generatorContext.CompilationProvider.Select((c, _) => c.SyntaxTrees.First(s => PathSuffixMath(s.FilePath, "AutoMapper/VersionConverter.cs")));
- generatorContext.RegisterSourceOutput(automappersrc, (ctx, srctree) =>
- {
- var (swagger, container) = BuildContainer();
- container.Resolve().Generate(swagger, ctx, srctree);
- });
-#endif
- }
-
-#if GENERATE_AUTOMAPPER
- private IEnumerable PathSplit(string path)
- {
- var p = path;
-
- while (!string.IsNullOrEmpty(p))
- {
- yield return Path.GetFileName(p);
- p = Path.GetDirectoryName(p);
- }
}
-
- private bool PathSuffixMath(string path, string suffix)
- {
- var s = PathSplit(suffix).ToList();
- return PathSplit(path).Take(s.Count).SequenceEqual(s);
- }
-#endif
}
}
diff --git a/src/LibKubernetesGenerator/LibKubernetesGenerator.target b/src/LibKubernetesGenerator/LibKubernetesGenerator.target
index ee9aeb083..916c1dd19 100644
--- a/src/LibKubernetesGenerator/LibKubernetesGenerator.target
+++ b/src/LibKubernetesGenerator/LibKubernetesGenerator.target
@@ -12,10 +12,11 @@
-
+
+
@@ -30,8 +31,10 @@
+
+
@@ -48,8 +51,10 @@
+
+
diff --git a/src/LibKubernetesGenerator/VersionConverterAutoMapperGenerator.cs b/src/LibKubernetesGenerator/VersionConverterAutoMapperGenerator.cs
deleted file mode 100644
index 9a2c95cbc..000000000
--- a/src/LibKubernetesGenerator/VersionConverterAutoMapperGenerator.cs
+++ /dev/null
@@ -1,82 +0,0 @@
-using Microsoft.CodeAnalysis;
-using Microsoft.CodeAnalysis.Text;
-using NSwag;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Text.RegularExpressions;
-
-namespace LibKubernetesGenerator
-{
- internal class VersionConverterAutoMapperGenerator
- {
- private readonly ClassNameHelper classNameHelper;
-
- public VersionConverterAutoMapperGenerator(ClassNameHelper classNameHelper)
- {
- this.classNameHelper = classNameHelper;
- }
-
- public void Generate(OpenApiDocument swagger, SourceProductionContext context, SyntaxTree manualconverter)
- {
- var allGeneratedModelClassNames = new List();
-
- foreach (var kv in swagger.Definitions)
- {
- var def = kv.Value;
- var clz = classNameHelper.GetClassNameForSchemaDefinition(def);
- allGeneratedModelClassNames.Add(clz);
- }
-
- var manualMaps = new List<(string, string)>();
-
- manualMaps = Regex.Matches(manualconverter.GetText().ToString(), @"\.CreateMap<(?.+?),\s?(?.+?)>")
- .OfType()
- .Select(x => (x.Groups["T1"].Value, x.Groups["T2"].Value))
- .ToList();
-
- var versionRegex = @"(^V|v)[0-9]+((alpha|beta)[0-9]+)?";
- var typePairs = allGeneratedModelClassNames
- .OrderBy(x => x)
- .Select(x => new
- {
- Version = Regex.Match(x, versionRegex).Value?.ToLower(),
- Kinda = Regex.Replace(x, versionRegex, string.Empty),
- Type = x,
- })
- .Where(x => !string.IsNullOrEmpty(x.Version))
- .GroupBy(x => x.Kinda)
- .Where(x => x.Count() > 1)
- .SelectMany(x =>
- x.SelectMany((value, index) => x.Skip(index + 1), (first, second) => new { first, second }))
- .OrderBy(x => x.first.Kinda)
- .ThenBy(x => x.first.Version)
- .Select(x => (x.first.Type, x.second.Type))
- .ToList();
-
- var versionConverterPairs = typePairs.Except(manualMaps).ToList();
-
- var sbversion = new StringBuilder(@"//
-using AutoMapper;
-using k8s.Models;
-
-namespace k8s.ModelConverter.AutoMapper;
-
-internal static partial class VersionConverter
- {
- private static void AutoConfigurations(IMapperConfigurationExpression cfg)
- {
-
-");
-
- foreach (var (t0, t1) in versionConverterPairs)
- {
- sbversion.AppendLine($@"cfg.CreateMap<{t0}, {t1}>().ReverseMap();");
- }
-
- sbversion.AppendLine("}}");
-
- context.AddSource($"VersionConverter.g.cs", SourceText.From(sbversion.ToString(), Encoding.UTF8));
- }
- }
-}
diff --git a/src/LibKubernetesGenerator/generators/LibKubernetesGenerator.Automapper/LibKubernetesGenerator.Automapper.csproj b/src/LibKubernetesGenerator/generators/LibKubernetesGenerator.Automapper/LibKubernetesGenerator.Automapper.csproj
deleted file mode 100644
index 1cf7ecd42..000000000
--- a/src/LibKubernetesGenerator/generators/LibKubernetesGenerator.Automapper/LibKubernetesGenerator.Automapper.csproj
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
- $(DefineConstants);GENERATE_AUTOMAPPER;
-
-
-
-
-
diff --git a/src/LibKubernetesGenerator/templates/Client.cs.template b/src/LibKubernetesGenerator/templates/Client.cs.template
new file mode 100644
index 000000000..02c55d7b1
--- /dev/null
+++ b/src/LibKubernetesGenerator/templates/Client.cs.template
@@ -0,0 +1,100 @@
+//
+// Code generated by https://github.com/kubernetes-client/csharp/tree/master/src/LibKubernetesGenerator
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+using System.Net.Http;
+using System.Net.Http.Headers;
+
+namespace k8s.ClientSets;
+
+///
+///
+public partial class {{name}}Client : ResourceClient
+{
+ public {{name}}Client(Kubernetes kubernetes) : base(kubernetes)
+ {
+ }
+
+ {{for api in apis }}
+ ///
+ /// {{ToXmlDoc api.operation.description}}
+ ///
+ {{ for parameter in api.operation.parameters}}
+ ///
+ /// {{ToXmlDoc parameter.description}}
+ ///
+ {{end}}
+ ///
+ /// A which can be used to cancel the asynchronous operation.
+ ///
+ public async Task{{GetReturnType api.operation "<>"}} {{GetActionName api.operation name "Async"}}(
+ {{ for parameter in api.operation.parameters}}
+ {{GetDotNetTypeOpenApiParameter parameter}} {{GetDotNetNameOpenApiParameter parameter "true"}},
+ {{ end }}
+ CancellationToken cancellationToken = default(CancellationToken))
+ {
+ {{if IfReturnType api.operation "stream"}}
+ var _result = await Client.{{group}}.{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
+ {{ for parameter in api.operation.parameters}}
+ {{GetDotNetNameOpenApiParameter parameter "false"}},
+ {{end}}
+ null,
+ cancellationToken);
+ _result.Request.Dispose();
+ {{GetReturnType api.operation "_result.Body"}};
+ {{end}}
+ {{if IfReturnType api.operation "obj"}}
+ using (var _result = await Client.{{group}}.{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
+ {{ for parameter in api.operation.parameters}}
+ {{GetDotNetNameOpenApiParameter parameter "false"}},
+ {{end}}
+ null,
+ cancellationToken).ConfigureAwait(false))
+ {
+ {{GetReturnType api.operation "_result.Body"}};
+ }
+ {{end}}
+ {{if IfReturnType api.operation "void"}}
+ using (var _result = await Client.{{group}}.{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
+ {{ for parameter in api.operation.parameters}}
+ {{GetDotNetNameOpenApiParameter parameter "false"}},
+ {{end}}
+ null,
+ cancellationToken).ConfigureAwait(false))
+ {
+ }
+ {{end}}
+ }
+
+ {{if IfReturnType api.operation "object"}}
+ ///
+ /// {{ToXmlDoc api.operation.description}}
+ ///
+ {{ for parameter in api.operation.parameters}}
+ ///
+ /// {{ToXmlDoc parameter.description}}
+ ///
+ {{end}}
+ ///
+ /// A which can be used to cancel the asynchronous operation.
+ ///
+ public async Task {{GetActionName api.operation name "Async"}}(
+ {{ for parameter in api.operation.parameters}}
+ {{GetDotNetTypeOpenApiParameter parameter}} {{GetDotNetNameOpenApiParameter parameter "false"}},
+ {{ end }}
+ CancellationToken cancellationToken = default(CancellationToken))
+ {
+ using (var _result = await Client.{{group}}.{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
+ {{ for parameter in api.operation.parameters}}
+ {{GetDotNetNameOpenApiParameter parameter "false"}},
+ {{end}}
+ null,
+ cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+ {{end}}
+ {{end}}
+}
diff --git a/src/LibKubernetesGenerator/templates/ClientSet.cs.template b/src/LibKubernetesGenerator/templates/ClientSet.cs.template
new file mode 100644
index 000000000..c358b2b3c
--- /dev/null
+++ b/src/LibKubernetesGenerator/templates/ClientSet.cs.template
@@ -0,0 +1,16 @@
+//
+// Code generated by https://github.com/kubernetes-client/csharp/tree/master/src/LibKubernetesGenerator
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace k8s.ClientSets;
+
+///
+///
+public partial class ClientSet
+{
+ {{for group in groups}}
+ public {{group}}GroupClient {{group}} => new {{group}}GroupClient(_kubernetes);
+ {{end}}
+}
diff --git a/src/LibKubernetesGenerator/templates/GroupClient.cs.template b/src/LibKubernetesGenerator/templates/GroupClient.cs.template
new file mode 100644
index 000000000..45f219e55
--- /dev/null
+++ b/src/LibKubernetesGenerator/templates/GroupClient.cs.template
@@ -0,0 +1,24 @@
+//
+// Code generated by https://github.com/kubernetes-client/csharp/tree/master/src/LibKubernetesGenerator
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace k8s.ClientSets;
+
+
+///
+///
+public partial class {{name}}GroupClient
+{
+ private readonly Kubernetes _kubernetes;
+
+ {{for client in clients}}
+ public {{client}}Client {{client}} => new {{client}}Client(_kubernetes);
+ {{end}}
+
+ public {{name}}GroupClient(Kubernetes kubernetes)
+ {
+ _kubernetes = kubernetes;
+ }
+}
diff --git a/src/LibKubernetesGenerator/templates/IOperations.cs.template b/src/LibKubernetesGenerator/templates/IOperations.cs.template
index c310acf9f..6904b8b91 100644
--- a/src/LibKubernetesGenerator/templates/IOperations.cs.template
+++ b/src/LibKubernetesGenerator/templates/IOperations.cs.template
@@ -25,7 +25,7 @@ public partial interface I{{name}}Operations
///
/// A which can be used to cancel the asynchronous operation.
///
- Task"}}> {{GetMethodName api.operation "WithHttpMessagesAsync"}}(
+ Task"}}> {{GetOperationId api.operation "WithHttpMessagesAsync"}}(
{{ for parameter in api.operation.parameters}}
{{GetDotNetTypeOpenApiParameter parameter}} {{GetDotNetNameOpenApiParameter parameter "true"}},
{{ end }}
@@ -47,7 +47,7 @@ public partial interface I{{name}}Operations
///
/// A which can be used to cancel the asynchronous operation.
///
- Task> {{GetMethodName api.operation "WithHttpMessagesAsync"}}(
+ Task> {{GetOperationId api.operation "WithHttpMessagesAsync"}}(
{{ for parameter in api.operation.parameters}}
{{GetDotNetTypeOpenApiParameter parameter}} {{GetDotNetNameOpenApiParameter parameter "true"}},
{{ end }}
diff --git a/src/LibKubernetesGenerator/templates/Operations.cs.template b/src/LibKubernetesGenerator/templates/Operations.cs.template
index 876ed8a16..d98337ada 100644
--- a/src/LibKubernetesGenerator/templates/Operations.cs.template
+++ b/src/LibKubernetesGenerator/templates/Operations.cs.template
@@ -10,13 +10,13 @@ public partial class AbstractKubernetes : I{{name}}Operations
{
{{for api in apis }}
{{if IfReturnType api.operation "void"}}
- private async Task I{{name}}Operations_{{GetMethodName api.operation "WithHttpMessagesAsync"}}(
+ private async Task I{{name}}Operations_{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
{{end}}
{{if IfReturnType api.operation "obj"}}
- private async Task> I{{name}}Operations_{{GetMethodName api.operation "WithHttpMessagesAsync"}}(
+ private async Task> I{{name}}Operations_{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
{{end}}
{{if IfReturnType api.operation "stream"}}
- private async Task> I{{name}}Operations_{{GetMethodName api.operation "WithHttpMessagesAsync"}}(
+ private async Task> I{{name}}Operations_{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
{{end}}
{{ for parameter in api.operation.parameters}}
{{GetDotNetTypeOpenApiParameter parameter}} {{GetDotNetNameOpenApiParameter parameter "false"}},
@@ -90,7 +90,7 @@ public partial class AbstractKubernetes : I{{name}}Operations
}
///
- async Task"}}> I{{name}}Operations.{{GetMethodName api.operation "WithHttpMessagesAsync"}}(
+ async Task"}}> I{{name}}Operations.{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
{{ for parameter in api.operation.parameters}}
{{GetDotNetTypeOpenApiParameter parameter}} {{GetDotNetNameOpenApiParameter parameter "false"}},
{{end}}
@@ -98,7 +98,7 @@ public partial class AbstractKubernetes : I{{name}}Operations
CancellationToken cancellationToken)
{
{{if IfReturnType api.operation "void"}}
- return await I{{name}}Operations_{{GetMethodName api.operation "WithHttpMessagesAsync"}}(
+ return await I{{name}}Operations_{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
{{ for parameter in api.operation.parameters}}
{{GetDotNetNameOpenApiParameter parameter "false"}},
{{end}}
@@ -106,7 +106,7 @@ public partial class AbstractKubernetes : I{{name}}Operations
cancellationToken).ConfigureAwait(false);
{{end}}
{{if IfReturnType api.operation "obj"}}
- return await I{{name}}Operations_{{GetMethodName api.operation "WithHttpMessagesAsync"}}{{GetReturnType api.operation "<>"}}(
+ return await I{{name}}Operations_{{GetOperationId api.operation "WithHttpMessagesAsync"}}{{GetReturnType api.operation "<>"}}(
{{ for parameter in api.operation.parameters}}
{{GetDotNetNameOpenApiParameter parameter "false"}},
{{end}}
@@ -114,7 +114,7 @@ public partial class AbstractKubernetes : I{{name}}Operations
cancellationToken).ConfigureAwait(false);
{{end}}
{{if IfReturnType api.operation "stream"}}
- return await I{{name}}Operations_{{GetMethodName api.operation "WithHttpMessagesAsync"}}(
+ return await I{{name}}Operations_{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
{{ for parameter in api.operation.parameters}}
{{GetDotNetNameOpenApiParameter parameter "false"}},
{{end}}
@@ -125,14 +125,14 @@ public partial class AbstractKubernetes : I{{name}}Operations
{{if IfReturnType api.operation "object"}}
///
- async Task> I{{name}}Operations.{{GetMethodName api.operation "WithHttpMessagesAsync"}}(
+ async Task> I{{name}}Operations.{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
{{ for parameter in api.operation.parameters}}
{{GetDotNetTypeOpenApiParameter parameter}} {{GetDotNetNameOpenApiParameter parameter "false"}},
{{end}}
IReadOnlyDictionary> customHeaders,
CancellationToken cancellationToken)
{
- return await I{{name}}Operations_{{GetMethodName api.operation "WithHttpMessagesAsync"}}(
+ return await I{{name}}Operations_{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
{{ for parameter in api.operation.parameters}}
{{GetDotNetNameOpenApiParameter parameter "false"}},
{{end}}
diff --git a/src/LibKubernetesGenerator/templates/OperationsExtensions.cs.template b/src/LibKubernetesGenerator/templates/OperationsExtensions.cs.template
index 98c304ede..b05f0e243 100644
--- a/src/LibKubernetesGenerator/templates/OperationsExtensions.cs.template
+++ b/src/LibKubernetesGenerator/templates/OperationsExtensions.cs.template
@@ -23,14 +23,14 @@ public static partial class {{name}}OperationsExtensions
/// {{ToXmlDoc api.description}}
///
{{ end }}
- public static {{GetReturnType api.operation "void"}} {{GetMethodName api.operation ""}}(
+ public static {{GetReturnType api.operation "void"}} {{GetOperationId api.operation ""}}(
this I{{name}}Operations operations
{{ for parameter in api.operation.parameters}}
,{{GetDotNetTypeOpenApiParameter parameter}} {{GetDotNetNameOpenApiParameter parameter "true"}}
{{end}}
)
{
- {{GetReturnType api.operation "return"}} operations.{{GetMethodName api.operation "Async"}}(
+ {{GetReturnType api.operation "return"}} operations.{{GetOperationId api.operation "Async"}}(
{{ for parameter in api.operation.parameters}}
{{GetDotNetNameOpenApiParameter parameter "false"}},
{{end}}
@@ -50,14 +50,14 @@ public static partial class {{name}}OperationsExtensions
/// {{ToXmlDoc parameter.description}}
///
{{end}}
- public static T {{GetMethodName api.operation ""}}(
+ public static T {{GetOperationId api.operation ""}}(
this I{{name}}Operations operations
{{ for parameter in api.operation.parameters}}
,{{GetDotNetTypeOpenApiParameter parameter}} {{GetDotNetNameOpenApiParameter parameter "true"}}
{{end}}
)
{
- return operations.{{GetMethodName api.operation "Async"}}(
+ return operations.{{GetOperationId api.operation "Async"}}(
{{ for parameter in api.operation.parameters}}
{{GetDotNetNameOpenApiParameter parameter "false"}},
{{end}}
@@ -80,7 +80,7 @@ public static partial class {{name}}OperationsExtensions
///
/// A which can be used to cancel the asynchronous operation.
///
- public static async Task{{GetReturnType api.operation "<>"}} {{GetMethodName api.operation "Async"}}(
+ public static async Task{{GetReturnType api.operation "<>"}} {{GetOperationId api.operation "Async"}}(
this I{{name}}Operations operations,
{{ for parameter in api.operation.parameters}}
{{GetDotNetTypeOpenApiParameter parameter}} {{GetDotNetNameOpenApiParameter parameter "true"}},
@@ -88,7 +88,7 @@ public static partial class {{name}}OperationsExtensions
CancellationToken cancellationToken = default(CancellationToken))
{
{{if IfReturnType api.operation "stream"}}
- var _result = await operations.{{GetMethodName api.operation "WithHttpMessagesAsync"}}(
+ var _result = await operations.{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
{{ for parameter in api.operation.parameters}}
{{GetDotNetNameOpenApiParameter parameter "false"}},
{{end}}
@@ -98,7 +98,7 @@ public static partial class {{name}}OperationsExtensions
{{GetReturnType api.operation "_result.Body"}};
{{end}}
{{if IfReturnType api.operation "obj"}}
- using (var _result = await operations.{{GetMethodName api.operation "WithHttpMessagesAsync"}}(
+ using (var _result = await operations.{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
{{ for parameter in api.operation.parameters}}
{{GetDotNetNameOpenApiParameter parameter "false"}},
{{end}}
@@ -109,7 +109,7 @@ public static partial class {{name}}OperationsExtensions
}
{{end}}
{{if IfReturnType api.operation "void"}}
- using (var _result = await operations.{{GetMethodName api.operation "WithHttpMessagesAsync"}}(
+ using (var _result = await operations.{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
{{ for parameter in api.operation.parameters}}
{{GetDotNetNameOpenApiParameter parameter "false"}},
{{end}}
@@ -135,14 +135,14 @@ public static partial class {{name}}OperationsExtensions
///
/// A which can be used to cancel the asynchronous operation.
///
- public static async Task {{GetMethodName api.operation "Async"}}(
+ public static async Task {{GetOperationId api.operation "Async"}}(
this I{{name}}Operations operations,
{{ for parameter in api.operation.parameters}}
{{GetDotNetTypeOpenApiParameter parameter}} {{GetDotNetNameOpenApiParameter parameter "true"}},
{{ end }}
CancellationToken cancellationToken = default(CancellationToken))
{
- using (var _result = await operations.{{GetMethodName api.operation "WithHttpMessagesAsync"}}(
+ using (var _result = await operations.{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
{{ for parameter in api.operation.parameters}}
{{GetDotNetNameOpenApiParameter parameter "false"}},
{{end}}
diff --git a/src/nuget.proj b/src/nuget.proj
index feec6cda8..1f4213256 100644
--- a/src/nuget.proj
+++ b/src/nuget.proj
@@ -3,6 +3,5 @@
-
diff --git a/swagger.json b/swagger.json
index c933c42b2..7bb0ceeee 100644
--- a/swagger.json
+++ b/swagger.json
@@ -907,7 +907,7 @@
"description": "MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)",
"properties": {
"excludeResourceRules": {
- "description": "ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)",
+ "description": "ExcludeResourceRules describes what operations on what resources/subresources the policy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)",
"items": {
"$ref": "#/definitions/v1alpha1.NamedRuleWithOperations"
},
@@ -915,7 +915,7 @@
"x-kubernetes-list-type": "atomic"
},
"matchPolicy": {
- "description": "matchPolicy defines how the \"MatchResources\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\".\n\n- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the ValidatingAdmissionPolicy.\n\n- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy.\n\nDefaults to \"Equivalent\"",
+ "description": "matchPolicy defines how the \"MatchResources\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\".\n\n- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, the admission policy does not consider requests to apps/v1beta1 or extensions/v1beta1 API groups.\n\n- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, the admission policy **does** consider requests made to apps/v1beta1 or extensions/v1beta1 API groups. The API server translates the request to a matched resource API if necessary.\n\nDefaults to \"Equivalent\"",
"type": "string"
},
"namespaceSelector": {
@@ -924,10 +924,10 @@
},
"objectSelector": {
"$ref": "#/definitions/v1.LabelSelector",
- "description": "ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything."
+ "description": "ObjectSelector decides whether to run the policy based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the policy's expression (CEL), and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything."
},
"resourceRules": {
- "description": "ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule.",
+ "description": "ResourceRules describes what operations on what resources/subresources the admission policy matches. The policy cares about an operation if it matches _any_ Rule.",
"items": {
"$ref": "#/definitions/v1alpha1.NamedRuleWithOperations"
},
@@ -2357,7 +2357,7 @@
"description": "DeploymentStatus is the most recently observed status of the Deployment.",
"properties": {
"availableReplicas": {
- "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.",
+ "description": "Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment.",
"format": "int32",
"type": "integer"
},
@@ -2385,12 +2385,17 @@
"type": "integer"
},
"readyReplicas": {
- "description": "readyReplicas is the number of pods targeted by this Deployment with a Ready Condition.",
+ "description": "Total number of non-terminating pods targeted by this Deployment with a Ready Condition.",
"format": "int32",
"type": "integer"
},
"replicas": {
- "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).",
+ "description": "Total number of non-terminating pods targeted by this deployment (their labels match the selector).",
+ "format": "int32",
+ "type": "integer"
+ },
+ "terminatingReplicas": {
+ "description": "Total number of terminating pods targeted by this deployment. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.\n\nThis is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.",
"format": "int32",
"type": "integer"
},
@@ -2400,7 +2405,7 @@
"type": "integer"
},
"updatedReplicas": {
- "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.",
+ "description": "Total number of non-terminating pods targeted by this deployment that have the desired template spec.",
"format": "int32",
"type": "integer"
}
@@ -2493,7 +2498,7 @@
"type": "string"
},
"items": {
- "description": "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller",
+ "description": "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset",
"items": {
"$ref": "#/definitions/v1.ReplicaSet"
},
@@ -2529,7 +2534,7 @@
"type": "integer"
},
"replicas": {
- "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller",
+ "description": "Replicas is the number of desired pods. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset",
"format": "int32",
"type": "integer"
},
@@ -2539,7 +2544,7 @@
},
"template": {
"$ref": "#/definitions/v1.PodTemplateSpec",
- "description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template"
+ "description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/#pod-template"
}
},
"required": [
@@ -2551,7 +2556,7 @@
"description": "ReplicaSetStatus represents the current status of a ReplicaSet.",
"properties": {
"availableReplicas": {
- "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.",
+ "description": "The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.",
"format": "int32",
"type": "integer"
},
@@ -2569,7 +2574,7 @@
"x-kubernetes-patch-strategy": "merge"
},
"fullyLabeledReplicas": {
- "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.",
+ "description": "The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset.",
"format": "int32",
"type": "integer"
},
@@ -2579,12 +2584,17 @@
"type": "integer"
},
"readyReplicas": {
- "description": "readyReplicas is the number of pods targeted by this ReplicaSet with a Ready Condition.",
+ "description": "The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.",
"format": "int32",
"type": "integer"
},
"replicas": {
- "description": "Replicas is the most recently observed number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller",
+ "description": "Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset",
+ "format": "int32",
+ "type": "integer"
+ },
+ "terminatingReplicas": {
+ "description": "The number of terminating pods for this replica set. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.\n\nThis is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.",
"format": "int32",
"type": "integer"
}
@@ -2818,8 +2828,7 @@
},
"required": [
"selector",
- "template",
- "serviceName"
+ "template"
],
"type": "object"
},
@@ -3156,45 +3165,6 @@
},
"type": "object"
},
- "v1beta1.SelfSubjectReview": {
- "description": "SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.",
- "properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
- "type": "string"
- },
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
- "type": "string"
- },
- "metadata": {
- "$ref": "#/definitions/v1.ObjectMeta",
- "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
- },
- "status": {
- "$ref": "#/definitions/v1beta1.SelfSubjectReviewStatus",
- "description": "Status is filled in by the server with the user attributes."
- }
- },
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "authentication.k8s.io",
- "kind": "SelfSubjectReview",
- "version": "v1beta1"
- }
- ]
- },
- "v1beta1.SelfSubjectReviewStatus": {
- "description": "SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.",
- "properties": {
- "userInfo": {
- "$ref": "#/definitions/v1.UserInfo",
- "description": "User attributes of the user making this request."
- }
- },
- "type": "object"
- },
"v1.FieldSelectorAttributes": {
"description": "FieldSelectorAttributes indicates a field limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.",
"properties": {
@@ -3968,10 +3938,10 @@
"type": "object"
},
"v2.HPAScalingRules": {
- "description": "HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.",
+ "description": "HPAScalingRules configures the scaling behavior for one direction via scaling Policy Rules and a configurable metric tolerance.\n\nScaling Policy Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.\n\nThe tolerance is applied to the metric values and prevents scaling too eagerly for small metric variations. (Note that setting a tolerance requires enabling the alpha HPAConfigurableTolerance feature gate.)",
"properties": {
"policies": {
- "description": "policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid",
+ "description": "policies is a list of potential scaling polices which can be used during scaling. If not set, use the default values: - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window. - For scale down: allow all pods to be removed in a 15s window.",
"items": {
"$ref": "#/definitions/v2.HPAScalingPolicy"
},
@@ -3986,6 +3956,10 @@
"description": "stabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).",
"format": "int32",
"type": "integer"
+ },
+ "tolerance": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "tolerance is the tolerance on the ratio between the current and desired metric value under which no updates are made to the desired number of replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not set, the default cluster-wide tolerance is applied (by default 10%).\n\nFor example, if autoscaling is configured with a memory consumption target of 100Mi, and scale-down and scale-up tolerances of 5% and 1% respectively, scaling will be triggered when the actual consumption falls below 95Mi or exceeds 101Mi.\n\nThis is an alpha field and requires enabling the HPAConfigurableTolerance feature gate."
}
},
"type": "object"
@@ -4690,7 +4664,7 @@
"type": "integer"
},
"backoffLimitPerIndex": {
- "description": "Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).",
+ "description": "Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable.",
"format": "int32",
"type": "integer"
},
@@ -4712,7 +4686,7 @@
"type": "boolean"
},
"maxFailedIndexes": {
- "description": "Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).",
+ "description": "Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5.",
"format": "int32",
"type": "integer"
},
@@ -4735,7 +4709,7 @@
},
"successPolicy": {
"$ref": "#/definitions/v1.SuccessPolicy",
- "description": "successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.\n\nThis field is beta-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (enabled by default)."
+ "description": "successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated."
},
"suspend": {
"description": "suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.",
@@ -4789,7 +4763,7 @@
"type": "integer"
},
"failedIndexes": {
- "description": "FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as \"1,3-5,7\". The set of failed indexes cannot overlap with the set of completed indexes.\n\nThis field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).",
+ "description": "FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as \"1,3-5,7\". The set of failed indexes cannot overlap with the set of completed indexes.",
"type": "string"
},
"ready": {
@@ -4899,7 +4873,7 @@
"description": "PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.",
"properties": {
"action": {
- "description": "Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:\n\n- FailJob: indicates that the pod's job is marked as Failed and all\n running pods are terminated.\n- FailIndex: indicates that the pod's index is marked as Failed and will\n not be restarted.\n This value is beta-level. It can be used when the\n `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).\n- Ignore: indicates that the counter towards the .backoffLimit is not\n incremented and a replacement pod is created.\n- Count: indicates that the pod is handled in the default way - the\n counter towards the .backoffLimit is incremented.\nAdditional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule.",
+ "description": "Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:\n\n- FailJob: indicates that the pod's job is marked as Failed and all\n running pods are terminated.\n- FailIndex: indicates that the pod's index is marked as Failed and will\n not be restarted.\n- Ignore: indicates that the counter towards the .backoffLimit is not\n incremented and a replacement pod is created.\n- Count: indicates that the pod is handled in the default way - the\n counter towards the .backoffLimit is incremented.\nAdditional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule.",
"type": "string"
},
"onExitCodes": {
@@ -5245,6 +5219,90 @@
],
"type": "object"
},
+ "v1beta1.ClusterTrustBundle": {
+ "description": "ClusterTrustBundle is a cluster-scoped container for X.509 trust anchors (root certificates).\n\nClusterTrustBundle objects are considered to be readable by any authenticated user in the cluster, because they can be mounted by pods using the `clusterTrustBundle` projection. All service accounts have read access to ClusterTrustBundles by default. Users who only have namespace-level access to a cluster can read ClusterTrustBundles by impersonating a serviceaccount that they have access to.\n\nIt can be optionally associated with a particular assigner, in which case it contains one valid set of trust anchors for that signer. Signers may have multiple associated ClusterTrustBundles; each is an independent set of trust anchors for that signer. Admission control is used to enforce that only users with permissions on the signer can create or modify the corresponding bundle.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "metadata contains the object metadata."
+ },
+ "spec": {
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundleSpec",
+ "description": "spec contains the signer (if any) and trust anchors."
+ }
+ },
+ "required": [
+ "spec"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundle",
+ "version": "v1beta1"
+ }
+ ]
+ },
+ "v1beta1.ClusterTrustBundleList": {
+ "description": "ClusterTrustBundleList is a collection of ClusterTrustBundle objects",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "items": {
+ "description": "items is a collection of ClusterTrustBundle objects",
+ "items": {
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "metadata contains the list metadata."
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundleList",
+ "version": "v1beta1"
+ }
+ ]
+ },
+ "v1beta1.ClusterTrustBundleSpec": {
+ "description": "ClusterTrustBundleSpec contains the signer and trust anchors.",
+ "properties": {
+ "signerName": {
+ "description": "signerName indicates the associated signer, if any.\n\nIn order to create or update a ClusterTrustBundle that sets signerName, you must have the following cluster-scoped permission: group=certificates.k8s.io resource=signers resourceName= verb=attest.\n\nIf signerName is not empty, then the ClusterTrustBundle object must be named with the signer name as a prefix (translating slashes to colons). For example, for the signer name `example.com/foo`, valid ClusterTrustBundle object names include `example.com:foo:abc` and `example.com:foo:v1`.\n\nIf signerName is empty, then the ClusterTrustBundle object's name must not have such a prefix.\n\nList/watch requests for ClusterTrustBundles can filter on this field using a `spec.signerName=NAME` field selector.",
+ "type": "string"
+ },
+ "trustBundle": {
+ "description": "trustBundle contains the individual X.509 trust anchors for this bundle, as PEM bundle of PEM-wrapped, DER-formatted X.509 certificates.\n\nThe data must consist only of PEM certificate blocks that parse as valid X.509 certificates. Each certificate must include a basic constraints extension with the CA bit set. The API server will reject objects that contain duplicate certificates, or that use PEM block headers.\n\nUsers of ClusterTrustBundles, including Kubelet, are free to reorder and deduplicate certificate blocks in this file according to their own logic, as well as to drop PEM block headers and inter-block data.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "trustBundle"
+ ],
+ "type": "object"
+ },
"v1.Lease": {
"description": "Lease defines a lease concept.",
"properties": {
@@ -5437,7 +5495,108 @@
"type": "string"
},
"strategy": {
- "description": "Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.",
+ "description": "Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "leaseName",
+ "binaryVersion",
+ "strategy"
+ ],
+ "type": "object"
+ },
+ "v1beta1.LeaseCandidate": {
+ "description": "LeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ },
+ "spec": {
+ "$ref": "#/definitions/v1beta1.LeaseCandidateSpec",
+ "description": "spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
+ }
+ },
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1beta1"
+ }
+ ]
+ },
+ "v1beta1.LeaseCandidateList": {
+ "description": "LeaseCandidateList is a list of Lease objects.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "items": {
+ "description": "items is a list of schema objects.",
+ "items": {
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidateList",
+ "version": "v1beta1"
+ }
+ ]
+ },
+ "v1beta1.LeaseCandidateSpec": {
+ "description": "LeaseCandidateSpec is a specification of a Lease.",
+ "properties": {
+ "binaryVersion": {
+ "description": "BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required.",
+ "type": "string"
+ },
+ "emulationVersion": {
+ "description": "EmulationVersion is the emulation version. It must be in a semver format without leading `v`. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is \"OldestEmulationVersion\"",
+ "type": "string"
+ },
+ "leaseName": {
+ "description": "LeaseName is the name of the lease for which this candidate is contending. The limits on this field are the same as on Lease.name. Multiple lease candidates may reference the same Lease.name. This field is immutable.",
+ "type": "string"
+ },
+ "pingTime": {
+ "description": "PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "renewTime": {
+ "description": "RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "strategy": {
+ "description": "Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved.",
"type": "string"
}
},
@@ -6588,6 +6747,10 @@
"$ref": "#/definitions/v1.ContainerState",
"description": "State holds details about the container's current condition."
},
+ "stopSignal": {
+ "description": "StopSignal reports the effective stop signal for this container",
+ "type": "string"
+ },
"user": {
"$ref": "#/definitions/v1.ContainerUser",
"description": "User represents user identity information initially attached to the first process of the container"
@@ -6713,7 +6876,7 @@
"type": "object"
},
"v1.EndpointAddress": {
- "description": "EndpointAddress is a tuple that describes single IP address.",
+ "description": "EndpointAddress is a tuple that describes single IP address. Deprecated: This API is deprecated in v1.33+.",
"properties": {
"hostname": {
"description": "The Hostname of this endpoint",
@@ -6739,7 +6902,7 @@
"x-kubernetes-map-type": "atomic"
},
"core.v1.EndpointPort": {
- "description": "EndpointPort is a tuple that describes a single port.",
+ "description": "EndpointPort is a tuple that describes a single port. Deprecated: This API is deprecated in v1.33+.",
"properties": {
"appProtocol": {
"description": "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.",
@@ -6766,7 +6929,7 @@
"x-kubernetes-map-type": "atomic"
},
"v1.EndpointSubset": {
- "description": "EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:\n\n\t{\n\t Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n\t}\n\nThe resulting set of endpoints can be viewed as:\n\n\ta: [ 10.10.1.1:8675, 10.10.2.2:8675 ],\n\tb: [ 10.10.1.1:309, 10.10.2.2:309 ]",
+ "description": "EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:\n\n\t{\n\t Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n\t}\n\nThe resulting set of endpoints can be viewed as:\n\n\ta: [ 10.10.1.1:8675, 10.10.2.2:8675 ],\n\tb: [ 10.10.1.1:309, 10.10.2.2:309 ]\n\nDeprecated: This API is deprecated in v1.33+.",
"properties": {
"addresses": {
"description": "IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize.",
@@ -6796,7 +6959,7 @@
"type": "object"
},
"v1.Endpoints": {
- "description": "Endpoints is a collection of endpoints that implement the actual service. Example:\n\n\t Name: \"mysvc\",\n\t Subsets: [\n\t {\n\t Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n\t },\n\t {\n\t Addresses: [{\"ip\": \"10.10.3.3\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n\t },\n\t]",
+ "description": "Endpoints is a collection of endpoints that implement the actual service. Example:\n\n\t Name: \"mysvc\",\n\t Subsets: [\n\t {\n\t Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n\t },\n\t {\n\t Addresses: [{\"ip\": \"10.10.3.3\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n\t },\n\t]\n\nEndpoints is a legacy API and does not contain information about all Service features. Use discoveryv1.EndpointSlice for complete information about Service endpoints.\n\nDeprecated: This API is deprecated in v1.33+. Use discoveryv1.EndpointSlice.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -6829,7 +6992,7 @@
]
},
"v1.EndpointsList": {
- "description": "EndpointsList is a list of endpoints.",
+ "description": "EndpointsList is a list of endpoints. Deprecated: This API is deprecated in v1.33+.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -6864,14 +7027,14 @@
]
},
"v1.EnvFromSource": {
- "description": "EnvFromSource represents the source of a set of ConfigMaps",
+ "description": "EnvFromSource represents the source of a set of ConfigMaps or Secrets",
"properties": {
"configMapRef": {
"$ref": "#/definitions/v1.ConfigMapEnvSource",
"description": "The ConfigMap to select from"
},
"prefix": {
- "description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.",
+ "description": "Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.",
"type": "string"
},
"secretRef": {
@@ -7759,6 +7922,10 @@
"preStop": {
"$ref": "#/definitions/v1.LifecycleHandler",
"description": "PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks"
+ },
+ "stopSignal": {
+ "description": "StopSignal defines which signal will be sent to a container when it is being stopped. If not specified, the default is defined by the container runtime in use. StopSignal can only be set for Pods with a non-empty .spec.os.name",
+ "type": "string"
}
},
"type": "object"
@@ -8614,6 +8781,17 @@
},
"type": "object"
},
+ "v1.NodeSwapStatus": {
+ "description": "NodeSwapStatus represents swap memory information.",
+ "properties": {
+ "capacity": {
+ "description": "Total amount of swap memory in bytes.",
+ "format": "int64",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
"v1.NodeSystemInfo": {
"description": "NodeSystemInfo is a set of ids/uuids to uniquely identify the node.",
"properties": {
@@ -8653,6 +8831,10 @@
"description": "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).",
"type": "string"
},
+ "swap": {
+ "$ref": "#/definitions/v1.NodeSwapStatus",
+ "description": "Swap Info reported by the node."
+ },
"systemUUID": {
"description": "SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid",
"type": "string"
@@ -9283,7 +9465,7 @@
"description": "A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods."
},
"matchLabelKeys": {
- "description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).",
+ "description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set.",
"items": {
"type": "string"
},
@@ -9291,7 +9473,7 @@
"x-kubernetes-list-type": "atomic"
},
"mismatchLabelKeys": {
- "description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).",
+ "description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.",
"items": {
"type": "string"
},
@@ -9359,6 +9541,11 @@
"description": "Human-readable message indicating details about last transition.",
"type": "string"
},
+ "observedGeneration": {
+ "description": "If set, this represents the .metadata.generation that the pod condition was set based upon. This is an alpha field. Enable PodObservedGenerationTracking to be able to use this field.",
+ "format": "int64",
+ "type": "integer"
+ },
"reason": {
"description": "Unique, one-word, CamelCase reason for the condition's last transition.",
"type": "string"
@@ -9718,7 +9905,7 @@
"x-kubernetes-patch-strategy": "merge"
},
"initContainers": {
- "description": "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/",
+ "description": "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/",
"items": {
"$ref": "#/definitions/v1.Container"
},
@@ -9948,6 +10135,11 @@
"description": "nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled.",
"type": "string"
},
+ "observedGeneration": {
+ "description": "If set, this represents the .metadata.generation that the pod status was set based upon. This is an alpha field. Enable PodObservedGenerationTracking to be able to use this field.",
+ "format": "int64",
+ "type": "integer"
+ },
"phase": {
"description": "The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. The conditions array, the reason and message fields, and the individual container status arrays contain more detail about the pod's status. There are five possible phase values:\n\nPending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod.\n\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase",
"type": "string"
@@ -9978,7 +10170,7 @@
"type": "string"
},
"resize": {
- "description": "Status of resources resize desired for pod's containers. It is empty if no resources resize is pending. Any changes to container resources will automatically set this to \"Proposed\"",
+ "description": "Status of resources resize desired for pod's containers. It is empty if no resources resize is pending. Any changes to container resources will automatically set this to \"Proposed\" Deprecated: Resize status is moved to two pod conditions PodResizePending and PodResizeInProgress. PodResizePending will track states where the spec has been resized, but the Kubelet has not yet allocated the resources. PodResizeInProgress will track in-progress resizes, and should be present whenever allocated resources != acknowledged resources.",
"type": "string"
},
"resourceClaimStatuses": {
@@ -11484,7 +11676,7 @@
"description": "sessionAffinityConfig contains the configurations of session affinity."
},
"trafficDistribution": {
- "description": "TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to \"PreferClose\", implementations should prioritize endpoints that are topologically close (e.g., same zone). This is a beta field and requires enabling ServiceTrafficDistribution feature.",
+ "description": "TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to \"PreferClose\", implementations should prioritize endpoints that are in the same zone.",
"type": "string"
},
"type": {
@@ -11745,11 +11937,11 @@
"type": "integer"
},
"nodeAffinityPolicy": {
- "description": "NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.\n\nIf this value is nil, the behavior is equivalent to the Honor policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.",
+ "description": "NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.\n\nIf this value is nil, the behavior is equivalent to the Honor policy.",
"type": "string"
},
"nodeTaintsPolicy": {
- "description": "NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included.\n\nIf this value is nil, the behavior is equivalent to the Ignore policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.",
+ "description": "NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included.\n\nIf this value is nil, the behavior is equivalent to the Ignore policy.",
"type": "string"
},
"topologyKey": {
@@ -11890,7 +12082,7 @@
},
"image": {
"$ref": "#/definitions/v1.ImageVolumeSource",
- "description": "image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided:\n\n- Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.\n\nThe volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath). The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type."
+ "description": "image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided:\n\n- Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.\n\nThe volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33. The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type."
},
"iscsi": {
"$ref": "#/definitions/v1.ISCSIVolumeSource",
@@ -12158,7 +12350,7 @@
"description": "Endpoint represents a single logical \"backend\" implementing a service.",
"properties": {
"addresses": {
- "description": "addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100. These are all assumed to be fungible and clients may choose to only use the first element. Refer to: https://issue.k8s.io/106267",
+ "description": "addresses of this endpoint. For EndpointSlices of addressType \"IPv4\" or \"IPv6\", the values are IP addresses in canonical form. The syntax and semantics of other addressType values are not defined. This must contain at least one address but no more than 100. EndpointSlices generated by the EndpointSlice controller will always have exactly 1 address. No semantics are defined for additional addresses beyond the first, and kube-proxy does not look at them.",
"items": {
"type": "string"
},
@@ -12206,15 +12398,15 @@
"description": "EndpointConditions represents the current condition of an endpoint.",
"properties": {
"ready": {
- "description": "ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready. For compatibility reasons, ready should never be \"true\" for terminating endpoints, except when the normal readiness behavior is being explicitly overridden, for example when the associated Service has set the publishNotReadyAddresses flag.",
+ "description": "ready indicates that this endpoint is ready to receive traffic, according to whatever system is managing the endpoint. A nil value should be interpreted as \"true\". In general, an endpoint should be marked ready if it is serving and not terminating, though this can be overridden in some cases, such as when the associated Service has set the publishNotReadyAddresses flag.",
"type": "boolean"
},
"serving": {
- "description": "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition.",
+ "description": "serving indicates that this endpoint is able to receive traffic, according to whatever system is managing the endpoint. For endpoints backed by pods, the EndpointSlice controller will mark the endpoint as serving if the pod's Ready condition is True. A nil value should be interpreted as \"true\".",
"type": "boolean"
},
"terminating": {
- "description": "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating.",
+ "description": "terminating indicates that this endpoint is terminating. A nil value should be interpreted as \"false\".",
"type": "boolean"
}
},
@@ -12223,8 +12415,16 @@
"v1.EndpointHints": {
"description": "EndpointHints provides hints describing how an endpoint should be consumed.",
"properties": {
+ "forNodes": {
+ "description": "forNodes indicates the node(s) this endpoint should be consumed by when using topology aware routing. May contain a maximum of 8 entries. This is an Alpha feature and is only used when the PreferSameTrafficDistribution feature gate is enabled.",
+ "items": {
+ "$ref": "#/definitions/v1.ForNode"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
"forZones": {
- "description": "forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing.",
+ "description": "forZones indicates the zone(s) this endpoint should be consumed by when using topology aware routing. May contain a maximum of 8 entries.",
"items": {
"$ref": "#/definitions/v1.ForZone"
},
@@ -12246,7 +12446,7 @@
"type": "string"
},
"port": {
- "description": "port represents the port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer.",
+ "description": "port represents the port number of the endpoint. If the EndpointSlice is derived from a Kubernetes service, this must be set to the service's target port. EndpointSlices used for other purposes may have a nil port.",
"format": "int32",
"type": "integer"
},
@@ -12259,10 +12459,10 @@
"x-kubernetes-map-type": "atomic"
},
"v1.EndpointSlice": {
- "description": "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.",
+ "description": "EndpointSlice represents a set of service endpoints. Most EndpointSlices are created by the EndpointSlice controller to represent the Pods selected by Service objects. For a given service there may be multiple EndpointSlice objects which must be joined to produce the full set of endpoints; you can find all of the slices for a given service by listing EndpointSlices in the service's namespace whose `kubernetes.io/service-name` label contains the service's name.",
"properties": {
"addressType": {
- "description": "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name.",
+ "description": "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name. (Deprecated) The EndpointSlice controller only generates, and kube-proxy only processes, slices of addressType \"IPv4\" and \"IPv6\". No semantics are defined for the \"FQDN\" type.",
"type": "string"
},
"apiVersion": {
@@ -12286,7 +12486,7 @@
"description": "Standard object's metadata."
},
"ports": {
- "description": "ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates \"all ports\". Each slice may include a maximum of 100 ports.",
+ "description": "ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. Each slice may include a maximum of 100 ports. Services always have at least 1 port, so EndpointSlices generated by the EndpointSlice controller will likewise always have at least 1 port. EndpointSlices used for other purposes may have an empty ports list.",
"items": {
"$ref": "#/definitions/discovery.v1.EndpointPort"
},
@@ -12342,6 +12542,19 @@
}
]
},
+ "v1.ForNode": {
+ "description": "ForNode provides information about which nodes should consume this endpoint.",
+ "properties": {
+ "name": {
+ "description": "name represents the name of the node.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ },
"v1.ForZone": {
"description": "ForZone provides information about which zones should consume this endpoint.",
"properties": {
@@ -13123,6 +13336,83 @@
],
"type": "object"
},
+ "v1.IPAddress": {
+ "description": "IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ },
+ "spec": {
+ "$ref": "#/definitions/v1.IPAddressSpec",
+ "description": "spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
+ }
+ },
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "networking.k8s.io",
+ "kind": "IPAddress",
+ "version": "v1"
+ }
+ ]
+ },
+ "v1.IPAddressList": {
+ "description": "IPAddressList contains a list of IPAddress.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "items": {
+ "description": "items is the list of IPAddresses.",
+ "items": {
+ "$ref": "#/definitions/v1.IPAddress"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "networking.k8s.io",
+ "kind": "IPAddressList",
+ "version": "v1"
+ }
+ ]
+ },
+ "v1.IPAddressSpec": {
+ "description": "IPAddressSpec describe the attributes in an IP Address.",
+ "properties": {
+ "parentRef": {
+ "$ref": "#/definitions/v1.ParentReference",
+ "description": "ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object."
+ }
+ },
+ "required": [
+ "parentRef"
+ ],
+ "type": "object"
+ },
"v1.IPBlock": {
"description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.",
"properties": {
@@ -13663,6 +13953,32 @@
],
"type": "object"
},
+ "v1.ParentReference": {
+ "description": "ParentReference describes a reference to a parent object.",
+ "properties": {
+ "group": {
+ "description": "Group is the group of the object being referenced.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Name is the name of the object being referenced.",
+ "type": "string"
+ },
+ "namespace": {
+ "description": "Namespace is the namespace of the object being referenced.",
+ "type": "string"
+ },
+ "resource": {
+ "description": "Resource is the resource of the object being referenced.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "resource",
+ "name"
+ ],
+ "type": "object"
+ },
"v1.ServiceBackendPort": {
"description": "ServiceBackendPort is the service port being referenced.",
"properties": {
@@ -13679,6 +13995,107 @@
"type": "object",
"x-kubernetes-map-type": "atomic"
},
+ "v1.ServiceCIDR": {
+ "description": "ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ },
+ "spec": {
+ "$ref": "#/definitions/v1.ServiceCIDRSpec",
+ "description": "spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
+ },
+ "status": {
+ "$ref": "#/definitions/v1.ServiceCIDRStatus",
+ "description": "status represents the current state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
+ }
+ },
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
+ }
+ ]
+ },
+ "v1.ServiceCIDRList": {
+ "description": "ServiceCIDRList contains a list of ServiceCIDR objects.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "items": {
+ "description": "items is the list of ServiceCIDRs.",
+ "items": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDRList",
+ "version": "v1"
+ }
+ ]
+ },
+ "v1.ServiceCIDRSpec": {
+ "description": "ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.",
+ "properties": {
+ "cidrs": {
+ "description": "CIDRs defines the IP blocks in CIDR notation (e.g. \"192.168.0.0/24\" or \"2001:db8::/64\") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ }
+ },
+ "type": "object"
+ },
+ "v1.ServiceCIDRStatus": {
+ "description": "ServiceCIDRStatus describes the current state of the ServiceCIDR.",
+ "properties": {
+ "conditions": {
+ "description": "conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state",
+ "items": {
+ "$ref": "#/definitions/v1.Condition"
+ },
+ "type": "array",
+ "x-kubernetes-list-map-keys": [
+ "type"
+ ],
+ "x-kubernetes-list-type": "map",
+ "x-kubernetes-patch-merge-key": "type",
+ "x-kubernetes-patch-strategy": "merge"
+ }
+ },
+ "type": "object"
+ },
"v1beta1.IPAddress": {
"description": "IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1",
"properties": {
@@ -14107,7 +14524,7 @@
"x-kubernetes-patch-strategy": "replace"
},
"unhealthyPodEvictionPolicy": {
- "description": "UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type=\"Ready\",status=\"True\".\n\nValid policies are IfHealthyBudget and AlwaysAllow. If no policy is specified, the default behavior will be used, which corresponds to the IfHealthyBudget policy.\n\nIfHealthyBudget policy means that running pods (status.phase=\"Running\"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction.\n\nAlwaysAllow policy means that all running pods (status.phase=\"Running\"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction.\n\nAdditional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this field.\n\nThis field is beta-level. The eviction API uses this field when the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default).",
+ "description": "UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type=\"Ready\",status=\"True\".\n\nValid policies are IfHealthyBudget and AlwaysAllow. If no policy is specified, the default behavior will be used, which corresponds to the IfHealthyBudget policy.\n\nIfHealthyBudget policy means that running pods (status.phase=\"Running\"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction.\n\nAlwaysAllow policy means that all running pods (status.phase=\"Running\"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction.\n\nAdditional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this field.",
"type": "string"
}
},
@@ -14580,7 +14997,7 @@
"description": "AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.",
"properties": {
"conditions": {
- "description": "Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.",
+ "description": "Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.\n\nMust not contain more than 8 entries.",
"items": {
"$ref": "#/definitions/v1.Condition"
},
@@ -14635,6 +15052,10 @@
"v1alpha3.BasicDevice": {
"description": "BasicDevice defines one device instance.",
"properties": {
+ "allNodes": {
+ "description": "AllNodes indicates that all nodes have access to the device.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.",
+ "type": "boolean"
+ },
"attributes": {
"additionalProperties": {
"$ref": "#/definitions/v1alpha3.DeviceAttribute"
@@ -14648,6 +15069,30 @@
},
"description": "Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.",
"type": "object"
+ },
+ "consumesCounters": {
+ "description": "ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets.\n\nThere can only be a single entry per counterSet.\n\nThe total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each).",
+ "items": {
+ "$ref": "#/definitions/v1alpha3.DeviceCounterConsumption"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "nodeName": {
+ "description": "NodeName identifies the node where the device is available.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.",
+ "type": "string"
+ },
+ "nodeSelector": {
+ "$ref": "#/definitions/v1.NodeSelector",
+ "description": "NodeSelector defines the nodes where the device is available.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set."
+ },
+ "taints": {
+ "description": "If specified, these are the driver-defined taints.\n\nThe maximum number of taints is 4.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
+ "items": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaint"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"type": "object"
@@ -14665,6 +15110,40 @@
],
"type": "object"
},
+ "v1alpha3.Counter": {
+ "description": "Counter describes a quantity associated with a device.",
+ "properties": {
+ "value": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Value defines how much of a certain device counter is available."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "type": "object"
+ },
+ "v1alpha3.CounterSet": {
+ "description": "CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice.\n\nThe counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices.",
+ "properties": {
+ "counters": {
+ "additionalProperties": {
+ "$ref": "#/definitions/v1alpha3.Counter"
+ },
+ "description": "Counters defines the counters that will be consumed by the device. The name of each counter must be unique in that set and must be a DNS label.\n\nTo ensure this uniqueness, capacities defined by the vendor must be listed without the driver name as domain prefix in their name. All others must be listed with their domain prefix.\n\nThe maximum number of counters is 32.",
+ "type": "object"
+ },
+ "name": {
+ "description": "CounterSet is the name of the set from which the counters defined will be consumed.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "counters"
+ ],
+ "type": "object"
+ },
"v1alpha3.Device": {
"description": "Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.",
"properties": {
@@ -14690,7 +15169,7 @@
"description": "Opaque provides driver-specific configuration parameters."
},
"requests": {
- "description": "Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.",
+ "description": "Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.\n\nReferences to subrequests must include the name of the main request and may include the subrequest using the format [/]. If just the main request is given, the configuration applies to all subrequests.",
"items": {
"type": "string"
},
@@ -14790,7 +15269,7 @@
"description": "Opaque provides driver-specific configuration parameters."
},
"requests": {
- "description": "Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.",
+ "description": "Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.\n\nReferences to subrequests must include the name of the main request and may include the subrequest using the format [/]. If just the main request is given, the configuration applies to all subrequests.",
"items": {
"type": "string"
},
@@ -14907,7 +15386,7 @@
"type": "string"
},
"requests": {
- "description": "Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.",
+ "description": "Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.\n\nReferences to subrequests must include the name of the main request and may include the subrequest using the format [/]. If just the main request is given, the constraint applies to all subrequests.",
"items": {
"type": "string"
},
@@ -14917,42 +15396,78 @@
},
"type": "object"
},
+ "v1alpha3.DeviceCounterConsumption": {
+ "description": "DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.",
+ "properties": {
+ "counterSet": {
+ "description": "CounterSet defines the set from which the counters defined will be consumed.",
+ "type": "string"
+ },
+ "counters": {
+ "additionalProperties": {
+ "$ref": "#/definitions/v1alpha3.Counter"
+ },
+ "description": "Counters defines the Counter that will be consumed by the device.\n\nThe maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each).",
+ "type": "object"
+ }
+ },
+ "required": [
+ "counterSet",
+ "counters"
+ ],
+ "type": "object"
+ },
"v1alpha3.DeviceRequest": {
- "description": "DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices.\n\nA DeviceClassName is currently required. Clients must check that it is indeed set. It's absence indicates that something changed in a way that is not supported by the client yet, in which case it must refuse to handle the request.",
+ "description": "DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices.",
"properties": {
"adminAccess": {
- "description": "AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations.\n\nThis is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.",
+ "description": "AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations.\n\nThis field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.\n\nThis is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.",
"type": "boolean"
},
"allocationMode": {
- "description": "AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This request is for all of the matching devices in a pool.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AlloctionMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.",
+ "description": "AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This request is for all of the matching devices in a pool.\n At least one device must exist on the node for the allocation to succeed.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.\n\nThis field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.",
"type": "string"
},
"count": {
- "description": "Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.",
+ "description": "Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.\n\nThis field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.",
"format": "int64",
"type": "integer"
},
"deviceClassName": {
- "description": "DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.\n\nA class is required. Which classes are available depends on the cluster.\n\nAdministrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.",
+ "description": "DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.\n\nA class is required if no subrequests are specified in the firstAvailable list and no class can be set if subrequests are specified in the firstAvailable list. Which classes are available depends on the cluster.\n\nAdministrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.",
"type": "string"
},
+ "firstAvailable": {
+ "description": "FirstAvailable contains subrequests, of which exactly one will be satisfied by the scheduler to satisfy this request. It tries to satisfy them in the order in which they are listed here. So if there are two entries in the list, the scheduler will only check the second one if it determines that the first one cannot be used.\n\nThis field may only be set in the entries of DeviceClaim.Requests.\n\nDRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features will determine which node is chosen. This means that the set of devices allocated to a claim might not be the optimal set available to the cluster. Scoring will be implemented later.",
+ "items": {
+ "$ref": "#/definitions/v1alpha3.DeviceSubRequest"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
"name": {
"description": "Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.\n\nMust be a DNS label.",
"type": "string"
},
"selectors": {
- "description": "Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.",
+ "description": "Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.\n\nThis field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.",
"items": {
"$ref": "#/definitions/v1alpha3.DeviceSelector"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
+ },
+ "tolerations": {
+ "description": "If specified, the request's tolerations.\n\nTolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute.\n\nIn addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated.\n\nThe maximum number of tolerations is 16.\n\nThis field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
+ "items": {
+ "$ref": "#/definitions/v1alpha3.DeviceToleration"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"required": [
- "name",
- "deviceClassName"
+ "name"
],
"type": "object"
},
@@ -14976,8 +15491,16 @@
"type": "string"
},
"request": {
- "description": "Request is the name of the request in the claim which caused this device to be allocated. Multiple devices may have been allocated per request.",
+ "description": "Request is the name of the request in the claim which caused this device to be allocated. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format /.\n\nMultiple devices may have been allocated per request.",
"type": "string"
+ },
+ "tolerations": {
+ "description": "A copy of all tolerations specified in the request at the time when the device got allocated.\n\nThe maximum number of tolerations is 16.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
+ "items": {
+ "$ref": "#/definitions/v1alpha3.DeviceToleration"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"required": [
@@ -14998,6 +15521,217 @@
},
"type": "object"
},
+ "v1alpha3.DeviceSubRequest": {
+ "description": "DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices.\n\nDeviceSubRequest is similar to Request, but doesn't expose the AdminAccess or FirstAvailable fields, as those can only be set on the top-level request. AdminAccess is not supported for requests with a prioritized list, and recursive FirstAvailable fields are not supported.",
+ "properties": {
+ "allocationMode": {
+ "description": "AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This request is for all of the matching devices in a pool.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.",
+ "type": "string"
+ },
+ "count": {
+ "description": "Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.",
+ "format": "int64",
+ "type": "integer"
+ },
+ "deviceClassName": {
+ "description": "DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this subrequest.\n\nA class is required. Which classes are available depends on the cluster.\n\nAdministrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Name can be used to reference this subrequest in the list of constraints or the list of configurations for the claim. References must use the format /.\n\nMust be a DNS label.",
+ "type": "string"
+ },
+ "selectors": {
+ "description": "Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.",
+ "items": {
+ "$ref": "#/definitions/v1alpha3.DeviceSelector"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "tolerations": {
+ "description": "If specified, the request's tolerations.\n\nTolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute.\n\nIn addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated.\n\nThe maximum number of tolerations is 16.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
+ "items": {
+ "$ref": "#/definitions/v1alpha3.DeviceToleration"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ }
+ },
+ "required": [
+ "name",
+ "deviceClassName"
+ ],
+ "type": "object"
+ },
+ "v1alpha3.DeviceTaint": {
+ "description": "The device this taint is attached to has the \"effect\" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.",
+ "properties": {
+ "effect": {
+ "description": "The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.",
+ "type": "string"
+ },
+ "key": {
+ "description": "The taint key to be applied to a device. Must be a label name.",
+ "type": "string"
+ },
+ "timeAdded": {
+ "description": "TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "value": {
+ "description": "The taint value corresponding to the taint key. Must be a label value.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "effect"
+ ],
+ "type": "object"
+ },
+ "v1alpha3.DeviceTaintRule": {
+ "description": "DeviceTaintRule adds one taint to all devices which match the selector. This has the same effect as if the taint was specified directly in the ResourceSlice by the DRA driver.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object metadata"
+ },
+ "spec": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRuleSpec",
+ "description": "Spec specifies the selector and one taint.\n\nChanging the spec automatically increments the metadata.generation number."
+ }
+ },
+ "required": [
+ "spec"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "resource.k8s.io",
+ "kind": "DeviceTaintRule",
+ "version": "v1alpha3"
+ }
+ ]
+ },
+ "v1alpha3.DeviceTaintRuleList": {
+ "description": "DeviceTaintRuleList is a collection of DeviceTaintRules.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "items": {
+ "description": "Items is the list of DeviceTaintRules.",
+ "items": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata"
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "resource.k8s.io",
+ "kind": "DeviceTaintRuleList",
+ "version": "v1alpha3"
+ }
+ ]
+ },
+ "v1alpha3.DeviceTaintRuleSpec": {
+ "description": "DeviceTaintRuleSpec specifies the selector and one taint.",
+ "properties": {
+ "deviceSelector": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintSelector",
+ "description": "DeviceSelector defines which device(s) the taint is applied to. All selector criteria must be satified for a device to match. The empty selector matches all devices. Without a selector, no devices are matches."
+ },
+ "taint": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaint",
+ "description": "The taint that gets applied to matching devices."
+ }
+ },
+ "required": [
+ "taint"
+ ],
+ "type": "object"
+ },
+ "v1alpha3.DeviceTaintSelector": {
+ "description": "DeviceTaintSelector defines which device(s) a DeviceTaintRule applies to. The empty selector matches all devices. Without a selector, no devices are matched.",
+ "properties": {
+ "device": {
+ "description": "If device is set, only devices with that name are selected. This field corresponds to slice.spec.devices[].name.\n\nSetting also driver and pool may be required to avoid ambiguity, but is not required.",
+ "type": "string"
+ },
+ "deviceClassName": {
+ "description": "If DeviceClassName is set, the selectors defined there must be satisfied by a device to be selected. This field corresponds to class.metadata.name.",
+ "type": "string"
+ },
+ "driver": {
+ "description": "If driver is set, only devices from that driver are selected. This fields corresponds to slice.spec.driver.",
+ "type": "string"
+ },
+ "pool": {
+ "description": "If pool is set, only devices in that pool are selected.\n\nAlso setting the driver name may be useful to avoid ambiguity when different drivers use the same pool name, but this is not required because selecting pools from different drivers may also be useful, for example when drivers with node-local devices use the node name as their pool name.",
+ "type": "string"
+ },
+ "selectors": {
+ "description": "Selectors contains the same selection criteria as a ResourceClaim. Currently, CEL expressions are supported. All of these selectors must be satisfied.",
+ "items": {
+ "$ref": "#/definitions/v1alpha3.DeviceSelector"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ }
+ },
+ "type": "object"
+ },
+ "v1alpha3.DeviceToleration": {
+ "description": "The ResourceClaim this DeviceToleration is attached to tolerates any taint that matches the triple using the matching operator .",
+ "properties": {
+ "effect": {
+ "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule and NoExecute.",
+ "type": "string"
+ },
+ "key": {
+ "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. Must be a label name.",
+ "type": "string"
+ },
+ "operator": {
+ "description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ResourceClaim can tolerate all taints of a particular category.",
+ "type": "string"
+ },
+ "tolerationSeconds": {
+ "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. If larger than zero, the time when the pod needs to be evicted is calculated as + .",
+ "format": "int64",
+ "type": "integer"
+ },
+ "value": {
+ "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value must be empty, otherwise just a regular string. Must be a label value.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"v1alpha3.NetworkDeviceData": {
"description": "NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context.",
"properties": {
@@ -15010,7 +15744,7 @@
"type": "string"
},
"ips": {
- "description": "IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: \"192.0.2.5/24\" for IPv4 and \"2001:db8::5/64\" for IPv6.",
+ "description": "IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: \"192.0.2.5/24\" for IPv4 and \"2001:db8::5/64\" for IPv6.\n\nMust not contain more than 16 entries.",
"items": {
"type": "string"
},
@@ -15167,7 +15901,7 @@
"x-kubernetes-list-type": "map"
},
"reservedFor": {
- "description": "ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated.\n\nIn a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled.\n\nBoth schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again.\n\nThere can be at most 32 such reservations. This may get increased in the future, but not reduced.",
+ "description": "ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated.\n\nIn a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled.\n\nBoth schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again.\n\nThere can be at most 256 such reservations. This may get increased in the future, but not reduced.",
"items": {
"$ref": "#/definitions/v1alpha3.ResourceClaimConsumerReference"
},
@@ -15362,7 +16096,7 @@
"description": "ResourceSliceSpec contains the information published by the driver in one ResourceSlice.",
"properties": {
"allNodes": {
- "description": "AllNodes indicates that all nodes have access to the resources in the pool.\n\nExactly one of NodeName, NodeSelector and AllNodes must be set.",
+ "description": "AllNodes indicates that all nodes have access to the resources in the pool.\n\nExactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.",
"type": "boolean"
},
"devices": {
@@ -15378,16 +16112,28 @@
"type": "string"
},
"nodeName": {
- "description": "NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.\n\nThis field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available.\n\nExactly one of NodeName, NodeSelector and AllNodes must be set. This field is immutable.",
+ "description": "NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.\n\nThis field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available.\n\nExactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set. This field is immutable.",
"type": "string"
},
"nodeSelector": {
"$ref": "#/definitions/v1.NodeSelector",
- "description": "NodeSelector defines which nodes have access to the resources in the pool, when that pool is not limited to a single node.\n\nMust use exactly one term.\n\nExactly one of NodeName, NodeSelector and AllNodes must be set."
+ "description": "NodeSelector defines which nodes have access to the resources in the pool, when that pool is not limited to a single node.\n\nMust use exactly one term.\n\nExactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set."
+ },
+ "perDeviceNodeSelection": {
+ "description": "PerDeviceNodeSelection defines whether the access from nodes to resources in the pool is set on the ResourceSlice level or on each device. If it is set to true, every device defined the ResourceSlice must specify this individually.\n\nExactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.",
+ "type": "boolean"
},
"pool": {
"$ref": "#/definitions/v1alpha3.ResourcePool",
"description": "Pool describes the pool that this ResourceSlice belongs to."
+ },
+ "sharedCounters": {
+ "description": "SharedCounters defines a list of counter sets, each of which has a name and a list of counters available.\n\nThe names of the SharedCounters must be unique in the ResourceSlice.\n\nThe maximum number of SharedCounters is 32.",
+ "items": {
+ "$ref": "#/definitions/v1alpha3.CounterSet"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"required": [
@@ -15400,7 +16146,7 @@
"description": "AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.",
"properties": {
"conditions": {
- "description": "Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.",
+ "description": "Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.\n\nMust not contain more than 8 entries.",
"items": {
"$ref": "#/definitions/v1.Condition"
},
@@ -15455,6 +16201,10 @@
"v1beta1.BasicDevice": {
"description": "BasicDevice defines one device instance.",
"properties": {
+ "allNodes": {
+ "description": "AllNodes indicates that all nodes have access to the device.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.",
+ "type": "boolean"
+ },
"attributes": {
"additionalProperties": {
"$ref": "#/definitions/v1beta1.DeviceAttribute"
@@ -15468,6 +16218,30 @@
},
"description": "Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.",
"type": "object"
+ },
+ "consumesCounters": {
+ "description": "ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets.\n\nThere can only be a single entry per counterSet.\n\nThe total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each).",
+ "items": {
+ "$ref": "#/definitions/v1beta1.DeviceCounterConsumption"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "nodeName": {
+ "description": "NodeName identifies the node where the device is available.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.",
+ "type": "string"
+ },
+ "nodeSelector": {
+ "$ref": "#/definitions/v1.NodeSelector",
+ "description": "NodeSelector defines the nodes where the device is available.\n\nMust use exactly one term.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set."
+ },
+ "taints": {
+ "description": "If specified, these are the driver-defined taints.\n\nThe maximum number of taints is 4.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
+ "items": {
+ "$ref": "#/definitions/v1beta1.DeviceTaint"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"type": "object"
@@ -15485,6 +16259,40 @@
],
"type": "object"
},
+ "v1beta1.Counter": {
+ "description": "Counter describes a quantity associated with a device.",
+ "properties": {
+ "value": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Value defines how much of a certain device counter is available."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "type": "object"
+ },
+ "v1beta1.CounterSet": {
+ "description": "CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice.\n\nThe counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices.",
+ "properties": {
+ "counters": {
+ "additionalProperties": {
+ "$ref": "#/definitions/v1beta1.Counter"
+ },
+ "description": "Counters defines the set of counters for this CounterSet The name of each counter must be unique in that set and must be a DNS label.\n\nThe maximum number of counters is 32.",
+ "type": "object"
+ },
+ "name": {
+ "description": "Name defines the name of the counter set. It must be a DNS label.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "counters"
+ ],
+ "type": "object"
+ },
"v1beta1.Device": {
"description": "Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.",
"properties": {
@@ -15510,7 +16318,7 @@
"description": "Opaque provides driver-specific configuration parameters."
},
"requests": {
- "description": "Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.",
+ "description": "Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.\n\nReferences to subrequests must include the name of the main request and may include the subrequest using the format [/]. If just the main request is given, the configuration applies to all subrequests.",
"items": {
"type": "string"
},
@@ -15623,7 +16431,7 @@
"description": "Opaque provides driver-specific configuration parameters."
},
"requests": {
- "description": "Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.",
+ "description": "Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.\n\nReferences to subrequests must include the name of the main request and may include the subrequest using the format [/]. If just the main request is given, the configuration applies to all subrequests.",
"items": {
"type": "string"
},
@@ -15740,7 +16548,7 @@
"type": "string"
},
"requests": {
- "description": "Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.",
+ "description": "Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.\n\nReferences to subrequests must include the name of the main request and may include the subrequest using the format [/]. If just the main request is given, the constraint applies to all subrequests.",
"items": {
"type": "string"
},
@@ -15750,42 +16558,78 @@
},
"type": "object"
},
+ "v1beta1.DeviceCounterConsumption": {
+ "description": "DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.",
+ "properties": {
+ "counterSet": {
+ "description": "CounterSet is the name of the set from which the counters defined will be consumed.",
+ "type": "string"
+ },
+ "counters": {
+ "additionalProperties": {
+ "$ref": "#/definitions/v1beta1.Counter"
+ },
+ "description": "Counters defines the counters that will be consumed by the device.\n\nThe maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each).",
+ "type": "object"
+ }
+ },
+ "required": [
+ "counterSet",
+ "counters"
+ ],
+ "type": "object"
+ },
"v1beta1.DeviceRequest": {
- "description": "DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices.\n\nA DeviceClassName is currently required. Clients must check that it is indeed set. It's absence indicates that something changed in a way that is not supported by the client yet, in which case it must refuse to handle the request.",
+ "description": "DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices.",
"properties": {
"adminAccess": {
- "description": "AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations.\n\nThis is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.",
+ "description": "AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations.\n\nThis field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.\n\nThis is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.",
"type": "boolean"
},
"allocationMode": {
- "description": "AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This request is for all of the matching devices in a pool.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AlloctionMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.",
+ "description": "AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This request is for all of the matching devices in a pool.\n At least one device must exist on the node for the allocation to succeed.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.\n\nThis field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.",
"type": "string"
},
"count": {
- "description": "Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.",
+ "description": "Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.\n\nThis field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.",
"format": "int64",
"type": "integer"
},
"deviceClassName": {
- "description": "DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.\n\nA class is required. Which classes are available depends on the cluster.\n\nAdministrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.",
+ "description": "DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.\n\nA class is required if no subrequests are specified in the firstAvailable list and no class can be set if subrequests are specified in the firstAvailable list. Which classes are available depends on the cluster.\n\nAdministrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.",
"type": "string"
},
+ "firstAvailable": {
+ "description": "FirstAvailable contains subrequests, of which exactly one will be satisfied by the scheduler to satisfy this request. It tries to satisfy them in the order in which they are listed here. So if there are two entries in the list, the scheduler will only check the second one if it determines that the first one cannot be used.\n\nThis field may only be set in the entries of DeviceClaim.Requests.\n\nDRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features will determine which node is chosen. This means that the set of devices allocated to a claim might not be the optimal set available to the cluster. Scoring will be implemented later.",
+ "items": {
+ "$ref": "#/definitions/v1beta1.DeviceSubRequest"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
"name": {
- "description": "Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.\n\nMust be a DNS label.",
+ "description": "Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.\n\nMust be a DNS label and unique among all DeviceRequests in a ResourceClaim.",
"type": "string"
},
"selectors": {
- "description": "Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.",
+ "description": "Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.\n\nThis field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.",
"items": {
"$ref": "#/definitions/v1beta1.DeviceSelector"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
+ },
+ "tolerations": {
+ "description": "If specified, the request's tolerations.\n\nTolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute.\n\nIn addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated.\n\nThe maximum number of tolerations is 16.\n\nThis field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
+ "items": {
+ "$ref": "#/definitions/v1beta1.DeviceToleration"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"required": [
- "name",
- "deviceClassName"
+ "name"
],
"type": "object"
},
@@ -15809,8 +16653,16 @@
"type": "string"
},
"request": {
- "description": "Request is the name of the request in the claim which caused this device to be allocated. Multiple devices may have been allocated per request.",
+ "description": "Request is the name of the request in the claim which caused this device to be allocated. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format /.\n\nMultiple devices may have been allocated per request.",
"type": "string"
+ },
+ "tolerations": {
+ "description": "A copy of all tolerations specified in the request at the time when the device got allocated.\n\nThe maximum number of tolerations is 16.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
+ "items": {
+ "$ref": "#/definitions/v1beta1.DeviceToleration"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"required": [
@@ -15831,6 +16683,103 @@
},
"type": "object"
},
+ "v1beta1.DeviceSubRequest": {
+ "description": "DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices.\n\nDeviceSubRequest is similar to Request, but doesn't expose the AdminAccess or FirstAvailable fields, as those can only be set on the top-level request. AdminAccess is not supported for requests with a prioritized list, and recursive FirstAvailable fields are not supported.",
+ "properties": {
+ "allocationMode": {
+ "description": "AllocationMode and its related fields define how devices are allocated to satisfy this subrequest. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This subrequest is for all of the matching devices in a pool.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other subrequests must specify this field.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.",
+ "type": "string"
+ },
+ "count": {
+ "description": "Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.",
+ "format": "int64",
+ "type": "integer"
+ },
+ "deviceClassName": {
+ "description": "DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this subrequest.\n\nA class is required. Which classes are available depends on the cluster.\n\nAdministrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Name can be used to reference this subrequest in the list of constraints or the list of configurations for the claim. References must use the format /.\n\nMust be a DNS label.",
+ "type": "string"
+ },
+ "selectors": {
+ "description": "Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this subrequest. All selectors must be satisfied for a device to be considered.",
+ "items": {
+ "$ref": "#/definitions/v1beta1.DeviceSelector"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "tolerations": {
+ "description": "If specified, the request's tolerations.\n\nTolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute.\n\nIn addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated.\n\nThe maximum number of tolerations is 16.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
+ "items": {
+ "$ref": "#/definitions/v1beta1.DeviceToleration"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ }
+ },
+ "required": [
+ "name",
+ "deviceClassName"
+ ],
+ "type": "object"
+ },
+ "v1beta1.DeviceTaint": {
+ "description": "The device this taint is attached to has the \"effect\" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.",
+ "properties": {
+ "effect": {
+ "description": "The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.",
+ "type": "string"
+ },
+ "key": {
+ "description": "The taint key to be applied to a device. Must be a label name.",
+ "type": "string"
+ },
+ "timeAdded": {
+ "description": "TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "value": {
+ "description": "The taint value corresponding to the taint key. Must be a label value.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "effect"
+ ],
+ "type": "object"
+ },
+ "v1beta1.DeviceToleration": {
+ "description": "The ResourceClaim this DeviceToleration is attached to tolerates any taint that matches the triple using the matching operator .",
+ "properties": {
+ "effect": {
+ "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule and NoExecute.",
+ "type": "string"
+ },
+ "key": {
+ "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. Must be a label name.",
+ "type": "string"
+ },
+ "operator": {
+ "description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ResourceClaim can tolerate all taints of a particular category.",
+ "type": "string"
+ },
+ "tolerationSeconds": {
+ "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. If larger than zero, the time when the pod needs to be evicted is calculated as + .",
+ "format": "int64",
+ "type": "integer"
+ },
+ "value": {
+ "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value must be empty, otherwise just a regular string. Must be a label value.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"v1beta1.NetworkDeviceData": {
"description": "NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context.",
"properties": {
@@ -15843,7 +16792,7 @@
"type": "string"
},
"ips": {
- "description": "IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: \"192.0.2.5/24\" for IPv4 and \"2001:db8::5/64\" for IPv6.",
+ "description": "IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: \"192.0.2.5/24\" for IPv4 and \"2001:db8::5/64\" for IPv6.\n\nMust not contain more than 16 entries.",
"items": {
"type": "string"
},
@@ -16000,7 +16949,7 @@
"x-kubernetes-list-type": "map"
},
"reservedFor": {
- "description": "ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated.\n\nIn a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled.\n\nBoth schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again.\n\nThere can be at most 32 such reservations. This may get increased in the future, but not reduced.",
+ "description": "ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated.\n\nIn a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled.\n\nBoth schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again.\n\nThere can be at most 256 such reservations. This may get increased in the future, but not reduced.",
"items": {
"$ref": "#/definitions/v1beta1.ResourceClaimConsumerReference"
},
@@ -16195,7 +17144,7 @@
"description": "ResourceSliceSpec contains the information published by the driver in one ResourceSlice.",
"properties": {
"allNodes": {
- "description": "AllNodes indicates that all nodes have access to the resources in the pool.\n\nExactly one of NodeName, NodeSelector and AllNodes must be set.",
+ "description": "AllNodes indicates that all nodes have access to the resources in the pool.\n\nExactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.",
"type": "boolean"
},
"devices": {
@@ -16211,16 +17160,28 @@
"type": "string"
},
"nodeName": {
- "description": "NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.\n\nThis field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available.\n\nExactly one of NodeName, NodeSelector and AllNodes must be set. This field is immutable.",
+ "description": "NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.\n\nThis field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available.\n\nExactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set. This field is immutable.",
"type": "string"
},
"nodeSelector": {
"$ref": "#/definitions/v1.NodeSelector",
- "description": "NodeSelector defines which nodes have access to the resources in the pool, when that pool is not limited to a single node.\n\nMust use exactly one term.\n\nExactly one of NodeName, NodeSelector and AllNodes must be set."
+ "description": "NodeSelector defines which nodes have access to the resources in the pool, when that pool is not limited to a single node.\n\nMust use exactly one term.\n\nExactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set."
+ },
+ "perDeviceNodeSelection": {
+ "description": "PerDeviceNodeSelection defines whether the access from nodes to resources in the pool is set on the ResourceSlice level or on each device. If it is set to true, every device defined the ResourceSlice must specify this individually.\n\nExactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.",
+ "type": "boolean"
},
"pool": {
"$ref": "#/definitions/v1beta1.ResourcePool",
"description": "Pool describes the pool that this ResourceSlice belongs to."
+ },
+ "sharedCounters": {
+ "description": "SharedCounters defines a list of counter sets, each of which has a name and a list of counters available.\n\nThe names of the SharedCounters must be unique in the ResourceSlice.\n\nThe maximum number of SharedCounters is 32.",
+ "items": {
+ "$ref": "#/definitions/v1beta1.CounterSet"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"required": [
@@ -16229,201 +17190,297 @@
],
"type": "object"
},
- "v1.PriorityClass": {
- "description": "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.",
+ "v1beta2.AllocatedDeviceStatus": {
+ "description": "AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.",
"properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
- "type": "string"
+ "conditions": {
+ "description": "Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.\n\nMust not contain more than 8 entries.",
+ "items": {
+ "$ref": "#/definitions/v1.Condition"
+ },
+ "type": "array",
+ "x-kubernetes-list-map-keys": [
+ "type"
+ ],
+ "x-kubernetes-list-type": "map"
},
- "description": {
- "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used.",
- "type": "string"
+ "data": {
+ "description": "Data contains arbitrary driver-specific data.\n\nThe length of the raw data must be smaller or equal to 10 Ki.",
+ "type": "object"
},
- "globalDefault": {
- "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.",
- "type": "boolean"
+ "device": {
+ "description": "Device references one device instance via its name in the driver's resource pool. It must be a DNS label.",
+ "type": "string"
},
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "driver": {
+ "description": "Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.",
"type": "string"
},
- "metadata": {
- "$ref": "#/definitions/v1.ObjectMeta",
- "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "networkData": {
+ "$ref": "#/definitions/v1beta2.NetworkDeviceData",
+ "description": "NetworkData contains network-related information specific to the device."
},
- "preemptionPolicy": {
- "description": "preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.",
+ "pool": {
+ "description": "This name together with the driver name and the device name field identify which device was allocated (`//`).\n\nMust not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.",
"type": "string"
+ }
+ },
+ "required": [
+ "driver",
+ "pool",
+ "device"
+ ],
+ "type": "object"
+ },
+ "v1beta2.AllocationResult": {
+ "description": "AllocationResult contains attributes of an allocated resource.",
+ "properties": {
+ "devices": {
+ "$ref": "#/definitions/v1beta2.DeviceAllocationResult",
+ "description": "Devices is the result of allocating devices."
},
+ "nodeSelector": {
+ "$ref": "#/definitions/v1.NodeSelector",
+ "description": "NodeSelector defines where the allocated resources are available. If unset, they are available everywhere."
+ }
+ },
+ "type": "object"
+ },
+ "v1beta2.CELDeviceSelector": {
+ "description": "CELDeviceSelector contains a CEL expression for selecting a device.",
+ "properties": {
+ "expression": {
+ "description": "Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.\n\nThe expression's input is an object named \"device\", which carries the following properties:\n - driver (string): the name of the driver which defines this device.\n - attributes (map[string]object): the device's attributes, grouped by prefix\n (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all\n of the attributes which were prefixed by \"dra.example.com\".\n - capacity (map[string]object): the device's capacities, grouped by prefix.\n\nExample: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields:\n\n device.driver\n device.attributes[\"dra.example.com\"].model\n device.attributes[\"ext.example.com\"].family\n device.capacity[\"dra.example.com\"].modules\n\nThe device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers.\n\nThe value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity.\n\nIf an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.\n\nA robust expression should check for the existence of attributes before referencing them.\n\nFor ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example:\n\n cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool)\n\nThe length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "expression"
+ ],
+ "type": "object"
+ },
+ "v1beta2.Counter": {
+ "description": "Counter describes a quantity associated with a device.",
+ "properties": {
"value": {
- "description": "value represents the integer value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.",
- "format": "int32",
- "type": "integer"
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Value defines how much of a certain device counter is available."
}
},
"required": [
"value"
],
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "scheduling.k8s.io",
- "kind": "PriorityClass",
- "version": "v1"
- }
- ]
+ "type": "object"
},
- "v1.PriorityClassList": {
- "description": "PriorityClassList is a collection of priority classes.",
+ "v1beta2.CounterSet": {
+ "description": "CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice.\n\nThe counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices.",
"properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
- "type": "string"
- },
- "items": {
- "description": "items is the list of PriorityClasses",
- "items": {
- "$ref": "#/definitions/v1.PriorityClass"
+ "counters": {
+ "additionalProperties": {
+ "$ref": "#/definitions/v1beta2.Counter"
},
- "type": "array"
+ "description": "Counters defines the set of counters for this CounterSet The name of each counter must be unique in that set and must be a DNS label.\n\nThe maximum number of counters in all sets is 32.",
+ "type": "object"
},
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "name": {
+ "description": "Name defines the name of the counter set. It must be a DNS label.",
"type": "string"
- },
- "metadata": {
- "$ref": "#/definitions/v1.ListMeta",
- "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
}
},
"required": [
- "items"
+ "name",
+ "counters"
],
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "scheduling.k8s.io",
- "kind": "PriorityClassList",
- "version": "v1"
- }
- ]
+ "type": "object"
},
- "v1.CSIDriver": {
- "description": "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.",
+ "v1beta2.Device": {
+ "description": "Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.",
"properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "allNodes": {
+ "description": "AllNodes indicates that all nodes have access to the device.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.",
+ "type": "boolean"
+ },
+ "attributes": {
+ "additionalProperties": {
+ "$ref": "#/definitions/v1beta2.DeviceAttribute"
+ },
+ "description": "Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.",
+ "type": "object"
+ },
+ "capacity": {
+ "additionalProperties": {
+ "$ref": "#/definitions/v1beta2.DeviceCapacity"
+ },
+ "description": "Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.",
+ "type": "object"
+ },
+ "consumesCounters": {
+ "description": "ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets.\n\nThere can only be a single entry per counterSet.\n\nThe total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each).",
+ "items": {
+ "$ref": "#/definitions/v1beta2.DeviceCounterConsumption"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "name": {
+ "description": "Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.",
"type": "string"
},
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "nodeName": {
+ "description": "NodeName identifies the node where the device is available.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.",
"type": "string"
},
- "metadata": {
- "$ref": "#/definitions/v1.ObjectMeta",
- "description": "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "nodeSelector": {
+ "$ref": "#/definitions/v1.NodeSelector",
+ "description": "NodeSelector defines the nodes where the device is available.\n\nMust use exactly one term.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set."
},
- "spec": {
- "$ref": "#/definitions/v1.CSIDriverSpec",
- "description": "spec represents the specification of the CSI Driver."
+ "taints": {
+ "description": "If specified, these are the driver-defined taints.\n\nThe maximum number of taints is 4.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
+ "items": {
+ "$ref": "#/definitions/v1beta2.DeviceTaint"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"required": [
- "spec"
+ "name"
],
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "storage.k8s.io",
- "kind": "CSIDriver",
- "version": "v1"
- }
- ]
+ "type": "object"
},
- "v1.CSIDriverList": {
- "description": "CSIDriverList is a collection of CSIDriver objects.",
+ "v1beta2.DeviceAllocationConfiguration": {
+ "description": "DeviceAllocationConfiguration gets embedded in an AllocationResult.",
"properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
- "type": "string"
+ "opaque": {
+ "$ref": "#/definitions/v1beta2.OpaqueDeviceConfiguration",
+ "description": "Opaque provides driver-specific configuration parameters."
},
- "items": {
- "description": "items is the list of CSIDriver",
+ "requests": {
+ "description": "Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.\n\nReferences to subrequests must include the name of the main request and may include the subrequest using the format [/]. If just the main request is given, the configuration applies to all subrequests.",
"items": {
- "$ref": "#/definitions/v1.CSIDriver"
+ "type": "string"
},
- "type": "array"
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "source": {
+ "description": "Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.",
"type": "string"
- },
- "metadata": {
- "$ref": "#/definitions/v1.ListMeta",
- "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
}
},
"required": [
- "items"
+ "source"
],
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "storage.k8s.io",
- "kind": "CSIDriverList",
- "version": "v1"
+ "type": "object"
+ },
+ "v1beta2.DeviceAllocationResult": {
+ "description": "DeviceAllocationResult is the result of allocating devices.",
+ "properties": {
+ "config": {
+ "description": "This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag.\n\nThis includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters.",
+ "items": {
+ "$ref": "#/definitions/v1beta2.DeviceAllocationConfiguration"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "results": {
+ "description": "Results lists all allocated devices.",
+ "items": {
+ "$ref": "#/definitions/v1beta2.DeviceRequestAllocationResult"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
- ]
+ },
+ "type": "object"
},
- "v1.CSIDriverSpec": {
- "description": "CSIDriverSpec is the specification of a CSIDriver.",
+ "v1beta2.DeviceAttribute": {
+ "description": "DeviceAttribute must have exactly one field set.",
"properties": {
- "attachRequired": {
- "description": "attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.\n\nThis field is immutable.",
+ "bool": {
+ "description": "BoolValue is a true/false value.",
"type": "boolean"
},
- "fsGroupPolicy": {
- "description": "fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.\n\nThis field was immutable in Kubernetes < 1.29 and now is mutable.\n\nDefaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.",
- "type": "string"
- },
- "podInfoOnMount": {
- "description": "podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.\n\nThe CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext.\n\nThe following VolumeContext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" if the volume is an ephemeral inline volume\n defined by a CSIVolumeSource, otherwise \"false\"\n\n\"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.\n\nThis field was immutable in Kubernetes < 1.29 and now is mutable.",
- "type": "boolean"
+ "int": {
+ "description": "IntValue is a number.",
+ "format": "int64",
+ "type": "integer"
},
- "requiresRepublish": {
- "description": "requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.\n\nNote: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container.",
- "type": "boolean"
+ "string": {
+ "description": "StringValue is a string. Must not be longer than 64 characters.",
+ "type": "string"
},
- "seLinuxMount": {
- "description": "seLinuxMount specifies if the CSI driver supports \"-o context\" mount option.\n\nWhen \"true\", the CSI driver must ensure that all volumes provided by this CSI driver can be mounted separately with different `-o context` options. This is typical for storage backends that provide volumes as filesystems on block devices or as independent shared volumes. Kubernetes will call NodeStage / NodePublish with \"-o context=xyz\" mount option when mounting a ReadWriteOncePod volume used in Pod that has explicitly set SELinux context. In the future, it may be expanded to other volume AccessModes. In any case, Kubernetes will ensure that the volume is mounted only with a single SELinux context.\n\nWhen \"false\", Kubernetes won't pass any special SELinux mount options to the driver. This is typical for volumes that represent subdirectories of a bigger shared filesystem.\n\nDefault is \"false\".",
- "type": "boolean"
+ "version": {
+ "description": "VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "v1beta2.DeviceCapacity": {
+ "description": "DeviceCapacity describes a quantity associated with a device.",
+ "properties": {
+ "value": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Value defines how much of a certain device capacity is available."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "type": "object"
+ },
+ "v1beta2.DeviceClaim": {
+ "description": "DeviceClaim defines how to request devices with a ResourceClaim.",
+ "properties": {
+ "config": {
+ "description": "This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.",
+ "items": {
+ "$ref": "#/definitions/v1beta2.DeviceClaimConfiguration"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- "storageCapacity": {
- "description": "storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information, if set to true.\n\nThe check can be enabled immediately when deploying a driver. In that case, provisioning new volumes with late binding will pause until the driver deployment has published some suitable CSIStorageCapacity object.\n\nAlternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published.\n\nThis field was immutable in Kubernetes <= 1.22 and now is mutable.",
- "type": "boolean"
+ "constraints": {
+ "description": "These constraints must be satisfied by the set of devices that get allocated for the claim.",
+ "items": {
+ "$ref": "#/definitions/v1beta2.DeviceConstraint"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- "tokenRequests": {
- "description": "tokenRequests indicates the CSI driver needs pods' service account tokens it is mounting volume for to do necessary authentication. Kubelet will pass the tokens in VolumeContext in the CSI NodePublishVolume calls. The CSI driver should parse and validate the following VolumeContext: \"csi.storage.k8s.io/serviceAccount.tokens\": {\n \"\": {\n \"token\": ,\n \"expirationTimestamp\": ,\n },\n ...\n}\n\nNote: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically.",
+ "requests": {
+ "description": "Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated.",
"items": {
- "$ref": "#/definitions/storage.v1.TokenRequest"
+ "$ref": "#/definitions/v1beta2.DeviceRequest"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
+ }
+ },
+ "type": "object"
+ },
+ "v1beta2.DeviceClaimConfiguration": {
+ "description": "DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.",
+ "properties": {
+ "opaque": {
+ "$ref": "#/definitions/v1beta2.OpaqueDeviceConfiguration",
+ "description": "Opaque provides driver-specific configuration parameters."
},
- "volumeLifecycleModes": {
- "description": "volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is \"Persistent\", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism.\n\nThe other mode is \"Ephemeral\". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume.\n\nFor more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future.\n\nThis field is beta. This field is immutable.",
+ "requests": {
+ "description": "Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.\n\nReferences to subrequests must include the name of the main request and may include the subrequest using the format [/]. If just the main request is given, the configuration applies to all subrequests.",
"items": {
"type": "string"
},
"type": "array",
- "x-kubernetes-list-type": "set"
+ "x-kubernetes-list-type": "atomic"
}
},
"type": "object"
},
- "v1.CSINode": {
- "description": "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.",
+ "v1beta2.DeviceClass": {
+ "description": "DeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors. It can be referenced in the device requests of a claim to apply these presets. Cluster scoped.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -16435,11 +17492,11 @@
},
"metadata": {
"$ref": "#/definitions/v1.ObjectMeta",
- "description": "Standard object's metadata. metadata.name must be the Kubernetes node name."
+ "description": "Standard object metadata"
},
"spec": {
- "$ref": "#/definitions/v1.CSINodeSpec",
- "description": "spec is the specification of CSINode"
+ "$ref": "#/definitions/v1beta2.DeviceClassSpec",
+ "description": "Spec defines what can be allocated and how to configure it.\n\nThis is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.\n\nChanging the spec automatically increments the metadata.generation number."
}
},
"required": [
@@ -16448,53 +17505,33 @@
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "storage.k8s.io",
- "kind": "CSINode",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "DeviceClass",
+ "version": "v1beta2"
}
]
},
- "v1.CSINodeDriver": {
- "description": "CSINodeDriver holds information about the specification of one CSI driver installed on a node",
+ "v1beta2.DeviceClassConfiguration": {
+ "description": "DeviceClassConfiguration is used in DeviceClass.",
"properties": {
- "allocatable": {
- "$ref": "#/definitions/v1.VolumeNodeResources",
- "description": "allocatable represents the volume resources of a node that are available for scheduling. This field is beta."
- },
- "name": {
- "description": "name represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.",
- "type": "string"
- },
- "nodeID": {
- "description": "nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required.",
- "type": "string"
- },
- "topologyKeys": {
- "description": "topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. \"company.com/zone\", \"company.com/region\"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
+ "opaque": {
+ "$ref": "#/definitions/v1beta2.OpaqueDeviceConfiguration",
+ "description": "Opaque provides driver-specific configuration parameters."
}
},
- "required": [
- "name",
- "nodeID"
- ],
"type": "object"
},
- "v1.CSINodeList": {
- "description": "CSINodeList is a collection of CSINode objects.",
+ "v1beta2.DeviceClassList": {
+ "description": "DeviceClassList is a collection of classes.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"items": {
- "description": "items is the list of CSINode",
+ "description": "Items is the list of resource classes.",
"items": {
- "$ref": "#/definitions/v1.CSINode"
+ "$ref": "#/definitions/v1beta2.DeviceClass"
},
"type": "array"
},
@@ -16504,7 +17541,7 @@
},
"metadata": {
"$ref": "#/definitions/v1.ListMeta",
- "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "description": "Standard list metadata"
}
},
"required": [
@@ -16513,445 +17550,401 @@
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "storage.k8s.io",
- "kind": "CSINodeList",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "DeviceClassList",
+ "version": "v1beta2"
}
]
},
- "v1.CSINodeSpec": {
- "description": "CSINodeSpec holds information about the specification of all CSI drivers installed on a node",
+ "v1beta2.DeviceClassSpec": {
+ "description": "DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it.",
"properties": {
- "drivers": {
- "description": "drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty.",
+ "config": {
+ "description": "Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver.\n\nThey are passed to the driver, but are not considered while allocating the claim.",
"items": {
- "$ref": "#/definitions/v1.CSINodeDriver"
+ "$ref": "#/definitions/v1beta2.DeviceClassConfiguration"
},
"type": "array",
- "x-kubernetes-list-map-keys": [
- "name"
- ],
- "x-kubernetes-list-type": "map",
- "x-kubernetes-patch-merge-key": "name",
- "x-kubernetes-patch-strategy": "merge"
+ "x-kubernetes-list-type": "atomic"
+ },
+ "selectors": {
+ "description": "Each selector must be satisfied by a device which is claimed via this class.",
+ "items": {
+ "$ref": "#/definitions/v1beta2.DeviceSelector"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
- "required": [
- "drivers"
- ],
"type": "object"
},
- "v1.CSIStorageCapacity": {
- "description": "CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes.\n\nFor example this can express things like: - StorageClass \"standard\" has \"1234 GiB\" available in \"topology.kubernetes.io/zone=us-east1\" - StorageClass \"localssd\" has \"10 GiB\" available in \"kubernetes.io/hostname=knode-abc123\"\n\nThe following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero\n\nThe producer of these objects can decide which approach is more suitable.\n\nThey are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node.",
+ "v1beta2.DeviceConstraint": {
+ "description": "DeviceConstraint must have exactly one field set besides Requests.",
"properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "matchAttribute": {
+ "description": "MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.\n\nFor example, if you specified \"dra.example.com/numa\" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen.\n\nMust include the domain qualifier.",
"type": "string"
},
- "capacity": {
- "$ref": "#/definitions/resource.Quantity",
- "description": "capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThe semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable."
- },
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "requests": {
+ "description": "Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.\n\nReferences to subrequests must include the name of the main request and may include the subrequest using the format [/]. If just the main request is given, the constraint applies to all subrequests.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ }
+ },
+ "type": "object"
+ },
+ "v1beta2.DeviceCounterConsumption": {
+ "description": "DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.",
+ "properties": {
+ "counterSet": {
+ "description": "CounterSet is the name of the set from which the counters defined will be consumed.",
"type": "string"
},
- "maximumVolumeSize": {
- "$ref": "#/definitions/resource.Quantity",
- "description": "maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThis is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim."
- },
- "metadata": {
- "$ref": "#/definitions/v1.ObjectMeta",
- "description": "Standard object's metadata. The name has no particular meaning. It must be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name.\n\nObjects are namespaced.\n\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
- },
- "nodeTopology": {
- "$ref": "#/definitions/v1.LabelSelector",
- "description": "nodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable."
- },
- "storageClassName": {
- "description": "storageClassName represents the name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.",
- "type": "string"
+ "counters": {
+ "additionalProperties": {
+ "$ref": "#/definitions/v1beta2.Counter"
+ },
+ "description": "Counters defines the counters that will be consumed by the device.\n\nThe maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each).",
+ "type": "object"
}
},
"required": [
- "storageClassName"
+ "counterSet",
+ "counters"
],
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "storage.k8s.io",
- "kind": "CSIStorageCapacity",
- "version": "v1"
- }
- ]
+ "type": "object"
},
- "v1.CSIStorageCapacityList": {
- "description": "CSIStorageCapacityList is a collection of CSIStorageCapacity objects.",
+ "v1beta2.DeviceRequest": {
+ "description": "DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices. With FirstAvailable it is also possible to provide a prioritized list of requests.",
"properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
- "type": "string"
+ "exactly": {
+ "$ref": "#/definitions/v1beta2.ExactDeviceRequest",
+ "description": "Exactly specifies the details for a single request that must be met exactly for the request to be satisfied.\n\nOne of Exactly or FirstAvailable must be set."
},
- "items": {
- "description": "items is the list of CSIStorageCapacity objects.",
+ "firstAvailable": {
+ "description": "FirstAvailable contains subrequests, of which exactly one will be selected by the scheduler. It tries to satisfy them in the order in which they are listed here. So if there are two entries in the list, the scheduler will only check the second one if it determines that the first one can not be used.\n\nDRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features will determine which node is chosen. This means that the set of devices allocated to a claim might not be the optimal set available to the cluster. Scoring will be implemented later.",
"items": {
- "$ref": "#/definitions/v1.CSIStorageCapacity"
+ "$ref": "#/definitions/v1beta2.DeviceSubRequest"
},
- "type": "array"
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "name": {
+ "description": "Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.\n\nReferences using the name in the DeviceRequest will uniquely identify a request when the Exactly field is set. When the FirstAvailable field is set, a reference to the name of the DeviceRequest will match whatever subrequest is chosen by the scheduler.\n\nMust be a DNS label.",
"type": "string"
- },
- "metadata": {
- "$ref": "#/definitions/v1.ListMeta",
- "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
}
},
"required": [
- "items"
+ "name"
],
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "storage.k8s.io",
- "kind": "CSIStorageCapacityList",
- "version": "v1"
- }
- ]
+ "type": "object"
},
- "v1.StorageClass": {
- "description": "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.",
+ "v1beta2.DeviceRequestAllocationResult": {
+ "description": "DeviceRequestAllocationResult contains the allocation result for one request.",
"properties": {
- "allowVolumeExpansion": {
- "description": "allowVolumeExpansion shows whether the storage class allow volume expand.",
+ "adminAccess": {
+ "description": "AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode.\n\nThis is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.",
"type": "boolean"
},
- "allowedTopologies": {
- "description": "allowedTopologies restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.",
- "items": {
- "$ref": "#/definitions/v1.TopologySelectorTerm"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
+ "device": {
+ "description": "Device references one device instance via its name in the driver's resource pool. It must be a DNS label.",
+ "type": "string"
},
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "driver": {
+ "description": "Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.",
"type": "string"
},
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "pool": {
+ "description": "This name together with the driver name and the device name field identify which device was allocated (`//`).\n\nMust not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.",
"type": "string"
},
- "metadata": {
- "$ref": "#/definitions/v1.ObjectMeta",
- "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "request": {
+ "description": "Request is the name of the request in the claim which caused this device to be allocated. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format /.\n\nMultiple devices may have been allocated per request.",
+ "type": "string"
},
- "mountOptions": {
- "description": "mountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid.",
+ "tolerations": {
+ "description": "A copy of all tolerations specified in the request at the time when the device got allocated.\n\nThe maximum number of tolerations is 16.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
"items": {
- "type": "string"
+ "$ref": "#/definitions/v1beta2.DeviceToleration"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
- },
- "parameters": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "parameters holds the parameters for the provisioner that should create volumes of this storage class.",
- "type": "object"
- },
- "provisioner": {
- "description": "provisioner indicates the type of the provisioner.",
- "type": "string"
- },
- "reclaimPolicy": {
- "description": "reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete.",
- "type": "string"
- },
- "volumeBindingMode": {
- "description": "volumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.",
- "type": "string"
}
},
"required": [
- "provisioner"
+ "request",
+ "driver",
+ "pool",
+ "device"
],
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "storage.k8s.io",
- "kind": "StorageClass",
- "version": "v1"
- }
- ]
+ "type": "object"
},
- "v1.StorageClassList": {
- "description": "StorageClassList is a collection of storage classes.",
+ "v1beta2.DeviceSelector": {
+ "description": "DeviceSelector must have exactly one field set.",
"properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
- "type": "string"
- },
- "items": {
- "description": "items is the list of StorageClasses",
- "items": {
- "$ref": "#/definitions/v1.StorageClass"
- },
- "type": "array"
- },
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
- "type": "string"
- },
- "metadata": {
- "$ref": "#/definitions/v1.ListMeta",
- "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "cel": {
+ "$ref": "#/definitions/v1beta2.CELDeviceSelector",
+ "description": "CEL contains a CEL expression for selecting a device."
}
},
- "required": [
- "items"
- ],
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "storage.k8s.io",
- "kind": "StorageClassList",
- "version": "v1"
- }
- ]
+ "type": "object"
},
- "storage.v1.TokenRequest": {
- "description": "TokenRequest contains parameters of a service account token.",
+ "v1beta2.DeviceSubRequest": {
+ "description": "DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices.\n\nDeviceSubRequest is similar to ExactDeviceRequest, but doesn't expose the AdminAccess field as that one is only supported when requesting a specific device.",
"properties": {
- "audience": {
- "description": "audience is the intended audience of the token in \"TokenRequestSpec\". It will default to the audiences of kube apiserver.",
+ "allocationMode": {
+ "description": "AllocationMode and its related fields define how devices are allocated to satisfy this subrequest. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This subrequest is for all of the matching devices in a pool.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other subrequests must specify this field.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.",
"type": "string"
},
- "expirationSeconds": {
- "description": "expirationSeconds is the duration of validity of the token in \"TokenRequestSpec\". It has the same default value of \"ExpirationSeconds\" in \"TokenRequestSpec\".",
+ "count": {
+ "description": "Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.",
"format": "int64",
"type": "integer"
+ },
+ "deviceClassName": {
+ "description": "DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this subrequest.\n\nA class is required. Which classes are available depends on the cluster.\n\nAdministrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Name can be used to reference this subrequest in the list of constraints or the list of configurations for the claim. References must use the format /.\n\nMust be a DNS label.",
+ "type": "string"
+ },
+ "selectors": {
+ "description": "Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this subrequest. All selectors must be satisfied for a device to be considered.",
+ "items": {
+ "$ref": "#/definitions/v1beta2.DeviceSelector"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "tolerations": {
+ "description": "If specified, the request's tolerations.\n\nTolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute.\n\nIn addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated.\n\nThe maximum number of tolerations is 16.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
+ "items": {
+ "$ref": "#/definitions/v1beta2.DeviceToleration"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"required": [
- "audience"
+ "name",
+ "deviceClassName"
],
"type": "object"
},
- "v1.VolumeAttachment": {
- "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.",
+ "v1beta2.DeviceTaint": {
+ "description": "The device this taint is attached to has the \"effect\" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.",
"properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "effect": {
+ "description": "The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.",
"type": "string"
},
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "key": {
+ "description": "The taint key to be applied to a device. Must be a label name.",
"type": "string"
},
- "metadata": {
- "$ref": "#/definitions/v1.ObjectMeta",
- "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
- },
- "spec": {
- "$ref": "#/definitions/v1.VolumeAttachmentSpec",
- "description": "spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system."
+ "timeAdded": {
+ "description": "TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.",
+ "format": "date-time",
+ "type": "string"
},
- "status": {
- "$ref": "#/definitions/v1.VolumeAttachmentStatus",
- "description": "status represents status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher."
+ "value": {
+ "description": "The taint value corresponding to the taint key. Must be a label value.",
+ "type": "string"
}
},
"required": [
- "spec"
+ "key",
+ "effect"
],
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "storage.k8s.io",
- "kind": "VolumeAttachment",
- "version": "v1"
- }
- ]
+ "type": "object"
},
- "v1.VolumeAttachmentList": {
- "description": "VolumeAttachmentList is a collection of VolumeAttachment objects.",
+ "v1beta2.DeviceToleration": {
+ "description": "The ResourceClaim this DeviceToleration is attached to tolerates any taint that matches the triple using the matching operator .",
"properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "effect": {
+ "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule and NoExecute.",
"type": "string"
},
- "items": {
- "description": "items is the list of VolumeAttachments",
- "items": {
- "$ref": "#/definitions/v1.VolumeAttachment"
- },
- "type": "array"
+ "key": {
+ "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. Must be a label name.",
+ "type": "string"
},
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "operator": {
+ "description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ResourceClaim can tolerate all taints of a particular category.",
"type": "string"
},
- "metadata": {
- "$ref": "#/definitions/v1.ListMeta",
- "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
- }
- },
- "required": [
- "items"
- ],
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "storage.k8s.io",
- "kind": "VolumeAttachmentList",
- "version": "v1"
- }
- ]
- },
- "v1.VolumeAttachmentSource": {
- "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.",
- "properties": {
- "inlineVolumeSpec": {
- "$ref": "#/definitions/v1.PersistentVolumeSpec",
- "description": "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature."
+ "tolerationSeconds": {
+ "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. If larger than zero, the time when the pod needs to be evicted is calculated as + .",
+ "format": "int64",
+ "type": "integer"
},
- "persistentVolumeName": {
- "description": "persistentVolumeName represents the name of the persistent volume to attach.",
+ "value": {
+ "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value must be empty, otherwise just a regular string. Must be a label value.",
"type": "string"
}
},
"type": "object"
},
- "v1.VolumeAttachmentSpec": {
- "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.",
+ "v1beta2.ExactDeviceRequest": {
+ "description": "ExactDeviceRequest is a request for one or more identical devices.",
"properties": {
- "attacher": {
- "description": "attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().",
- "type": "string"
+ "adminAccess": {
+ "description": "AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations.\n\nThis is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.",
+ "type": "boolean"
},
- "nodeName": {
- "description": "nodeName represents the node that the volume should be attached to.",
+ "allocationMode": {
+ "description": "AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This request is for all of the matching devices in a pool.\n At least one device must exist on the node for the allocation to succeed.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.",
"type": "string"
},
- "source": {
- "$ref": "#/definitions/v1.VolumeAttachmentSource",
- "description": "source represents the volume that should be attached."
- }
- },
- "required": [
- "attacher",
- "source",
- "nodeName"
- ],
- "type": "object"
- },
- "v1.VolumeAttachmentStatus": {
- "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.",
- "properties": {
- "attachError": {
- "$ref": "#/definitions/v1.VolumeError",
- "description": "attachError represents the last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."
+ "count": {
+ "description": "Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.",
+ "format": "int64",
+ "type": "integer"
},
- "attached": {
- "description": "attached indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.",
- "type": "boolean"
+ "deviceClassName": {
+ "description": "DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.\n\nA DeviceClassName is required.\n\nAdministrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.",
+ "type": "string"
},
- "attachmentMetadata": {
- "additionalProperties": {
- "type": "string"
+ "selectors": {
+ "description": "Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.",
+ "items": {
+ "$ref": "#/definitions/v1beta2.DeviceSelector"
},
- "description": "attachmentMetadata is populated with any information returned by the attach operation, upon successful attach, that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.",
- "type": "object"
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- "detachError": {
- "$ref": "#/definitions/v1.VolumeError",
- "description": "detachError represents the last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher."
+ "tolerations": {
+ "description": "If specified, the request's tolerations.\n\nTolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute.\n\nIn addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated.\n\nThe maximum number of tolerations is 16.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
+ "items": {
+ "$ref": "#/definitions/v1beta2.DeviceToleration"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"required": [
- "attached"
+ "deviceClassName"
],
"type": "object"
},
- "v1.VolumeError": {
- "description": "VolumeError captures an error encountered during a volume operation.",
+ "v1beta2.NetworkDeviceData": {
+ "description": "NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context.",
"properties": {
- "message": {
- "description": "message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.",
+ "hardwareAddress": {
+ "description": "HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.\n\nMust not be longer than 128 characters.",
"type": "string"
},
- "time": {
- "description": "time represents the time the error was encountered.",
- "format": "date-time",
+ "interfaceName": {
+ "description": "InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod.\n\nMust not be longer than 256 characters.",
"type": "string"
+ },
+ "ips": {
+ "description": "IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: \"192.0.2.5/24\" for IPv4 and \"2001:db8::5/64\" for IPv6.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"type": "object"
},
- "v1.VolumeNodeResources": {
- "description": "VolumeNodeResources is a set of resource limits for scheduling of volumes.",
+ "v1beta2.OpaqueDeviceConfiguration": {
+ "description": "OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.",
"properties": {
- "count": {
- "description": "count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.",
- "format": "int32",
- "type": "integer"
+ "driver": {
+ "description": "Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.\n\nAn admission policy provided by the driver developer could use this to decide whether it needs to validate them.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.",
+ "type": "string"
+ },
+ "parameters": {
+ "description": "Parameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version (\"kind\" + \"apiVersion\" for Kubernetes types), with conversion between different versions.\n\nThe length of the raw data must be smaller or equal to 10 Ki.",
+ "type": "object"
}
},
+ "required": [
+ "driver",
+ "parameters"
+ ],
"type": "object"
},
- "v1alpha1.VolumeAttributesClass": {
- "description": "VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.",
+ "v1beta2.ResourceClaim": {
+ "description": "ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
- "driverName": {
- "description": "Name of the CSI driver This field is immutable.",
- "type": "string"
- },
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"$ref": "#/definitions/v1.ObjectMeta",
- "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "description": "Standard object metadata"
},
- "parameters": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.\n\nThis field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field.",
- "type": "object"
+ "spec": {
+ "$ref": "#/definitions/v1beta2.ResourceClaimSpec",
+ "description": "Spec describes what is being requested and how to configure it. The spec is immutable."
+ },
+ "status": {
+ "$ref": "#/definitions/v1beta2.ResourceClaimStatus",
+ "description": "Status describes whether the claim is ready to use and what has been allocated."
}
},
"required": [
- "driverName"
+ "spec"
],
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "storage.k8s.io",
- "kind": "VolumeAttributesClass",
- "version": "v1alpha1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
+ "version": "v1beta2"
}
]
},
- "v1alpha1.VolumeAttributesClassList": {
- "description": "VolumeAttributesClassList is a collection of VolumeAttributesClass objects.",
+ "v1beta2.ResourceClaimConsumerReference": {
+ "description": "ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.",
+ "properties": {
+ "apiGroup": {
+ "description": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Name is the name of resource being referenced.",
+ "type": "string"
+ },
+ "resource": {
+ "description": "Resource is the type of resource being referenced, for example \"pods\".",
+ "type": "string"
+ },
+ "uid": {
+ "description": "UID identifies exactly one incarnation of the resource.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "resource",
+ "name",
+ "uid"
+ ],
+ "type": "object"
+ },
+ "v1beta2.ResourceClaimList": {
+ "description": "ResourceClaimList is a collection of claims.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"items": {
- "description": "items is the list of VolumeAttributesClass objects.",
+ "description": "Items is the list of resource claims.",
"items": {
- "$ref": "#/definitions/v1alpha1.VolumeAttributesClass"
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
},
"type": "array"
},
@@ -16961,7 +17954,7 @@
},
"metadata": {
"$ref": "#/definitions/v1.ListMeta",
- "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "description": "Standard list metadata"
}
},
"required": [
@@ -16970,62 +17963,101 @@
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "storage.k8s.io",
- "kind": "VolumeAttributesClassList",
- "version": "v1alpha1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaimList",
+ "version": "v1beta2"
}
]
},
- "v1beta1.VolumeAttributesClass": {
- "description": "VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.",
+ "v1beta2.ResourceClaimSpec": {
+ "description": "ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.",
+ "properties": {
+ "devices": {
+ "$ref": "#/definitions/v1beta2.DeviceClaim",
+ "description": "Devices defines how to request devices."
+ }
+ },
+ "type": "object"
+ },
+ "v1beta2.ResourceClaimStatus": {
+ "description": "ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was.",
+ "properties": {
+ "allocation": {
+ "$ref": "#/definitions/v1beta2.AllocationResult",
+ "description": "Allocation is set once the claim has been allocated successfully."
+ },
+ "devices": {
+ "description": "Devices contains the status of each device allocated for this claim, as reported by the driver. This can include driver-specific information. Entries are owned by their respective drivers.",
+ "items": {
+ "$ref": "#/definitions/v1beta2.AllocatedDeviceStatus"
+ },
+ "type": "array",
+ "x-kubernetes-list-map-keys": [
+ "driver",
+ "device",
+ "pool"
+ ],
+ "x-kubernetes-list-type": "map"
+ },
+ "reservedFor": {
+ "description": "ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated.\n\nIn a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled.\n\nBoth schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again.\n\nThere can be at most 256 such reservations. This may get increased in the future, but not reduced.",
+ "items": {
+ "$ref": "#/definitions/v1beta2.ResourceClaimConsumerReference"
+ },
+ "type": "array",
+ "x-kubernetes-list-map-keys": [
+ "uid"
+ ],
+ "x-kubernetes-list-type": "map",
+ "x-kubernetes-patch-merge-key": "uid",
+ "x-kubernetes-patch-strategy": "merge"
+ }
+ },
+ "type": "object"
+ },
+ "v1beta2.ResourceClaimTemplate": {
+ "description": "ResourceClaimTemplate is used to produce ResourceClaim objects.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
- "driverName": {
- "description": "Name of the CSI driver This field is immutable.",
- "type": "string"
- },
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"$ref": "#/definitions/v1.ObjectMeta",
- "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "description": "Standard object metadata"
},
- "parameters": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.\n\nThis field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field.",
- "type": "object"
+ "spec": {
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplateSpec",
+ "description": "Describes the ResourceClaim that is to be generated.\n\nThis field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore."
}
},
"required": [
- "driverName"
+ "spec"
],
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "storage.k8s.io",
- "kind": "VolumeAttributesClass",
- "version": "v1beta1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaimTemplate",
+ "version": "v1beta2"
}
]
},
- "v1beta1.VolumeAttributesClassList": {
- "description": "VolumeAttributesClassList is a collection of VolumeAttributesClass objects.",
+ "v1beta2.ResourceClaimTemplateList": {
+ "description": "ResourceClaimTemplateList is a collection of claim templates.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"items": {
- "description": "items is the list of VolumeAttributesClass objects.",
+ "description": "Items is the list of resource claim templates.",
"items": {
- "$ref": "#/definitions/v1beta1.VolumeAttributesClass"
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplate"
},
"type": "array"
},
@@ -17035,7 +18067,7 @@
},
"metadata": {
"$ref": "#/definitions/v1.ListMeta",
- "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "description": "Standard list metadata"
}
},
"required": [
@@ -17044,63 +18076,56 @@
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "storage.k8s.io",
- "kind": "VolumeAttributesClassList",
- "version": "v1beta1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaimTemplateList",
+ "version": "v1beta2"
}
]
},
- "v1alpha1.GroupVersionResource": {
- "description": "The names of the group, the version, and the resource.",
+ "v1beta2.ResourceClaimTemplateSpec": {
+ "description": "ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.",
"properties": {
- "group": {
- "description": "The name of the group.",
- "type": "string"
- },
- "resource": {
- "description": "The name of the resource.",
- "type": "string"
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation."
},
- "version": {
- "description": "The name of the version.",
- "type": "string"
+ "spec": {
+ "$ref": "#/definitions/v1beta2.ResourceClaimSpec",
+ "description": "Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here."
}
},
+ "required": [
+ "spec"
+ ],
"type": "object"
},
- "v1alpha1.MigrationCondition": {
- "description": "Describes the state of a migration at a certain point.",
+ "v1beta2.ResourcePool": {
+ "description": "ResourcePool describes the pool that ResourceSlices belong to.",
"properties": {
- "lastUpdateTime": {
- "description": "The last time this condition was updated.",
- "format": "date-time",
- "type": "string"
- },
- "message": {
- "description": "A human readable message indicating details about the transition.",
- "type": "string"
- },
- "reason": {
- "description": "The reason for the condition's last transition.",
- "type": "string"
+ "generation": {
+ "description": "Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.\n\nCombined with ResourceSliceCount, this mechanism enables consumers to detect pools which are comprised of multiple ResourceSlices and are in an incomplete state.",
+ "format": "int64",
+ "type": "integer"
},
- "status": {
- "description": "Status of the condition, one of True, False, Unknown.",
+ "name": {
+ "description": "Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required.\n\nIt must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable.",
"type": "string"
},
- "type": {
- "description": "Type of the condition.",
- "type": "string"
+ "resourceSliceCount": {
+ "description": "ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero.\n\nConsumers can use this to check whether they have seen all ResourceSlices belonging to the same pool.",
+ "format": "int64",
+ "type": "integer"
}
},
"required": [
- "type",
- "status"
+ "name",
+ "generation",
+ "resourceSliceCount"
],
"type": "object"
},
- "v1alpha1.StorageVersionMigration": {
- "description": "StorageVersionMigration represents a migration of stored data to the latest storage version.",
+ "v1beta2.ResourceSlice": {
+ "description": "ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver.\n\nAt the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple , , .\n\nWhenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others.\n\nWhen allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool.\n\nFor resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -17112,45 +18137,38 @@
},
"metadata": {
"$ref": "#/definitions/v1.ObjectMeta",
- "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "description": "Standard object metadata"
},
"spec": {
- "$ref": "#/definitions/v1alpha1.StorageVersionMigrationSpec",
- "description": "Specification of the migration."
- },
- "status": {
- "$ref": "#/definitions/v1alpha1.StorageVersionMigrationStatus",
- "description": "Status of the migration."
+ "$ref": "#/definitions/v1beta2.ResourceSliceSpec",
+ "description": "Contains the information published by the driver.\n\nChanging the spec automatically increments the metadata.generation number."
}
},
+ "required": [
+ "spec"
+ ],
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "storagemigration.k8s.io",
- "kind": "StorageVersionMigration",
- "version": "v1alpha1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceSlice",
+ "version": "v1beta2"
}
]
},
- "v1alpha1.StorageVersionMigrationList": {
- "description": "StorageVersionMigrationList is a collection of storage version migrations.",
+ "v1beta2.ResourceSliceList": {
+ "description": "ResourceSliceList is a collection of ResourceSlices.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"items": {
- "description": "Items is the list of StorageVersionMigration",
+ "description": "Items is the list of resource ResourceSlices.",
"items": {
- "$ref": "#/definitions/v1alpha1.StorageVersionMigration"
+ "$ref": "#/definitions/v1beta2.ResourceSlice"
},
- "type": "array",
- "x-kubernetes-list-map-keys": [
- "type"
- ],
- "x-kubernetes-list-type": "map",
- "x-kubernetes-patch-merge-key": "type",
- "x-kubernetes-patch-strategy": "merge"
+ "type": "array"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
@@ -17158,7 +18176,7 @@
},
"metadata": {
"$ref": "#/definitions/v1.ListMeta",
- "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "description": "Standard list metadata"
}
},
"required": [
@@ -17167,183 +18185,185 @@
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "storagemigration.k8s.io",
- "kind": "StorageVersionMigrationList",
- "version": "v1alpha1"
- }
+ "group": "resource.k8s.io",
+ "kind": "ResourceSliceList",
+ "version": "v1beta2"
+ }
]
},
- "v1alpha1.StorageVersionMigrationSpec": {
- "description": "Spec of the storage version migration.",
+ "v1beta2.ResourceSliceSpec": {
+ "description": "ResourceSliceSpec contains the information published by the driver in one ResourceSlice.",
"properties": {
- "continueToken": {
- "description": "The token used in the list options to get the next chunk of objects to migrate. When the .status.conditions indicates the migration is \"Running\", users can use this token to check the progress of the migration.",
- "type": "string"
+ "allNodes": {
+ "description": "AllNodes indicates that all nodes have access to the resources in the pool.\n\nExactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.",
+ "type": "boolean"
},
- "resource": {
- "$ref": "#/definitions/v1alpha1.GroupVersionResource",
- "description": "The resource that is being migrated. The migrator sends requests to the endpoint serving the resource. Immutable."
- }
- },
- "required": [
- "resource"
- ],
- "type": "object"
- },
- "v1alpha1.StorageVersionMigrationStatus": {
- "description": "Status of the storage version migration.",
- "properties": {
- "conditions": {
- "description": "The latest available observations of the migration's current state.",
+ "devices": {
+ "description": "Devices lists some or all of the devices in this pool.\n\nMust not have more than 128 entries.",
"items": {
- "$ref": "#/definitions/v1alpha1.MigrationCondition"
+ "$ref": "#/definitions/v1beta2.Device"
},
"type": "array",
- "x-kubernetes-list-map-keys": [
- "type"
- ],
- "x-kubernetes-list-type": "map",
- "x-kubernetes-patch-merge-key": "type",
- "x-kubernetes-patch-strategy": "merge"
+ "x-kubernetes-list-type": "atomic"
},
- "resourceVersion": {
- "description": "ResourceVersion to compare with the GC cache for performing the migration. This is the current resource version of given group, version and resource when kube-controller-manager first observes this StorageVersionMigration resource.",
+ "driver": {
+ "description": "Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable.",
+ "type": "string"
+ },
+ "nodeName": {
+ "description": "NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.\n\nThis field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available.\n\nExactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set. This field is immutable.",
"type": "string"
+ },
+ "nodeSelector": {
+ "$ref": "#/definitions/v1.NodeSelector",
+ "description": "NodeSelector defines which nodes have access to the resources in the pool, when that pool is not limited to a single node.\n\nMust use exactly one term.\n\nExactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set."
+ },
+ "perDeviceNodeSelection": {
+ "description": "PerDeviceNodeSelection defines whether the access from nodes to resources in the pool is set on the ResourceSlice level or on each device. If it is set to true, every device defined the ResourceSlice must specify this individually.\n\nExactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.",
+ "type": "boolean"
+ },
+ "pool": {
+ "$ref": "#/definitions/v1beta2.ResourcePool",
+ "description": "Pool describes the pool that this ResourceSlice belongs to."
+ },
+ "sharedCounters": {
+ "description": "SharedCounters defines a list of counter sets, each of which has a name and a list of counters available.\n\nThe names of the SharedCounters must be unique in the ResourceSlice.\n\nThe maximum number of counters in all sets is 32.",
+ "items": {
+ "$ref": "#/definitions/v1beta2.CounterSet"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
+ "required": [
+ "driver",
+ "pool"
+ ],
"type": "object"
},
- "v1.CustomResourceColumnDefinition": {
- "description": "CustomResourceColumnDefinition specifies a column for server side printing.",
+ "v1.PriorityClass": {
+ "description": "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.",
"properties": {
- "description": {
- "description": "description is a human readable description of this column.",
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
- "format": {
- "description": "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.",
+ "description": {
+ "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used.",
"type": "string"
},
- "jsonPath": {
- "description": "jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.",
+ "globalDefault": {
+ "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.",
+ "type": "boolean"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
- "name": {
- "description": "name is a human readable name for the column.",
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ },
+ "preemptionPolicy": {
+ "description": "preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.",
"type": "string"
},
- "priority": {
- "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.",
+ "value": {
+ "description": "value represents the integer value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.",
"format": "int32",
"type": "integer"
- },
- "type": {
- "description": "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.",
- "type": "string"
}
},
"required": [
- "name",
- "type",
- "jsonPath"
+ "value"
],
- "type": "object"
- },
- "v1.CustomResourceConversion": {
- "description": "CustomResourceConversion describes how to convert different versions of a CR.",
- "properties": {
- "strategy": {
- "description": "strategy specifies how custom resources are converted between versions. Allowed values are: - `\"None\"`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `\"Webhook\"`: API Server will call to an external webhook to do the conversion. Additional information\n is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set.",
- "type": "string"
- },
- "webhook": {
- "$ref": "#/definitions/v1.WebhookConversion",
- "description": "webhook describes how to call the conversion webhook. Required when `strategy` is set to `\"Webhook\"`."
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "scheduling.k8s.io",
+ "kind": "PriorityClass",
+ "version": "v1"
}
- },
- "required": [
- "strategy"
- ],
- "type": "object"
+ ]
},
- "v1.CustomResourceDefinition": {
- "description": "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.",
+ "v1.PriorityClassList": {
+ "description": "PriorityClassList is a collection of priority classes.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
+ "items": {
+ "description": "items is the list of PriorityClasses",
+ "items": {
+ "$ref": "#/definitions/v1.PriorityClass"
+ },
+ "type": "array"
+ },
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
- "$ref": "#/definitions/v1.ObjectMeta",
- "description": "Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
- },
- "spec": {
- "$ref": "#/definitions/v1.CustomResourceDefinitionSpec",
- "description": "spec describes how the user wants the resources to appear"
- },
- "status": {
- "$ref": "#/definitions/v1.CustomResourceDefinitionStatus",
- "description": "status indicates the actual state of the CustomResourceDefinition"
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
}
},
"required": [
- "spec"
+ "items"
],
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "apiextensions.k8s.io",
- "kind": "CustomResourceDefinition",
+ "group": "scheduling.k8s.io",
+ "kind": "PriorityClassList",
"version": "v1"
}
]
},
- "v1.CustomResourceDefinitionCondition": {
- "description": "CustomResourceDefinitionCondition contains details for the current condition of this pod.",
+ "v1.CSIDriver": {
+ "description": "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.",
"properties": {
- "lastTransitionTime": {
- "description": "lastTransitionTime last time the condition transitioned from one status to another.",
- "format": "date-time",
- "type": "string"
- },
- "message": {
- "description": "message is a human-readable message indicating details about last transition.",
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
- "reason": {
- "description": "reason is a unique, one-word, CamelCase reason for the condition's last transition.",
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
- "status": {
- "description": "status is the status of the condition. Can be True, False, Unknown.",
- "type": "string"
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
- "type": {
- "description": "type is the type of the condition. Types include Established, NamesAccepted and Terminating.",
- "type": "string"
+ "spec": {
+ "$ref": "#/definitions/v1.CSIDriverSpec",
+ "description": "spec represents the specification of the CSI Driver."
}
},
"required": [
- "type",
- "status"
+ "spec"
],
- "type": "object"
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "storage.k8s.io",
+ "kind": "CSIDriver",
+ "version": "v1"
+ }
+ ]
},
- "v1.CustomResourceDefinitionList": {
- "description": "CustomResourceDefinitionList is a list of CustomResourceDefinition objects.",
+ "v1.CSIDriverList": {
+ "description": "CSIDriverList is a collection of CSIDriver objects.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"items": {
- "description": "items list individual CustomResourceDefinition objects",
+ "description": "items is the list of CSIDriver",
"items": {
- "$ref": "#/definitions/v1.CustomResourceDefinition"
+ "$ref": "#/definitions/v1.CSIDriver"
},
"type": "array"
},
@@ -17353,7 +18373,7 @@
},
"metadata": {
"$ref": "#/definitions/v1.ListMeta",
- "description": "Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
}
},
"required": [
@@ -17362,567 +18382,383 @@
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "apiextensions.k8s.io",
- "kind": "CustomResourceDefinitionList",
+ "group": "storage.k8s.io",
+ "kind": "CSIDriverList",
"version": "v1"
}
]
},
- "v1.CustomResourceDefinitionNames": {
- "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition",
+ "v1.CSIDriverSpec": {
+ "description": "CSIDriverSpec is the specification of a CSIDriver.",
"properties": {
- "categories": {
- "description": "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`.",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
+ "attachRequired": {
+ "description": "attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.\n\nThis field is immutable.",
+ "type": "boolean"
},
- "kind": {
- "description": "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls.",
+ "fsGroupPolicy": {
+ "description": "fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.\n\nThis field was immutable in Kubernetes < 1.29 and now is mutable.\n\nDefaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.",
"type": "string"
},
- "listKind": {
- "description": "listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\".",
- "type": "string"
+ "nodeAllocatableUpdatePeriodSeconds": {
+ "description": "nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.\n\nThis is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.\n\nThis field is mutable.",
+ "format": "int64",
+ "type": "integer"
},
- "plural": {
- "description": "plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase.",
- "type": "string"
+ "podInfoOnMount": {
+ "description": "podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.\n\nThe CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext.\n\nThe following VolumeContext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" if the volume is an ephemeral inline volume\n defined by a CSIVolumeSource, otherwise \"false\"\n\n\"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.\n\nThis field was immutable in Kubernetes < 1.29 and now is mutable.",
+ "type": "boolean"
},
- "shortNames": {
- "description": "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase.",
+ "requiresRepublish": {
+ "description": "requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.\n\nNote: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container.",
+ "type": "boolean"
+ },
+ "seLinuxMount": {
+ "description": "seLinuxMount specifies if the CSI driver supports \"-o context\" mount option.\n\nWhen \"true\", the CSI driver must ensure that all volumes provided by this CSI driver can be mounted separately with different `-o context` options. This is typical for storage backends that provide volumes as filesystems on block devices or as independent shared volumes. Kubernetes will call NodeStage / NodePublish with \"-o context=xyz\" mount option when mounting a ReadWriteOncePod volume used in Pod that has explicitly set SELinux context. In the future, it may be expanded to other volume AccessModes. In any case, Kubernetes will ensure that the volume is mounted only with a single SELinux context.\n\nWhen \"false\", Kubernetes won't pass any special SELinux mount options to the driver. This is typical for volumes that represent subdirectories of a bigger shared filesystem.\n\nDefault is \"false\".",
+ "type": "boolean"
+ },
+ "storageCapacity": {
+ "description": "storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information, if set to true.\n\nThe check can be enabled immediately when deploying a driver. In that case, provisioning new volumes with late binding will pause until the driver deployment has published some suitable CSIStorageCapacity object.\n\nAlternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published.\n\nThis field was immutable in Kubernetes <= 1.22 and now is mutable.",
+ "type": "boolean"
+ },
+ "tokenRequests": {
+ "description": "tokenRequests indicates the CSI driver needs pods' service account tokens it is mounting volume for to do necessary authentication. Kubelet will pass the tokens in VolumeContext in the CSI NodePublishVolume calls. The CSI driver should parse and validate the following VolumeContext: \"csi.storage.k8s.io/serviceAccount.tokens\": {\n \"\": {\n \"token\": ,\n \"expirationTimestamp\": ,\n },\n ...\n}\n\nNote: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically.",
"items": {
- "type": "string"
+ "$ref": "#/definitions/storage.v1.TokenRequest"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
},
- "singular": {
- "description": "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.",
- "type": "string"
+ "volumeLifecycleModes": {
+ "description": "volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is \"Persistent\", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism.\n\nThe other mode is \"Ephemeral\". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume.\n\nFor more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future.\n\nThis field is beta. This field is immutable.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "set"
}
},
- "required": [
- "plural",
- "kind"
- ],
"type": "object"
},
- "v1.CustomResourceDefinitionSpec": {
- "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear",
+ "v1.CSINode": {
+ "description": "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.",
"properties": {
- "conversion": {
- "$ref": "#/definitions/v1.CustomResourceConversion",
- "description": "conversion defines conversion settings for the CRD."
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
},
- "group": {
- "description": "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`).",
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
- "names": {
- "$ref": "#/definitions/v1.CustomResourceDefinitionNames",
- "description": "names specify the resource and kind names for the custom resource."
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object's metadata. metadata.name must be the Kubernetes node name."
},
- "preserveUnknownFields": {
- "description": "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#field-pruning for details.",
- "type": "boolean"
+ "spec": {
+ "$ref": "#/definitions/v1.CSINodeSpec",
+ "description": "spec is the specification of CSINode"
+ }
+ },
+ "required": [
+ "spec"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "storage.k8s.io",
+ "kind": "CSINode",
+ "version": "v1"
+ }
+ ]
+ },
+ "v1.CSINodeDriver": {
+ "description": "CSINodeDriver holds information about the specification of one CSI driver installed on a node",
+ "properties": {
+ "allocatable": {
+ "$ref": "#/definitions/v1.VolumeNodeResources",
+ "description": "allocatable represents the volume resources of a node that are available for scheduling. This field is beta."
},
- "scope": {
- "description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`.",
+ "name": {
+ "description": "name represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.",
"type": "string"
},
- "versions": {
- "description": "versions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.",
+ "nodeID": {
+ "description": "nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required.",
+ "type": "string"
+ },
+ "topologyKeys": {
+ "description": "topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. \"company.com/zone\", \"company.com/region\"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.",
"items": {
- "$ref": "#/definitions/v1.CustomResourceDefinitionVersion"
+ "type": "string"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
}
},
"required": [
- "group",
- "names",
- "scope",
- "versions"
+ "name",
+ "nodeID"
],
"type": "object"
},
- "v1.CustomResourceDefinitionStatus": {
- "description": "CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition",
+ "v1.CSINodeList": {
+ "description": "CSINodeList is a collection of CSINode objects.",
"properties": {
- "acceptedNames": {
- "$ref": "#/definitions/v1.CustomResourceDefinitionNames",
- "description": "acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec."
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
},
- "conditions": {
- "description": "conditions indicate state for particular aspects of a CustomResourceDefinition",
+ "items": {
+ "description": "items is the list of CSINode",
"items": {
- "$ref": "#/definitions/v1.CustomResourceDefinitionCondition"
+ "$ref": "#/definitions/v1.CSINode"
},
- "type": "array",
- "x-kubernetes-list-map-keys": [
- "type"
- ],
- "x-kubernetes-list-type": "map"
+ "type": "array"
},
- "storedVersions": {
- "description": "storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list.",
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "storage.k8s.io",
+ "kind": "CSINodeList",
+ "version": "v1"
+ }
+ ]
+ },
+ "v1.CSINodeSpec": {
+ "description": "CSINodeSpec holds information about the specification of all CSI drivers installed on a node",
+ "properties": {
+ "drivers": {
+ "description": "drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty.",
"items": {
- "type": "string"
+ "$ref": "#/definitions/v1.CSINodeDriver"
},
"type": "array",
- "x-kubernetes-list-type": "atomic"
+ "x-kubernetes-list-map-keys": [
+ "name"
+ ],
+ "x-kubernetes-list-type": "map",
+ "x-kubernetes-patch-merge-key": "name",
+ "x-kubernetes-patch-strategy": "merge"
}
},
+ "required": [
+ "drivers"
+ ],
"type": "object"
},
- "v1.CustomResourceDefinitionVersion": {
- "description": "CustomResourceDefinitionVersion describes a version for CRD.",
+ "v1.CSIStorageCapacity": {
+ "description": "CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes.\n\nFor example this can express things like: - StorageClass \"standard\" has \"1234 GiB\" available in \"topology.kubernetes.io/zone=us-east1\" - StorageClass \"localssd\" has \"10 GiB\" available in \"kubernetes.io/hostname=knode-abc123\"\n\nThe following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero\n\nThe producer of these objects can decide which approach is more suitable.\n\nThey are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node.",
"properties": {
- "additionalPrinterColumns": {
- "description": "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used.",
- "items": {
- "$ref": "#/definitions/v1.CustomResourceColumnDefinition"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
- "deprecated": {
- "description": "deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false.",
- "type": "boolean"
- },
- "deprecationWarning": {
- "description": "deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists.",
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
- "name": {
- "description": "name is the version name, e.g. \u201cv1\u201d, \u201cv2beta1\u201d, etc. The custom resources are served under this version at `/apis///...` if `served` is true.",
- "type": "string"
+ "capacity": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThe semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable."
},
- "schema": {
- "$ref": "#/definitions/v1.CustomResourceValidation",
- "description": "schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource."
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
},
- "selectableFields": {
- "description": "selectableFields specifies paths to fields that may be used as field selectors. A maximum of 8 selectable fields are allowed. See https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors",
- "items": {
- "$ref": "#/definitions/v1.SelectableField"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
+ "maximumVolumeSize": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThis is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim."
},
- "served": {
- "description": "served is a flag enabling/disabling this version from being served via REST APIs",
- "type": "boolean"
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object's metadata. The name has no particular meaning. It must be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name.\n\nObjects are namespaced.\n\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
- "storage": {
- "description": "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.",
- "type": "boolean"
+ "nodeTopology": {
+ "$ref": "#/definitions/v1.LabelSelector",
+ "description": "nodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable."
},
- "subresources": {
- "$ref": "#/definitions/v1.CustomResourceSubresources",
- "description": "subresources specify what subresources this version of the defined custom resource have."
+ "storageClassName": {
+ "description": "storageClassName represents the name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.",
+ "type": "string"
}
},
"required": [
- "name",
- "served",
- "storage"
+ "storageClassName"
],
- "type": "object"
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "storage.k8s.io",
+ "kind": "CSIStorageCapacity",
+ "version": "v1"
+ }
+ ]
},
- "v1.CustomResourceSubresourceScale": {
- "description": "CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.",
+ "v1.CSIStorageCapacityList": {
+ "description": "CSIStorageCapacityList is a collection of CSIStorageCapacity objects.",
"properties": {
- "labelSelectorPath": {
- "description": "labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string.",
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
- "specReplicasPath": {
- "description": "specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET.",
- "type": "string"
+ "items": {
+ "description": "items is the list of CSIStorageCapacity objects.",
+ "items": {
+ "$ref": "#/definitions/v1.CSIStorageCapacity"
+ },
+ "type": "array"
},
- "statusReplicasPath": {
- "description": "statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0.",
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
}
},
"required": [
- "specReplicasPath",
- "statusReplicasPath"
+ "items"
],
- "type": "object"
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "storage.k8s.io",
+ "kind": "CSIStorageCapacityList",
+ "version": "v1"
+ }
+ ]
},
- "v1.CustomResourceSubresources": {
- "description": "CustomResourceSubresources defines the status and scale subresources for CustomResources.",
+ "v1.StorageClass": {
+ "description": "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.",
"properties": {
- "scale": {
- "$ref": "#/definitions/v1.CustomResourceSubresourceScale",
- "description": "scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object."
- },
- "status": {
- "description": "status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object.",
- "type": "object"
- }
- },
- "type": "object"
- },
- "v1.CustomResourceValidation": {
- "description": "CustomResourceValidation is a list of validation methods for CustomResources.",
- "properties": {
- "openAPIV3Schema": {
- "$ref": "#/definitions/v1.JSONSchemaProps",
- "description": "openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning."
- }
- },
- "type": "object"
- },
- "v1.ExternalDocumentation": {
- "description": "ExternalDocumentation allows referencing an external resource for extended documentation.",
- "properties": {
- "description": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "v1.JSONSchemaProps": {
- "description": "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).",
- "properties": {
- "$ref": {
- "type": "string"
- },
- "$schema": {
- "type": "string"
- },
- "additionalItems": {
- "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property.",
- "type": "object"
- },
- "additionalProperties": {
- "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property.",
- "type": "object"
- },
- "allOf": {
- "items": {
- "$ref": "#/definitions/v1.JSONSchemaProps"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
- "anyOf": {
- "items": {
- "$ref": "#/definitions/v1.JSONSchemaProps"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
- "default": {
- "description": "default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. Defaulting requires spec.preserveUnknownFields to be false.",
- "type": "object"
- },
- "definitions": {
- "additionalProperties": {
- "$ref": "#/definitions/v1.JSONSchemaProps"
- },
- "type": "object"
- },
- "dependencies": {
- "additionalProperties": {
- "description": "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array.",
- "type": "object"
- },
- "type": "object"
- },
- "description": {
- "type": "string"
- },
- "enum": {
- "items": {
- "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.",
- "type": "object"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
- "example": {
- "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.",
- "type": "object"
- },
- "exclusiveMaximum": {
- "type": "boolean"
- },
- "exclusiveMinimum": {
- "type": "boolean"
- },
- "externalDocs": {
- "$ref": "#/definitions/v1.ExternalDocumentation"
- },
- "format": {
- "description": "format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\\\d{3})\\\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\\\d{3}[- ]?\\\\d{2}[- ]?\\\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339.",
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "items": {
- "description": "JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes.",
- "type": "object"
- },
- "maxItems": {
- "format": "int64",
- "type": "integer"
- },
- "maxLength": {
- "format": "int64",
- "type": "integer"
- },
- "maxProperties": {
- "format": "int64",
- "type": "integer"
- },
- "maximum": {
- "format": "double",
- "type": "number"
- },
- "minItems": {
- "format": "int64",
- "type": "integer"
- },
- "minLength": {
- "format": "int64",
- "type": "integer"
- },
- "minProperties": {
- "format": "int64",
- "type": "integer"
- },
- "minimum": {
- "format": "double",
- "type": "number"
- },
- "multipleOf": {
- "format": "double",
- "type": "number"
- },
- "not": {
- "$ref": "#/definitions/v1.JSONSchemaProps"
- },
- "nullable": {
+ "allowVolumeExpansion": {
+ "description": "allowVolumeExpansion shows whether the storage class allow volume expand.",
"type": "boolean"
},
- "oneOf": {
+ "allowedTopologies": {
+ "description": "allowedTopologies restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.",
"items": {
- "$ref": "#/definitions/v1.JSONSchemaProps"
+ "$ref": "#/definitions/v1.TopologySelectorTerm"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
},
- "pattern": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
- "patternProperties": {
- "additionalProperties": {
- "$ref": "#/definitions/v1.JSONSchemaProps"
- },
- "type": "object"
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
},
- "properties": {
- "additionalProperties": {
- "$ref": "#/definitions/v1.JSONSchemaProps"
- },
- "type": "object"
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
- "required": {
+ "mountOptions": {
+ "description": "mountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid.",
"items": {
"type": "string"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
},
- "title": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "uniqueItems": {
- "type": "boolean"
- },
- "x-kubernetes-embedded-resource": {
- "description": "x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata).",
- "type": "boolean"
- },
- "x-kubernetes-int-or-string": {
- "description": "x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:\n\n1) anyOf:\n - type: integer\n - type: string\n2) allOf:\n - anyOf:\n - type: integer\n - type: string\n - ... zero or more",
- "type": "boolean"
- },
- "x-kubernetes-list-map-keys": {
- "description": "x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.\n\nThis tag MUST only be used on lists that have the \"x-kubernetes-list-type\" extension set to \"map\". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).\n\nThe properties specified must either be required or have a default value, to ensure those properties are present for all list items.",
- "items": {
+ "parameters": {
+ "additionalProperties": {
"type": "string"
},
- "type": "array",
- "x-kubernetes-list-type": "atomic"
+ "description": "parameters holds the parameters for the provisioner that should create volumes of this storage class.",
+ "type": "object"
},
- "x-kubernetes-list-type": {
- "description": "x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:\n\n1) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic lists will be entirely replaced when updated. This extension\n may be used on any type of list (struct, scalar, ...).\n2) `set`:\n Sets are lists that must not have multiple items with the same value. Each\n value must be a scalar, an object with x-kubernetes-map-type `atomic` or an\n array with x-kubernetes-list-type `atomic`.\n3) `map`:\n These lists are like maps in that their elements have a non-index key\n used to identify them. Order is preserved upon merge. The map tag\n must only be used on a list with elements of type object.\nDefaults to atomic for arrays.",
+ "provisioner": {
+ "description": "provisioner indicates the type of the provisioner.",
"type": "string"
},
- "x-kubernetes-map-type": {
- "description": "x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:\n\n1) `granular`:\n These maps are actual maps (key-value pairs) and each fields are independent\n from each other (they can each be manipulated by separate actors). This is\n the default behaviour for all maps.\n2) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic maps will be entirely replaced when updated.",
+ "reclaimPolicy": {
+ "description": "reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete.",
"type": "string"
},
- "x-kubernetes-preserve-unknown-fields": {
- "description": "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.",
- "type": "boolean"
- },
- "x-kubernetes-validations": {
- "description": "x-kubernetes-validations describes a list of validation rules written in the CEL expression language.",
- "items": {
- "$ref": "#/definitions/v1.ValidationRule"
- },
- "type": "array",
- "x-kubernetes-list-map-keys": [
- "rule"
- ],
- "x-kubernetes-list-type": "map",
- "x-kubernetes-patch-merge-key": "rule",
- "x-kubernetes-patch-strategy": "merge"
- }
- },
- "type": "object"
- },
- "v1.SelectableField": {
- "description": "SelectableField specifies the JSON path of a field that may be used with field selectors.",
- "properties": {
- "jsonPath": {
- "description": "jsonPath is a simple JSON path which is evaluated against each custom resource to produce a field selector value. Only JSON paths without the array notation are allowed. Must point to a field of type string, boolean or integer. Types with enum values and strings with formats are allowed. If jsonPath refers to absent field in a resource, the jsonPath evaluates to an empty string. Must not point to metdata fields. Required.",
+ "volumeBindingMode": {
+ "description": "volumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.",
"type": "string"
}
},
"required": [
- "jsonPath"
+ "provisioner"
],
- "type": "object"
- },
- "apiextensions.v1.ServiceReference": {
- "description": "ServiceReference holds a reference to Service.legacy.k8s.io",
- "properties": {
- "name": {
- "description": "name is the name of the service. Required",
- "type": "string"
- },
- "namespace": {
- "description": "namespace is the namespace of the service. Required",
- "type": "string"
- },
- "path": {
- "description": "path is an optional URL path at which the webhook will be contacted.",
- "type": "string"
- },
- "port": {
- "description": "port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.",
- "format": "int32",
- "type": "integer"
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "storage.k8s.io",
+ "kind": "StorageClass",
+ "version": "v1"
}
- },
- "required": [
- "namespace",
- "name"
- ],
- "type": "object"
+ ]
},
- "v1.ValidationRule": {
- "description": "ValidationRule describes a validation rule written in the CEL expression language.",
+ "v1.StorageClassList": {
+ "description": "StorageClassList is a collection of storage classes.",
"properties": {
- "fieldPath": {
- "description": "fieldPath represents the field path returned when the validation fails. It must be a relative JSON path (i.e. with array notation) scoped to the location of this x-kubernetes-validations extension in the schema and refer to an existing field. e.g. when validation checks if a specific attribute `foo` under a map `testMap`, the fieldPath could be set to `.testMap.foo` If the validation checks two lists must have unique attributes, the fieldPath could be set to either of the list: e.g. `.testList` It does not support list numeric index. It supports child operation to refer to an existing field currently. Refer to [JSONPath support in Kubernetes](https://kubernetes.io/docs/reference/kubectl/jsonpath/) for more info. Numeric index of array is not supported. For field name which contains special characters, use `['specialName']` to refer the field name. e.g. for attribute `foo.34$` appears in a list `testList`, the fieldPath could be set to `.testList['foo.34$']`",
- "type": "string"
- },
- "message": {
- "description": "Message represents the message displayed when validation fails. The message is required if the Rule contains line breaks. The message must not contain line breaks. If unset, the message is \"failed rule: {Rule}\". e.g. \"must be a URL with the host matching spec.host\"",
- "type": "string"
- },
- "messageExpression": {
- "description": "MessageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a rule, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the rule; the only difference is the return type. Example: \"x must be less than max (\"+string(self.max)+\")\"",
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
- "optionalOldSelf": {
- "description": "optionalOldSelf is used to opt a transition rule into evaluation even when the object is first created, or if the old object is missing the value.\n\nWhen enabled `oldSelf` will be a CEL optional whose value will be `None` if there is no old value, or when the object is initially created.\n\nYou may check for presence of oldSelf using `oldSelf.hasValue()` and unwrap it after checking using `oldSelf.value()`. Check the CEL documentation for Optional types for more information: https://pkg.go.dev/github.com/google/cel-go/cel#OptionalTypes\n\nMay not be set unless `oldSelf` is used in `rule`.",
- "type": "boolean"
+ "items": {
+ "description": "items is the list of StorageClasses",
+ "items": {
+ "$ref": "#/definitions/v1.StorageClass"
+ },
+ "type": "array"
},
- "reason": {
- "description": "reason provides a machine-readable validation failure reason that is returned to the caller when a request fails this validation rule. The HTTP status code returned to the caller will match the reason of the reason of the first failed validation rule. The currently supported reasons are: \"FieldValueInvalid\", \"FieldValueForbidden\", \"FieldValueRequired\", \"FieldValueDuplicate\". If not set, default to use \"FieldValueInvalid\". All future added reasons must be accepted by clients when reading this value and unknown reasons should be treated as FieldValueInvalid.",
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
- "rule": {
- "description": "Rule represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec The Rule is scoped to the location of the x-kubernetes-validations extension in the schema. The `self` variable in the CEL expression is bound to the scoped value. Example: - Rule scoped to the root of a resource with a status subresource: {\"rule\": \"self.status.actual <= self.spec.maxDesired\"}\n\nIf the Rule is scoped to an object with properties, the accessible properties of the object are field selectable via `self.field` and field presence can be checked via `has(self.field)`. Null valued fields are treated as absent fields in CEL expressions. If the Rule is scoped to an object with additionalProperties (i.e. a map) the value of the map are accessible via `self[mapKey]`, map containment can be checked via `mapKey in self` and all entries of the map are accessible via CEL macros and functions such as `self.all(...)`. If the Rule is scoped to an array, the elements of the array are accessible via `self[i]` and also by macros and functions. If the Rule is scoped to a scalar, `self` is bound to the scalar value. Examples: - Rule scoped to a map of objects: {\"rule\": \"self.components['Widget'].priority < 10\"} - Rule scoped to a list of integers: {\"rule\": \"self.values.all(value, value >= 0 && value < 100)\"} - Rule scoped to a string value: {\"rule\": \"self.startsWith('kube')\"}\n\nThe `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object and from any x-kubernetes-embedded-resource annotated objects. No other metadata properties are accessible.\n\nUnknown data preserved in custom resources via x-kubernetes-preserve-unknown-fields is not accessible in CEL expressions. This includes: - Unknown field values that are preserved by object schemas with x-kubernetes-preserve-unknown-fields. - Object properties where the property schema is of an \"unknown type\". An \"unknown type\" is recursively defined as:\n - A schema with no type and x-kubernetes-preserve-unknown-fields set to true\n - An array where the items schema is of an \"unknown type\"\n - An object where the additionalProperties schema is of an \"unknown type\"\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:\n\t \"true\", \"false\", \"null\", \"in\", \"as\", \"break\", \"const\", \"continue\", \"else\", \"for\", \"function\", \"if\",\n\t \"import\", \"let\", \"loop\", \"package\", \"namespace\", \"return\".\nExamples:\n - Rule accessing a property named \"namespace\": {\"rule\": \"self.__namespace__ > 0\"}\n - Rule accessing a property named \"x-prop\": {\"rule\": \"self.x__dash__prop > 0\"}\n - Rule accessing a property named \"redact__d\": {\"rule\": \"self.redact__underscores__d > 0\"}\n\nEquality on arrays with x-kubernetes-list-type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type:\n - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and\n non-intersecting elements in `Y` are appended, retaining their partial order.\n - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values\n are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with\n non-intersecting keys are appended, retaining their partial order.\n\nIf `rule` makes use of the `oldSelf` variable it is implicitly a `transition rule`.\n\nBy default, the `oldSelf` variable is the same type as `self`. When `optionalOldSelf` is true, the `oldSelf` variable is a CEL optional\n variable whose value() is the same type as `self`.\nSee the documentation for the `optionalOldSelf` field for details.\n\nTransition rules by default are applied only on UPDATE requests and are skipped if an old value could not be found. You can opt a transition rule into unconditional evaluation by setting `optionalOldSelf` to true.",
- "type": "string"
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
}
},
"required": [
- "rule"
+ "items"
],
- "type": "object"
- },
- "apiextensions.v1.WebhookClientConfig": {
- "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook.",
- "properties": {
- "caBundle": {
- "description": "caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.",
- "format": "byte",
- "type": "string"
- },
- "service": {
- "$ref": "#/definitions/apiextensions.v1.ServiceReference",
- "description": "service is a reference to the service for this webhook. Either service or url must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`."
- },
- "url": {
- "description": "url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.",
- "type": "string"
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "storage.k8s.io",
+ "kind": "StorageClassList",
+ "version": "v1"
}
- },
- "type": "object"
+ ]
},
- "v1.WebhookConversion": {
- "description": "WebhookConversion describes how to call a conversion webhook",
+ "storage.v1.TokenRequest": {
+ "description": "TokenRequest contains parameters of a service account token.",
"properties": {
- "clientConfig": {
- "$ref": "#/definitions/apiextensions.v1.WebhookClientConfig",
- "description": "clientConfig is the instructions for how to call the webhook if strategy is `Webhook`."
+ "audience": {
+ "description": "audience is the intended audience of the token in \"TokenRequestSpec\". It will default to the audiences of kube apiserver.",
+ "type": "string"
},
- "conversionReviewVersions": {
- "description": "conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail.",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
+ "expirationSeconds": {
+ "description": "expirationSeconds is the duration of validity of the token in \"TokenRequestSpec\". It has the same default value of \"ExpirationSeconds\" in \"TokenRequestSpec\".",
+ "format": "int64",
+ "type": "integer"
}
},
"required": [
- "conversionReviewVersions"
+ "audience"
],
"type": "object"
},
- "resource.Quantity": {
- "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.",
- "type": "object",
- "properties": {
- "value": {
- "type": "string"
- }
- }
- },
- "v1.APIGroup": {
- "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.",
+ "v1.VolumeAttachment": {
+ "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -17932,2384 +18768,2857 @@
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
- "name": {
- "description": "name is the name of the group.",
- "type": "string"
- },
- "preferredVersion": {
- "$ref": "#/definitions/v1.GroupVersionForDiscovery",
- "description": "preferredVersion is the version preferred by the API server, which probably is the storage version."
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
- "serverAddressByClientCIDRs": {
- "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.",
- "items": {
- "$ref": "#/definitions/v1.ServerAddressByClientCIDR"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
+ "spec": {
+ "$ref": "#/definitions/v1.VolumeAttachmentSpec",
+ "description": "spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system."
},
- "versions": {
- "description": "versions are the versions supported in this group.",
- "items": {
- "$ref": "#/definitions/v1.GroupVersionForDiscovery"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
+ "status": {
+ "$ref": "#/definitions/v1.VolumeAttachmentStatus",
+ "description": "status represents status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher."
}
},
"required": [
- "name",
- "versions"
+ "spec"
],
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "",
- "kind": "APIGroup",
+ "group": "storage.k8s.io",
+ "kind": "VolumeAttachment",
"version": "v1"
}
]
},
- "v1.APIGroupList": {
- "description": "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.",
+ "v1.VolumeAttachmentList": {
+ "description": "VolumeAttachmentList is a collection of VolumeAttachment objects.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
- "groups": {
- "description": "groups is a list of APIGroup.",
+ "items": {
+ "description": "items is the list of VolumeAttachments",
"items": {
- "$ref": "#/definitions/v1.APIGroup"
+ "$ref": "#/definitions/v1.VolumeAttachment"
},
- "type": "array",
- "x-kubernetes-list-type": "atomic"
+ "type": "array"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
}
},
"required": [
- "groups"
+ "items"
],
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "",
- "kind": "APIGroupList",
+ "group": "storage.k8s.io",
+ "kind": "VolumeAttachmentList",
"version": "v1"
}
]
},
- "v1.APIResource": {
- "description": "APIResource specifies the name of a resource and whether it is namespaced.",
+ "v1.VolumeAttachmentSource": {
+ "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.",
"properties": {
- "categories": {
- "description": "categories is a list of the grouped resources this resource belongs to (e.g. 'all')",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
+ "inlineVolumeSpec": {
+ "$ref": "#/definitions/v1.PersistentVolumeSpec",
+ "description": "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature."
},
- "group": {
- "description": "group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale\".",
+ "persistentVolumeName": {
+ "description": "persistentVolumeName represents the name of the persistent volume to attach.",
"type": "string"
- },
- "kind": {
- "description": "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')",
+ }
+ },
+ "type": "object"
+ },
+ "v1.VolumeAttachmentSpec": {
+ "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.",
+ "properties": {
+ "attacher": {
+ "description": "attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().",
"type": "string"
},
- "name": {
- "description": "name is the plural name of the resource.",
+ "nodeName": {
+ "description": "nodeName represents the node that the volume should be attached to.",
"type": "string"
},
- "namespaced": {
- "description": "namespaced indicates if a resource is namespaced or not.",
+ "source": {
+ "$ref": "#/definitions/v1.VolumeAttachmentSource",
+ "description": "source represents the volume that should be attached."
+ }
+ },
+ "required": [
+ "attacher",
+ "source",
+ "nodeName"
+ ],
+ "type": "object"
+ },
+ "v1.VolumeAttachmentStatus": {
+ "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.",
+ "properties": {
+ "attachError": {
+ "$ref": "#/definitions/v1.VolumeError",
+ "description": "attachError represents the last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."
+ },
+ "attached": {
+ "description": "attached indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.",
"type": "boolean"
},
- "shortNames": {
- "description": "shortNames is a list of suggested short names of the resource.",
- "items": {
+ "attachmentMetadata": {
+ "additionalProperties": {
"type": "string"
},
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
- "singularName": {
- "description": "singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface.",
- "type": "string"
+ "description": "attachmentMetadata is populated with any information returned by the attach operation, upon successful attach, that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.",
+ "type": "object"
},
- "storageVersionHash": {
- "description": "The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates.",
- "type": "string"
+ "detachError": {
+ "$ref": "#/definitions/v1.VolumeError",
+ "description": "detachError represents the last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher."
+ }
+ },
+ "required": [
+ "attached"
+ ],
+ "type": "object"
+ },
+ "v1.VolumeError": {
+ "description": "VolumeError captures an error encountered during a volume operation.",
+ "properties": {
+ "errorCode": {
+ "description": "errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.\n\nThis is an optional, alpha field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.",
+ "format": "int32",
+ "type": "integer"
},
- "verbs": {
- "description": "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)",
- "items": {
- "type": "string"
- },
- "type": "array"
+ "message": {
+ "description": "message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.",
+ "type": "string"
},
- "version": {
- "description": "version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)\".",
+ "time": {
+ "description": "time represents the time the error was encountered.",
+ "format": "date-time",
"type": "string"
}
},
- "required": [
- "name",
- "singularName",
- "namespaced",
- "kind",
- "verbs"
- ],
"type": "object"
},
- "v1.APIResourceList": {
- "description": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.",
+ "v1.VolumeNodeResources": {
+ "description": "VolumeNodeResources is a set of resource limits for scheduling of volumes.",
+ "properties": {
+ "count": {
+ "description": "count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "v1alpha1.VolumeAttributesClass": {
+ "description": "VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
- "groupVersion": {
- "description": "groupVersion is the group and version this APIResourceList is for.",
+ "driverName": {
+ "description": "Name of the CSI driver This field is immutable.",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
- "resources": {
- "description": "resources contains the name of the resources and if they are namespaced.",
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ },
+ "parameters": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.\n\nThis field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field.",
+ "type": "object"
+ }
+ },
+ "required": [
+ "driverName"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "storage.k8s.io",
+ "kind": "VolumeAttributesClass",
+ "version": "v1alpha1"
+ }
+ ]
+ },
+ "v1alpha1.VolumeAttributesClassList": {
+ "description": "VolumeAttributesClassList is a collection of VolumeAttributesClass objects.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "items": {
+ "description": "items is the list of VolumeAttributesClass objects.",
"items": {
- "$ref": "#/definitions/v1.APIResource"
+ "$ref": "#/definitions/v1alpha1.VolumeAttributesClass"
},
- "type": "array",
- "x-kubernetes-list-type": "atomic"
+ "type": "array"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
}
},
"required": [
- "groupVersion",
- "resources"
+ "items"
],
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "",
- "kind": "APIResourceList",
- "version": "v1"
+ "group": "storage.k8s.io",
+ "kind": "VolumeAttributesClassList",
+ "version": "v1alpha1"
}
]
},
- "v1.APIVersions": {
- "description": "APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.",
+ "v1beta1.VolumeAttributesClass": {
+ "description": "VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
+ "driverName": {
+ "description": "Name of the CSI driver This field is immutable.",
+ "type": "string"
+ },
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
- "serverAddressByClientCIDRs": {
- "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.",
- "items": {
- "$ref": "#/definitions/v1.ServerAddressByClientCIDR"
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ },
+ "parameters": {
+ "additionalProperties": {
+ "type": "string"
},
- "type": "array",
- "x-kubernetes-list-type": "atomic"
+ "description": "parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.\n\nThis field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field.",
+ "type": "object"
+ }
+ },
+ "required": [
+ "driverName"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "storage.k8s.io",
+ "kind": "VolumeAttributesClass",
+ "version": "v1beta1"
+ }
+ ]
+ },
+ "v1beta1.VolumeAttributesClassList": {
+ "description": "VolumeAttributesClassList is a collection of VolumeAttributesClass objects.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
},
- "versions": {
- "description": "versions are the api versions that are available.",
+ "items": {
+ "description": "items is the list of VolumeAttributesClass objects.",
"items": {
- "type": "string"
+ "$ref": "#/definitions/v1beta1.VolumeAttributesClass"
},
- "type": "array",
- "x-kubernetes-list-type": "atomic"
+ "type": "array"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
}
},
"required": [
- "versions",
- "serverAddressByClientCIDRs"
+ "items"
],
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "",
- "kind": "APIVersions",
- "version": "v1"
+ "group": "storage.k8s.io",
+ "kind": "VolumeAttributesClassList",
+ "version": "v1beta1"
}
]
},
- "v1.Condition": {
- "description": "Condition contains details for one aspect of the current state of this API Resource.",
+ "v1alpha1.GroupVersionResource": {
+ "description": "The names of the group, the version, and the resource.",
"properties": {
- "lastTransitionTime": {
- "description": "lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.",
+ "group": {
+ "description": "The name of the group.",
+ "type": "string"
+ },
+ "resource": {
+ "description": "The name of the resource.",
+ "type": "string"
+ },
+ "version": {
+ "description": "The name of the version.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "v1alpha1.MigrationCondition": {
+ "description": "Describes the state of a migration at a certain point.",
+ "properties": {
+ "lastUpdateTime": {
+ "description": "The last time this condition was updated.",
"format": "date-time",
"type": "string"
},
"message": {
- "description": "message is a human readable message indicating details about the transition. This may be an empty string.",
+ "description": "A human readable message indicating details about the transition.",
"type": "string"
},
- "observedGeneration": {
- "description": "observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.",
- "format": "int64",
- "type": "integer"
- },
"reason": {
- "description": "reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.",
+ "description": "The reason for the condition's last transition.",
"type": "string"
},
"status": {
- "description": "status of the condition, one of True, False, Unknown.",
+ "description": "Status of the condition, one of True, False, Unknown.",
"type": "string"
},
"type": {
- "description": "type of condition in CamelCase or in foo.example.com/CamelCase.",
+ "description": "Type of the condition.",
"type": "string"
}
},
"required": [
"type",
- "status",
- "lastTransitionTime",
- "reason",
- "message"
+ "status"
],
"type": "object"
},
- "v1.DeleteOptions": {
- "description": "DeleteOptions may be provided when deleting an API object.",
+ "v1alpha1.StorageVersionMigration": {
+ "description": "StorageVersionMigration represents a migration of stored data to the latest storage version.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
- "dryRun": {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
- "gracePeriodSeconds": {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "format": "int64",
- "type": "integer"
- },
- "ignoreStoreReadErrorWithClusterBreakingPotential": {
- "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
- "type": "boolean"
- },
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
- "orphanDependents": {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "type": "boolean"
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
- "preconditions": {
- "$ref": "#/definitions/v1.Preconditions",
- "description": "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned."
+ "spec": {
+ "$ref": "#/definitions/v1alpha1.StorageVersionMigrationSpec",
+ "description": "Specification of the migration."
},
- "propagationPolicy": {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "type": "string"
+ "status": {
+ "$ref": "#/definitions/v1alpha1.StorageVersionMigrationStatus",
+ "description": "Status of the migration."
}
},
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "",
- "kind": "DeleteOptions",
- "version": "v1"
- },
- {
- "group": "admission.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1"
+ "group": "storagemigration.k8s.io",
+ "kind": "StorageVersionMigration",
+ "version": "v1alpha1"
+ }
+ ]
+ },
+ "v1alpha1.StorageVersionMigrationList": {
+ "description": "StorageVersionMigrationList is a collection of storage version migrations.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
},
- {
- "group": "admission.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
+ "items": {
+ "description": "Items is the list of StorageVersionMigration",
+ "items": {
+ "$ref": "#/definitions/v1alpha1.StorageVersionMigration"
+ },
+ "type": "array",
+ "x-kubernetes-list-map-keys": [
+ "type"
+ ],
+ "x-kubernetes-list-type": "map",
+ "x-kubernetes-patch-merge-key": "type",
+ "x-kubernetes-patch-strategy": "merge"
},
- {
- "group": "admissionregistration.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1"
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
},
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
{
- "group": "admissionregistration.k8s.io",
- "kind": "DeleteOptions",
+ "group": "storagemigration.k8s.io",
+ "kind": "StorageVersionMigrationList",
"version": "v1alpha1"
+ }
+ ]
+ },
+ "v1alpha1.StorageVersionMigrationSpec": {
+ "description": "Spec of the storage version migration.",
+ "properties": {
+ "continueToken": {
+ "description": "The token used in the list options to get the next chunk of objects to migrate. When the .status.conditions indicates the migration is \"Running\", users can use this token to check the progress of the migration.",
+ "type": "string"
},
- {
- "group": "admissionregistration.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
+ "resource": {
+ "$ref": "#/definitions/v1alpha1.GroupVersionResource",
+ "description": "The resource that is being migrated. The migrator sends requests to the endpoint serving the resource. Immutable."
+ }
+ },
+ "required": [
+ "resource"
+ ],
+ "type": "object"
+ },
+ "v1alpha1.StorageVersionMigrationStatus": {
+ "description": "Status of the storage version migration.",
+ "properties": {
+ "conditions": {
+ "description": "The latest available observations of the migration's current state.",
+ "items": {
+ "$ref": "#/definitions/v1alpha1.MigrationCondition"
+ },
+ "type": "array",
+ "x-kubernetes-list-map-keys": [
+ "type"
+ ],
+ "x-kubernetes-list-type": "map",
+ "x-kubernetes-patch-merge-key": "type",
+ "x-kubernetes-patch-strategy": "merge"
},
- {
- "group": "apiextensions.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1"
+ "resourceVersion": {
+ "description": "ResourceVersion to compare with the GC cache for performing the migration. This is the current resource version of given group, version and resource when kube-controller-manager first observes this StorageVersionMigration resource.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "v1.CustomResourceColumnDefinition": {
+ "description": "CustomResourceColumnDefinition specifies a column for server side printing.",
+ "properties": {
+ "description": {
+ "description": "description is a human readable description of this column.",
+ "type": "string"
},
- {
- "group": "apiextensions.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
+ "format": {
+ "description": "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.",
+ "type": "string"
},
- {
- "group": "apiregistration.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1"
+ "jsonPath": {
+ "description": "jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.",
+ "type": "string"
},
- {
- "group": "apiregistration.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
+ "name": {
+ "description": "name is a human readable name for the column.",
+ "type": "string"
},
- {
- "group": "apps",
- "kind": "DeleteOptions",
- "version": "v1"
+ "priority": {
+ "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.",
+ "format": "int32",
+ "type": "integer"
},
- {
- "group": "apps",
- "kind": "DeleteOptions",
- "version": "v1beta1"
+ "type": {
+ "description": "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "type",
+ "jsonPath"
+ ],
+ "type": "object"
+ },
+ "v1.CustomResourceConversion": {
+ "description": "CustomResourceConversion describes how to convert different versions of a CR.",
+ "properties": {
+ "strategy": {
+ "description": "strategy specifies how custom resources are converted between versions. Allowed values are: - `\"None\"`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `\"Webhook\"`: API Server will call to an external webhook to do the conversion. Additional information\n is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set.",
+ "type": "string"
},
- {
- "group": "apps",
- "kind": "DeleteOptions",
- "version": "v1beta2"
+ "webhook": {
+ "$ref": "#/definitions/v1.WebhookConversion",
+ "description": "webhook describes how to call the conversion webhook. Required when `strategy` is set to `\"Webhook\"`."
+ }
+ },
+ "required": [
+ "strategy"
+ ],
+ "type": "object"
+ },
+ "v1.CustomResourceDefinition": {
+ "description": "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
},
- {
- "group": "authentication.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1"
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
},
- {
- "group": "authentication.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1alpha1"
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
- {
- "group": "authentication.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
+ "spec": {
+ "$ref": "#/definitions/v1.CustomResourceDefinitionSpec",
+ "description": "spec describes how the user wants the resources to appear"
},
+ "status": {
+ "$ref": "#/definitions/v1.CustomResourceDefinitionStatus",
+ "description": "status indicates the actual state of the CustomResourceDefinition"
+ }
+ },
+ "required": [
+ "spec"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
{
- "group": "authorization.k8s.io",
- "kind": "DeleteOptions",
+ "group": "apiextensions.k8s.io",
+ "kind": "CustomResourceDefinition",
"version": "v1"
+ }
+ ]
+ },
+ "v1.CustomResourceDefinitionCondition": {
+ "description": "CustomResourceDefinitionCondition contains details for the current condition of this pod.",
+ "properties": {
+ "lastTransitionTime": {
+ "description": "lastTransitionTime last time the condition transitioned from one status to another.",
+ "format": "date-time",
+ "type": "string"
},
- {
- "group": "authorization.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
+ "message": {
+ "description": "message is a human-readable message indicating details about last transition.",
+ "type": "string"
},
- {
- "group": "autoscaling",
- "kind": "DeleteOptions",
- "version": "v1"
+ "reason": {
+ "description": "reason is a unique, one-word, CamelCase reason for the condition's last transition.",
+ "type": "string"
},
- {
- "group": "autoscaling",
- "kind": "DeleteOptions",
- "version": "v2"
- },
- {
- "group": "autoscaling",
- "kind": "DeleteOptions",
- "version": "v2beta1"
- },
- {
- "group": "autoscaling",
- "kind": "DeleteOptions",
- "version": "v2beta2"
- },
- {
- "group": "batch",
- "kind": "DeleteOptions",
- "version": "v1"
- },
- {
- "group": "batch",
- "kind": "DeleteOptions",
- "version": "v1beta1"
- },
- {
- "group": "certificates.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1"
- },
- {
- "group": "certificates.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1alpha1"
- },
- {
- "group": "certificates.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
- },
- {
- "group": "coordination.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1"
- },
- {
- "group": "coordination.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1alpha2"
- },
- {
- "group": "coordination.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
- },
- {
- "group": "discovery.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1"
- },
- {
- "group": "discovery.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
- },
- {
- "group": "events.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1"
- },
- {
- "group": "events.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
- },
- {
- "group": "extensions",
- "kind": "DeleteOptions",
- "version": "v1beta1"
- },
- {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1"
- },
- {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
- },
- {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta2"
- },
- {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta3"
- },
- {
- "group": "imagepolicy.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1alpha1"
- },
- {
- "group": "internal.apiserver.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1alpha1"
- },
- {
- "group": "networking.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1"
- },
- {
- "group": "networking.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1alpha1"
- },
- {
- "group": "networking.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
- },
- {
- "group": "node.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1"
- },
- {
- "group": "node.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1alpha1"
- },
- {
- "group": "node.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
- },
- {
- "group": "policy",
- "kind": "DeleteOptions",
- "version": "v1"
- },
- {
- "group": "policy",
- "kind": "DeleteOptions",
- "version": "v1beta1"
- },
- {
- "group": "rbac.authorization.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1"
- },
- {
- "group": "rbac.authorization.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1alpha1"
- },
- {
- "group": "rbac.authorization.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
- },
- {
- "group": "resource.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1alpha3"
- },
- {
- "group": "resource.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
+ "status": {
+ "description": "status is the status of the condition. Can be True, False, Unknown.",
+ "type": "string"
},
- {
- "group": "scheduling.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1"
+ "type": {
+ "description": "type is the type of the condition. Types include Established, NamesAccepted and Terminating.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "status"
+ ],
+ "type": "object"
+ },
+ "v1.CustomResourceDefinitionList": {
+ "description": "CustomResourceDefinitionList is a list of CustomResourceDefinition objects.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
},
- {
- "group": "scheduling.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1alpha1"
+ "items": {
+ "description": "items list individual CustomResourceDefinition objects",
+ "items": {
+ "$ref": "#/definitions/v1.CustomResourceDefinition"
+ },
+ "type": "array"
},
- {
- "group": "scheduling.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
},
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
{
- "group": "storage.k8s.io",
- "kind": "DeleteOptions",
+ "group": "apiextensions.k8s.io",
+ "kind": "CustomResourceDefinitionList",
"version": "v1"
- },
- {
- "group": "storage.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1alpha1"
- },
- {
- "group": "storage.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
- },
- {
- "group": "storagemigration.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1alpha1"
}
]
},
- "v1.FieldSelectorRequirement": {
- "description": "FieldSelectorRequirement is a selector that contains values, a key, and an operator that relates the key and values.",
+ "v1.CustomResourceDefinitionNames": {
+ "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition",
"properties": {
- "key": {
- "description": "key is the field selector key that the requirement applies to.",
+ "categories": {
+ "description": "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "kind": {
+ "description": "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls.",
"type": "string"
},
- "operator": {
- "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. The list of operators may grow in the future.",
+ "listKind": {
+ "description": "listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\".",
"type": "string"
},
- "values": {
- "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty.",
+ "plural": {
+ "description": "plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase.",
+ "type": "string"
+ },
+ "shortNames": {
+ "description": "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase.",
"items": {
"type": "string"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
+ },
+ "singular": {
+ "description": "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.",
+ "type": "string"
}
},
"required": [
- "key",
- "operator"
+ "plural",
+ "kind"
],
"type": "object"
},
- "v1.GroupVersionForDiscovery": {
- "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.",
+ "v1.CustomResourceDefinitionSpec": {
+ "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear",
"properties": {
- "groupVersion": {
- "description": "groupVersion specifies the API group and version in the form \"group/version\"",
+ "conversion": {
+ "$ref": "#/definitions/v1.CustomResourceConversion",
+ "description": "conversion defines conversion settings for the CRD."
+ },
+ "group": {
+ "description": "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`).",
"type": "string"
},
- "version": {
- "description": "version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion.",
+ "names": {
+ "$ref": "#/definitions/v1.CustomResourceDefinitionNames",
+ "description": "names specify the resource and kind names for the custom resource."
+ },
+ "preserveUnknownFields": {
+ "description": "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#field-pruning for details.",
+ "type": "boolean"
+ },
+ "scope": {
+ "description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`.",
"type": "string"
+ },
+ "versions": {
+ "description": "versions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.",
+ "items": {
+ "$ref": "#/definitions/v1.CustomResourceDefinitionVersion"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"required": [
- "groupVersion",
- "version"
+ "group",
+ "names",
+ "scope",
+ "versions"
],
"type": "object"
},
- "v1.LabelSelector": {
- "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.",
+ "v1.CustomResourceDefinitionStatus": {
+ "description": "CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition",
"properties": {
- "matchExpressions": {
- "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
+ "acceptedNames": {
+ "$ref": "#/definitions/v1.CustomResourceDefinitionNames",
+ "description": "acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec."
+ },
+ "conditions": {
+ "description": "conditions indicate state for particular aspects of a CustomResourceDefinition",
"items": {
- "$ref": "#/definitions/v1.LabelSelectorRequirement"
+ "$ref": "#/definitions/v1.CustomResourceDefinitionCondition"
},
"type": "array",
- "x-kubernetes-list-type": "atomic"
+ "x-kubernetes-list-map-keys": [
+ "type"
+ ],
+ "x-kubernetes-list-type": "map"
},
- "matchLabels": {
- "additionalProperties": {
+ "storedVersions": {
+ "description": "storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list.",
+ "items": {
"type": "string"
},
- "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
- "type": "object"
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
- "type": "object",
- "x-kubernetes-map-type": "atomic"
+ "type": "object"
},
- "v1.LabelSelectorRequirement": {
- "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
+ "v1.CustomResourceDefinitionVersion": {
+ "description": "CustomResourceDefinitionVersion describes a version for CRD.",
"properties": {
- "key": {
- "description": "key is the label key that the selector applies to.",
+ "additionalPrinterColumns": {
+ "description": "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used.",
+ "items": {
+ "$ref": "#/definitions/v1.CustomResourceColumnDefinition"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "deprecated": {
+ "description": "deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false.",
+ "type": "boolean"
+ },
+ "deprecationWarning": {
+ "description": "deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists.",
"type": "string"
},
- "operator": {
- "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
+ "name": {
+ "description": "name is the version name, e.g. \u201cv1\u201d, \u201cv2beta1\u201d, etc. The custom resources are served under this version at `/apis///...` if `served` is true.",
"type": "string"
},
- "values": {
- "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
+ "schema": {
+ "$ref": "#/definitions/v1.CustomResourceValidation",
+ "description": "schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource."
+ },
+ "selectableFields": {
+ "description": "selectableFields specifies paths to fields that may be used as field selectors. A maximum of 8 selectable fields are allowed. See https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors",
"items": {
- "type": "string"
+ "$ref": "#/definitions/v1.SelectableField"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
+ },
+ "served": {
+ "description": "served is a flag enabling/disabling this version from being served via REST APIs",
+ "type": "boolean"
+ },
+ "storage": {
+ "description": "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.",
+ "type": "boolean"
+ },
+ "subresources": {
+ "$ref": "#/definitions/v1.CustomResourceSubresources",
+ "description": "subresources specify what subresources this version of the defined custom resource have."
}
},
"required": [
- "key",
- "operator"
+ "name",
+ "served",
+ "storage"
],
"type": "object"
},
- "v1.ListMeta": {
- "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.",
+ "v1.CustomResourceSubresourceScale": {
+ "description": "CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.",
"properties": {
- "continue": {
- "description": "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.",
+ "labelSelectorPath": {
+ "description": "labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string.",
"type": "string"
},
- "remainingItemCount": {
- "description": "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.",
- "format": "int64",
- "type": "integer"
- },
- "resourceVersion": {
- "description": "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
+ "specReplicasPath": {
+ "description": "specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET.",
"type": "string"
},
- "selfLink": {
- "description": "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.",
+ "statusReplicasPath": {
+ "description": "statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0.",
"type": "string"
}
},
+ "required": [
+ "specReplicasPath",
+ "statusReplicasPath"
+ ],
"type": "object"
},
- "v1.ManagedFieldsEntry": {
- "description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.",
+ "v1.CustomResourceSubresources": {
+ "description": "CustomResourceSubresources defines the status and scale subresources for CustomResources.",
"properties": {
- "apiVersion": {
- "description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.",
- "type": "string"
- },
- "fieldsType": {
- "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"",
- "type": "string"
+ "scale": {
+ "$ref": "#/definitions/v1.CustomResourceSubresourceScale",
+ "description": "scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object."
},
- "fieldsV1": {
- "description": "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type.",
+ "status": {
+ "description": "status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object.",
"type": "object"
- },
- "manager": {
- "description": "Manager is an identifier of the workflow managing these fields.",
- "type": "string"
- },
- "operation": {
- "description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.",
- "type": "string"
- },
- "subresource": {
- "description": "Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource.",
+ }
+ },
+ "type": "object"
+ },
+ "v1.CustomResourceValidation": {
+ "description": "CustomResourceValidation is a list of validation methods for CustomResources.",
+ "properties": {
+ "openAPIV3Schema": {
+ "$ref": "#/definitions/v1.JSONSchemaProps",
+ "description": "openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning."
+ }
+ },
+ "type": "object"
+ },
+ "v1.ExternalDocumentation": {
+ "description": "ExternalDocumentation allows referencing an external resource for extended documentation.",
+ "properties": {
+ "description": {
"type": "string"
},
- "time": {
- "description": "Time is the timestamp of when the ManagedFields entry was added. The timestamp will also be updated if a field is added, the manager changes any of the owned fields value or removes a field. The timestamp does not update when a field is removed from the entry because another manager took it over.",
- "format": "date-time",
+ "url": {
"type": "string"
}
},
"type": "object"
},
- "v1.ObjectMeta": {
- "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.",
+ "v1.JSONSchemaProps": {
+ "description": "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).",
"properties": {
- "annotations": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations",
- "type": "object"
+ "$ref": {
+ "type": "string"
},
- "creationTimestamp": {
- "description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
- "format": "date-time",
+ "$schema": {
"type": "string"
},
- "deletionGracePeriodSeconds": {
- "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.",
- "format": "int64",
- "type": "integer"
+ "additionalItems": {
+ "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property.",
+ "type": "object"
},
- "deletionTimestamp": {
- "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
- "format": "date-time",
- "type": "string"
+ "additionalProperties": {
+ "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property.",
+ "type": "object"
},
- "finalizers": {
- "description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.",
+ "allOf": {
"items": {
- "type": "string"
+ "$ref": "#/definitions/v1.JSONSchemaProps"
},
"type": "array",
- "x-kubernetes-list-type": "set",
- "x-kubernetes-patch-strategy": "merge"
+ "x-kubernetes-list-type": "atomic"
},
- "generateName": {
- "description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will return a 409.\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency",
+ "anyOf": {
+ "items": {
+ "$ref": "#/definitions/v1.JSONSchemaProps"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "default": {
+ "description": "default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. Defaulting requires spec.preserveUnknownFields to be false.",
+ "type": "object"
+ },
+ "definitions": {
+ "additionalProperties": {
+ "$ref": "#/definitions/v1.JSONSchemaProps"
+ },
+ "type": "object"
+ },
+ "dependencies": {
+ "additionalProperties": {
+ "description": "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array.",
+ "type": "object"
+ },
+ "type": "object"
+ },
+ "description": {
"type": "string"
},
- "generation": {
- "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.",
+ "enum": {
+ "items": {
+ "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.",
+ "type": "object"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "example": {
+ "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.",
+ "type": "object"
+ },
+ "exclusiveMaximum": {
+ "type": "boolean"
+ },
+ "exclusiveMinimum": {
+ "type": "boolean"
+ },
+ "externalDocs": {
+ "$ref": "#/definitions/v1.ExternalDocumentation"
+ },
+ "format": {
+ "description": "format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\\\d{3})\\\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\\\d{3}[- ]?\\\\d{2}[- ]?\\\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339.",
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "items": {
+ "description": "JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes.",
+ "type": "object"
+ },
+ "maxItems": {
"format": "int64",
"type": "integer"
},
- "labels": {
+ "maxLength": {
+ "format": "int64",
+ "type": "integer"
+ },
+ "maxProperties": {
+ "format": "int64",
+ "type": "integer"
+ },
+ "maximum": {
+ "format": "double",
+ "type": "number"
+ },
+ "minItems": {
+ "format": "int64",
+ "type": "integer"
+ },
+ "minLength": {
+ "format": "int64",
+ "type": "integer"
+ },
+ "minProperties": {
+ "format": "int64",
+ "type": "integer"
+ },
+ "minimum": {
+ "format": "double",
+ "type": "number"
+ },
+ "multipleOf": {
+ "format": "double",
+ "type": "number"
+ },
+ "not": {
+ "$ref": "#/definitions/v1.JSONSchemaProps"
+ },
+ "nullable": {
+ "type": "boolean"
+ },
+ "oneOf": {
+ "items": {
+ "$ref": "#/definitions/v1.JSONSchemaProps"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "pattern": {
+ "type": "string"
+ },
+ "patternProperties": {
"additionalProperties": {
- "type": "string"
+ "$ref": "#/definitions/v1.JSONSchemaProps"
},
- "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels",
"type": "object"
},
- "managedFields": {
- "description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.",
+ "properties": {
+ "additionalProperties": {
+ "$ref": "#/definitions/v1.JSONSchemaProps"
+ },
+ "type": "object"
+ },
+ "required": {
"items": {
- "$ref": "#/definitions/v1.ManagedFieldsEntry"
+ "type": "string"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
},
- "name": {
- "description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names",
+ "title": {
"type": "string"
},
- "namespace": {
- "description": "Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces",
+ "type": {
"type": "string"
},
- "ownerReferences": {
- "description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.",
+ "uniqueItems": {
+ "type": "boolean"
+ },
+ "x-kubernetes-embedded-resource": {
+ "description": "x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata).",
+ "type": "boolean"
+ },
+ "x-kubernetes-int-or-string": {
+ "description": "x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:\n\n1) anyOf:\n - type: integer\n - type: string\n2) allOf:\n - anyOf:\n - type: integer\n - type: string\n - ... zero or more",
+ "type": "boolean"
+ },
+ "x-kubernetes-list-map-keys": {
+ "description": "x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.\n\nThis tag MUST only be used on lists that have the \"x-kubernetes-list-type\" extension set to \"map\". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).\n\nThe properties specified must either be required or have a default value, to ensure those properties are present for all list items.",
"items": {
- "$ref": "#/definitions/v1.OwnerReference"
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "x-kubernetes-list-type": {
+ "description": "x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:\n\n1) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic lists will be entirely replaced when updated. This extension\n may be used on any type of list (struct, scalar, ...).\n2) `set`:\n Sets are lists that must not have multiple items with the same value. Each\n value must be a scalar, an object with x-kubernetes-map-type `atomic` or an\n array with x-kubernetes-list-type `atomic`.\n3) `map`:\n These lists are like maps in that their elements have a non-index key\n used to identify them. Order is preserved upon merge. The map tag\n must only be used on a list with elements of type object.\nDefaults to atomic for arrays.",
+ "type": "string"
+ },
+ "x-kubernetes-map-type": {
+ "description": "x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:\n\n1) `granular`:\n These maps are actual maps (key-value pairs) and each fields are independent\n from each other (they can each be manipulated by separate actors). This is\n the default behaviour for all maps.\n2) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic maps will be entirely replaced when updated.",
+ "type": "string"
+ },
+ "x-kubernetes-preserve-unknown-fields": {
+ "description": "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.",
+ "type": "boolean"
+ },
+ "x-kubernetes-validations": {
+ "description": "x-kubernetes-validations describes a list of validation rules written in the CEL expression language.",
+ "items": {
+ "$ref": "#/definitions/v1.ValidationRule"
},
"type": "array",
"x-kubernetes-list-map-keys": [
- "uid"
+ "rule"
],
"x-kubernetes-list-type": "map",
- "x-kubernetes-patch-merge-key": "uid",
+ "x-kubernetes-patch-merge-key": "rule",
"x-kubernetes-patch-strategy": "merge"
- },
- "resourceVersion": {
- "description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
+ }
+ },
+ "type": "object"
+ },
+ "v1.SelectableField": {
+ "description": "SelectableField specifies the JSON path of a field that may be used with field selectors.",
+ "properties": {
+ "jsonPath": {
+ "description": "jsonPath is a simple JSON path which is evaluated against each custom resource to produce a field selector value. Only JSON paths without the array notation are allowed. Must point to a field of type string, boolean or integer. Types with enum values and strings with formats are allowed. If jsonPath refers to absent field in a resource, the jsonPath evaluates to an empty string. Must not point to metdata fields. Required.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "jsonPath"
+ ],
+ "type": "object"
+ },
+ "apiextensions.v1.ServiceReference": {
+ "description": "ServiceReference holds a reference to Service.legacy.k8s.io",
+ "properties": {
+ "name": {
+ "description": "name is the name of the service. Required",
"type": "string"
},
- "selfLink": {
- "description": "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.",
+ "namespace": {
+ "description": "namespace is the namespace of the service. Required",
"type": "string"
},
- "uid": {
- "description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids",
+ "path": {
+ "description": "path is an optional URL path at which the webhook will be contacted.",
"type": "string"
+ },
+ "port": {
+ "description": "port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.",
+ "format": "int32",
+ "type": "integer"
}
},
+ "required": [
+ "namespace",
+ "name"
+ ],
"type": "object"
},
- "v1.OwnerReference": {
- "description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.",
+ "v1.ValidationRule": {
+ "description": "ValidationRule describes a validation rule written in the CEL expression language.",
"properties": {
- "apiVersion": {
- "description": "API version of the referent.",
+ "fieldPath": {
+ "description": "fieldPath represents the field path returned when the validation fails. It must be a relative JSON path (i.e. with array notation) scoped to the location of this x-kubernetes-validations extension in the schema and refer to an existing field. e.g. when validation checks if a specific attribute `foo` under a map `testMap`, the fieldPath could be set to `.testMap.foo` If the validation checks two lists must have unique attributes, the fieldPath could be set to either of the list: e.g. `.testList` It does not support list numeric index. It supports child operation to refer to an existing field currently. Refer to [JSONPath support in Kubernetes](https://kubernetes.io/docs/reference/kubectl/jsonpath/) for more info. Numeric index of array is not supported. For field name which contains special characters, use `['specialName']` to refer the field name. e.g. for attribute `foo.34$` appears in a list `testList`, the fieldPath could be set to `.testList['foo.34$']`",
"type": "string"
},
- "blockOwnerDeletion": {
- "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.",
- "type": "boolean"
- },
- "controller": {
- "description": "If true, this reference points to the managing controller.",
- "type": "boolean"
+ "message": {
+ "description": "Message represents the message displayed when validation fails. The message is required if the Rule contains line breaks. The message must not contain line breaks. If unset, the message is \"failed rule: {Rule}\". e.g. \"must be a URL with the host matching spec.host\"",
+ "type": "string"
},
- "kind": {
- "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "messageExpression": {
+ "description": "MessageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a rule, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the rule; the only difference is the return type. Example: \"x must be less than max (\"+string(self.max)+\")\"",
"type": "string"
},
- "name": {
- "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names",
+ "optionalOldSelf": {
+ "description": "optionalOldSelf is used to opt a transition rule into evaluation even when the object is first created, or if the old object is missing the value.\n\nWhen enabled `oldSelf` will be a CEL optional whose value will be `None` if there is no old value, or when the object is initially created.\n\nYou may check for presence of oldSelf using `oldSelf.hasValue()` and unwrap it after checking using `oldSelf.value()`. Check the CEL documentation for Optional types for more information: https://pkg.go.dev/github.com/google/cel-go/cel#OptionalTypes\n\nMay not be set unless `oldSelf` is used in `rule`.",
+ "type": "boolean"
+ },
+ "reason": {
+ "description": "reason provides a machine-readable validation failure reason that is returned to the caller when a request fails this validation rule. The HTTP status code returned to the caller will match the reason of the reason of the first failed validation rule. The currently supported reasons are: \"FieldValueInvalid\", \"FieldValueForbidden\", \"FieldValueRequired\", \"FieldValueDuplicate\". If not set, default to use \"FieldValueInvalid\". All future added reasons must be accepted by clients when reading this value and unknown reasons should be treated as FieldValueInvalid.",
"type": "string"
},
- "uid": {
- "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids",
+ "rule": {
+ "description": "Rule represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec The Rule is scoped to the location of the x-kubernetes-validations extension in the schema. The `self` variable in the CEL expression is bound to the scoped value. Example: - Rule scoped to the root of a resource with a status subresource: {\"rule\": \"self.status.actual <= self.spec.maxDesired\"}\n\nIf the Rule is scoped to an object with properties, the accessible properties of the object are field selectable via `self.field` and field presence can be checked via `has(self.field)`. Null valued fields are treated as absent fields in CEL expressions. If the Rule is scoped to an object with additionalProperties (i.e. a map) the value of the map are accessible via `self[mapKey]`, map containment can be checked via `mapKey in self` and all entries of the map are accessible via CEL macros and functions such as `self.all(...)`. If the Rule is scoped to an array, the elements of the array are accessible via `self[i]` and also by macros and functions. If the Rule is scoped to a scalar, `self` is bound to the scalar value. Examples: - Rule scoped to a map of objects: {\"rule\": \"self.components['Widget'].priority < 10\"} - Rule scoped to a list of integers: {\"rule\": \"self.values.all(value, value >= 0 && value < 100)\"} - Rule scoped to a string value: {\"rule\": \"self.startsWith('kube')\"}\n\nThe `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object and from any x-kubernetes-embedded-resource annotated objects. No other metadata properties are accessible.\n\nUnknown data preserved in custom resources via x-kubernetes-preserve-unknown-fields is not accessible in CEL expressions. This includes: - Unknown field values that are preserved by object schemas with x-kubernetes-preserve-unknown-fields. - Object properties where the property schema is of an \"unknown type\". An \"unknown type\" is recursively defined as:\n - A schema with no type and x-kubernetes-preserve-unknown-fields set to true\n - An array where the items schema is of an \"unknown type\"\n - An object where the additionalProperties schema is of an \"unknown type\"\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:\n\t \"true\", \"false\", \"null\", \"in\", \"as\", \"break\", \"const\", \"continue\", \"else\", \"for\", \"function\", \"if\",\n\t \"import\", \"let\", \"loop\", \"package\", \"namespace\", \"return\".\nExamples:\n - Rule accessing a property named \"namespace\": {\"rule\": \"self.__namespace__ > 0\"}\n - Rule accessing a property named \"x-prop\": {\"rule\": \"self.x__dash__prop > 0\"}\n - Rule accessing a property named \"redact__d\": {\"rule\": \"self.redact__underscores__d > 0\"}\n\nEquality on arrays with x-kubernetes-list-type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type:\n - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and\n non-intersecting elements in `Y` are appended, retaining their partial order.\n - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values\n are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with\n non-intersecting keys are appended, retaining their partial order.\n\nIf `rule` makes use of the `oldSelf` variable it is implicitly a `transition rule`.\n\nBy default, the `oldSelf` variable is the same type as `self`. When `optionalOldSelf` is true, the `oldSelf` variable is a CEL optional\n variable whose value() is the same type as `self`.\nSee the documentation for the `optionalOldSelf` field for details.\n\nTransition rules by default are applied only on UPDATE requests and are skipped if an old value could not be found. You can opt a transition rule into unconditional evaluation by setting `optionalOldSelf` to true.",
"type": "string"
}
},
"required": [
- "apiVersion",
- "kind",
- "name",
- "uid"
+ "rule"
],
- "type": "object",
- "x-kubernetes-map-type": "atomic"
- },
- "v1.Patch": {
- "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.",
- "type": "object",
- "properties": {
- "content": {
- "type": "object"
- }
- }
+ "type": "object"
},
- "v1.Preconditions": {
- "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.",
+ "apiextensions.v1.WebhookClientConfig": {
+ "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook.",
"properties": {
- "resourceVersion": {
- "description": "Specifies the target ResourceVersion",
+ "caBundle": {
+ "description": "caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.",
+ "format": "byte",
"type": "string"
},
- "uid": {
- "description": "Specifies the target UID.",
+ "service": {
+ "$ref": "#/definitions/apiextensions.v1.ServiceReference",
+ "description": "service is a reference to the service for this webhook. Either service or url must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`."
+ },
+ "url": {
+ "description": "url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.",
"type": "string"
}
},
"type": "object"
},
- "v1.ServerAddressByClientCIDR": {
- "description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.",
+ "v1.WebhookConversion": {
+ "description": "WebhookConversion describes how to call a conversion webhook",
"properties": {
- "clientCIDR": {
- "description": "The CIDR with which clients can match their IP to figure out the server address that they should use.",
- "type": "string"
+ "clientConfig": {
+ "$ref": "#/definitions/apiextensions.v1.WebhookClientConfig",
+ "description": "clientConfig is the instructions for how to call the webhook if strategy is `Webhook`."
},
- "serverAddress": {
- "description": "Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port.",
- "type": "string"
+ "conversionReviewVersions": {
+ "description": "conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"required": [
- "clientCIDR",
- "serverAddress"
+ "conversionReviewVersions"
],
"type": "object"
},
- "v1.Status": {
- "description": "Status is a return value for calls that don't return other objects.",
+ "resource.Quantity": {
+ "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "string"
+ }
+ }
+ },
+ "v1.APIGroup": {
+ "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
- "code": {
- "description": "Suggested HTTP return code for this status, 0 if not set.",
- "format": "int32",
- "type": "integer"
- },
- "details": {
- "$ref": "#/definitions/v1.StatusDetails",
- "description": "Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.",
- "x-kubernetes-list-type": "atomic"
- },
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
- "message": {
- "description": "A human-readable description of the status of this operation.",
+ "name": {
+ "description": "name is the name of the group.",
"type": "string"
},
- "metadata": {
- "$ref": "#/definitions/v1.ListMeta",
- "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
+ "preferredVersion": {
+ "$ref": "#/definitions/v1.GroupVersionForDiscovery",
+ "description": "preferredVersion is the version preferred by the API server, which probably is the storage version."
},
- "reason": {
- "description": "A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.",
- "type": "string"
+ "serverAddressByClientCIDRs": {
+ "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.",
+ "items": {
+ "$ref": "#/definitions/v1.ServerAddressByClientCIDR"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- "status": {
- "description": "Status of the operation. One of: \"Success\" or \"Failure\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
- "type": "string"
+ "versions": {
+ "description": "versions are the versions supported in this group.",
+ "items": {
+ "$ref": "#/definitions/v1.GroupVersionForDiscovery"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
+ "required": [
+ "name",
+ "versions"
+ ],
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "",
- "kind": "Status",
+ "kind": "APIGroup",
"version": "v1"
}
]
},
- "v1.StatusCause": {
- "description": "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.",
+ "v1.APIGroupList": {
+ "description": "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.",
"properties": {
- "field": {
- "description": "The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.\n\nExamples:\n \"name\" - the field \"name\" on the current resource\n \"items[0].name\" - the field \"name\" on the first array entry in \"items\"",
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
- "message": {
- "description": "A human-readable description of the cause of the error. This field may be presented as-is to a reader.",
- "type": "string"
+ "groups": {
+ "description": "groups is a list of APIGroup.",
+ "items": {
+ "$ref": "#/definitions/v1.APIGroup"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- "reason": {
- "description": "A machine-readable description of the cause of the error. If this value is empty there is no information available.",
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
}
},
- "type": "object"
+ "required": [
+ "groups"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "",
+ "kind": "APIGroupList",
+ "version": "v1"
+ }
+ ]
},
- "v1.StatusDetails": {
- "description": "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.",
+ "v1.APIResource": {
+ "description": "APIResource specifies the name of a resource and whether it is namespaced.",
"properties": {
- "causes": {
- "description": "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.",
+ "categories": {
+ "description": "categories is a list of the grouped resources this resource belongs to (e.g. 'all')",
"items": {
- "$ref": "#/definitions/v1.StatusCause"
+ "type": "string"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
},
"group": {
- "description": "The group attribute of the resource associated with the status StatusReason.",
+ "description": "group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale\".",
"type": "string"
},
"kind": {
- "description": "The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "description": "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')",
"type": "string"
},
"name": {
- "description": "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).",
+ "description": "name is the plural name of the resource.",
"type": "string"
},
- "retryAfterSeconds": {
- "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.",
- "format": "int32",
- "type": "integer"
+ "namespaced": {
+ "description": "namespaced indicates if a resource is namespaced or not.",
+ "type": "boolean"
},
- "uid": {
- "description": "UID of the resource. (when there is a single resource which can be described). More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids",
+ "shortNames": {
+ "description": "shortNames is a list of suggested short names of the resource.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "singularName": {
+ "description": "singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface.",
+ "type": "string"
+ },
+ "storageVersionHash": {
+ "description": "The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates.",
+ "type": "string"
+ },
+ "verbs": {
+ "description": "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "version": {
+ "description": "version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)\".",
"type": "string"
}
},
+ "required": [
+ "name",
+ "singularName",
+ "namespaced",
+ "kind",
+ "verbs"
+ ],
"type": "object"
},
- "v1.WatchEvent": {
- "description": "Event represents a single event to a watched resource.",
+ "v1.APIResourceList": {
+ "description": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.",
"properties": {
- "object": {
- "description": "Object is:\n * If Type is Added or Modified: the new state of the object.\n * If Type is Deleted: the state of the object immediately before deletion.\n * If Type is Error: *Status is recommended; other types may make sense\n depending on context.",
- "type": "object"
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
},
- "type": {
+ "groupVersion": {
+ "description": "groupVersion is the group and version this APIResourceList is for.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
+ },
+ "resources": {
+ "description": "resources contains the name of the resources and if they are namespaced.",
+ "items": {
+ "$ref": "#/definitions/v1.APIResource"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"required": [
- "type",
- "object"
+ "groupVersion",
+ "resources"
],
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "",
- "kind": "WatchEvent",
+ "kind": "APIResourceList",
"version": "v1"
+ }
+ ]
+ },
+ "v1.APIVersions": {
+ "description": "APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
},
- {
- "group": "admission.k8s.io",
- "kind": "WatchEvent",
- "version": "v1"
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
},
- {
- "group": "admission.k8s.io",
- "kind": "WatchEvent",
- "version": "v1beta1"
+ "serverAddressByClientCIDRs": {
+ "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.",
+ "items": {
+ "$ref": "#/definitions/v1.ServerAddressByClientCIDR"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "versions": {
+ "description": "versions are the api versions that are available.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ }
+ },
+ "required": [
+ "versions",
+ "serverAddressByClientCIDRs"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "",
+ "kind": "APIVersions",
+ "version": "v1"
+ }
+ ]
+ },
+ "v1.Condition": {
+ "description": "Condition contains details for one aspect of the current state of this API Resource.",
+ "properties": {
+ "lastTransitionTime": {
+ "description": "lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "message": {
+ "description": "message is a human readable message indicating details about the transition. This may be an empty string.",
+ "type": "string"
+ },
+ "observedGeneration": {
+ "description": "observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.",
+ "format": "int64",
+ "type": "integer"
+ },
+ "reason": {
+ "description": "reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.",
+ "type": "string"
+ },
+ "status": {
+ "description": "status of the condition, one of True, False, Unknown.",
+ "type": "string"
+ },
+ "type": {
+ "description": "type of condition in CamelCase or in foo.example.com/CamelCase.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "status",
+ "lastTransitionTime",
+ "reason",
+ "message"
+ ],
+ "type": "object"
+ },
+ "v1.DeleteOptions": {
+ "description": "DeleteOptions may be provided when deleting an API object.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "dryRun": {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "gracePeriodSeconds": {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "format": "int64",
+ "type": "integer"
+ },
+ "ignoreStoreReadErrorWithClusterBreakingPotential": {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "type": "boolean"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "orphanDependents": {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "type": "boolean"
+ },
+ "preconditions": {
+ "$ref": "#/definitions/v1.Preconditions",
+ "description": "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned."
+ },
+ "propagationPolicy": {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "type": "string"
+ }
+ },
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "",
+ "kind": "DeleteOptions",
+ "version": "v1"
+ },
+ {
+ "group": "admission.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1"
+ },
+ {
+ "group": "admission.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1beta1"
},
{
"group": "admissionregistration.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1"
},
{
"group": "admissionregistration.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1alpha1"
},
{
"group": "admissionregistration.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "apiextensions.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1"
},
{
"group": "apiextensions.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "apiregistration.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1"
},
{
"group": "apiregistration.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "apps",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1"
},
{
"group": "apps",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "apps",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1beta2"
},
{
"group": "authentication.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1"
},
{
"group": "authentication.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1alpha1"
},
{
"group": "authentication.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "authorization.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1"
},
{
"group": "authorization.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "autoscaling",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1"
},
{
"group": "autoscaling",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v2"
},
{
"group": "autoscaling",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v2beta1"
},
{
"group": "autoscaling",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v2beta2"
},
{
"group": "batch",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1"
},
{
"group": "batch",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "certificates.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1"
},
{
"group": "certificates.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1alpha1"
},
{
"group": "certificates.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "coordination.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1"
},
{
"group": "coordination.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1alpha2"
},
{
"group": "coordination.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "discovery.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1"
},
{
"group": "discovery.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "events.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1"
},
{
"group": "events.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "extensions",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "flowcontrol.apiserver.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1"
},
{
"group": "flowcontrol.apiserver.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "flowcontrol.apiserver.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1beta2"
},
{
"group": "flowcontrol.apiserver.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1beta3"
},
{
"group": "imagepolicy.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1alpha1"
},
{
"group": "internal.apiserver.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1alpha1"
},
{
"group": "networking.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1"
},
{
"group": "networking.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1alpha1"
},
{
"group": "networking.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "node.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1"
},
{
"group": "node.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1alpha1"
},
{
"group": "node.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "policy",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1"
},
{
"group": "policy",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "rbac.authorization.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1"
},
{
"group": "rbac.authorization.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1alpha1"
},
{
"group": "rbac.authorization.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1alpha3"
},
{
"group": "resource.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1beta1"
},
+ {
+ "group": "resource.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1beta2"
+ },
{
"group": "scheduling.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1"
},
{
"group": "scheduling.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1alpha1"
},
{
"group": "scheduling.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "storage.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1"
},
{
"group": "storage.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1alpha1"
},
{
"group": "storage.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "storagemigration.k8s.io",
- "kind": "WatchEvent",
+ "kind": "DeleteOptions",
"version": "v1alpha1"
}
]
},
- "intstr.IntOrString": {
- "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.",
- "format": "int-or-string",
- "type": "object",
- "properties": {
- "value": {
- "type": "string"
- }
- }
- },
- "version.Info": {
- "description": "Info contains versioning information. how we'll want to distribute that information.",
+ "v1.FieldSelectorRequirement": {
+ "description": "FieldSelectorRequirement is a selector that contains values, a key, and an operator that relates the key and values.",
"properties": {
- "buildDate": {
- "type": "string"
- },
- "compiler": {
- "type": "string"
- },
- "gitCommit": {
- "type": "string"
- },
- "gitTreeState": {
- "type": "string"
- },
- "gitVersion": {
- "type": "string"
- },
- "goVersion": {
- "type": "string"
- },
- "major": {
+ "key": {
+ "description": "key is the field selector key that the requirement applies to.",
"type": "string"
},
- "minor": {
+ "operator": {
+ "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. The list of operators may grow in the future.",
"type": "string"
},
- "platform": {
- "type": "string"
+ "values": {
+ "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"required": [
- "major",
- "minor",
- "gitVersion",
- "gitCommit",
- "gitTreeState",
- "buildDate",
- "goVersion",
- "compiler",
- "platform"
+ "key",
+ "operator"
],
"type": "object"
},
- "v1.APIService": {
- "description": "APIService represents a server for a particular GroupVersion. Name must be \"version.group\".",
+ "v1.GroupVersionForDiscovery": {
+ "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.",
"properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "groupVersion": {
+ "description": "groupVersion specifies the API group and version in the form \"group/version\"",
"type": "string"
},
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "version": {
+ "description": "version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion.",
"type": "string"
+ }
+ },
+ "required": [
+ "groupVersion",
+ "version"
+ ],
+ "type": "object"
+ },
+ "v1.LabelSelector": {
+ "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.",
+ "properties": {
+ "matchExpressions": {
+ "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
+ "items": {
+ "$ref": "#/definitions/v1.LabelSelectorRequirement"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- "metadata": {
- "$ref": "#/definitions/v1.ObjectMeta",
- "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
- },
- "spec": {
- "$ref": "#/definitions/v1.APIServiceSpec",
- "description": "Spec contains information for locating and communicating with a server"
- },
- "status": {
- "$ref": "#/definitions/v1.APIServiceStatus",
- "description": "Status contains derived information about an API server"
+ "matchLabels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
+ "type": "object"
}
},
"type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "apiregistration.k8s.io",
- "kind": "APIService",
- "version": "v1"
- }
- ]
+ "x-kubernetes-map-type": "atomic"
},
- "v1.APIServiceCondition": {
- "description": "APIServiceCondition describes the state of an APIService at a particular point",
+ "v1.LabelSelectorRequirement": {
+ "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
"properties": {
- "lastTransitionTime": {
- "description": "Last time the condition transitioned from one status to another.",
- "format": "date-time",
- "type": "string"
- },
- "message": {
- "description": "Human-readable message indicating details about last transition.",
- "type": "string"
- },
- "reason": {
- "description": "Unique, one-word, CamelCase reason for the condition's last transition.",
+ "key": {
+ "description": "key is the label key that the selector applies to.",
"type": "string"
},
- "status": {
- "description": "Status is the status of the condition. Can be True, False, Unknown.",
+ "operator": {
+ "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
"type": "string"
},
- "type": {
- "description": "Type is the type of the condition.",
- "type": "string"
+ "values": {
+ "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"required": [
- "type",
- "status"
+ "key",
+ "operator"
],
"type": "object"
},
- "v1.APIServiceList": {
- "description": "APIServiceList is a list of APIService objects.",
+ "v1.ListMeta": {
+ "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.",
"properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "continue": {
+ "description": "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.",
"type": "string"
},
- "items": {
- "description": "Items is the list of APIService",
- "items": {
- "$ref": "#/definitions/v1.APIService"
- },
- "type": "array"
+ "remainingItemCount": {
+ "description": "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.",
+ "format": "int64",
+ "type": "integer"
},
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "resourceVersion": {
+ "description": "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
"type": "string"
},
- "metadata": {
- "$ref": "#/definitions/v1.ListMeta",
- "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "selfLink": {
+ "description": "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.",
+ "type": "string"
}
},
- "required": [
- "items"
- ],
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "apiregistration.k8s.io",
- "kind": "APIServiceList",
- "version": "v1"
- }
- ]
+ "type": "object"
},
- "v1.APIServiceSpec": {
- "description": "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.",
+ "v1.ManagedFieldsEntry": {
+ "description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.",
"properties": {
- "caBundle": {
- "description": "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used.",
- "format": "byte",
- "type": "string",
- "x-kubernetes-list-type": "atomic"
+ "apiVersion": {
+ "description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.",
+ "type": "string"
},
- "group": {
- "description": "Group is the API group name this server hosts",
+ "fieldsType": {
+ "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"",
"type": "string"
},
- "groupPriorityMinimum": {
- "description": "GroupPriorityMinimum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMinimum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s",
- "format": "int32",
- "type": "integer"
+ "fieldsV1": {
+ "description": "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type.",
+ "type": "object"
},
- "insecureSkipTLSVerify": {
- "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.",
- "type": "boolean"
+ "manager": {
+ "description": "Manager is an identifier of the workflow managing these fields.",
+ "type": "string"
},
- "service": {
- "$ref": "#/definitions/apiregistration.v1.ServiceReference",
- "description": "Service is a reference to the service for this API server. It must communicate on port 443. If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled."
+ "operation": {
+ "description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.",
+ "type": "string"
},
- "version": {
- "description": "Version is the API version this server hosts. For example, \"v1\"",
+ "subresource": {
+ "description": "Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource.",
"type": "string"
},
- "versionPriority": {
- "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.",
- "format": "int32",
- "type": "integer"
+ "time": {
+ "description": "Time is the timestamp of when the ManagedFields entry was added. The timestamp will also be updated if a field is added, the manager changes any of the owned fields value or removes a field. The timestamp does not update when a field is removed from the entry because another manager took it over.",
+ "format": "date-time",
+ "type": "string"
}
},
- "required": [
- "groupPriorityMinimum",
- "versionPriority"
- ],
"type": "object"
},
- "v1.APIServiceStatus": {
- "description": "APIServiceStatus contains derived information about an API server",
+ "v1.ObjectMeta": {
+ "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.",
"properties": {
- "conditions": {
- "description": "Current service state of apiService.",
- "items": {
- "$ref": "#/definitions/v1.APIServiceCondition"
+ "annotations": {
+ "additionalProperties": {
+ "type": "string"
},
- "type": "array",
- "x-kubernetes-list-map-keys": [
- "type"
- ],
- "x-kubernetes-list-type": "map",
- "x-kubernetes-patch-merge-key": "type",
- "x-kubernetes-patch-strategy": "merge"
- }
- },
- "type": "object"
- },
- "apiregistration.v1.ServiceReference": {
- "description": "ServiceReference holds a reference to Service.legacy.k8s.io",
- "properties": {
- "name": {
- "description": "Name is the name of the service",
+ "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations",
+ "type": "object"
+ },
+ "creationTimestamp": {
+ "description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
+ "format": "date-time",
"type": "string"
},
- "namespace": {
- "description": "Namespace is the namespace of the service",
+ "deletionGracePeriodSeconds": {
+ "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.",
+ "format": "int64",
+ "type": "integer"
+ },
+ "deletionTimestamp": {
+ "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
+ "format": "date-time",
"type": "string"
},
- "port": {
- "description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).",
- "format": "int32",
+ "finalizers": {
+ "description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "set",
+ "x-kubernetes-patch-strategy": "merge"
+ },
+ "generateName": {
+ "description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will return a 409.\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency",
+ "type": "string"
+ },
+ "generation": {
+ "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.",
+ "format": "int64",
"type": "integer"
+ },
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels",
+ "type": "object"
+ },
+ "managedFields": {
+ "description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.",
+ "items": {
+ "$ref": "#/definitions/v1.ManagedFieldsEntry"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "name": {
+ "description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names",
+ "type": "string"
+ },
+ "namespace": {
+ "description": "Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces",
+ "type": "string"
+ },
+ "ownerReferences": {
+ "description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.",
+ "items": {
+ "$ref": "#/definitions/v1.OwnerReference"
+ },
+ "type": "array",
+ "x-kubernetes-list-map-keys": [
+ "uid"
+ ],
+ "x-kubernetes-list-type": "map",
+ "x-kubernetes-patch-merge-key": "uid",
+ "x-kubernetes-patch-strategy": "merge"
+ },
+ "resourceVersion": {
+ "description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
+ "type": "string"
+ },
+ "selfLink": {
+ "description": "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.",
+ "type": "string"
+ },
+ "uid": {
+ "description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids",
+ "type": "string"
}
},
"type": "object"
- }
- },
- "info": {
- "title": "Kubernetes",
- "version": "v1.32.0"
- },
- "paths": {
- "/api/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get available API versions",
- "operationId": "getAPIVersions",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIVersions"
- }
- }
+ },
+ "v1.OwnerReference": {
+ "description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.",
+ "properties": {
+ "apiVersion": {
+ "description": "API version of the referent.",
+ "type": "string"
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core"
- ]
+ "blockOwnerDeletion": {
+ "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.",
+ "type": "boolean"
+ },
+ "controller": {
+ "description": "If true, this reference points to the managing controller.",
+ "type": "boolean"
+ },
+ "kind": {
+ "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "name": {
+ "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names",
+ "type": "string"
+ },
+ "uid": {
+ "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids",
+ "type": "string"
+ }
+ },
+ "required": [
+ "apiVersion",
+ "kind",
+ "name",
+ "uid"
+ ],
+ "type": "object",
+ "x-kubernetes-map-type": "atomic"
+ },
+ "v1.Patch": {
+ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.",
+ "type": "object",
+ "properties": {
+ "content": {
+ "type": "object"
+ }
}
},
- "/api/v1/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "description": "get available resources",
- "operationId": "getAPIResources",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIResourceList"
- }
- }
+ "v1.Preconditions": {
+ "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.",
+ "properties": {
+ "resourceVersion": {
+ "description": "Specifies the target ResourceVersion",
+ "type": "string"
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ]
- }
+ "uid": {
+ "description": "Specifies the target UID.",
+ "type": "string"
+ }
+ },
+ "type": "object"
},
- "/api/v1/componentstatuses": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list objects of kind ComponentStatus",
- "operationId": "listComponentStatus",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch",
- "application/cbor-seq"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ComponentStatusList"
- }
- }
+ "v1.ServerAddressByClientCIDR": {
+ "description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.",
+ "properties": {
+ "clientCIDR": {
+ "description": "The CIDR with which clients can match their IP to figure out the server address that they should use.",
+ "type": "string"
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
+ "serverAddress": {
+ "description": "Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "clientCIDR",
+ "serverAddress"
+ ],
+ "type": "object"
+ },
+ "v1.Status": {
+ "description": "Status is a return value for calls that don't return other objects.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "code": {
+ "description": "Suggested HTTP return code for this status, 0 if not set.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "details": {
+ "$ref": "#/definitions/v1.StatusDetails",
+ "description": "Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "message": {
+ "description": "A human-readable description of the status of this operation.",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
+ },
+ "reason": {
+ "description": "A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.",
+ "type": "string"
+ },
+ "status": {
+ "description": "Status of the operation. One of: \"Success\" or \"Failure\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
+ "type": "string"
+ }
+ },
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
"group": "",
- "kind": "ComponentStatus",
+ "kind": "Status",
"version": "v1"
}
+ ]
+ },
+ "v1.StatusCause": {
+ "description": "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.",
+ "properties": {
+ "field": {
+ "description": "The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.\n\nExamples:\n \"name\" - the field \"name\" on the current resource\n \"items[0].name\" - the field \"name\" on the first array entry in \"items\"",
+ "type": "string"
+ },
+ "message": {
+ "description": "A human-readable description of the cause of the error. This field may be presented as-is to a reader.",
+ "type": "string"
+ },
+ "reason": {
+ "description": "A machine-readable description of the cause of the error. If this value is empty there is no information available.",
+ "type": "string"
+ }
},
- "parameters": [
+ "type": "object"
+ },
+ "v1.StatusDetails": {
+ "description": "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.",
+ "properties": {
+ "causes": {
+ "description": "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.",
+ "items": {
+ "$ref": "#/definitions/v1.StatusCause"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "group": {
+ "description": "The group attribute of the resource associated with the status StatusReason.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).",
+ "type": "string"
+ },
+ "retryAfterSeconds": {
+ "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "uid": {
+ "description": "UID of the resource. (when there is a single resource which can be described). More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "v1.WatchEvent": {
+ "description": "Event represents a single event to a watched resource.",
+ "properties": {
+ "object": {
+ "description": "Object is:\n * If Type is Added or Modified: the new state of the object.\n * If Type is Deleted: the state of the object immediately before deletion.\n * If Type is Error: *Status is recommended; other types may make sense\n depending on context.",
+ "type": "object"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "object"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
+ "group": "",
+ "kind": "WatchEvent",
+ "version": "v1"
},
{
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
+ "group": "admission.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
},
{
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
+ "group": "admission.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
},
{
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
+ "group": "admissionregistration.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
},
{
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
+ "group": "admissionregistration.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1alpha1"
},
{
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
+ "group": "admissionregistration.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
},
{
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
+ "group": "apiextensions.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
},
{
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "group": "apiextensions.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
},
{
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "group": "apiregistration.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
},
{
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "group": "apiregistration.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
},
{
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/api/v1/componentstatuses/{name}": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read the specified ComponentStatus",
- "operationId": "readComponentStatus",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ComponentStatus"
- }
- }
+ "group": "apps",
+ "kind": "WatchEvent",
+ "version": "v1"
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ComponentStatus",
+ {
+ "group": "apps",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
+ },
+ {
+ "group": "apps",
+ "kind": "WatchEvent",
+ "version": "v1beta2"
+ },
+ {
+ "group": "authentication.k8s.io",
+ "kind": "WatchEvent",
"version": "v1"
- }
- },
- "parameters": [
+ },
{
- "description": "name of the ComponentStatus",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
+ "group": "authentication.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1alpha1"
},
{
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ]
- },
- "/api/v1/configmaps": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind ConfigMap",
- "operationId": "listConfigMapForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch",
- "application/cbor-seq"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ConfigMapList"
- }
- }
+ "group": "authentication.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ConfigMap",
- "version": "v1"
- }
- },
- "parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
+ "group": "authorization.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
},
{
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
+ "group": "authorization.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
},
{
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
+ "group": "autoscaling",
+ "kind": "WatchEvent",
+ "version": "v1"
},
{
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
+ "group": "autoscaling",
+ "kind": "WatchEvent",
+ "version": "v2"
},
{
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
+ "group": "autoscaling",
+ "kind": "WatchEvent",
+ "version": "v2beta1"
},
{
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
+ "group": "autoscaling",
+ "kind": "WatchEvent",
+ "version": "v2beta2"
},
{
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
+ "group": "batch",
+ "kind": "WatchEvent",
+ "version": "v1"
},
{
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "group": "batch",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
},
{
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "group": "certificates.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
},
{
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "group": "certificates.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1alpha1"
},
{
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/api/v1/endpoints": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind Endpoints",
- "operationId": "listEndpointsForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch",
- "application/cbor-seq"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.EndpointsList"
- }
- }
+ "group": "certificates.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Endpoints",
- "version": "v1"
- }
- },
- "parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
+ "group": "coordination.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
},
{
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
+ "group": "coordination.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1alpha2"
},
{
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
+ "group": "coordination.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
},
{
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
+ "group": "discovery.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
},
{
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
+ "group": "discovery.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
},
{
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
+ "group": "events.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
},
{
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
+ "group": "events.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
},
{
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "group": "extensions",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
},
{
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
},
{
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
},
{
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/api/v1/events": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind Event",
- "operationId": "listEventForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch",
- "application/cbor-seq"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/core.v1.EventList"
- }
- }
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta2"
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Event",
- "version": "v1"
- }
- },
- "parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta3"
},
{
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
+ "group": "imagepolicy.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1alpha1"
},
{
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
+ "group": "internal.apiserver.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1alpha1"
},
{
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
+ "group": "networking.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
},
{
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
+ "group": "networking.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1alpha1"
},
{
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
+ "group": "networking.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
},
{
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
+ "group": "node.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
},
{
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "group": "node.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1alpha1"
},
{
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "group": "node.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
},
{
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "group": "policy",
+ "kind": "WatchEvent",
+ "version": "v1"
},
{
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/api/v1/limitranges": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind LimitRange",
- "operationId": "listLimitRangeForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch",
- "application/cbor-seq"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.LimitRangeList"
- }
- }
+ "group": "policy",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "LimitRange",
+ {
+ "group": "rbac.authorization.k8s.io",
+ "kind": "WatchEvent",
"version": "v1"
- }
- },
- "parameters": [
+ },
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
+ "group": "rbac.authorization.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1alpha1"
},
{
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
+ "group": "rbac.authorization.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
},
{
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
+ "group": "resource.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1alpha3"
},
{
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
+ "group": "resource.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
},
{
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
+ "group": "resource.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta2"
},
{
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
+ "group": "scheduling.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
},
{
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
+ "group": "scheduling.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1alpha1"
},
{
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "group": "scheduling.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
},
{
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "group": "storage.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
},
{
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "group": "storage.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1alpha1"
},
{
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "group": "storage.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
+ },
+ {
+ "group": "storagemigration.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1alpha1"
}
]
},
- "/api/v1/namespaces": {
+ "intstr.IntOrString": {
+ "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.",
+ "format": "int-or-string",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "string"
+ }
+ }
+ },
+ "version.Info": {
+ "description": "Info contains versioning information. how we'll want to distribute that information.",
+ "properties": {
+ "buildDate": {
+ "type": "string"
+ },
+ "compiler": {
+ "type": "string"
+ },
+ "emulationMajor": {
+ "description": "EmulationMajor is the major version of the emulation version",
+ "type": "string"
+ },
+ "emulationMinor": {
+ "description": "EmulationMinor is the minor version of the emulation version",
+ "type": "string"
+ },
+ "gitCommit": {
+ "type": "string"
+ },
+ "gitTreeState": {
+ "type": "string"
+ },
+ "gitVersion": {
+ "type": "string"
+ },
+ "goVersion": {
+ "type": "string"
+ },
+ "major": {
+ "description": "Major is the major version of the binary version",
+ "type": "string"
+ },
+ "minCompatibilityMajor": {
+ "description": "MinCompatibilityMajor is the major version of the minimum compatibility version",
+ "type": "string"
+ },
+ "minCompatibilityMinor": {
+ "description": "MinCompatibilityMinor is the minor version of the minimum compatibility version",
+ "type": "string"
+ },
+ "minor": {
+ "description": "Minor is the minor version of the binary version",
+ "type": "string"
+ },
+ "platform": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "major",
+ "minor",
+ "gitVersion",
+ "gitCommit",
+ "gitTreeState",
+ "buildDate",
+ "goVersion",
+ "compiler",
+ "platform"
+ ],
+ "type": "object"
+ },
+ "v1.APIService": {
+ "description": "APIService represents a server for a particular GroupVersion. Name must be \"version.group\".",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ },
+ "spec": {
+ "$ref": "#/definitions/v1.APIServiceSpec",
+ "description": "Spec contains information for locating and communicating with a server"
+ },
+ "status": {
+ "$ref": "#/definitions/v1.APIServiceStatus",
+ "description": "Status contains derived information about an API server"
+ }
+ },
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "apiregistration.k8s.io",
+ "kind": "APIService",
+ "version": "v1"
+ }
+ ]
+ },
+ "v1.APIServiceCondition": {
+ "description": "APIServiceCondition describes the state of an APIService at a particular point",
+ "properties": {
+ "lastTransitionTime": {
+ "description": "Last time the condition transitioned from one status to another.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "message": {
+ "description": "Human-readable message indicating details about last transition.",
+ "type": "string"
+ },
+ "reason": {
+ "description": "Unique, one-word, CamelCase reason for the condition's last transition.",
+ "type": "string"
+ },
+ "status": {
+ "description": "Status is the status of the condition. Can be True, False, Unknown.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Type is the type of the condition.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "status"
+ ],
+ "type": "object"
+ },
+ "v1.APIServiceList": {
+ "description": "APIServiceList is a list of APIService objects.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "items": {
+ "description": "Items is the list of APIService",
+ "items": {
+ "$ref": "#/definitions/v1.APIService"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "apiregistration.k8s.io",
+ "kind": "APIServiceList",
+ "version": "v1"
+ }
+ ]
+ },
+ "v1.APIServiceSpec": {
+ "description": "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.",
+ "properties": {
+ "caBundle": {
+ "description": "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used.",
+ "format": "byte",
+ "type": "string",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "group": {
+ "description": "Group is the API group name this server hosts",
+ "type": "string"
+ },
+ "groupPriorityMinimum": {
+ "description": "GroupPriorityMinimum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMinimum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s",
+ "format": "int32",
+ "type": "integer"
+ },
+ "insecureSkipTLSVerify": {
+ "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.",
+ "type": "boolean"
+ },
+ "service": {
+ "$ref": "#/definitions/apiregistration.v1.ServiceReference",
+ "description": "Service is a reference to the service for this API server. It must communicate on port 443. If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled."
+ },
+ "version": {
+ "description": "Version is the API version this server hosts. For example, \"v1\"",
+ "type": "string"
+ },
+ "versionPriority": {
+ "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "groupPriorityMinimum",
+ "versionPriority"
+ ],
+ "type": "object"
+ },
+ "v1.APIServiceStatus": {
+ "description": "APIServiceStatus contains derived information about an API server",
+ "properties": {
+ "conditions": {
+ "description": "Current service state of apiService.",
+ "items": {
+ "$ref": "#/definitions/v1.APIServiceCondition"
+ },
+ "type": "array",
+ "x-kubernetes-list-map-keys": [
+ "type"
+ ],
+ "x-kubernetes-list-type": "map",
+ "x-kubernetes-patch-merge-key": "type",
+ "x-kubernetes-patch-strategy": "merge"
+ }
+ },
+ "type": "object"
+ },
+ "apiregistration.v1.ServiceReference": {
+ "description": "ServiceReference holds a reference to Service.legacy.k8s.io",
+ "properties": {
+ "name": {
+ "description": "Name is the name of the service",
+ "type": "string"
+ },
+ "namespace": {
+ "description": "Namespace is the namespace of the service",
+ "type": "string"
+ },
+ "port": {
+ "description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "info": {
+ "title": "Kubernetes",
+ "version": "v1.33.0"
+ },
+ "paths": {
+ "/api/": {
"get": {
"consumes": [
- "application/json"
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
],
- "description": "list or watch objects of kind Namespace",
- "operationId": "listNamespace",
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "description": "get available API versions",
+ "operationId": "getAPIVersions",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIVersions"
+ }
}
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core"
+ ]
+ }
+ },
+ "/api/v1/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
- "application/cbor",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch",
- "application/cbor-seq"
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.NamespaceList"
+ "$ref": "#/definitions/v1.APIResourceList"
}
}
},
@@ -20318,83 +21627,30 @@
],
"tags": [
"core_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Namespace",
- "version": "v1"
- }
- },
- "parameters": [
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "post": {
+ ]
+ }
+ },
+ "/api/v1/componentstatuses": {
+ "get": {
"consumes": [
"application/json"
],
- "description": "create a Namespace",
- "operationId": "createNamespace",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Namespace"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
+ "description": "list objects of kind ComponentStatus",
+ "operationId": "listComponentStatus",
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
- "application/cbor"
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Namespace"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Namespace"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Namespace"
+ "$ref": "#/definitions/v1.ComponentStatusList"
}
}
},
@@ -20404,93 +21660,111 @@
"tags": [
"core_v1"
],
- "x-kubernetes-action": "post",
+ "x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Namespace",
+ "kind": "ComponentStatus",
"version": "v1"
- },
- "x-codegen-request-body-name": "body"
- }
- },
- "/api/v1/namespaces/{namespace}/bindings": {
+ }
+ },
"parameters": [
{
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
"in": "query",
- "name": "dryRun",
- "type": "string",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
"in": "query",
- "name": "fieldManager",
+ "name": "continue",
"type": "string",
"uniqueItems": true
},
{
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
"in": "query",
- "name": "fieldValidation",
+ "name": "fieldSelector",
"type": "string",
"uniqueItems": true
},
{
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "create a Binding",
- "operationId": "createNamespacedBinding",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Binding"
- }
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/api/v1/componentstatuses/{name}": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified ComponentStatus",
+ "operationId": "readComponentStatus",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Binding"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Binding"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Binding"
+ "$ref": "#/definitions/v1.ComponentStatus"
}
}
},
@@ -20500,133 +21774,52 @@
"tags": [
"core_v1"
],
- "x-kubernetes-action": "post",
+ "x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Binding",
+ "kind": "ComponentStatus",
"version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the ComponentStatus",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ]
},
- "/api/v1/namespaces/{namespace}/configmaps": {
- "delete": {
+ "/api/v1/configmaps": {
+ "get": {
"consumes": [
"application/json"
],
- "description": "delete collection of ConfigMap",
- "operationId": "deleteCollectionNamespacedConfigMap",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
- "in": "query",
- "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- }
- ],
+ "description": "list or watch objects of kind ConfigMap",
+ "operationId": "listConfigMapForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
- "application/cbor"
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.ConfigMapList"
}
}
},
@@ -20636,92 +21829,100 @@
"tags": [
"core_v1"
],
- "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "",
"kind": "ConfigMap",
"version": "v1"
- },
- "x-codegen-request-body-name": "body"
+ }
},
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/api/v1/endpoints": {
"get": {
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind ConfigMap",
- "operationId": "listNamespacedConfigMap",
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
+ "description": "list or watch objects of kind Endpoints",
+ "operationId": "listEndpointsForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
@@ -20735,7 +21936,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ConfigMapList"
+ "$ref": "#/definitions/v1.EndpointsList"
}
}
},
@@ -20748,87 +21949,111 @@
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "ConfigMap",
+ "kind": "Endpoints",
"version": "v1"
}
},
"parameters": [
{
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- ],
- "post": {
+ ]
+ },
+ "/api/v1/events": {
+ "get": {
"consumes": [
"application/json"
],
- "description": "create a ConfigMap",
- "operationId": "createNamespacedConfigMap",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.ConfigMap"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
+ "description": "list or watch objects of kind Event",
+ "operationId": "listEventForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
- "application/cbor"
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ConfigMap"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.ConfigMap"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.ConfigMap"
+ "$ref": "#/definitions/core.v1.EventList"
}
}
},
@@ -20838,117 +22063,303 @@
"tags": [
"core_v1"
],
- "x-kubernetes-action": "post",
+ "x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "ConfigMap",
+ "kind": "Event",
"version": "v1"
- },
- "x-codegen-request-body-name": "body"
- }
- },
- "/api/v1/namespaces/{namespace}/configmaps/{name}": {
- "delete": {
- "consumes": [
- "application/json"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/api/v1/limitranges": {
+ "get": {
+ "consumes": [
+ "application/json"
],
- "description": "delete a ConfigMap",
- "operationId": "deleteNamespacedConfigMap",
- "parameters": [
- {
- "in": "body",
- "name": "body",
+ "description": "list or watch objects of kind LimitRange",
+ "operationId": "listLimitRangeForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
"schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
+ "$ref": "#/definitions/v1.LimitRangeList"
}
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "LimitRange",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/api/v1/namespaces": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind Namespace",
+ "operationId": "listNamespace",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
},
{
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
"in": "query",
- "name": "dryRun",
+ "name": "continue",
"type": "string",
"uniqueItems": true
},
{
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
"in": "query",
- "name": "gracePeriodSeconds",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
"type": "integer",
"uniqueItems": true
},
{
- "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
"in": "query",
- "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
- "type": "boolean",
+ "name": "resourceVersion",
+ "type": "string",
"uniqueItems": true
},
{
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
"in": "query",
- "name": "orphanDependents",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
"type": "boolean",
"uniqueItems": true
},
{
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
"in": "query",
- "name": "propagationPolicy",
- "type": "string",
+ "name": "timeoutSeconds",
+ "type": "integer",
"uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
},
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "delete",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ConfigMap",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
],
- "description": "read the specified ConfigMap",
- "operationId": "readNamespacedConfigMap",
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
- "application/cbor"
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ConfigMap"
+ "$ref": "#/definitions/v1.NamespaceList"
}
}
},
@@ -20958,30 +22369,14 @@
"tags": [
"core_v1"
],
- "x-kubernetes-action": "get",
+ "x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "ConfigMap",
+ "kind": "Namespace",
"version": "v1"
}
},
"parameters": [
- {
- "description": "name of the ConfigMap",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -20990,23 +22385,19 @@
"uniqueItems": true
}
],
- "patch": {
+ "post": {
"consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml",
- "application/apply-patch+cbor"
+ "application/json"
],
- "description": "partially update the specified ConfigMap",
- "operationId": "patchNamespacedConfigMap",
+ "description": "create a Namespace",
+ "operationId": "createNamespace",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Patch"
+ "$ref": "#/definitions/v1.Namespace"
}
},
{
@@ -21017,7 +22408,7 @@
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
"in": "query",
"name": "fieldManager",
"type": "string",
@@ -21029,13 +22420,6 @@
"name": "fieldValidation",
"type": "string",
"uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
}
],
"produces": [
@@ -21048,13 +22432,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ConfigMap"
+ "$ref": "#/definitions/v1.Namespace"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ConfigMap"
+ "$ref": "#/definitions/v1.Namespace"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Namespace"
}
}
},
@@ -21064,49 +22454,68 @@
"tags": [
"core_v1"
],
- "x-kubernetes-action": "patch",
+ "x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "ConfigMap",
+ "kind": "Namespace",
"version": "v1"
},
"x-codegen-request-body-name": "body"
- },
- "put": {
+ }
+ },
+ "/api/v1/namespaces/{namespace}/bindings": {
+ "parameters": [
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
"consumes": [
"application/json"
],
- "description": "replace the specified ConfigMap",
- "operationId": "replaceNamespacedConfigMap",
+ "description": "create a Binding",
+ "operationId": "createNamespacedBinding",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.ConfigMap"
+ "$ref": "#/definitions/v1.Binding"
}
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
}
],
"produces": [
@@ -21119,13 +22528,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ConfigMap"
+ "$ref": "#/definitions/v1.Binding"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ConfigMap"
+ "$ref": "#/definitions/v1.Binding"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Binding"
}
}
},
@@ -21135,22 +22550,22 @@
"tags": [
"core_v1"
],
- "x-kubernetes-action": "put",
+ "x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "ConfigMap",
+ "kind": "Binding",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/api/v1/namespaces/{namespace}/endpoints": {
+ "/api/v1/namespaces/{namespace}/configmaps": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of Endpoints",
- "operationId": "deleteCollectionNamespacedEndpoints",
+ "description": "delete collection of ConfigMap",
+ "operationId": "deleteCollectionNamespacedConfigMap",
"parameters": [
{
"in": "body",
@@ -21274,7 +22689,7 @@
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Endpoints",
+ "kind": "ConfigMap",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -21283,8 +22698,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind Endpoints",
- "operationId": "listNamespacedEndpoints",
+ "description": "list or watch objects of kind ConfigMap",
+ "operationId": "listNamespacedConfigMap",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -21370,7 +22785,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.EndpointsList"
+ "$ref": "#/definitions/v1.ConfigMapList"
}
}
},
@@ -21383,7 +22798,7 @@
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Endpoints",
+ "kind": "ConfigMap",
"version": "v1"
}
},
@@ -21408,15 +22823,15 @@
"consumes": [
"application/json"
],
- "description": "create Endpoints",
- "operationId": "createNamespacedEndpoints",
+ "description": "create a ConfigMap",
+ "operationId": "createNamespacedConfigMap",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Endpoints"
+ "$ref": "#/definitions/v1.ConfigMap"
}
},
{
@@ -21451,19 +22866,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Endpoints"
+ "$ref": "#/definitions/v1.ConfigMap"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Endpoints"
+ "$ref": "#/definitions/v1.ConfigMap"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.Endpoints"
+ "$ref": "#/definitions/v1.ConfigMap"
}
}
},
@@ -21476,19 +22891,19 @@
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Endpoints",
+ "kind": "ConfigMap",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/api/v1/namespaces/{namespace}/endpoints/{name}": {
+ "/api/v1/namespaces/{namespace}/configmaps/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete Endpoints",
- "operationId": "deleteNamespacedEndpoints",
+ "description": "delete a ConfigMap",
+ "operationId": "deleteNamespacedConfigMap",
"parameters": [
{
"in": "body",
@@ -21562,7 +22977,7 @@
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Endpoints",
+ "kind": "ConfigMap",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -21571,8 +22986,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified Endpoints",
- "operationId": "readNamespacedEndpoints",
+ "description": "read the specified ConfigMap",
+ "operationId": "readNamespacedConfigMap",
"produces": [
"application/json",
"application/yaml",
@@ -21583,7 +22998,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Endpoints"
+ "$ref": "#/definitions/v1.ConfigMap"
}
}
},
@@ -21596,13 +23011,13 @@
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Endpoints",
+ "kind": "ConfigMap",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the Endpoints",
+ "description": "name of the ConfigMap",
"in": "path",
"name": "name",
"required": true,
@@ -21633,8 +23048,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified Endpoints",
- "operationId": "patchNamespacedEndpoints",
+ "description": "partially update the specified ConfigMap",
+ "operationId": "patchNamespacedConfigMap",
"parameters": [
{
"in": "body",
@@ -21683,13 +23098,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Endpoints"
+ "$ref": "#/definitions/v1.ConfigMap"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Endpoints"
+ "$ref": "#/definitions/v1.ConfigMap"
}
}
},
@@ -21702,7 +23117,7 @@
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Endpoints",
+ "kind": "ConfigMap",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -21711,15 +23126,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified Endpoints",
- "operationId": "replaceNamespacedEndpoints",
+ "description": "replace the specified ConfigMap",
+ "operationId": "replaceNamespacedConfigMap",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Endpoints"
+ "$ref": "#/definitions/v1.ConfigMap"
}
},
{
@@ -21754,13 +23169,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Endpoints"
+ "$ref": "#/definitions/v1.ConfigMap"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Endpoints"
+ "$ref": "#/definitions/v1.ConfigMap"
}
}
},
@@ -21773,19 +23188,19 @@
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Endpoints",
+ "kind": "ConfigMap",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/api/v1/namespaces/{namespace}/events": {
+ "/api/v1/namespaces/{namespace}/endpoints": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of Event",
- "operationId": "deleteCollectionNamespacedEvent",
+ "description": "delete collection of Endpoints",
+ "operationId": "deleteCollectionNamespacedEndpoints",
"parameters": [
{
"in": "body",
@@ -21909,7 +23324,7 @@
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Event",
+ "kind": "Endpoints",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -21918,8 +23333,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind Event",
- "operationId": "listNamespacedEvent",
+ "description": "list or watch objects of kind Endpoints",
+ "operationId": "listNamespacedEndpoints",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -22005,7 +23420,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/core.v1.EventList"
+ "$ref": "#/definitions/v1.EndpointsList"
}
}
},
@@ -22018,7 +23433,7 @@
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Event",
+ "kind": "Endpoints",
"version": "v1"
}
},
@@ -22043,15 +23458,15 @@
"consumes": [
"application/json"
],
- "description": "create an Event",
- "operationId": "createNamespacedEvent",
+ "description": "create Endpoints",
+ "operationId": "createNamespacedEndpoints",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/core.v1.Event"
+ "$ref": "#/definitions/v1.Endpoints"
}
},
{
@@ -22086,19 +23501,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/core.v1.Event"
+ "$ref": "#/definitions/v1.Endpoints"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/core.v1.Event"
+ "$ref": "#/definitions/v1.Endpoints"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/core.v1.Event"
+ "$ref": "#/definitions/v1.Endpoints"
}
}
},
@@ -22111,19 +23526,19 @@
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Event",
+ "kind": "Endpoints",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/api/v1/namespaces/{namespace}/events/{name}": {
+ "/api/v1/namespaces/{namespace}/endpoints/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete an Event",
- "operationId": "deleteNamespacedEvent",
+ "description": "delete Endpoints",
+ "operationId": "deleteNamespacedEndpoints",
"parameters": [
{
"in": "body",
@@ -22197,7 +23612,7 @@
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Event",
+ "kind": "Endpoints",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -22206,8 +23621,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified Event",
- "operationId": "readNamespacedEvent",
+ "description": "read the specified Endpoints",
+ "operationId": "readNamespacedEndpoints",
"produces": [
"application/json",
"application/yaml",
@@ -22218,7 +23633,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/core.v1.Event"
+ "$ref": "#/definitions/v1.Endpoints"
}
}
},
@@ -22231,13 +23646,13 @@
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Event",
+ "kind": "Endpoints",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the Event",
+ "description": "name of the Endpoints",
"in": "path",
"name": "name",
"required": true,
@@ -22268,8 +23683,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified Event",
- "operationId": "patchNamespacedEvent",
+ "description": "partially update the specified Endpoints",
+ "operationId": "patchNamespacedEndpoints",
"parameters": [
{
"in": "body",
@@ -22318,13 +23733,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/core.v1.Event"
+ "$ref": "#/definitions/v1.Endpoints"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/core.v1.Event"
+ "$ref": "#/definitions/v1.Endpoints"
}
}
},
@@ -22337,7 +23752,7 @@
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Event",
+ "kind": "Endpoints",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -22346,15 +23761,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified Event",
- "operationId": "replaceNamespacedEvent",
+ "description": "replace the specified Endpoints",
+ "operationId": "replaceNamespacedEndpoints",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/core.v1.Event"
+ "$ref": "#/definitions/v1.Endpoints"
}
},
{
@@ -22389,13 +23804,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/core.v1.Event"
+ "$ref": "#/definitions/v1.Endpoints"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/core.v1.Event"
+ "$ref": "#/definitions/v1.Endpoints"
}
}
},
@@ -22408,19 +23823,19 @@
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Event",
+ "kind": "Endpoints",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/api/v1/namespaces/{namespace}/limitranges": {
+ "/api/v1/namespaces/{namespace}/events": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of LimitRange",
- "operationId": "deleteCollectionNamespacedLimitRange",
+ "description": "delete collection of Event",
+ "operationId": "deleteCollectionNamespacedEvent",
"parameters": [
{
"in": "body",
@@ -22544,7 +23959,7 @@
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "LimitRange",
+ "kind": "Event",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -22553,8 +23968,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind LimitRange",
- "operationId": "listNamespacedLimitRange",
+ "description": "list or watch objects of kind Event",
+ "operationId": "listNamespacedEvent",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -22640,7 +24055,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.LimitRangeList"
+ "$ref": "#/definitions/core.v1.EventList"
}
}
},
@@ -22653,7 +24068,7 @@
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "LimitRange",
+ "kind": "Event",
"version": "v1"
}
},
@@ -22678,15 +24093,15 @@
"consumes": [
"application/json"
],
- "description": "create a LimitRange",
- "operationId": "createNamespacedLimitRange",
+ "description": "create an Event",
+ "operationId": "createNamespacedEvent",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.LimitRange"
+ "$ref": "#/definitions/core.v1.Event"
}
},
{
@@ -22721,19 +24136,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.LimitRange"
+ "$ref": "#/definitions/core.v1.Event"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.LimitRange"
+ "$ref": "#/definitions/core.v1.Event"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.LimitRange"
+ "$ref": "#/definitions/core.v1.Event"
}
}
},
@@ -22746,19 +24161,19 @@
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "LimitRange",
+ "kind": "Event",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/api/v1/namespaces/{namespace}/limitranges/{name}": {
+ "/api/v1/namespaces/{namespace}/events/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a LimitRange",
- "operationId": "deleteNamespacedLimitRange",
+ "description": "delete an Event",
+ "operationId": "deleteNamespacedEvent",
"parameters": [
{
"in": "body",
@@ -22832,7 +24247,7 @@
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "LimitRange",
+ "kind": "Event",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -22841,8 +24256,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified LimitRange",
- "operationId": "readNamespacedLimitRange",
+ "description": "read the specified Event",
+ "operationId": "readNamespacedEvent",
"produces": [
"application/json",
"application/yaml",
@@ -22853,7 +24268,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.LimitRange"
+ "$ref": "#/definitions/core.v1.Event"
}
}
},
@@ -22866,13 +24281,13 @@
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "LimitRange",
+ "kind": "Event",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the LimitRange",
+ "description": "name of the Event",
"in": "path",
"name": "name",
"required": true,
@@ -22903,8 +24318,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified LimitRange",
- "operationId": "patchNamespacedLimitRange",
+ "description": "partially update the specified Event",
+ "operationId": "patchNamespacedEvent",
"parameters": [
{
"in": "body",
@@ -22953,13 +24368,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.LimitRange"
+ "$ref": "#/definitions/core.v1.Event"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.LimitRange"
+ "$ref": "#/definitions/core.v1.Event"
}
}
},
@@ -22972,7 +24387,7 @@
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "LimitRange",
+ "kind": "Event",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -22981,15 +24396,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified LimitRange",
- "operationId": "replaceNamespacedLimitRange",
+ "description": "replace the specified Event",
+ "operationId": "replaceNamespacedEvent",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.LimitRange"
+ "$ref": "#/definitions/core.v1.Event"
}
},
{
@@ -23024,13 +24439,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.LimitRange"
+ "$ref": "#/definitions/core.v1.Event"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.LimitRange"
+ "$ref": "#/definitions/core.v1.Event"
}
}
},
@@ -23043,19 +24458,19 @@
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "LimitRange",
+ "kind": "Event",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/api/v1/namespaces/{namespace}/persistentvolumeclaims": {
+ "/api/v1/namespaces/{namespace}/limitranges": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of PersistentVolumeClaim",
- "operationId": "deleteCollectionNamespacedPersistentVolumeClaim",
+ "description": "delete collection of LimitRange",
+ "operationId": "deleteCollectionNamespacedLimitRange",
"parameters": [
{
"in": "body",
@@ -23179,7 +24594,7 @@
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "PersistentVolumeClaim",
+ "kind": "LimitRange",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -23188,8 +24603,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind PersistentVolumeClaim",
- "operationId": "listNamespacedPersistentVolumeClaim",
+ "description": "list or watch objects of kind LimitRange",
+ "operationId": "listNamespacedLimitRange",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -23275,7 +24690,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaimList"
+ "$ref": "#/definitions/v1.LimitRangeList"
}
}
},
@@ -23288,7 +24703,7 @@
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "PersistentVolumeClaim",
+ "kind": "LimitRange",
"version": "v1"
}
},
@@ -23313,15 +24728,15 @@
"consumes": [
"application/json"
],
- "description": "create a PersistentVolumeClaim",
- "operationId": "createNamespacedPersistentVolumeClaim",
+ "description": "create a LimitRange",
+ "operationId": "createNamespacedLimitRange",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ "$ref": "#/definitions/v1.LimitRange"
}
},
{
@@ -23356,19 +24771,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ "$ref": "#/definitions/v1.LimitRange"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ "$ref": "#/definitions/v1.LimitRange"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ "$ref": "#/definitions/v1.LimitRange"
}
}
},
@@ -23381,19 +24796,19 @@
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "PersistentVolumeClaim",
+ "kind": "LimitRange",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}": {
+ "/api/v1/namespaces/{namespace}/limitranges/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a PersistentVolumeClaim",
- "operationId": "deleteNamespacedPersistentVolumeClaim",
+ "description": "delete a LimitRange",
+ "operationId": "deleteNamespacedLimitRange",
"parameters": [
{
"in": "body",
@@ -23448,13 +24863,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ "$ref": "#/definitions/v1.Status"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ "$ref": "#/definitions/v1.Status"
}
}
},
@@ -23467,230 +24882,17 @@
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "PersistentVolumeClaim",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read the specified PersistentVolumeClaim",
- "operationId": "readNamespacedPersistentVolumeClaim",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PersistentVolumeClaim",
- "version": "v1"
- }
- },
- "parameters": [
- {
- "description": "name of the PersistentVolumeClaim",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml",
- "application/apply-patch+cbor"
- ],
- "description": "partially update the specified PersistentVolumeClaim",
- "operationId": "patchNamespacedPersistentVolumeClaim",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PersistentVolumeClaim",
+ "kind": "LimitRange",
"version": "v1"
},
"x-codegen-request-body-name": "body"
},
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace the specified PersistentVolumeClaim",
- "operationId": "replaceNamespacedPersistentVolumeClaim",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PersistentVolumeClaim",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- }
- },
- "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified PersistentVolumeClaim",
- "operationId": "readNamespacedPersistentVolumeClaimStatus",
+ "description": "read the specified LimitRange",
+ "operationId": "readNamespacedLimitRange",
"produces": [
"application/json",
"application/yaml",
@@ -23701,7 +24903,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ "$ref": "#/definitions/v1.LimitRange"
}
}
},
@@ -23714,13 +24916,13 @@
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "PersistentVolumeClaim",
+ "kind": "LimitRange",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the PersistentVolumeClaim",
+ "description": "name of the LimitRange",
"in": "path",
"name": "name",
"required": true,
@@ -23751,8 +24953,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update status of the specified PersistentVolumeClaim",
- "operationId": "patchNamespacedPersistentVolumeClaimStatus",
+ "description": "partially update the specified LimitRange",
+ "operationId": "patchNamespacedLimitRange",
"parameters": [
{
"in": "body",
@@ -23801,13 +25003,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ "$ref": "#/definitions/v1.LimitRange"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ "$ref": "#/definitions/v1.LimitRange"
}
}
},
@@ -23820,7 +25022,7 @@
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "PersistentVolumeClaim",
+ "kind": "LimitRange",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -23829,15 +25031,15 @@
"consumes": [
"application/json"
],
- "description": "replace status of the specified PersistentVolumeClaim",
- "operationId": "replaceNamespacedPersistentVolumeClaimStatus",
+ "description": "replace the specified LimitRange",
+ "operationId": "replaceNamespacedLimitRange",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ "$ref": "#/definitions/v1.LimitRange"
}
},
{
@@ -23872,13 +25074,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ "$ref": "#/definitions/v1.LimitRange"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ "$ref": "#/definitions/v1.LimitRange"
}
}
},
@@ -23891,19 +25093,19 @@
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "PersistentVolumeClaim",
+ "kind": "LimitRange",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/api/v1/namespaces/{namespace}/pods": {
+ "/api/v1/namespaces/{namespace}/persistentvolumeclaims": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of Pod",
- "operationId": "deleteCollectionNamespacedPod",
+ "description": "delete collection of PersistentVolumeClaim",
+ "operationId": "deleteCollectionNamespacedPersistentVolumeClaim",
"parameters": [
{
"in": "body",
@@ -24027,7 +25229,7 @@
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Pod",
+ "kind": "PersistentVolumeClaim",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -24036,8 +25238,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind Pod",
- "operationId": "listNamespacedPod",
+ "description": "list or watch objects of kind PersistentVolumeClaim",
+ "operationId": "listNamespacedPersistentVolumeClaim",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -24123,7 +25325,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PodList"
+ "$ref": "#/definitions/v1.PersistentVolumeClaimList"
}
}
},
@@ -24136,7 +25338,7 @@
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Pod",
+ "kind": "PersistentVolumeClaim",
"version": "v1"
}
},
@@ -24161,15 +25363,15 @@
"consumes": [
"application/json"
],
- "description": "create a Pod",
- "operationId": "createNamespacedPod",
+ "description": "create a PersistentVolumeClaim",
+ "operationId": "createNamespacedPersistentVolumeClaim",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Pod"
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
}
},
{
@@ -24204,19 +25406,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Pod"
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Pod"
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.Pod"
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
}
}
},
@@ -24229,19 +25431,19 @@
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Pod",
+ "kind": "PersistentVolumeClaim",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/api/v1/namespaces/{namespace}/pods/{name}": {
+ "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a Pod",
- "operationId": "deleteNamespacedPod",
+ "description": "delete a PersistentVolumeClaim",
+ "operationId": "deleteNamespacedPersistentVolumeClaim",
"parameters": [
{
"in": "body",
@@ -24296,13 +25498,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Pod"
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.Pod"
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
}
}
},
@@ -24315,7 +25517,7 @@
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Pod",
+ "kind": "PersistentVolumeClaim",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -24324,8 +25526,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified Pod",
- "operationId": "readNamespacedPod",
+ "description": "read the specified PersistentVolumeClaim",
+ "operationId": "readNamespacedPersistentVolumeClaim",
"produces": [
"application/json",
"application/yaml",
@@ -24336,7 +25538,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Pod"
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
}
}
},
@@ -24349,13 +25551,13 @@
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Pod",
+ "kind": "PersistentVolumeClaim",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the Pod",
+ "description": "name of the PersistentVolumeClaim",
"in": "path",
"name": "name",
"required": true,
@@ -24386,8 +25588,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified Pod",
- "operationId": "patchNamespacedPod",
+ "description": "partially update the specified PersistentVolumeClaim",
+ "operationId": "patchNamespacedPersistentVolumeClaim",
"parameters": [
{
"in": "body",
@@ -24436,13 +25638,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Pod"
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Pod"
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
}
}
},
@@ -24455,7 +25657,7 @@
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Pod",
+ "kind": "PersistentVolumeClaim",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -24464,15 +25666,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified Pod",
- "operationId": "replaceNamespacedPod",
+ "description": "replace the specified PersistentVolumeClaim",
+ "operationId": "replaceNamespacedPersistentVolumeClaim",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Pod"
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
}
},
{
@@ -24507,13 +25709,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Pod"
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Pod"
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
}
}
},
@@ -24526,240 +25728,19 @@
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Pod",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- }
- },
- "/api/v1/namespaces/{namespace}/pods/{name}/attach": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "connect GET requests to attach of Pod",
- "operationId": "connectGetNamespacedPodAttach",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodAttachOptions",
- "version": "v1"
- }
- },
- "parameters": [
- {
- "description": "The container in which to execute the command. Defaults to only container if there is only one container in the pod.",
- "in": "query",
- "name": "container",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "name of the PodAttachOptions",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true.",
- "in": "query",
- "name": "stderr",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false.",
- "in": "query",
- "name": "stdin",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true.",
- "in": "query",
- "name": "stdout",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false.",
- "in": "query",
- "name": "tty",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "connect POST requests to attach of Pod",
- "operationId": "connectPostNamespacedPodAttach",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodAttachOptions",
- "version": "v1"
- }
- }
- },
- "/api/v1/namespaces/{namespace}/pods/{name}/binding": {
- "parameters": [
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "name of the Binding",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "create binding of a Pod",
- "operationId": "createNamespacedPodBinding",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Binding"
- }
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Binding"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Binding"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Binding"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "post",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Binding",
+ "kind": "PersistentVolumeClaim",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/api/v1/namespaces/{namespace}/pods/{name}/ephemeralcontainers": {
+ "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "read ephemeralcontainers of the specified Pod",
- "operationId": "readNamespacedPodEphemeralcontainers",
+ "description": "read status of the specified PersistentVolumeClaim",
+ "operationId": "readNamespacedPersistentVolumeClaimStatus",
"produces": [
"application/json",
"application/yaml",
@@ -24770,7 +25751,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Pod"
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
}
}
},
@@ -24783,13 +25764,13 @@
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Pod",
+ "kind": "PersistentVolumeClaim",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the Pod",
+ "description": "name of the PersistentVolumeClaim",
"in": "path",
"name": "name",
"required": true,
@@ -24820,8 +25801,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update ephemeralcontainers of the specified Pod",
- "operationId": "patchNamespacedPodEphemeralcontainers",
+ "description": "partially update status of the specified PersistentVolumeClaim",
+ "operationId": "patchNamespacedPersistentVolumeClaimStatus",
"parameters": [
{
"in": "body",
@@ -24870,13 +25851,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Pod"
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Pod"
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
}
}
},
@@ -24889,7 +25870,7 @@
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Pod",
+ "kind": "PersistentVolumeClaim",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -24898,15 +25879,15 @@
"consumes": [
"application/json"
],
- "description": "replace ephemeralcontainers of the specified Pod",
- "operationId": "replaceNamespacedPodEphemeralcontainers",
+ "description": "replace status of the specified PersistentVolumeClaim",
+ "operationId": "replaceNamespacedPersistentVolumeClaimStatus",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Pod"
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
}
},
{
@@ -24941,13 +25922,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Pod"
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Pod"
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
}
}
},
@@ -24960,73 +25941,117 @@
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Pod",
+ "kind": "PersistentVolumeClaim",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/api/v1/namespaces/{namespace}/pods/{name}/eviction": {
- "parameters": [
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "name of the Eviction",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "post": {
+ "/api/v1/namespaces/{namespace}/pods": {
+ "delete": {
"consumes": [
"application/json"
],
- "description": "create eviction of a Pod",
- "operationId": "createNamespacedPodEviction",
+ "description": "delete collection of Pod",
+ "operationId": "deleteCollectionNamespacedPod",
"parameters": [
{
"in": "body",
"name": "body",
- "required": true,
"schema": {
- "$ref": "#/definitions/v1.Eviction"
+ "$ref": "#/definitions/v1.DeleteOptions"
}
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
}
],
"produces": [
@@ -25039,19 +26064,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Eviction"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Eviction"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Eviction"
+ "$ref": "#/definitions/v1.Status"
}
}
},
@@ -25061,31 +26074,106 @@
"tags": [
"core_v1"
],
- "x-kubernetes-action": "post",
+ "x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "policy",
- "kind": "Eviction",
+ "group": "",
+ "kind": "Pod",
"version": "v1"
},
"x-codegen-request-body-name": "body"
- }
- },
- "/api/v1/namespaces/{namespace}/pods/{name}/exec": {
+ },
"get": {
"consumes": [
"application/json"
],
- "description": "connect GET requests to exec of Pod",
- "operationId": "connectGetNamespacedPodExec",
+ "description": "list or watch objects of kind Pod",
+ "operationId": "listNamespacedPod",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
"produces": [
- "*/*"
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "type": "object",
- "format": "file"
+ "$ref": "#/definitions/v1.PodList"
}
}
},
@@ -25095,36 +26183,14 @@
"tags": [
"core_v1"
],
- "x-kubernetes-action": "connect",
+ "x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "PodExecOptions",
+ "kind": "Pod",
"version": "v1"
}
},
"parameters": [
- {
- "description": "Command is the remote command to execute. argv array. Not executed within a shell.",
- "in": "query",
- "name": "command",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Container in which to execute the command. Defaults to only container if there is only one container in the pod.",
- "in": "query",
- "name": "container",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "name of the PodExecOptions",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "object name and auth scope, such as for teams and projects",
"in": "path",
@@ -25134,31 +26200,10 @@
"uniqueItems": true
},
{
- "description": "Redirect the standard error stream of the pod for this call.",
- "in": "query",
- "name": "stderr",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Redirect the standard input stream of the pod for this call. Defaults to false.",
- "in": "query",
- "name": "stdin",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Redirect the standard output stream of the pod for this call.",
- "in": "query",
- "name": "stdout",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "TTY if true indicates that a tty will be allocated for the exec call. Defaults to false.",
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
- "name": "tty",
- "type": "boolean",
+ "name": "pretty",
+ "type": "string",
"uniqueItems": true
}
],
@@ -25166,17 +26211,62 @@
"consumes": [
"application/json"
],
- "description": "connect POST requests to exec of Pod",
- "operationId": "connectPostNamespacedPodExec",
+ "description": "create a Pod",
+ "operationId": "createNamespacedPod",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
"produces": [
- "*/*"
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "type": "object",
- "format": "file"
+ "$ref": "#/definitions/v1.Pod"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
}
}
},
@@ -25186,23 +26276,107 @@
"tags": [
"core_v1"
],
- "x-kubernetes-action": "connect",
+ "x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "PodExecOptions",
+ "kind": "Pod",
"version": "v1"
- }
+ },
+ "x-codegen-request-body-name": "body"
}
},
- "/api/v1/namespaces/{namespace}/pods/{name}/log": {
+ "/api/v1/namespaces/{namespace}/pods/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a Pod",
+ "operationId": "deleteNamespacedPod",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Pod",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
"get": {
"consumes": [
"application/json"
],
- "description": "read log of the specified Pod",
- "operationId": "readNamespacedPodLog",
+ "description": "read the specified Pod",
+ "operationId": "readNamespacedPod",
"produces": [
- "text/plain",
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
@@ -25212,8 +26386,7 @@
"200": {
"description": "OK",
"schema": {
- "type": "object",
- "format": "file"
+ "$ref": "#/definitions/v1.Pod"
}
}
},
@@ -25232,109 +26405,94 @@
},
"parameters": [
{
- "description": "The container for which to stream logs. Defaults to only container if there is one container in the pod.",
- "in": "query",
- "name": "container",
+ "description": "name of the Pod",
+ "in": "path",
+ "name": "name",
+ "required": true,
"type": "string",
"uniqueItems": true
},
{
- "description": "Follow the log stream of the pod. Defaults to false.",
- "in": "query",
- "name": "follow",
- "type": "boolean",
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
"uniqueItems": true
},
{
- "description": "insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet).",
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
- "name": "insecureSkipTLSVerifyBackend",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit.",
- "in": "query",
- "name": "limitBytes",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the Pod",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Return previous terminated container logs. Defaults to false.",
- "in": "query",
- "name": "previous",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.",
- "in": "query",
- "name": "sinceSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Specify which container log stream to return to the client. Acceptable values are \"All\", \"Stdout\" and \"Stderr\". If not specified, \"All\" is used, and both stdout and stderr are returned interleaved. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\".",
- "in": "query",
- "name": "stream",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\".",
- "in": "query",
- "name": "tailLines",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false.",
- "in": "query",
- "name": "timestamps",
- "type": "boolean",
+ "name": "pretty",
+ "type": "string",
"uniqueItems": true
}
- ]
- },
- "/api/v1/namespaces/{namespace}/pods/{name}/portforward": {
- "get": {
+ ],
+ "patch": {
"consumes": [
- "application/json"
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified Pod",
+ "operationId": "patchNamespacedPod",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
],
- "description": "connect GET requests to portforward of Pod",
- "operationId": "connectGetNamespacedPodPortforward",
"produces": [
- "*/*"
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "type": "object",
- "format": "file"
+ "$ref": "#/definitions/v1.Pod"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
}
}
},
@@ -25344,53 +26502,68 @@
"tags": [
"core_v1"
],
- "x-kubernetes-action": "connect",
+ "x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "PodPortForwardOptions",
+ "kind": "Pod",
"version": "v1"
- }
- },
- "parameters": [
- {
- "description": "name of the PodPortForwardOptions",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
},
- {
- "description": "List of ports to forward Required when using WebSockets",
- "in": "query",
- "name": "ports",
- "type": "integer",
- "uniqueItems": true
- }
- ],
- "post": {
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
"consumes": [
"application/json"
],
- "description": "connect POST requests to portforward of Pod",
- "operationId": "connectPostNamespacedPodPortforward",
+ "description": "replace the specified Pod",
+ "operationId": "replaceNamespacedPod",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
"produces": [
- "*/*"
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "type": "object",
- "format": "file"
+ "$ref": "#/definitions/v1.Pod"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
}
}
},
@@ -25400,21 +26573,22 @@
"tags": [
"core_v1"
],
- "x-kubernetes-action": "connect",
+ "x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "PodPortForwardOptions",
+ "kind": "Pod",
"version": "v1"
- }
+ },
+ "x-codegen-request-body-name": "body"
}
},
- "/api/v1/namespaces/{namespace}/pods/{name}/proxy": {
- "delete": {
+ "/api/v1/namespaces/{namespace}/pods/{name}/attach": {
+ "get": {
"consumes": [
"application/json"
],
- "description": "connect DELETE requests to proxy of Pod",
- "operationId": "connectDeleteNamespacedPodProxy",
+ "description": "connect GET requests to attach of Pod",
+ "operationId": "connectGetNamespacedPodAttach",
"produces": [
"*/*"
],
@@ -25436,16 +26610,69 @@
"x-kubernetes-action": "connect",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "PodProxyOptions",
+ "kind": "PodAttachOptions",
"version": "v1"
}
},
- "get": {
+ "parameters": [
+ {
+ "description": "The container in which to execute the command. Defaults to only container if there is only one container in the pod.",
+ "in": "query",
+ "name": "container",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the PodAttachOptions",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true.",
+ "in": "query",
+ "name": "stderr",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false.",
+ "in": "query",
+ "name": "stdin",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true.",
+ "in": "query",
+ "name": "stdout",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false.",
+ "in": "query",
+ "name": "tty",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
"consumes": [
"application/json"
],
- "description": "connect GET requests to proxy of Pod",
- "operationId": "connectGetNamespacedPodProxy",
+ "description": "connect POST requests to attach of Pod",
+ "operationId": "connectPostNamespacedPodAttach",
"produces": [
"*/*"
],
@@ -25467,25 +26694,97 @@
"x-kubernetes-action": "connect",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "PodProxyOptions",
+ "kind": "PodAttachOptions",
"version": "v1"
}
- },
- "head": {
+ }
+ },
+ "/api/v1/namespaces/{namespace}/pods/{name}/binding": {
+ "parameters": [
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the Binding",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
"consumes": [
"application/json"
],
- "description": "connect HEAD requests to proxy of Pod",
- "operationId": "connectHeadNamespacedPodProxy",
+ "description": "create binding of a Pod",
+ "operationId": "createNamespacedPodBinding",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Binding"
+ }
+ }
+ ],
"produces": [
- "*/*"
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "type": "object",
- "format": "file"
+ "$ref": "#/definitions/v1.Binding"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Binding"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Binding"
}
}
},
@@ -25495,28 +26794,33 @@
"tags": [
"core_v1"
],
- "x-kubernetes-action": "connect",
+ "x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "PodProxyOptions",
+ "kind": "Binding",
"version": "v1"
- }
- },
- "options": {
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/pods/{name}/ephemeralcontainers": {
+ "get": {
"consumes": [
"application/json"
],
- "description": "connect OPTIONS requests to proxy of Pod",
- "operationId": "connectOptionsNamespacedPodProxy",
+ "description": "read ephemeralcontainers of the specified Pod",
+ "operationId": "readNamespacedPodEphemeralcontainers",
"produces": [
- "*/*"
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "type": "object",
- "format": "file"
+ "$ref": "#/definitions/v1.Pod"
}
}
},
@@ -25526,16 +26830,16 @@
"tags": [
"core_v1"
],
- "x-kubernetes-action": "connect",
+ "x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "PodProxyOptions",
+ "kind": "Pod",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the PodProxyOptions",
+ "description": "name of the Pod",
"in": "path",
"name": "name",
"required": true,
@@ -25551,59 +26855,78 @@
"uniqueItems": true
},
{
- "description": "Path is the URL path to use for the current proxy request to pod.",
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
- "name": "path",
+ "name": "pretty",
"type": "string",
"uniqueItems": true
}
],
"patch": {
"consumes": [
- "application/json"
- ],
- "description": "connect PATCH requests to proxy of Pod",
- "operationId": "connectPatchNamespacedPodProxy",
- "produces": [
- "*/*"
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "responses": {
- "200": {
- "description": "OK",
+ "description": "partially update ephemeralcontainers of the specified Pod",
+ "operationId": "patchNamespacedPodEphemeralcontainers",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
"schema": {
- "type": "object",
- "format": "file"
+ "$ref": "#/definitions/v1.Patch"
}
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodProxyOptions",
- "version": "v1"
- }
- },
- "post": {
- "consumes": [
- "application/json"
],
- "description": "connect POST requests to proxy of Pod",
- "operationId": "connectPostNamespacedPodProxy",
"produces": [
- "*/*"
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "type": "object",
- "format": "file"
+ "$ref": "#/definitions/v1.Pod"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
}
}
},
@@ -25613,28 +26936,68 @@
"tags": [
"core_v1"
],
- "x-kubernetes-action": "connect",
+ "x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "PodProxyOptions",
+ "kind": "Pod",
"version": "v1"
- }
+ },
+ "x-codegen-request-body-name": "body"
},
"put": {
"consumes": [
"application/json"
],
- "description": "connect PUT requests to proxy of Pod",
- "operationId": "connectPutNamespacedPodProxy",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
+ "description": "replace ephemeralcontainers of the specified Pod",
+ "operationId": "replaceNamespacedPodEphemeralcontainers",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
}
}
},
@@ -25644,21 +27007,126 @@
"tags": [
"core_v1"
],
- "x-kubernetes-action": "connect",
+ "x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "PodProxyOptions",
+ "kind": "Pod",
"version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/pods/{name}/eviction": {
+ "parameters": [
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the Eviction",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
}
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create eviction of a Pod",
+ "operationId": "createNamespacedPodEviction",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Eviction"
+ }
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Eviction"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Eviction"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Eviction"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "policy",
+ "kind": "Eviction",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
}
},
- "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}": {
- "delete": {
+ "/api/v1/namespaces/{namespace}/pods/{name}/exec": {
+ "get": {
"consumes": [
"application/json"
],
- "description": "connect DELETE requests to proxy of Pod",
- "operationId": "connectDeleteNamespacedPodProxyWithPath",
+ "description": "connect GET requests to exec of Pod",
+ "operationId": "connectGetNamespacedPodExec",
"produces": [
"*/*"
],
@@ -25680,16 +27148,76 @@
"x-kubernetes-action": "connect",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "PodProxyOptions",
+ "kind": "PodExecOptions",
"version": "v1"
}
},
- "get": {
+ "parameters": [
+ {
+ "description": "Command is the remote command to execute. argv array. Not executed within a shell.",
+ "in": "query",
+ "name": "command",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Container in which to execute the command. Defaults to only container if there is only one container in the pod.",
+ "in": "query",
+ "name": "container",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the PodExecOptions",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Redirect the standard error stream of the pod for this call.",
+ "in": "query",
+ "name": "stderr",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Redirect the standard input stream of the pod for this call. Defaults to false.",
+ "in": "query",
+ "name": "stdin",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Redirect the standard output stream of the pod for this call.",
+ "in": "query",
+ "name": "stdout",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "TTY if true indicates that a tty will be allocated for the exec call. Defaults to false.",
+ "in": "query",
+ "name": "tty",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
"consumes": [
"application/json"
],
- "description": "connect GET requests to proxy of Pod",
- "operationId": "connectGetNamespacedPodProxyWithPath",
+ "description": "connect POST requests to exec of Pod",
+ "operationId": "connectPostNamespacedPodExec",
"produces": [
"*/*"
],
@@ -25711,18 +27239,24 @@
"x-kubernetes-action": "connect",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "PodProxyOptions",
+ "kind": "PodExecOptions",
"version": "v1"
}
- },
- "head": {
+ }
+ },
+ "/api/v1/namespaces/{namespace}/pods/{name}/log": {
+ "get": {
"consumes": [
"application/json"
],
- "description": "connect HEAD requests to proxy of Pod",
- "operationId": "connectHeadNamespacedPodProxyWithPath",
+ "description": "read log of the specified Pod",
+ "operationId": "readNamespacedPodLog",
"produces": [
- "*/*"
+ "text/plain",
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -25739,19 +27273,109 @@
"tags": [
"core_v1"
],
- "x-kubernetes-action": "connect",
+ "x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "PodProxyOptions",
+ "kind": "Pod",
"version": "v1"
}
},
- "options": {
+ "parameters": [
+ {
+ "description": "The container for which to stream logs. Defaults to only container if there is one container in the pod.",
+ "in": "query",
+ "name": "container",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Follow the log stream of the pod. Defaults to false.",
+ "in": "query",
+ "name": "follow",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet).",
+ "in": "query",
+ "name": "insecureSkipTLSVerifyBackend",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit.",
+ "in": "query",
+ "name": "limitBytes",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the Pod",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Return previous terminated container logs. Defaults to false.",
+ "in": "query",
+ "name": "previous",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.",
+ "in": "query",
+ "name": "sinceSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Specify which container log stream to return to the client. Acceptable values are \"All\", \"Stdout\" and \"Stderr\". If not specified, \"All\" is used, and both stdout and stderr are returned interleaved. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\".",
+ "in": "query",
+ "name": "stream",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\".",
+ "in": "query",
+ "name": "tailLines",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false.",
+ "in": "query",
+ "name": "timestamps",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/api/v1/namespaces/{namespace}/pods/{name}/portforward": {
+ "get": {
"consumes": [
"application/json"
],
- "description": "connect OPTIONS requests to proxy of Pod",
- "operationId": "connectOptionsNamespacedPodProxyWithPath",
+ "description": "connect GET requests to portforward of Pod",
+ "operationId": "connectGetNamespacedPodPortforward",
"produces": [
"*/*"
],
@@ -25773,13 +27397,13 @@
"x-kubernetes-action": "connect",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "PodProxyOptions",
+ "kind": "PodPortForwardOptions",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the PodProxyOptions",
+ "description": "name of the PodPortForwardOptions",
"in": "path",
"name": "name",
"required": true,
@@ -25795,27 +27419,52 @@
"uniqueItems": true
},
{
- "description": "path to the resource",
- "in": "path",
- "name": "path",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Path is the URL path to use for the current proxy request to pod.",
+ "description": "List of ports to forward Required when using WebSockets",
"in": "query",
- "name": "path",
- "type": "string",
+ "name": "ports",
+ "type": "integer",
"uniqueItems": true
}
],
- "patch": {
+ "post": {
"consumes": [
"application/json"
],
- "description": "connect PATCH requests to proxy of Pod",
- "operationId": "connectPatchNamespacedPodProxyWithPath",
+ "description": "connect POST requests to portforward of Pod",
+ "operationId": "connectPostNamespacedPodPortforward",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodPortForwardOptions",
+ "version": "v1"
+ }
+ }
+ },
+ "/api/v1/namespaces/{namespace}/pods/{name}/proxy": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect DELETE requests to proxy of Pod",
+ "operationId": "connectDeleteNamespacedPodProxy",
"produces": [
"*/*"
],
@@ -25841,12 +27490,12 @@
"version": "v1"
}
},
- "post": {
+ "get": {
"consumes": [
"application/json"
],
- "description": "connect POST requests to proxy of Pod",
- "operationId": "connectPostNamespacedPodProxyWithPath",
+ "description": "connect GET requests to proxy of Pod",
+ "operationId": "connectGetNamespacedPodProxy",
"produces": [
"*/*"
],
@@ -25872,12 +27521,12 @@
"version": "v1"
}
},
- "put": {
+ "head": {
"consumes": [
"application/json"
],
- "description": "connect PUT requests to proxy of Pod",
- "operationId": "connectPutNamespacedPodProxyWithPath",
+ "description": "connect HEAD requests to proxy of Pod",
+ "operationId": "connectHeadNamespacedPodProxy",
"produces": [
"*/*"
],
@@ -25902,26 +27551,22 @@
"kind": "PodProxyOptions",
"version": "v1"
}
- }
- },
- "/api/v1/namespaces/{namespace}/pods/{name}/resize": {
- "get": {
+ },
+ "options": {
"consumes": [
"application/json"
],
- "description": "read resize of the specified Pod",
- "operationId": "readNamespacedPodResize",
+ "description": "connect OPTIONS requests to proxy of Pod",
+ "operationId": "connectOptionsNamespacedPodProxy",
"produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
+ "*/*"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Pod"
+ "type": "object",
+ "format": "file"
}
}
},
@@ -25931,16 +27576,16 @@
"tags": [
"core_v1"
],
- "x-kubernetes-action": "get",
+ "x-kubernetes-action": "connect",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Pod",
+ "kind": "PodProxyOptions",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the Pod",
+ "description": "name of the PodProxyOptions",
"in": "path",
"name": "name",
"required": true,
@@ -25956,77 +27601,482 @@
"uniqueItems": true
},
{
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "description": "Path is the URL path to use for the current proxy request to pod.",
"in": "query",
- "name": "pretty",
+ "name": "path",
"type": "string",
"uniqueItems": true
}
],
"patch": {
"consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml",
- "application/apply-patch+cbor"
- ],
- "description": "partially update resize of the specified Pod",
- "operationId": "patchNamespacedPodResize",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
+ "application/json"
],
+ "description": "connect PATCH requests to proxy of Pod",
+ "operationId": "connectPatchNamespacedPodProxy",
"produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
+ "*/*"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Pod"
+ "type": "object",
+ "format": "file"
}
- },
- "201": {
- "description": "Created",
- "schema": {
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodProxyOptions",
+ "version": "v1"
+ }
+ },
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect POST requests to proxy of Pod",
+ "operationId": "connectPostNamespacedPodProxy",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodProxyOptions",
+ "version": "v1"
+ }
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect PUT requests to proxy of Pod",
+ "operationId": "connectPutNamespacedPodProxy",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodProxyOptions",
+ "version": "v1"
+ }
+ }
+ },
+ "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect DELETE requests to proxy of Pod",
+ "operationId": "connectDeleteNamespacedPodProxyWithPath",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodProxyOptions",
+ "version": "v1"
+ }
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect GET requests to proxy of Pod",
+ "operationId": "connectGetNamespacedPodProxyWithPath",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodProxyOptions",
+ "version": "v1"
+ }
+ },
+ "head": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect HEAD requests to proxy of Pod",
+ "operationId": "connectHeadNamespacedPodProxyWithPath",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodProxyOptions",
+ "version": "v1"
+ }
+ },
+ "options": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect OPTIONS requests to proxy of Pod",
+ "operationId": "connectOptionsNamespacedPodProxyWithPath",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodProxyOptions",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the PodProxyOptions",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "path to the resource",
+ "in": "path",
+ "name": "path",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Path is the URL path to use for the current proxy request to pod.",
+ "in": "query",
+ "name": "path",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect PATCH requests to proxy of Pod",
+ "operationId": "connectPatchNamespacedPodProxyWithPath",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodProxyOptions",
+ "version": "v1"
+ }
+ },
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect POST requests to proxy of Pod",
+ "operationId": "connectPostNamespacedPodProxyWithPath",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodProxyOptions",
+ "version": "v1"
+ }
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect PUT requests to proxy of Pod",
+ "operationId": "connectPutNamespacedPodProxyWithPath",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodProxyOptions",
+ "version": "v1"
+ }
+ }
+ },
+ "/api/v1/namespaces/{namespace}/pods/{name}/resize": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read resize of the specified Pod",
+ "operationId": "readNamespacedPodResize",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Pod",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the Pod",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update resize of the specified Pod",
+ "operationId": "patchNamespacedPodResize",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
"$ref": "#/definitions/v1.Pod"
}
}
@@ -54830,126 +56880,6 @@
"x-codegen-request-body-name": "body"
}
},
- "/apis/authentication.k8s.io/v1beta1/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "description": "get available resources",
- "operationId": "getAPIResources",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIResourceList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "authentication_v1beta1"
- ]
- }
- },
- "/apis/authentication.k8s.io/v1beta1/selfsubjectreviews": {
- "parameters": [
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "create a SelfSubjectReview",
- "operationId": "createSelfSubjectReview",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1beta1.SelfSubjectReview"
- }
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1beta1.SelfSubjectReview"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1beta1.SelfSubjectReview"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1beta1.SelfSubjectReview"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "authentication_v1beta1"
- ],
- "x-kubernetes-action": "post",
- "x-kubernetes-group-version-kind": {
- "group": "authentication.k8s.io",
- "kind": "SelfSubjectReview",
- "version": "v1beta1"
- },
- "x-codegen-request-body-name": "body"
- }
- },
"/apis/authorization.k8s.io/": {
"get": {
"consumes": [
@@ -62538,37 +64468,7 @@
}
]
},
- "/apis/coordination.k8s.io/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get information of a group",
- "operationId": "getAPIGroup",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIGroup"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "coordination"
- ]
- }
- },
- "/apis/coordination.k8s.io/v1/": {
+ "/apis/certificates.k8s.io/v1beta1/": {
"get": {
"consumes": [
"application/json",
@@ -62596,134 +64496,17 @@
"https"
],
"tags": [
- "coordination_v1"
+ "certificates_v1beta1"
]
}
},
- "/apis/coordination.k8s.io/v1/leases": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind Lease",
- "operationId": "listLeaseForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch",
- "application/cbor-seq"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.LeaseList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "coordination_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "coordination.k8s.io",
- "kind": "Lease",
- "version": "v1"
- }
- },
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases": {
+ "/apis/certificates.k8s.io/v1beta1/clustertrustbundles": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of Lease",
- "operationId": "deleteCollectionNamespacedLease",
+ "description": "delete collection of ClusterTrustBundle",
+ "operationId": "deleteCollectionClusterTrustBundle",
"parameters": [
{
"in": "body",
@@ -62842,13 +64625,13 @@
"https"
],
"tags": [
- "coordination_v1"
+ "certificates_v1beta1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "coordination.k8s.io",
- "kind": "Lease",
- "version": "v1"
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundle",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -62856,8 +64639,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind Lease",
- "operationId": "listNamespacedLease",
+ "description": "list or watch objects of kind ClusterTrustBundle",
+ "operationId": "listClusterTrustBundle",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -62943,7 +64726,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.LeaseList"
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundleList"
}
}
},
@@ -62951,24 +64734,16 @@
"https"
],
"tags": [
- "coordination_v1"
+ "certificates_v1beta1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "coordination.k8s.io",
- "kind": "Lease",
- "version": "v1"
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundle",
+ "version": "v1beta1"
}
},
"parameters": [
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -62981,15 +64756,15 @@
"consumes": [
"application/json"
],
- "description": "create a Lease",
- "operationId": "createNamespacedLease",
+ "description": "create a ClusterTrustBundle",
+ "operationId": "createClusterTrustBundle",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Lease"
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
}
},
{
@@ -63024,19 +64799,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Lease"
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Lease"
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.Lease"
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
}
}
},
@@ -63044,24 +64819,24 @@
"https"
],
"tags": [
- "coordination_v1"
+ "certificates_v1beta1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "coordination.k8s.io",
- "kind": "Lease",
- "version": "v1"
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundle",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}": {
+ "/apis/certificates.k8s.io/v1beta1/clustertrustbundles/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a Lease",
- "operationId": "deleteNamespacedLease",
+ "description": "delete a ClusterTrustBundle",
+ "operationId": "deleteClusterTrustBundle",
"parameters": [
{
"in": "body",
@@ -63130,13 +64905,13 @@
"https"
],
"tags": [
- "coordination_v1"
+ "certificates_v1beta1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "coordination.k8s.io",
- "kind": "Lease",
- "version": "v1"
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundle",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -63144,8 +64919,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified Lease",
- "operationId": "readNamespacedLease",
+ "description": "read the specified ClusterTrustBundle",
+ "operationId": "readClusterTrustBundle",
"produces": [
"application/json",
"application/yaml",
@@ -63156,7 +64931,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Lease"
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
}
}
},
@@ -63164,32 +64939,24 @@
"https"
],
"tags": [
- "coordination_v1"
+ "certificates_v1beta1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "coordination.k8s.io",
- "kind": "Lease",
- "version": "v1"
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundle",
+ "version": "v1beta1"
}
},
"parameters": [
{
- "description": "name of the Lease",
+ "description": "name of the ClusterTrustBundle",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -63206,8 +64973,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified Lease",
- "operationId": "patchNamespacedLease",
+ "description": "partially update the specified ClusterTrustBundle",
+ "operationId": "patchClusterTrustBundle",
"parameters": [
{
"in": "body",
@@ -63256,13 +65023,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Lease"
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Lease"
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
}
}
},
@@ -63270,13 +65037,13 @@
"https"
],
"tags": [
- "coordination_v1"
+ "certificates_v1beta1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "coordination.k8s.io",
- "kind": "Lease",
- "version": "v1"
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundle",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -63284,15 +65051,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified Lease",
- "operationId": "replaceNamespacedLease",
+ "description": "replace the specified ClusterTrustBundle",
+ "operationId": "replaceClusterTrustBundle",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Lease"
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
}
},
{
@@ -63327,13 +65094,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Lease"
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Lease"
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
}
}
},
@@ -63341,18 +65108,18 @@
"https"
],
"tags": [
- "coordination_v1"
+ "certificates_v1beta1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "coordination.k8s.io",
- "kind": "Lease",
- "version": "v1"
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundle",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/coordination.k8s.io/v1/watch/leases": {
+ "/apis/certificates.k8s.io/v1beta1/watch/clustertrustbundles": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -63433,7 +65200,7 @@
}
]
},
- "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases": {
+ "/apis/certificates.k8s.io/v1beta1/watch/clustertrustbundles/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -63471,9 +65238,9 @@
"uniqueItems": true
},
{
- "description": "object name and auth scope, such as for teams and projects",
+ "description": "name of the ClusterTrustBundle",
"in": "path",
- "name": "namespace",
+ "name": "name",
"required": true,
"type": "string",
"uniqueItems": true
@@ -63522,104 +65289,37 @@
}
]
},
- "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases/{name}": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the Lease",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "/apis/coordination.k8s.io/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "description": "get information of a group",
+ "operationId": "getAPIGroup",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIGroup"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "coordination"
+ ]
+ }
},
- "/apis/coordination.k8s.io/v1alpha2/": {
+ "/apis/coordination.k8s.io/v1/": {
"get": {
"consumes": [
"application/json",
@@ -63647,17 +65347,17 @@
"https"
],
"tags": [
- "coordination_v1alpha2"
+ "coordination_v1"
]
}
},
- "/apis/coordination.k8s.io/v1alpha2/leasecandidates": {
+ "/apis/coordination.k8s.io/v1/leases": {
"get": {
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind LeaseCandidate",
- "operationId": "listLeaseCandidateForAllNamespaces",
+ "description": "list or watch objects of kind Lease",
+ "operationId": "listLeaseForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
@@ -63671,7 +65371,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.LeaseCandidateList"
+ "$ref": "#/definitions/v1.LeaseList"
}
}
},
@@ -63679,13 +65379,13 @@
"https"
],
"tags": [
- "coordination_v1alpha2"
+ "coordination_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "coordination.k8s.io",
- "kind": "LeaseCandidate",
- "version": "v1alpha2"
+ "kind": "Lease",
+ "version": "v1"
}
},
"parameters": [
@@ -63768,13 +65468,13 @@
}
]
},
- "/apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates": {
+ "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of LeaseCandidate",
- "operationId": "deleteCollectionNamespacedLeaseCandidate",
+ "description": "delete collection of Lease",
+ "operationId": "deleteCollectionNamespacedLease",
"parameters": [
{
"in": "body",
@@ -63893,13 +65593,13 @@
"https"
],
"tags": [
- "coordination_v1alpha2"
+ "coordination_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "coordination.k8s.io",
- "kind": "LeaseCandidate",
- "version": "v1alpha2"
+ "kind": "Lease",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -63907,8 +65607,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind LeaseCandidate",
- "operationId": "listNamespacedLeaseCandidate",
+ "description": "list or watch objects of kind Lease",
+ "operationId": "listNamespacedLease",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -63994,7 +65694,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.LeaseCandidateList"
+ "$ref": "#/definitions/v1.LeaseList"
}
}
},
@@ -64002,13 +65702,13 @@
"https"
],
"tags": [
- "coordination_v1alpha2"
+ "coordination_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "coordination.k8s.io",
- "kind": "LeaseCandidate",
- "version": "v1alpha2"
+ "kind": "Lease",
+ "version": "v1"
}
},
"parameters": [
@@ -64032,15 +65732,15 @@
"consumes": [
"application/json"
],
- "description": "create a LeaseCandidate",
- "operationId": "createNamespacedLeaseCandidate",
+ "description": "create a Lease",
+ "operationId": "createNamespacedLease",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha2.LeaseCandidate"
+ "$ref": "#/definitions/v1.Lease"
}
},
{
@@ -64075,19 +65775,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.LeaseCandidate"
+ "$ref": "#/definitions/v1.Lease"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha2.LeaseCandidate"
+ "$ref": "#/definitions/v1.Lease"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha2.LeaseCandidate"
+ "$ref": "#/definitions/v1.Lease"
}
}
},
@@ -64095,24 +65795,24 @@
"https"
],
"tags": [
- "coordination_v1alpha2"
+ "coordination_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "coordination.k8s.io",
- "kind": "LeaseCandidate",
- "version": "v1alpha2"
+ "kind": "Lease",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates/{name}": {
+ "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a LeaseCandidate",
- "operationId": "deleteNamespacedLeaseCandidate",
+ "description": "delete a Lease",
+ "operationId": "deleteNamespacedLease",
"parameters": [
{
"in": "body",
@@ -64181,13 +65881,13 @@
"https"
],
"tags": [
- "coordination_v1alpha2"
+ "coordination_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "coordination.k8s.io",
- "kind": "LeaseCandidate",
- "version": "v1alpha2"
+ "kind": "Lease",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -64195,8 +65895,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified LeaseCandidate",
- "operationId": "readNamespacedLeaseCandidate",
+ "description": "read the specified Lease",
+ "operationId": "readNamespacedLease",
"produces": [
"application/json",
"application/yaml",
@@ -64207,7 +65907,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.LeaseCandidate"
+ "$ref": "#/definitions/v1.Lease"
}
}
},
@@ -64215,18 +65915,18 @@
"https"
],
"tags": [
- "coordination_v1alpha2"
+ "coordination_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "coordination.k8s.io",
- "kind": "LeaseCandidate",
- "version": "v1alpha2"
+ "kind": "Lease",
+ "version": "v1"
}
},
"parameters": [
{
- "description": "name of the LeaseCandidate",
+ "description": "name of the Lease",
"in": "path",
"name": "name",
"required": true,
@@ -64257,8 +65957,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified LeaseCandidate",
- "operationId": "patchNamespacedLeaseCandidate",
+ "description": "partially update the specified Lease",
+ "operationId": "patchNamespacedLease",
"parameters": [
{
"in": "body",
@@ -64307,13 +66007,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.LeaseCandidate"
+ "$ref": "#/definitions/v1.Lease"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha2.LeaseCandidate"
+ "$ref": "#/definitions/v1.Lease"
}
}
},
@@ -64321,13 +66021,13 @@
"https"
],
"tags": [
- "coordination_v1alpha2"
+ "coordination_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "coordination.k8s.io",
- "kind": "LeaseCandidate",
- "version": "v1alpha2"
+ "kind": "Lease",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -64335,15 +66035,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified LeaseCandidate",
- "operationId": "replaceNamespacedLeaseCandidate",
+ "description": "replace the specified Lease",
+ "operationId": "replaceNamespacedLease",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha2.LeaseCandidate"
+ "$ref": "#/definitions/v1.Lease"
}
},
{
@@ -64378,13 +66078,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.LeaseCandidate"
+ "$ref": "#/definitions/v1.Lease"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha2.LeaseCandidate"
+ "$ref": "#/definitions/v1.Lease"
}
}
},
@@ -64392,18 +66092,18 @@
"https"
],
"tags": [
- "coordination_v1alpha2"
+ "coordination_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "coordination.k8s.io",
- "kind": "LeaseCandidate",
- "version": "v1alpha2"
+ "kind": "Lease",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/coordination.k8s.io/v1alpha2/watch/leasecandidates": {
+ "/apis/coordination.k8s.io/v1/watch/leases": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -64484,7 +66184,7 @@
}
]
},
- "/apis/coordination.k8s.io/v1alpha2/watch/namespaces/{namespace}/leasecandidates": {
+ "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -64573,7 +66273,7 @@
}
]
},
- "/apis/coordination.k8s.io/v1alpha2/watch/namespaces/{namespace}/leasecandidates/{name}": {
+ "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -64611,7 +66311,7 @@
"uniqueItems": true
},
{
- "description": "name of the LeaseCandidate",
+ "description": "name of the Lease",
"in": "path",
"name": "name",
"required": true,
@@ -64670,37 +66370,7 @@
}
]
},
- "/apis/discovery.k8s.io/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get information of a group",
- "operationId": "getAPIGroup",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIGroup"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "discovery"
- ]
- }
- },
- "/apis/discovery.k8s.io/v1/": {
+ "/apis/coordination.k8s.io/v1alpha2/": {
"get": {
"consumes": [
"application/json",
@@ -64728,17 +66398,17 @@
"https"
],
"tags": [
- "discovery_v1"
+ "coordination_v1alpha2"
]
}
},
- "/apis/discovery.k8s.io/v1/endpointslices": {
+ "/apis/coordination.k8s.io/v1alpha2/leasecandidates": {
"get": {
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind EndpointSlice",
- "operationId": "listEndpointSliceForAllNamespaces",
+ "description": "list or watch objects of kind LeaseCandidate",
+ "operationId": "listLeaseCandidateForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
@@ -64752,7 +66422,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.EndpointSliceList"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidateList"
}
}
},
@@ -64760,13 +66430,13 @@
"https"
],
"tags": [
- "discovery_v1"
+ "coordination_v1alpha2"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "discovery.k8s.io",
- "kind": "EndpointSlice",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1alpha2"
}
},
"parameters": [
@@ -64849,13 +66519,13 @@
}
]
},
- "/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices": {
+ "/apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of EndpointSlice",
- "operationId": "deleteCollectionNamespacedEndpointSlice",
+ "description": "delete collection of LeaseCandidate",
+ "operationId": "deleteCollectionNamespacedLeaseCandidate",
"parameters": [
{
"in": "body",
@@ -64974,13 +66644,13 @@
"https"
],
"tags": [
- "discovery_v1"
+ "coordination_v1alpha2"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "discovery.k8s.io",
- "kind": "EndpointSlice",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1alpha2"
},
"x-codegen-request-body-name": "body"
},
@@ -64988,8 +66658,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind EndpointSlice",
- "operationId": "listNamespacedEndpointSlice",
+ "description": "list or watch objects of kind LeaseCandidate",
+ "operationId": "listNamespacedLeaseCandidate",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -65075,7 +66745,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.EndpointSliceList"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidateList"
}
}
},
@@ -65083,13 +66753,13 @@
"https"
],
"tags": [
- "discovery_v1"
+ "coordination_v1alpha2"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "discovery.k8s.io",
- "kind": "EndpointSlice",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1alpha2"
}
},
"parameters": [
@@ -65113,15 +66783,15 @@
"consumes": [
"application/json"
],
- "description": "create an EndpointSlice",
- "operationId": "createNamespacedEndpointSlice",
+ "description": "create a LeaseCandidate",
+ "operationId": "createNamespacedLeaseCandidate",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.EndpointSlice"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
}
},
{
@@ -65156,19 +66826,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.EndpointSlice"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.EndpointSlice"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.EndpointSlice"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
}
}
},
@@ -65176,24 +66846,24 @@
"https"
],
"tags": [
- "discovery_v1"
+ "coordination_v1alpha2"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "discovery.k8s.io",
- "kind": "EndpointSlice",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1alpha2"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices/{name}": {
+ "/apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete an EndpointSlice",
- "operationId": "deleteNamespacedEndpointSlice",
+ "description": "delete a LeaseCandidate",
+ "operationId": "deleteNamespacedLeaseCandidate",
"parameters": [
{
"in": "body",
@@ -65262,13 +66932,13 @@
"https"
],
"tags": [
- "discovery_v1"
+ "coordination_v1alpha2"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "discovery.k8s.io",
- "kind": "EndpointSlice",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1alpha2"
},
"x-codegen-request-body-name": "body"
},
@@ -65276,8 +66946,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified EndpointSlice",
- "operationId": "readNamespacedEndpointSlice",
+ "description": "read the specified LeaseCandidate",
+ "operationId": "readNamespacedLeaseCandidate",
"produces": [
"application/json",
"application/yaml",
@@ -65288,7 +66958,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.EndpointSlice"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
}
}
},
@@ -65296,18 +66966,18 @@
"https"
],
"tags": [
- "discovery_v1"
+ "coordination_v1alpha2"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "discovery.k8s.io",
- "kind": "EndpointSlice",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1alpha2"
}
},
"parameters": [
{
- "description": "name of the EndpointSlice",
+ "description": "name of the LeaseCandidate",
"in": "path",
"name": "name",
"required": true,
@@ -65338,8 +67008,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified EndpointSlice",
- "operationId": "patchNamespacedEndpointSlice",
+ "description": "partially update the specified LeaseCandidate",
+ "operationId": "patchNamespacedLeaseCandidate",
"parameters": [
{
"in": "body",
@@ -65388,13 +67058,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.EndpointSlice"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.EndpointSlice"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
}
}
},
@@ -65402,13 +67072,13 @@
"https"
],
"tags": [
- "discovery_v1"
+ "coordination_v1alpha2"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "discovery.k8s.io",
- "kind": "EndpointSlice",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1alpha2"
},
"x-codegen-request-body-name": "body"
},
@@ -65416,15 +67086,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified EndpointSlice",
- "operationId": "replaceNamespacedEndpointSlice",
+ "description": "replace the specified LeaseCandidate",
+ "operationId": "replaceNamespacedLeaseCandidate",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.EndpointSlice"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
}
},
{
@@ -65459,13 +67129,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.EndpointSlice"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.EndpointSlice"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
}
}
},
@@ -65473,18 +67143,18 @@
"https"
],
"tags": [
- "discovery_v1"
+ "coordination_v1alpha2"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "discovery.k8s.io",
- "kind": "EndpointSlice",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1alpha2"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/discovery.k8s.io/v1/watch/endpointslices": {
+ "/apis/coordination.k8s.io/v1alpha2/watch/leasecandidates": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -65565,7 +67235,7 @@
}
]
},
- "/apis/discovery.k8s.io/v1/watch/namespaces/{namespace}/endpointslices": {
+ "/apis/coordination.k8s.io/v1alpha2/watch/namespaces/{namespace}/leasecandidates": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -65654,7 +67324,7 @@
}
]
},
- "/apis/discovery.k8s.io/v1/watch/namespaces/{namespace}/endpointslices/{name}": {
+ "/apis/coordination.k8s.io/v1alpha2/watch/namespaces/{namespace}/leasecandidates/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -65692,7 +67362,7 @@
"uniqueItems": true
},
{
- "description": "name of the EndpointSlice",
+ "description": "name of the LeaseCandidate",
"in": "path",
"name": "name",
"required": true,
@@ -65751,37 +67421,7 @@
}
]
},
- "/apis/events.k8s.io/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get information of a group",
- "operationId": "getAPIGroup",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIGroup"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "events"
- ]
- }
- },
- "/apis/events.k8s.io/v1/": {
+ "/apis/coordination.k8s.io/v1beta1/": {
"get": {
"consumes": [
"application/json",
@@ -65809,17 +67449,17 @@
"https"
],
"tags": [
- "events_v1"
+ "coordination_v1beta1"
]
}
},
- "/apis/events.k8s.io/v1/events": {
+ "/apis/coordination.k8s.io/v1beta1/leasecandidates": {
"get": {
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind Event",
- "operationId": "listEventForAllNamespaces",
+ "description": "list or watch objects of kind LeaseCandidate",
+ "operationId": "listLeaseCandidateForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
@@ -65833,7 +67473,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/events.v1.EventList"
+ "$ref": "#/definitions/v1beta1.LeaseCandidateList"
}
}
},
@@ -65841,13 +67481,13 @@
"https"
],
"tags": [
- "events_v1"
+ "coordination_v1beta1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "events.k8s.io",
- "kind": "Event",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1beta1"
}
},
"parameters": [
@@ -65930,13 +67570,13 @@
}
]
},
- "/apis/events.k8s.io/v1/namespaces/{namespace}/events": {
+ "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leasecandidates": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of Event",
- "operationId": "deleteCollectionNamespacedEvent",
+ "description": "delete collection of LeaseCandidate",
+ "operationId": "deleteCollectionNamespacedLeaseCandidate",
"parameters": [
{
"in": "body",
@@ -66055,13 +67695,13 @@
"https"
],
"tags": [
- "events_v1"
+ "coordination_v1beta1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "events.k8s.io",
- "kind": "Event",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -66069,8 +67709,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind Event",
- "operationId": "listNamespacedEvent",
+ "description": "list or watch objects of kind LeaseCandidate",
+ "operationId": "listNamespacedLeaseCandidate",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -66156,7 +67796,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/events.v1.EventList"
+ "$ref": "#/definitions/v1beta1.LeaseCandidateList"
}
}
},
@@ -66164,13 +67804,13 @@
"https"
],
"tags": [
- "events_v1"
+ "coordination_v1beta1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "events.k8s.io",
- "kind": "Event",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1beta1"
}
},
"parameters": [
@@ -66194,15 +67834,15 @@
"consumes": [
"application/json"
],
- "description": "create an Event",
- "operationId": "createNamespacedEvent",
+ "description": "create a LeaseCandidate",
+ "operationId": "createNamespacedLeaseCandidate",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/events.v1.Event"
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
}
},
{
@@ -66237,19 +67877,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/events.v1.Event"
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/events.v1.Event"
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/events.v1.Event"
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
}
}
},
@@ -66257,24 +67897,24 @@
"https"
],
"tags": [
- "events_v1"
+ "coordination_v1beta1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "events.k8s.io",
- "kind": "Event",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/events.k8s.io/v1/namespaces/{namespace}/events/{name}": {
+ "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leasecandidates/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete an Event",
- "operationId": "deleteNamespacedEvent",
+ "description": "delete a LeaseCandidate",
+ "operationId": "deleteNamespacedLeaseCandidate",
"parameters": [
{
"in": "body",
@@ -66343,13 +67983,13 @@
"https"
],
"tags": [
- "events_v1"
+ "coordination_v1beta1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "events.k8s.io",
- "kind": "Event",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -66357,8 +67997,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified Event",
- "operationId": "readNamespacedEvent",
+ "description": "read the specified LeaseCandidate",
+ "operationId": "readNamespacedLeaseCandidate",
"produces": [
"application/json",
"application/yaml",
@@ -66369,7 +68009,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/events.v1.Event"
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
}
}
},
@@ -66377,18 +68017,18 @@
"https"
],
"tags": [
- "events_v1"
+ "coordination_v1beta1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "events.k8s.io",
- "kind": "Event",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1beta1"
}
},
"parameters": [
{
- "description": "name of the Event",
+ "description": "name of the LeaseCandidate",
"in": "path",
"name": "name",
"required": true,
@@ -66419,8 +68059,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified Event",
- "operationId": "patchNamespacedEvent",
+ "description": "partially update the specified LeaseCandidate",
+ "operationId": "patchNamespacedLeaseCandidate",
"parameters": [
{
"in": "body",
@@ -66469,13 +68109,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/events.v1.Event"
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/events.v1.Event"
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
}
}
},
@@ -66483,13 +68123,13 @@
"https"
],
"tags": [
- "events_v1"
+ "coordination_v1beta1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "events.k8s.io",
- "kind": "Event",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -66497,15 +68137,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified Event",
- "operationId": "replaceNamespacedEvent",
+ "description": "replace the specified LeaseCandidate",
+ "operationId": "replaceNamespacedLeaseCandidate",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/events.v1.Event"
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
}
},
{
@@ -66540,13 +68180,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/events.v1.Event"
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/events.v1.Event"
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
}
}
},
@@ -66554,18 +68194,18 @@
"https"
],
"tags": [
- "events_v1"
+ "coordination_v1beta1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "events.k8s.io",
- "kind": "Event",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/events.k8s.io/v1/watch/events": {
+ "/apis/coordination.k8s.io/v1beta1/watch/leasecandidates": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -66646,7 +68286,7 @@
}
]
},
- "/apis/events.k8s.io/v1/watch/namespaces/{namespace}/events": {
+ "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leasecandidates": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -66735,7 +68375,7 @@
}
]
},
- "/apis/events.k8s.io/v1/watch/namespaces/{namespace}/events/{name}": {
+ "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leasecandidates/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -66773,7 +68413,7 @@
"uniqueItems": true
},
{
- "description": "name of the Event",
+ "description": "name of the LeaseCandidate",
"in": "path",
"name": "name",
"required": true,
@@ -66832,7 +68472,7 @@
}
]
},
- "/apis/flowcontrol.apiserver.k8s.io/": {
+ "/apis/discovery.k8s.io/": {
"get": {
"consumes": [
"application/json",
@@ -66858,11 +68498,11 @@
"https"
],
"tags": [
- "flowcontrolApiserver"
+ "discovery"
]
}
},
- "/apis/flowcontrol.apiserver.k8s.io/v1/": {
+ "/apis/discovery.k8s.io/v1/": {
"get": {
"consumes": [
"application/json",
@@ -66890,17 +68530,134 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "discovery_v1"
]
}
},
- "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas": {
+ "/apis/discovery.k8s.io/v1/endpointslices": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind EndpointSlice",
+ "operationId": "listEndpointSliceForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.EndpointSliceList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "discovery_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "discovery.k8s.io",
+ "kind": "EndpointSlice",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of FlowSchema",
- "operationId": "deleteCollectionFlowSchema",
+ "description": "delete collection of EndpointSlice",
+ "operationId": "deleteCollectionNamespacedEndpointSlice",
"parameters": [
{
"in": "body",
@@ -67019,12 +68776,12 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "discovery_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
+ "group": "discovery.k8s.io",
+ "kind": "EndpointSlice",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -67033,8 +68790,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind FlowSchema",
- "operationId": "listFlowSchema",
+ "description": "list or watch objects of kind EndpointSlice",
+ "operationId": "listNamespacedEndpointSlice",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -67120,7 +68877,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.FlowSchemaList"
+ "$ref": "#/definitions/v1.EndpointSliceList"
}
}
},
@@ -67128,16 +68885,24 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "discovery_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
+ "group": "discovery.k8s.io",
+ "kind": "EndpointSlice",
"version": "v1"
}
},
"parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -67150,15 +68915,15 @@
"consumes": [
"application/json"
],
- "description": "create a FlowSchema",
- "operationId": "createFlowSchema",
+ "description": "create an EndpointSlice",
+ "operationId": "createNamespacedEndpointSlice",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/v1.EndpointSlice"
}
},
{
@@ -67193,19 +68958,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/v1.EndpointSlice"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/v1.EndpointSlice"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/v1.EndpointSlice"
}
}
},
@@ -67213,24 +68978,24 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "discovery_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
+ "group": "discovery.k8s.io",
+ "kind": "EndpointSlice",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}": {
+ "/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a FlowSchema",
- "operationId": "deleteFlowSchema",
+ "description": "delete an EndpointSlice",
+ "operationId": "deleteNamespacedEndpointSlice",
"parameters": [
{
"in": "body",
@@ -67299,12 +69064,12 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "discovery_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
+ "group": "discovery.k8s.io",
+ "kind": "EndpointSlice",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -67313,8 +69078,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified FlowSchema",
- "operationId": "readFlowSchema",
+ "description": "read the specified EndpointSlice",
+ "operationId": "readNamespacedEndpointSlice",
"produces": [
"application/json",
"application/yaml",
@@ -67325,7 +69090,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/v1.EndpointSlice"
}
}
},
@@ -67333,24 +69098,32 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "discovery_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
+ "group": "discovery.k8s.io",
+ "kind": "EndpointSlice",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the FlowSchema",
+ "description": "name of the EndpointSlice",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -67367,8 +69140,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified FlowSchema",
- "operationId": "patchFlowSchema",
+ "description": "partially update the specified EndpointSlice",
+ "operationId": "patchNamespacedEndpointSlice",
"parameters": [
{
"in": "body",
@@ -67417,13 +69190,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/v1.EndpointSlice"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/v1.EndpointSlice"
}
}
},
@@ -67431,12 +69204,12 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "discovery_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
+ "group": "discovery.k8s.io",
+ "kind": "EndpointSlice",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -67445,15 +69218,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified FlowSchema",
- "operationId": "replaceFlowSchema",
+ "description": "replace the specified EndpointSlice",
+ "operationId": "replaceNamespacedEndpointSlice",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/v1.EndpointSlice"
}
},
{
@@ -67488,13 +69261,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/v1.EndpointSlice"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/v1.EndpointSlice"
}
}
},
@@ -67502,116 +69275,324 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "discovery_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
+ "group": "discovery.k8s.io",
+ "kind": "EndpointSlice",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}/status": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read status of the specified FlowSchema",
- "operationId": "readFlowSchemaStatus",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.FlowSchema"
- }
- }
+ "/apis/discovery.k8s.io/v1/watch/endpointslices": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "flowcontrolApiserver_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
- "version": "v1"
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/apis/discovery.k8s.io/v1/watch/namespaces/{namespace}/endpointslices": {
"parameters": [
{
- "description": "name of the FlowSchema",
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/discovery.k8s.io/v1/watch/namespaces/{namespace}/endpointslices/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the EndpointSlice",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- ],
- "patch": {
+ ]
+ },
+ "/apis/events.k8s.io/": {
+ "get": {
"consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml",
- "application/apply-patch+cbor"
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
],
- "description": "partially update status of the specified FlowSchema",
- "operationId": "patchFlowSchemaStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
+ "description": "get information of a group",
+ "operationId": "getAPIGroup",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Patch"
+ "$ref": "#/definitions/v1.APIGroup"
}
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
}
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "events"
+ ]
+ }
+ },
+ "/apis/events.k8s.io/v1/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
@@ -67622,13 +69603,39 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/v1.APIResourceList"
}
- },
- "201": {
- "description": "Created",
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "events_v1"
+ ]
+ }
+ },
+ "/apis/events.k8s.io/v1/events": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind Event",
+ "operationId": "listEventForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/events.v1.EventList"
}
}
},
@@ -67636,95 +69643,102 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "events_v1"
],
- "x-kubernetes-action": "patch",
+ "x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
+ "group": "events.k8s.io",
+ "kind": "Event",
"version": "v1"
- },
- "x-codegen-request-body-name": "body"
+ }
},
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace status of the specified FlowSchema",
- "operationId": "replaceFlowSchemaStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.FlowSchema"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.FlowSchema"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.FlowSchema"
- }
- }
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "flowcontrolApiserver_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
- "version": "v1"
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
},
- "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations": {
+ "/apis/events.k8s.io/v1/namespaces/{namespace}/events": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of PriorityLevelConfiguration",
- "operationId": "deleteCollectionPriorityLevelConfiguration",
+ "description": "delete collection of Event",
+ "operationId": "deleteCollectionNamespacedEvent",
"parameters": [
{
"in": "body",
@@ -67843,12 +69857,12 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "events_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
+ "group": "events.k8s.io",
+ "kind": "Event",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -67857,8 +69871,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind PriorityLevelConfiguration",
- "operationId": "listPriorityLevelConfiguration",
+ "description": "list or watch objects of kind Event",
+ "operationId": "listNamespacedEvent",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -67944,7 +69958,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfigurationList"
+ "$ref": "#/definitions/events.v1.EventList"
}
}
},
@@ -67952,16 +69966,24 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "events_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
+ "group": "events.k8s.io",
+ "kind": "Event",
"version": "v1"
}
},
"parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -67974,15 +69996,15 @@
"consumes": [
"application/json"
],
- "description": "create a PriorityLevelConfiguration",
- "operationId": "createPriorityLevelConfiguration",
+ "description": "create an Event",
+ "operationId": "createNamespacedEvent",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/events.v1.Event"
}
},
{
@@ -68017,19 +70039,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/events.v1.Event"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/events.v1.Event"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/events.v1.Event"
}
}
},
@@ -68037,24 +70059,24 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "events_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
+ "group": "events.k8s.io",
+ "kind": "Event",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}": {
+ "/apis/events.k8s.io/v1/namespaces/{namespace}/events/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a PriorityLevelConfiguration",
- "operationId": "deletePriorityLevelConfiguration",
+ "description": "delete an Event",
+ "operationId": "deleteNamespacedEvent",
"parameters": [
{
"in": "body",
@@ -68123,12 +70145,12 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "events_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
+ "group": "events.k8s.io",
+ "kind": "Event",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -68137,8 +70159,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified PriorityLevelConfiguration",
- "operationId": "readPriorityLevelConfiguration",
+ "description": "read the specified Event",
+ "operationId": "readNamespacedEvent",
"produces": [
"application/json",
"application/yaml",
@@ -68149,233 +70171,8064 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/events.v1.Event"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "events_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "events.k8s.io",
+ "kind": "Event",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the Event",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified Event",
+ "operationId": "patchNamespacedEvent",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/events.v1.Event"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/events.v1.Event"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "events_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "events.k8s.io",
+ "kind": "Event",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified Event",
+ "operationId": "replaceNamespacedEvent",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/events.v1.Event"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/events.v1.Event"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/events.v1.Event"
}
}
},
- "schemes": [
- "https"
- ],
- "tags": [
- "flowcontrolApiserver_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
- "version": "v1"
- }
- },
- "parameters": [
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "events_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "events.k8s.io",
+ "kind": "Event",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/events.k8s.io/v1/watch/events": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/events.k8s.io/v1/watch/namespaces/{namespace}/events": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/events.k8s.io/v1/watch/namespaces/{namespace}/events/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the Event",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/flowcontrol.apiserver.k8s.io/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "description": "get information of a group",
+ "operationId": "getAPIGroup",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIGroup"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "flowcontrolApiserver"
+ ]
+ }
+ },
+ "/apis/flowcontrol.apiserver.k8s.io/v1/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIResourceList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "flowcontrolApiserver_v1"
+ ]
+ }
+ },
+ "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of FlowSchema",
+ "operationId": "deleteCollectionFlowSchema",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "flowcontrolApiserver_v1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "FlowSchema",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind FlowSchema",
+ "operationId": "listFlowSchema",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.FlowSchemaList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "flowcontrolApiserver_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "FlowSchema",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a FlowSchema",
+ "operationId": "createFlowSchema",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.FlowSchema"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.FlowSchema"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.FlowSchema"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.FlowSchema"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "flowcontrolApiserver_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "FlowSchema",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a FlowSchema",
+ "operationId": "deleteFlowSchema",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "flowcontrolApiserver_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "FlowSchema",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified FlowSchema",
+ "operationId": "readFlowSchema",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.FlowSchema"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "flowcontrolApiserver_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "FlowSchema",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the FlowSchema",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified FlowSchema",
+ "operationId": "patchFlowSchema",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.FlowSchema"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.FlowSchema"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "flowcontrolApiserver_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "FlowSchema",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified FlowSchema",
+ "operationId": "replaceFlowSchema",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.FlowSchema"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.FlowSchema"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.FlowSchema"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "flowcontrolApiserver_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "FlowSchema",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}/status": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read status of the specified FlowSchema",
+ "operationId": "readFlowSchemaStatus",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.FlowSchema"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "flowcontrolApiserver_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "FlowSchema",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the FlowSchema",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update status of the specified FlowSchema",
+ "operationId": "patchFlowSchemaStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.FlowSchema"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.FlowSchema"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "flowcontrolApiserver_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "FlowSchema",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace status of the specified FlowSchema",
+ "operationId": "replaceFlowSchemaStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.FlowSchema"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.FlowSchema"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.FlowSchema"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "flowcontrolApiserver_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "FlowSchema",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of PriorityLevelConfiguration",
+ "operationId": "deleteCollectionPriorityLevelConfiguration",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "flowcontrolApiserver_v1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "PriorityLevelConfiguration",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind PriorityLevelConfiguration",
+ "operationId": "listPriorityLevelConfiguration",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityLevelConfigurationList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "flowcontrolApiserver_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "PriorityLevelConfiguration",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a PriorityLevelConfiguration",
+ "operationId": "createPriorityLevelConfiguration",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "flowcontrolApiserver_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "PriorityLevelConfiguration",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a PriorityLevelConfiguration",
+ "operationId": "deletePriorityLevelConfiguration",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "flowcontrolApiserver_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "PriorityLevelConfiguration",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified PriorityLevelConfiguration",
+ "operationId": "readPriorityLevelConfiguration",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "flowcontrolApiserver_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "PriorityLevelConfiguration",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the PriorityLevelConfiguration",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified PriorityLevelConfiguration",
+ "operationId": "patchPriorityLevelConfiguration",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "flowcontrolApiserver_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "PriorityLevelConfiguration",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified PriorityLevelConfiguration",
+ "operationId": "replacePriorityLevelConfiguration",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "flowcontrolApiserver_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "PriorityLevelConfiguration",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}/status": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read status of the specified PriorityLevelConfiguration",
+ "operationId": "readPriorityLevelConfigurationStatus",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "flowcontrolApiserver_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "PriorityLevelConfiguration",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the PriorityLevelConfiguration",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update status of the specified PriorityLevelConfiguration",
+ "operationId": "patchPriorityLevelConfigurationStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "flowcontrolApiserver_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "PriorityLevelConfiguration",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace status of the specified PriorityLevelConfiguration",
+ "operationId": "replacePriorityLevelConfigurationStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "flowcontrolApiserver_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "PriorityLevelConfiguration",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the FlowSchema",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the PriorityLevelConfiguration",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/internal.apiserver.k8s.io/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "description": "get information of a group",
+ "operationId": "getAPIGroup",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIGroup"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "internalApiserver"
+ ]
+ }
+ },
+ "/apis/internal.apiserver.k8s.io/v1alpha1/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIResourceList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "internalApiserver_v1alpha1"
+ ]
+ }
+ },
+ "/apis/internal.apiserver.k8s.io/v1alpha1/storageversions": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of StorageVersion",
+ "operationId": "deleteCollectionStorageVersion",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "internalApiserver_v1alpha1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "internal.apiserver.k8s.io",
+ "kind": "StorageVersion",
+ "version": "v1alpha1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind StorageVersion",
+ "operationId": "listStorageVersion",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.StorageVersionList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "internalApiserver_v1alpha1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "internal.apiserver.k8s.io",
+ "kind": "StorageVersion",
+ "version": "v1alpha1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a StorageVersion",
+ "operationId": "createStorageVersion",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "internalApiserver_v1alpha1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "internal.apiserver.k8s.io",
+ "kind": "StorageVersion",
+ "version": "v1alpha1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a StorageVersion",
+ "operationId": "deleteStorageVersion",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "internalApiserver_v1alpha1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "internal.apiserver.k8s.io",
+ "kind": "StorageVersion",
+ "version": "v1alpha1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified StorageVersion",
+ "operationId": "readStorageVersion",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "internalApiserver_v1alpha1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "internal.apiserver.k8s.io",
+ "kind": "StorageVersion",
+ "version": "v1alpha1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the StorageVersion",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified StorageVersion",
+ "operationId": "patchStorageVersion",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "internalApiserver_v1alpha1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "internal.apiserver.k8s.io",
+ "kind": "StorageVersion",
+ "version": "v1alpha1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified StorageVersion",
+ "operationId": "replaceStorageVersion",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "internalApiserver_v1alpha1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "internal.apiserver.k8s.io",
+ "kind": "StorageVersion",
+ "version": "v1alpha1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}/status": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read status of the specified StorageVersion",
+ "operationId": "readStorageVersionStatus",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "internalApiserver_v1alpha1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "internal.apiserver.k8s.io",
+ "kind": "StorageVersion",
+ "version": "v1alpha1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the StorageVersion",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update status of the specified StorageVersion",
+ "operationId": "patchStorageVersionStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "internalApiserver_v1alpha1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "internal.apiserver.k8s.io",
+ "kind": "StorageVersion",
+ "version": "v1alpha1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace status of the specified StorageVersion",
+ "operationId": "replaceStorageVersionStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "internalApiserver_v1alpha1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "internal.apiserver.k8s.io",
+ "kind": "StorageVersion",
+ "version": "v1alpha1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/internal.apiserver.k8s.io/v1alpha1/watch/storageversions": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/internal.apiserver.k8s.io/v1alpha1/watch/storageversions/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the StorageVersion",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/networking.k8s.io/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "description": "get information of a group",
+ "operationId": "getAPIGroup",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIGroup"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking"
+ ]
+ }
+ },
+ "/apis/networking.k8s.io/v1/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIResourceList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ]
+ }
+ },
+ "/apis/networking.k8s.io/v1/ingressclasses": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of IngressClass",
+ "operationId": "deleteCollectionIngressClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "IngressClass",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind IngressClass",
+ "operationId": "listIngressClass",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.IngressClassList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "IngressClass",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create an IngressClass",
+ "operationId": "createIngressClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.IngressClass"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.IngressClass"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.IngressClass"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.IngressClass"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "IngressClass",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/networking.k8s.io/v1/ingressclasses/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete an IngressClass",
+ "operationId": "deleteIngressClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "IngressClass",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified IngressClass",
+ "operationId": "readIngressClass",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.IngressClass"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "IngressClass",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the IngressClass",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified IngressClass",
+ "operationId": "patchIngressClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.IngressClass"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.IngressClass"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "IngressClass",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified IngressClass",
+ "operationId": "replaceIngressClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.IngressClass"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.IngressClass"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.IngressClass"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "IngressClass",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/networking.k8s.io/v1/ingresses": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind Ingress",
+ "operationId": "listIngressForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.IngressList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "Ingress",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/networking.k8s.io/v1/ipaddresses": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of IPAddress",
+ "operationId": "deleteCollectionIPAddress",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "IPAddress",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind IPAddress",
+ "operationId": "listIPAddress",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.IPAddressList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "IPAddress",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create an IPAddress",
+ "operationId": "createIPAddress",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.IPAddress"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.IPAddress"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.IPAddress"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.IPAddress"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "IPAddress",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/networking.k8s.io/v1/ipaddresses/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete an IPAddress",
+ "operationId": "deleteIPAddress",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "IPAddress",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified IPAddress",
+ "operationId": "readIPAddress",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.IPAddress"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "IPAddress",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the IPAddress",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified IPAddress",
+ "operationId": "patchIPAddress",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.IPAddress"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.IPAddress"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "IPAddress",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified IPAddress",
+ "operationId": "replaceIPAddress",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.IPAddress"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.IPAddress"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.IPAddress"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "IPAddress",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of Ingress",
+ "operationId": "deleteCollectionNamespacedIngress",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "Ingress",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind Ingress",
+ "operationId": "listNamespacedIngress",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.IngressList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "Ingress",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create an Ingress",
+ "operationId": "createNamespacedIngress",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Ingress"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Ingress"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Ingress"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Ingress"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "Ingress",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete an Ingress",
+ "operationId": "deleteNamespacedIngress",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "Ingress",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified Ingress",
+ "operationId": "readNamespacedIngress",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Ingress"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "Ingress",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the Ingress",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified Ingress",
+ "operationId": "patchNamespacedIngress",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Ingress"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Ingress"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "Ingress",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified Ingress",
+ "operationId": "replaceNamespacedIngress",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Ingress"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Ingress"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Ingress"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "Ingress",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read status of the specified Ingress",
+ "operationId": "readNamespacedIngressStatus",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Ingress"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "Ingress",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the Ingress",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update status of the specified Ingress",
+ "operationId": "patchNamespacedIngressStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Ingress"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Ingress"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "Ingress",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace status of the specified Ingress",
+ "operationId": "replaceNamespacedIngressStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Ingress"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Ingress"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Ingress"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "Ingress",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of NetworkPolicy",
+ "operationId": "deleteCollectionNamespacedNetworkPolicy",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "NetworkPolicy",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind NetworkPolicy",
+ "operationId": "listNamespacedNetworkPolicy",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.NetworkPolicyList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "NetworkPolicy",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a NetworkPolicy",
+ "operationId": "createNamespacedNetworkPolicy",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.NetworkPolicy"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.NetworkPolicy"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.NetworkPolicy"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.NetworkPolicy"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "NetworkPolicy",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a NetworkPolicy",
+ "operationId": "deleteNamespacedNetworkPolicy",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "NetworkPolicy",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified NetworkPolicy",
+ "operationId": "readNamespacedNetworkPolicy",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.NetworkPolicy"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "NetworkPolicy",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the NetworkPolicy",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified NetworkPolicy",
+ "operationId": "patchNamespacedNetworkPolicy",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.NetworkPolicy"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.NetworkPolicy"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "NetworkPolicy",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified NetworkPolicy",
+ "operationId": "replaceNamespacedNetworkPolicy",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.NetworkPolicy"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.NetworkPolicy"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.NetworkPolicy"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "NetworkPolicy",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/networking.k8s.io/v1/networkpolicies": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind NetworkPolicy",
+ "operationId": "listNetworkPolicyForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.NetworkPolicyList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "NetworkPolicy",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/networking.k8s.io/v1/servicecidrs": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of ServiceCIDR",
+ "operationId": "deleteCollectionServiceCIDR",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind ServiceCIDR",
+ "operationId": "listServiceCIDR",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDRList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a ServiceCIDR",
+ "operationId": "createServiceCIDR",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/networking.k8s.io/v1/servicecidrs/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a ServiceCIDR",
+ "operationId": "deleteServiceCIDR",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified ServiceCIDR",
+ "operationId": "readServiceCIDR",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the ServiceCIDR",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified ServiceCIDR",
+ "operationId": "patchServiceCIDR",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified ServiceCIDR",
+ "operationId": "replaceServiceCIDR",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/networking.k8s.io/v1/servicecidrs/{name}/status": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read status of the specified ServiceCIDR",
+ "operationId": "readServiceCIDRStatus",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the ServiceCIDR",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update status of the specified ServiceCIDR",
+ "operationId": "patchServiceCIDRStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace status of the specified ServiceCIDR",
+ "operationId": "replaceServiceCIDRStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/networking.k8s.io/v1/watch/ingressclasses": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/networking.k8s.io/v1/watch/ingressclasses/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the IngressClass",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/networking.k8s.io/v1/watch/ingresses": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/networking.k8s.io/v1/watch/ipaddresses": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/networking.k8s.io/v1/watch/ipaddresses/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the IPAddress",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/ingresses": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/ingresses/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
{
- "description": "name of the PriorityLevelConfiguration",
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the Ingress",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml",
- "application/apply-patch+cbor"
- ],
- "description": "partially update the specified PriorityLevelConfiguration",
- "operationId": "patchPriorityLevelConfiguration",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "flowcontrolApiserver_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
- "version": "v1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace the specified PriorityLevelConfiguration",
- "operationId": "replacePriorityLevelConfiguration",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "flowcontrolApiserver_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
- "version": "v1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}/status": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read status of the specified PriorityLevelConfiguration",
- "operationId": "readPriorityLevelConfigurationStatus",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
- }
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "flowcontrolApiserver_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
- "version": "v1"
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies": {
"parameters": [
{
- "description": "name of the PriorityLevelConfiguration",
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
"in": "path",
- "name": "name",
+ "name": "namespace",
"required": true,
"type": "string",
"uniqueItems": true
@@ -68386,163 +78239,45 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml",
- "application/apply-patch+cbor"
- ],
- "description": "partially update status of the specified PriorityLevelConfiguration",
- "operationId": "patchPriorityLevelConfigurationStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "flowcontrolApiserver_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
- "version": "v1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace status of the specified PriorityLevelConfiguration",
- "operationId": "replacePriorityLevelConfigurationStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "flowcontrolApiserver_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
- "version": "v1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
},
- "/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas": {
+ "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -68579,6 +78314,22 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "name of the NetworkPolicy",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -68623,7 +78374,7 @@
}
]
},
- "/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas/{name}": {
+ "/apis/networking.k8s.io/v1/watch/networkpolicies": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -68660,14 +78411,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "name of the FlowSchema",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -68712,7 +78455,7 @@
}
]
},
- "/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations": {
+ "/apis/networking.k8s.io/v1/watch/servicecidrs": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -68793,7 +78536,7 @@
}
]
},
- "/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations/{name}": {
+ "/apis/networking.k8s.io/v1/watch/servicecidrs/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -68831,7 +78574,7 @@
"uniqueItems": true
},
{
- "description": "name of the PriorityLevelConfiguration",
+ "description": "name of the ServiceCIDR",
"in": "path",
"name": "name",
"required": true,
@@ -68882,37 +78625,7 @@
}
]
},
- "/apis/internal.apiserver.k8s.io/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get information of a group",
- "operationId": "getAPIGroup",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIGroup"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "internalApiserver"
- ]
- }
- },
- "/apis/internal.apiserver.k8s.io/v1alpha1/": {
+ "/apis/networking.k8s.io/v1beta1/": {
"get": {
"consumes": [
"application/json",
@@ -68940,17 +78653,17 @@
"https"
],
"tags": [
- "internalApiserver_v1alpha1"
+ "networking_v1beta1"
]
}
},
- "/apis/internal.apiserver.k8s.io/v1alpha1/storageversions": {
+ "/apis/networking.k8s.io/v1beta1/ipaddresses": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of StorageVersion",
- "operationId": "deleteCollectionStorageVersion",
+ "description": "delete collection of IPAddress",
+ "operationId": "deleteCollectionIPAddress",
"parameters": [
{
"in": "body",
@@ -69069,13 +78782,13 @@
"https"
],
"tags": [
- "internalApiserver_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "internal.apiserver.k8s.io",
- "kind": "StorageVersion",
- "version": "v1alpha1"
+ "group": "networking.k8s.io",
+ "kind": "IPAddress",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -69083,8 +78796,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind StorageVersion",
- "operationId": "listStorageVersion",
+ "description": "list or watch objects of kind IPAddress",
+ "operationId": "listIPAddress",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -69170,7 +78883,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersionList"
+ "$ref": "#/definitions/v1beta1.IPAddressList"
}
}
},
@@ -69178,13 +78891,13 @@
"https"
],
"tags": [
- "internalApiserver_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "internal.apiserver.k8s.io",
- "kind": "StorageVersion",
- "version": "v1alpha1"
+ "group": "networking.k8s.io",
+ "kind": "IPAddress",
+ "version": "v1beta1"
}
},
"parameters": [
@@ -69200,15 +78913,15 @@
"consumes": [
"application/json"
],
- "description": "create a StorageVersion",
- "operationId": "createStorageVersion",
+ "description": "create an IPAddress",
+ "operationId": "createIPAddress",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1beta1.IPAddress"
}
},
{
@@ -69243,19 +78956,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1beta1.IPAddress"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1beta1.IPAddress"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1beta1.IPAddress"
}
}
},
@@ -69263,24 +78976,24 @@
"https"
],
"tags": [
- "internalApiserver_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "internal.apiserver.k8s.io",
- "kind": "StorageVersion",
- "version": "v1alpha1"
+ "group": "networking.k8s.io",
+ "kind": "IPAddress",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}": {
+ "/apis/networking.k8s.io/v1beta1/ipaddresses/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a StorageVersion",
- "operationId": "deleteStorageVersion",
+ "description": "delete an IPAddress",
+ "operationId": "deleteIPAddress",
"parameters": [
{
"in": "body",
@@ -69349,13 +79062,13 @@
"https"
],
"tags": [
- "internalApiserver_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "internal.apiserver.k8s.io",
- "kind": "StorageVersion",
- "version": "v1alpha1"
+ "group": "networking.k8s.io",
+ "kind": "IPAddress",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -69363,8 +79076,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified StorageVersion",
- "operationId": "readStorageVersion",
+ "description": "read the specified IPAddress",
+ "operationId": "readIPAddress",
"produces": [
"application/json",
"application/yaml",
@@ -69375,7 +79088,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1beta1.IPAddress"
}
}
},
@@ -69383,18 +79096,18 @@
"https"
],
"tags": [
- "internalApiserver_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "internal.apiserver.k8s.io",
- "kind": "StorageVersion",
- "version": "v1alpha1"
+ "group": "networking.k8s.io",
+ "kind": "IPAddress",
+ "version": "v1beta1"
}
},
"parameters": [
{
- "description": "name of the StorageVersion",
+ "description": "name of the IPAddress",
"in": "path",
"name": "name",
"required": true,
@@ -69417,8 +79130,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified StorageVersion",
- "operationId": "patchStorageVersion",
+ "description": "partially update the specified IPAddress",
+ "operationId": "patchIPAddress",
"parameters": [
{
"in": "body",
@@ -69467,13 +79180,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1beta1.IPAddress"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1beta1.IPAddress"
}
}
},
@@ -69481,13 +79194,13 @@
"https"
],
"tags": [
- "internalApiserver_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "internal.apiserver.k8s.io",
- "kind": "StorageVersion",
- "version": "v1alpha1"
+ "group": "networking.k8s.io",
+ "kind": "IPAddress",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -69495,15 +79208,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified StorageVersion",
- "operationId": "replaceStorageVersion",
+ "description": "replace the specified IPAddress",
+ "operationId": "replaceIPAddress",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1beta1.IPAddress"
}
},
{
@@ -69516,15 +79229,157 @@
{
"description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
"in": "query",
- "name": "fieldManager",
- "type": "string",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.IPAddress"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.IPAddress"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1beta1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "IPAddress",
+ "version": "v1beta1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/networking.k8s.io/v1beta1/servicecidrs": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of ServiceCIDR",
+ "operationId": "deleteCollectionServiceCIDR",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
"uniqueItems": true
},
{
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
"in": "query",
- "name": "fieldValidation",
- "type": "string",
+ "name": "timeoutSeconds",
+ "type": "integer",
"uniqueItems": true
}
],
@@ -69538,13 +79393,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1.Status"
}
}
},
@@ -69552,112 +79401,90 @@
"https"
],
"tags": [
- "internalApiserver_v1alpha1"
+ "networking_v1beta1"
],
- "x-kubernetes-action": "put",
+ "x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "internal.apiserver.k8s.io",
- "kind": "StorageVersion",
- "version": "v1alpha1"
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
- }
- },
- "/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}/status": {
+ },
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified StorageVersion",
- "operationId": "readStorageVersionStatus",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "internalApiserver_v1alpha1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "internal.apiserver.k8s.io",
- "kind": "StorageVersion",
- "version": "v1alpha1"
- }
- },
- "parameters": [
- {
- "description": "name of the StorageVersion",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml",
- "application/apply-patch+cbor"
- ],
- "description": "partially update status of the specified StorageVersion",
- "operationId": "patchStorageVersionStatus",
+ "description": "list or watch objects of kind ServiceCIDR",
+ "operationId": "listServiceCIDR",
"parameters": [
{
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
},
{
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
"in": "query",
- "name": "dryRun",
+ "name": "continue",
"type": "string",
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
"in": "query",
- "name": "fieldManager",
+ "name": "fieldSelector",
"type": "string",
"uniqueItems": true
},
{
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
- "name": "fieldValidation",
+ "name": "labelSelector",
"type": "string",
"uniqueItems": true
},
{
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
"in": "query",
- "name": "force",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
"type": "boolean",
"uniqueItems": true
}
@@ -69666,19 +79493,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
- "application/cbor"
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1beta1.ServiceCIDRList"
}
}
},
@@ -69686,29 +79510,37 @@
"https"
],
"tags": [
- "internalApiserver_v1alpha1"
+ "networking_v1beta1"
],
- "x-kubernetes-action": "patch",
+ "x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "internal.apiserver.k8s.io",
- "kind": "StorageVersion",
- "version": "v1alpha1"
- },
- "x-codegen-request-body-name": "body"
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1beta1"
+ }
},
- "put": {
+ "parameters": [
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
"consumes": [
"application/json"
],
- "description": "replace status of the specified StorageVersion",
- "operationId": "replaceStorageVersionStatus",
+ "description": "create a ServiceCIDR",
+ "operationId": "createServiceCIDR",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
}
},
{
@@ -69743,220 +79575,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
}
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "internalApiserver_v1alpha1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "internal.apiserver.k8s.io",
- "kind": "StorageVersion",
- "version": "v1alpha1"
- },
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/internal.apiserver.k8s.io/v1alpha1/watch/storageversions": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/internal.apiserver.k8s.io/v1alpha1/watch/storageversions/{name}": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the StorageVersion",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/networking.k8s.io/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get information of a group",
- "operationId": "getAPIGroup",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
+ },
+ "202": {
+ "description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.APIGroup"
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
}
}
},
@@ -69964,49 +79595,24 @@
"https"
],
"tags": [
- "networking"
- ]
- }
- },
- "/apis/networking.k8s.io/v1/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "description": "get available resources",
- "operationId": "getAPIResources",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
+ "networking_v1beta1"
],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIResourceList"
- }
- }
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1beta1"
},
- "schemes": [
- "https"
- ],
- "tags": [
- "networking_v1"
- ]
+ "x-codegen-request-body-name": "body"
}
},
- "/apis/networking.k8s.io/v1/ingressclasses": {
+ "/apis/networking.k8s.io/v1beta1/servicecidrs/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of IngressClass",
- "operationId": "deleteCollectionIngressClass",
+ "description": "delete a ServiceCIDR",
+ "operationId": "deleteServiceCIDR",
"parameters": [
{
"in": "body",
@@ -70015,13 +79621,6 @@
"$ref": "#/definitions/v1.DeleteOptions"
}
},
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
{
"description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
"in": "query",
@@ -70029,13 +79628,6 @@
"type": "string",
"uniqueItems": true
},
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
{
"description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
"in": "query",
@@ -70050,20 +79642,6 @@
"type": "boolean",
"uniqueItems": true
},
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -70073,37 +79651,9 @@
},
{
"description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
"uniqueItems": true
}
],
@@ -70119,19 +79669,25 @@
"schema": {
"$ref": "#/definitions/v1.Status"
}
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
}
},
"schemes": [
"https"
],
"tags": [
- "networking_v1"
+ "networking_v1beta1"
],
- "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "IngressClass",
- "version": "v1"
+ "kind": "ServiceCIDR",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -70139,94 +79695,19 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind IngressClass",
- "operationId": "listIngressClass",
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
+ "description": "read the specified ServiceCIDR",
+ "operationId": "readServiceCIDR",
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
- "application/cbor",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch",
- "application/cbor-seq"
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.IngressClassList"
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
}
}
},
@@ -70234,16 +79715,24 @@
"https"
],
"tags": [
- "networking_v1"
+ "networking_v1beta1"
],
- "x-kubernetes-action": "list",
+ "x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "IngressClass",
- "version": "v1"
+ "kind": "ServiceCIDR",
+ "version": "v1beta1"
}
},
"parameters": [
+ {
+ "description": "name of the ServiceCIDR",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -70252,19 +79741,23 @@
"uniqueItems": true
}
],
- "post": {
+ "patch": {
"consumes": [
- "application/json"
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "create an IngressClass",
- "operationId": "createIngressClass",
+ "description": "partially update the specified ServiceCIDR",
+ "operationId": "patchServiceCIDR",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.IngressClass"
+ "$ref": "#/definitions/v1.Patch"
}
},
{
@@ -70275,7 +79768,7 @@
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
"in": "query",
"name": "fieldManager",
"type": "string",
@@ -70287,6 +79780,13 @@
"name": "fieldValidation",
"type": "string",
"uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
}
],
"produces": [
@@ -70299,19 +79799,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.IngressClass"
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.IngressClass"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.IngressClass"
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
}
}
},
@@ -70319,30 +79813,29 @@
"https"
],
"tags": [
- "networking_v1"
+ "networking_v1beta1"
],
- "x-kubernetes-action": "post",
+ "x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "IngressClass",
- "version": "v1"
+ "kind": "ServiceCIDR",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
- }
- },
- "/apis/networking.k8s.io/v1/ingressclasses/{name}": {
- "delete": {
+ },
+ "put": {
"consumes": [
"application/json"
],
- "description": "delete an IngressClass",
- "operationId": "deleteIngressClass",
+ "description": "replace the specified ServiceCIDR",
+ "operationId": "replaceServiceCIDR",
"parameters": [
{
"in": "body",
"name": "body",
+ "required": true,
"schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
}
},
{
@@ -70353,30 +79846,16 @@
"uniqueItems": true
},
{
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
- "in": "query",
- "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
"in": "query",
- "name": "orphanDependents",
- "type": "boolean",
+ "name": "fieldManager",
+ "type": "string",
"uniqueItems": true
},
{
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
"in": "query",
- "name": "propagationPolicy",
+ "name": "fieldValidation",
"type": "string",
"uniqueItems": true
}
@@ -70391,13 +79870,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
}
},
- "202": {
- "description": "Accepted",
+ "201": {
+ "description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
}
}
},
@@ -70405,22 +79884,24 @@
"https"
],
"tags": [
- "networking_v1"
+ "networking_v1beta1"
],
- "x-kubernetes-action": "delete",
+ "x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "IngressClass",
- "version": "v1"
+ "kind": "ServiceCIDR",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
- },
+ }
+ },
+ "/apis/networking.k8s.io/v1beta1/servicecidrs/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "read the specified IngressClass",
- "operationId": "readIngressClass",
+ "description": "read status of the specified ServiceCIDR",
+ "operationId": "readServiceCIDRStatus",
"produces": [
"application/json",
"application/yaml",
@@ -70431,7 +79912,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.IngressClass"
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
}
}
},
@@ -70439,18 +79920,18 @@
"https"
],
"tags": [
- "networking_v1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "IngressClass",
- "version": "v1"
+ "kind": "ServiceCIDR",
+ "version": "v1beta1"
}
},
"parameters": [
{
- "description": "name of the IngressClass",
+ "description": "name of the ServiceCIDR",
"in": "path",
"name": "name",
"required": true,
@@ -70473,8 +79954,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified IngressClass",
- "operationId": "patchIngressClass",
+ "description": "partially update status of the specified ServiceCIDR",
+ "operationId": "patchServiceCIDRStatus",
"parameters": [
{
"in": "body",
@@ -70523,139 +80004,354 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.IngressClass"
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.IngressClass"
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1beta1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1beta1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace status of the specified ServiceCIDR",
+ "operationId": "replaceServiceCIDRStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
}
}
},
- "schemes": [
- "https"
- ],
- "tags": [
- "networking_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "IngressClass",
- "version": "v1"
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1beta1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1beta1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/networking.k8s.io/v1beta1/watch/ipaddresses": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/networking.k8s.io/v1beta1/watch/ipaddresses/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the IPAddress",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/networking.k8s.io/v1beta1/watch/servicecidrs": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace the specified IngressClass",
- "operationId": "replaceIngressClass",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.IngressClass"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.IngressClass"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.IngressClass"
- }
- }
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "networking_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "IngressClass",
- "version": "v1"
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/networking.k8s.io/v1/ingresses": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind Ingress",
- "operationId": "listIngressForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch",
- "application/cbor-seq"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.IngressList"
- }
- }
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "networking_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "Ingress",
- "version": "v1"
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/apis/networking.k8s.io/v1beta1/watch/servicecidrs/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -70692,6 +80388,14 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "name of the ServiceCIDR",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -70736,13 +80440,75 @@
}
]
},
- "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses": {
+ "/apis/node.k8s.io/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "description": "get information of a group",
+ "operationId": "getAPIGroup",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIGroup"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "node"
+ ]
+ }
+ },
+ "/apis/node.k8s.io/v1/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIResourceList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "node_v1"
+ ]
+ }
+ },
+ "/apis/node.k8s.io/v1/runtimeclasses": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of Ingress",
- "operationId": "deleteCollectionNamespacedIngress",
+ "description": "delete collection of RuntimeClass",
+ "operationId": "deleteCollectionRuntimeClass",
"parameters": [
{
"in": "body",
@@ -70861,12 +80627,12 @@
"https"
],
"tags": [
- "networking_v1"
+ "node_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "Ingress",
+ "group": "node.k8s.io",
+ "kind": "RuntimeClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -70875,8 +80641,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind Ingress",
- "operationId": "listNamespacedIngress",
+ "description": "list or watch objects of kind RuntimeClass",
+ "operationId": "listRuntimeClass",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -70962,7 +80728,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.IngressList"
+ "$ref": "#/definitions/v1.RuntimeClassList"
}
}
},
@@ -70970,24 +80736,16 @@
"https"
],
"tags": [
- "networking_v1"
+ "node_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "Ingress",
+ "group": "node.k8s.io",
+ "kind": "RuntimeClass",
"version": "v1"
}
},
"parameters": [
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -71000,15 +80758,15 @@
"consumes": [
"application/json"
],
- "description": "create an Ingress",
- "operationId": "createNamespacedIngress",
+ "description": "create a RuntimeClass",
+ "operationId": "createRuntimeClass",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.RuntimeClass"
}
},
{
@@ -71043,19 +80801,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.RuntimeClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.RuntimeClass"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.RuntimeClass"
}
}
},
@@ -71063,24 +80821,24 @@
"https"
],
"tags": [
- "networking_v1"
+ "node_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "Ingress",
+ "group": "node.k8s.io",
+ "kind": "RuntimeClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}": {
+ "/apis/node.k8s.io/v1/runtimeclasses/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete an Ingress",
- "operationId": "deleteNamespacedIngress",
+ "description": "delete a RuntimeClass",
+ "operationId": "deleteRuntimeClass",
"parameters": [
{
"in": "body",
@@ -71118,220 +80876,9 @@
"uniqueItems": true
},
{
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "networking_v1"
- ],
- "x-kubernetes-action": "delete",
- "x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "Ingress",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read the specified Ingress",
- "operationId": "readNamespacedIngress",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Ingress"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "networking_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "Ingress",
- "version": "v1"
- }
- },
- "parameters": [
- {
- "description": "name of the Ingress",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml",
- "application/apply-patch+cbor"
- ],
- "description": "partially update the specified Ingress",
- "operationId": "patchNamespacedIngress",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Ingress"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Ingress"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "networking_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "Ingress",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace the specified Ingress",
- "operationId": "replaceNamespacedIngress",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Ingress"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
"in": "query",
- "name": "fieldValidation",
+ "name": "propagationPolicy",
"type": "string",
"uniqueItems": true
}
@@ -71346,13 +80893,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.Status"
}
},
- "201": {
- "description": "Created",
+ "202": {
+ "description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.Status"
}
}
},
@@ -71360,24 +80907,22 @@
"https"
],
"tags": [
- "networking_v1"
+ "node_v1"
],
- "x-kubernetes-action": "put",
+ "x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "Ingress",
+ "group": "node.k8s.io",
+ "kind": "RuntimeClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
- }
- },
- "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status": {
+ },
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified Ingress",
- "operationId": "readNamespacedIngressStatus",
+ "description": "read the specified RuntimeClass",
+ "operationId": "readRuntimeClass",
"produces": [
"application/json",
"application/yaml",
@@ -71388,7 +80933,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.RuntimeClass"
}
}
},
@@ -71396,32 +80941,24 @@
"https"
],
"tags": [
- "networking_v1"
+ "node_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "Ingress",
+ "group": "node.k8s.io",
+ "kind": "RuntimeClass",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the Ingress",
+ "description": "name of the RuntimeClass",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -71438,8 +80975,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update status of the specified Ingress",
- "operationId": "patchNamespacedIngressStatus",
+ "description": "partially update the specified RuntimeClass",
+ "operationId": "patchRuntimeClass",
"parameters": [
{
"in": "body",
@@ -71488,13 +81025,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.RuntimeClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.RuntimeClass"
}
}
},
@@ -71502,12 +81039,12 @@
"https"
],
"tags": [
- "networking_v1"
+ "node_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "Ingress",
+ "group": "node.k8s.io",
+ "kind": "RuntimeClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -71516,15 +81053,15 @@
"consumes": [
"application/json"
],
- "description": "replace status of the specified Ingress",
- "operationId": "replaceNamespacedIngressStatus",
+ "description": "replace the specified RuntimeClass",
+ "operationId": "replaceRuntimeClass",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.RuntimeClass"
}
},
{
@@ -71559,13 +81096,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.RuntimeClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.RuntimeClass"
}
}
},
@@ -71573,24 +81110,256 @@
"https"
],
"tags": [
- "networking_v1"
+ "node_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "Ingress",
+ "group": "node.k8s.io",
+ "kind": "RuntimeClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies": {
+ "/apis/node.k8s.io/v1/watch/runtimeclasses": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/node.k8s.io/v1/watch/runtimeclasses/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the RuntimeClass",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/policy/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "description": "get information of a group",
+ "operationId": "getAPIGroup",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIGroup"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "policy"
+ ]
+ }
+ },
+ "/apis/policy/v1/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIResourceList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "policy_v1"
+ ]
+ }
+ },
+ "/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of NetworkPolicy",
- "operationId": "deleteCollectionNamespacedNetworkPolicy",
+ "description": "delete collection of PodDisruptionBudget",
+ "operationId": "deleteCollectionNamespacedPodDisruptionBudget",
"parameters": [
{
"in": "body",
@@ -71709,12 +81478,12 @@
"https"
],
"tags": [
- "networking_v1"
+ "policy_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "NetworkPolicy",
+ "group": "policy",
+ "kind": "PodDisruptionBudget",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -71723,8 +81492,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind NetworkPolicy",
- "operationId": "listNamespacedNetworkPolicy",
+ "description": "list or watch objects of kind PodDisruptionBudget",
+ "operationId": "listNamespacedPodDisruptionBudget",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -71748,69 +81517,282 @@
"uniqueItems": true
},
{
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PodDisruptionBudgetList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "policy_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "policy",
+ "kind": "PodDisruptionBudget",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a PodDisruptionBudget",
+ "operationId": "createNamespacedPodDisruptionBudget",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "policy_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "policy",
+ "kind": "PodDisruptionBudget",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a PodDisruptionBudget",
+ "operationId": "deleteNamespacedPodDisruptionBudget",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
"in": "query",
- "name": "labelSelector",
+ "name": "dryRun",
"type": "string",
"uniqueItems": true
},
{
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
"in": "query",
- "name": "limit",
+ "name": "gracePeriodSeconds",
"type": "integer",
"uniqueItems": true
},
{
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
"in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
"uniqueItems": true
},
{
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
- "name": "sendInitialEvents",
+ "name": "orphanDependents",
"type": "boolean",
"uniqueItems": true
},
{
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
"in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
+ "name": "propagationPolicy",
+ "type": "string",
"uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
}
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "policy_v1"
],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "policy",
+ "kind": "PodDisruptionBudget",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified PodDisruptionBudget",
+ "operationId": "readNamespacedPodDisruptionBudget",
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
- "application/cbor",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch",
- "application/cbor-seq"
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicyList"
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
}
}
},
@@ -71818,16 +81800,24 @@
"https"
],
"tags": [
- "networking_v1"
+ "policy_v1"
],
- "x-kubernetes-action": "list",
+ "x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "NetworkPolicy",
+ "group": "policy",
+ "kind": "PodDisruptionBudget",
"version": "v1"
}
},
"parameters": [
+ {
+ "description": "name of the PodDisruptionBudget",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "object name and auth scope, such as for teams and projects",
"in": "path",
@@ -71844,19 +81834,23 @@
"uniqueItems": true
}
],
- "post": {
+ "patch": {
"consumes": [
- "application/json"
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "create a NetworkPolicy",
- "operationId": "createNamespacedNetworkPolicy",
+ "description": "partially update the specified PodDisruptionBudget",
+ "operationId": "patchNamespacedPodDisruptionBudget",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicy"
+ "$ref": "#/definitions/v1.Patch"
}
},
{
@@ -71867,7 +81861,7 @@
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
"in": "query",
"name": "fieldManager",
"type": "string",
@@ -71879,6 +81873,13 @@
"name": "fieldValidation",
"type": "string",
"uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
}
],
"produces": [
@@ -71891,19 +81892,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicy"
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicy"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.NetworkPolicy"
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
}
}
},
@@ -71911,30 +81906,29 @@
"https"
],
"tags": [
- "networking_v1"
+ "policy_v1"
],
- "x-kubernetes-action": "post",
+ "x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "NetworkPolicy",
+ "group": "policy",
+ "kind": "PodDisruptionBudget",
"version": "v1"
},
"x-codegen-request-body-name": "body"
- }
- },
- "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}": {
- "delete": {
+ },
+ "put": {
"consumes": [
"application/json"
],
- "description": "delete a NetworkPolicy",
- "operationId": "deleteNamespacedNetworkPolicy",
+ "description": "replace the specified PodDisruptionBudget",
+ "operationId": "replaceNamespacedPodDisruptionBudget",
"parameters": [
{
"in": "body",
"name": "body",
+ "required": true,
"schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
}
},
{
@@ -71945,30 +81939,16 @@
"uniqueItems": true
},
{
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
- "in": "query",
- "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
"in": "query",
- "name": "orphanDependents",
- "type": "boolean",
+ "name": "fieldManager",
+ "type": "string",
"uniqueItems": true
},
{
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
"in": "query",
- "name": "propagationPolicy",
+ "name": "fieldValidation",
"type": "string",
"uniqueItems": true
}
@@ -71983,13 +81963,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
}
},
- "202": {
- "description": "Accepted",
+ "201": {
+ "description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
}
}
},
@@ -71997,22 +81977,24 @@
"https"
],
"tags": [
- "networking_v1"
+ "policy_v1"
],
- "x-kubernetes-action": "delete",
+ "x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "NetworkPolicy",
+ "group": "policy",
+ "kind": "PodDisruptionBudget",
"version": "v1"
},
"x-codegen-request-body-name": "body"
- },
+ }
+ },
+ "/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "read the specified NetworkPolicy",
- "operationId": "readNamespacedNetworkPolicy",
+ "description": "read status of the specified PodDisruptionBudget",
+ "operationId": "readNamespacedPodDisruptionBudgetStatus",
"produces": [
"application/json",
"application/yaml",
@@ -72023,7 +82005,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicy"
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
}
}
},
@@ -72031,18 +82013,18 @@
"https"
],
"tags": [
- "networking_v1"
+ "policy_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "NetworkPolicy",
+ "group": "policy",
+ "kind": "PodDisruptionBudget",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the NetworkPolicy",
+ "description": "name of the PodDisruptionBudget",
"in": "path",
"name": "name",
"required": true,
@@ -72073,8 +82055,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified NetworkPolicy",
- "operationId": "patchNamespacedNetworkPolicy",
+ "description": "partially update status of the specified PodDisruptionBudget",
+ "operationId": "patchNamespacedPodDisruptionBudgetStatus",
"parameters": [
{
"in": "body",
@@ -72123,13 +82105,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicy"
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicy"
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
}
}
},
@@ -72137,12 +82119,12 @@
"https"
],
"tags": [
- "networking_v1"
+ "policy_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "NetworkPolicy",
+ "group": "policy",
+ "kind": "PodDisruptionBudget",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -72151,15 +82133,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified NetworkPolicy",
- "operationId": "replaceNamespacedNetworkPolicy",
+ "description": "replace status of the specified PodDisruptionBudget",
+ "operationId": "replaceNamespacedPodDisruptionBudgetStatus",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicy"
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
}
},
{
@@ -72194,13 +82176,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicy"
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicy"
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
}
}
},
@@ -72208,24 +82190,24 @@
"https"
],
"tags": [
- "networking_v1"
+ "policy_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "NetworkPolicy",
+ "group": "policy",
+ "kind": "PodDisruptionBudget",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/networking.k8s.io/v1/networkpolicies": {
+ "/apis/policy/v1/poddisruptionbudgets": {
"get": {
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind NetworkPolicy",
- "operationId": "listNetworkPolicyForAllNamespaces",
+ "description": "list or watch objects of kind PodDisruptionBudget",
+ "operationId": "listPodDisruptionBudgetForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
@@ -72239,7 +82221,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicyList"
+ "$ref": "#/definitions/v1.PodDisruptionBudgetList"
}
}
},
@@ -72247,12 +82229,12 @@
"https"
],
"tags": [
- "networking_v1"
+ "policy_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "NetworkPolicy",
+ "group": "policy",
+ "kind": "PodDisruptionBudget",
"version": "v1"
}
},
@@ -72336,258 +82318,7 @@
}
]
},
- "/apis/networking.k8s.io/v1/watch/ingressclasses": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/networking.k8s.io/v1/watch/ingressclasses/{name}": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the IngressClass",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/networking.k8s.io/v1/watch/ingresses": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/ingresses": {
+ "/apis/policy/v1/watch/namespaces/{namespace}/poddisruptionbudgets": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -72676,7 +82407,7 @@
}
]
},
- "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/ingresses/{name}": {
+ "/apis/policy/v1/watch/namespaces/{namespace}/poddisruptionbudgets/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -72714,7 +82445,7 @@
"uniqueItems": true
},
{
- "description": "name of the Ingress",
+ "description": "name of the PodDisruptionBudget",
"in": "path",
"name": "name",
"required": true,
@@ -72773,96 +82504,7 @@
}
]
},
- "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies/{name}": {
+ "/apis/policy/v1/watch/poddisruptionbudgets": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -72899,22 +82541,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "name of the NetworkPolicy",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -72959,88 +82585,37 @@
}
]
},
- "/apis/networking.k8s.io/v1/watch/networkpolicies": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "/apis/rbac.authorization.k8s.io/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "description": "get information of a group",
+ "operationId": "getAPIGroup",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIGroup"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "rbacAuthorization"
+ ]
+ }
},
- "/apis/networking.k8s.io/v1beta1/": {
+ "/apis/rbac.authorization.k8s.io/v1/": {
"get": {
"consumes": [
"application/json",
@@ -73068,17 +82643,17 @@
"https"
],
"tags": [
- "networking_v1beta1"
+ "rbacAuthorization_v1"
]
}
},
- "/apis/networking.k8s.io/v1beta1/ipaddresses": {
+ "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of IPAddress",
- "operationId": "deleteCollectionIPAddress",
+ "description": "delete collection of ClusterRoleBinding",
+ "operationId": "deleteCollectionClusterRoleBinding",
"parameters": [
{
"in": "body",
@@ -73197,13 +82772,13 @@
"https"
],
"tags": [
- "networking_v1beta1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "IPAddress",
- "version": "v1beta1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "ClusterRoleBinding",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -73211,8 +82786,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind IPAddress",
- "operationId": "listIPAddress",
+ "description": "list or watch objects of kind ClusterRoleBinding",
+ "operationId": "listClusterRoleBinding",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -73298,7 +82873,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.IPAddressList"
+ "$ref": "#/definitions/v1.ClusterRoleBindingList"
}
}
},
@@ -73306,13 +82881,13 @@
"https"
],
"tags": [
- "networking_v1beta1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "IPAddress",
- "version": "v1beta1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "ClusterRoleBinding",
+ "version": "v1"
}
},
"parameters": [
@@ -73328,15 +82903,15 @@
"consumes": [
"application/json"
],
- "description": "create an IPAddress",
- "operationId": "createIPAddress",
+ "description": "create a ClusterRoleBinding",
+ "operationId": "createClusterRoleBinding",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1beta1.IPAddress"
+ "$ref": "#/definitions/v1.ClusterRoleBinding"
}
},
{
@@ -73371,19 +82946,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.IPAddress"
+ "$ref": "#/definitions/v1.ClusterRoleBinding"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.IPAddress"
+ "$ref": "#/definitions/v1.ClusterRoleBinding"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1beta1.IPAddress"
+ "$ref": "#/definitions/v1.ClusterRoleBinding"
}
}
},
@@ -73391,24 +82966,24 @@
"https"
],
"tags": [
- "networking_v1beta1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "IPAddress",
- "version": "v1beta1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "ClusterRoleBinding",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/networking.k8s.io/v1beta1/ipaddresses/{name}": {
+ "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete an IPAddress",
- "operationId": "deleteIPAddress",
+ "description": "delete a ClusterRoleBinding",
+ "operationId": "deleteClusterRoleBinding",
"parameters": [
{
"in": "body",
@@ -73477,13 +83052,13 @@
"https"
],
"tags": [
- "networking_v1beta1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "IPAddress",
- "version": "v1beta1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "ClusterRoleBinding",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -73491,8 +83066,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified IPAddress",
- "operationId": "readIPAddress",
+ "description": "read the specified ClusterRoleBinding",
+ "operationId": "readClusterRoleBinding",
"produces": [
"application/json",
"application/yaml",
@@ -73503,7 +83078,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.IPAddress"
+ "$ref": "#/definitions/v1.ClusterRoleBinding"
}
}
},
@@ -73511,18 +83086,18 @@
"https"
],
"tags": [
- "networking_v1beta1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "IPAddress",
- "version": "v1beta1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "ClusterRoleBinding",
+ "version": "v1"
}
},
"parameters": [
{
- "description": "name of the IPAddress",
+ "description": "name of the ClusterRoleBinding",
"in": "path",
"name": "name",
"required": true,
@@ -73545,8 +83120,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified IPAddress",
- "operationId": "patchIPAddress",
+ "description": "partially update the specified ClusterRoleBinding",
+ "operationId": "patchClusterRoleBinding",
"parameters": [
{
"in": "body",
@@ -73595,13 +83170,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.IPAddress"
+ "$ref": "#/definitions/v1.ClusterRoleBinding"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.IPAddress"
+ "$ref": "#/definitions/v1.ClusterRoleBinding"
}
}
},
@@ -73609,13 +83184,13 @@
"https"
],
"tags": [
- "networking_v1beta1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "IPAddress",
- "version": "v1beta1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "ClusterRoleBinding",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -73623,15 +83198,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified IPAddress",
- "operationId": "replaceIPAddress",
+ "description": "replace the specified ClusterRoleBinding",
+ "operationId": "replaceClusterRoleBinding",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1beta1.IPAddress"
+ "$ref": "#/definitions/v1.ClusterRoleBinding"
}
},
{
@@ -73666,13 +83241,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.IPAddress"
+ "$ref": "#/definitions/v1.ClusterRoleBinding"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.IPAddress"
+ "$ref": "#/definitions/v1.ClusterRoleBinding"
}
}
},
@@ -73680,24 +83255,24 @@
"https"
],
"tags": [
- "networking_v1beta1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "IPAddress",
- "version": "v1beta1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "ClusterRoleBinding",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/networking.k8s.io/v1beta1/servicecidrs": {
+ "/apis/rbac.authorization.k8s.io/v1/clusterroles": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of ServiceCIDR",
- "operationId": "deleteCollectionServiceCIDR",
+ "description": "delete collection of ClusterRole",
+ "operationId": "deleteCollectionClusterRole",
"parameters": [
{
"in": "body",
@@ -73816,13 +83391,13 @@
"https"
],
"tags": [
- "networking_v1beta1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "ServiceCIDR",
- "version": "v1beta1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "ClusterRole",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -73830,8 +83405,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind ServiceCIDR",
- "operationId": "listServiceCIDR",
+ "description": "list or watch objects of kind ClusterRole",
+ "operationId": "listClusterRole",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -73917,7 +83492,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ServiceCIDRList"
+ "$ref": "#/definitions/v1.ClusterRoleList"
}
}
},
@@ -73925,13 +83500,13 @@
"https"
],
"tags": [
- "networking_v1beta1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "ServiceCIDR",
- "version": "v1beta1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "ClusterRole",
+ "version": "v1"
}
},
"parameters": [
@@ -73947,15 +83522,15 @@
"consumes": [
"application/json"
],
- "description": "create a ServiceCIDR",
- "operationId": "createServiceCIDR",
+ "description": "create a ClusterRole",
+ "operationId": "createClusterRole",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1beta1.ServiceCIDR"
+ "$ref": "#/definitions/v1.ClusterRole"
}
},
{
@@ -73990,19 +83565,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ServiceCIDR"
+ "$ref": "#/definitions/v1.ClusterRole"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.ServiceCIDR"
+ "$ref": "#/definitions/v1.ClusterRole"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1beta1.ServiceCIDR"
+ "$ref": "#/definitions/v1.ClusterRole"
}
}
},
@@ -74010,24 +83585,24 @@
"https"
],
"tags": [
- "networking_v1beta1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "ServiceCIDR",
- "version": "v1beta1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "ClusterRole",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/networking.k8s.io/v1beta1/servicecidrs/{name}": {
+ "/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a ServiceCIDR",
- "operationId": "deleteServiceCIDR",
+ "description": "delete a ClusterRole",
+ "operationId": "deleteClusterRole",
"parameters": [
{
"in": "body",
@@ -74096,13 +83671,13 @@
"https"
],
"tags": [
- "networking_v1beta1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "ServiceCIDR",
- "version": "v1beta1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "ClusterRole",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -74110,8 +83685,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified ServiceCIDR",
- "operationId": "readServiceCIDR",
+ "description": "read the specified ClusterRole",
+ "operationId": "readClusterRole",
"produces": [
"application/json",
"application/yaml",
@@ -74122,7 +83697,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ServiceCIDR"
+ "$ref": "#/definitions/v1.ClusterRole"
}
}
},
@@ -74130,18 +83705,18 @@
"https"
],
"tags": [
- "networking_v1beta1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "ServiceCIDR",
- "version": "v1beta1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "ClusterRole",
+ "version": "v1"
}
},
"parameters": [
{
- "description": "name of the ServiceCIDR",
+ "description": "name of the ClusterRole",
"in": "path",
"name": "name",
"required": true,
@@ -74164,8 +83739,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified ServiceCIDR",
- "operationId": "patchServiceCIDR",
+ "description": "partially update the specified ClusterRole",
+ "operationId": "patchClusterRole",
"parameters": [
{
"in": "body",
@@ -74214,13 +83789,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ServiceCIDR"
+ "$ref": "#/definitions/v1.ClusterRole"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.ServiceCIDR"
+ "$ref": "#/definitions/v1.ClusterRole"
}
}
},
@@ -74228,13 +83803,13 @@
"https"
],
"tags": [
- "networking_v1beta1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "ServiceCIDR",
- "version": "v1beta1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "ClusterRole",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -74242,15 +83817,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified ServiceCIDR",
- "operationId": "replaceServiceCIDR",
+ "description": "replace the specified ClusterRole",
+ "operationId": "replaceClusterRole",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1beta1.ServiceCIDR"
+ "$ref": "#/definitions/v1.ClusterRole"
}
},
{
@@ -74285,13 +83860,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ServiceCIDR"
+ "$ref": "#/definitions/v1.ClusterRole"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.ServiceCIDR"
+ "$ref": "#/definitions/v1.ClusterRole"
}
}
},
@@ -74299,24 +83874,124 @@
"https"
],
"tags": [
- "networking_v1beta1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "ServiceCIDR",
- "version": "v1beta1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "ClusterRole",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/networking.k8s.io/v1beta1/servicecidrs/{name}/status": {
- "get": {
+ "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings": {
+ "delete": {
"consumes": [
"application/json"
],
- "description": "read status of the specified ServiceCIDR",
- "operationId": "readServiceCIDRStatus",
+ "description": "delete collection of RoleBinding",
+ "operationId": "deleteCollectionNamespacedRoleBinding",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
"produces": [
"application/json",
"application/yaml",
@@ -74327,7 +84002,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ServiceCIDR"
+ "$ref": "#/definitions/v1.Status"
}
}
},
@@ -74335,20 +84010,129 @@
"https"
],
"tags": [
- "networking_v1beta1"
+ "rbacAuthorization_v1"
],
- "x-kubernetes-action": "get",
+ "x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "ServiceCIDR",
- "version": "v1beta1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "RoleBinding",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind RoleBinding",
+ "operationId": "listNamespacedRoleBinding",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.RoleBindingList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "rbacAuthorization_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "rbac.authorization.k8s.io",
+ "kind": "RoleBinding",
+ "version": "v1"
}
},
"parameters": [
{
- "description": "name of the ServiceCIDR",
+ "description": "object name and auth scope, such as for teams and projects",
"in": "path",
- "name": "name",
+ "name": "namespace",
"required": true,
"type": "string",
"uniqueItems": true
@@ -74361,23 +84145,19 @@
"uniqueItems": true
}
],
- "patch": {
+ "post": {
"consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml",
- "application/apply-patch+cbor"
+ "application/json"
],
- "description": "partially update status of the specified ServiceCIDR",
- "operationId": "patchServiceCIDRStatus",
+ "description": "create a RoleBinding",
+ "operationId": "createNamespacedRoleBinding",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Patch"
+ "$ref": "#/definitions/v1.RoleBinding"
}
},
{
@@ -74388,7 +84168,7 @@
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
"in": "query",
"name": "fieldManager",
"type": "string",
@@ -74400,13 +84180,6 @@
"name": "fieldValidation",
"type": "string",
"uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
}
],
"produces": [
@@ -74419,13 +84192,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ServiceCIDR"
+ "$ref": "#/definitions/v1.RoleBinding"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.ServiceCIDR"
+ "$ref": "#/definitions/v1.RoleBinding"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.RoleBinding"
}
}
},
@@ -74433,29 +84212,30 @@
"https"
],
"tags": [
- "networking_v1beta1"
+ "rbacAuthorization_v1"
],
- "x-kubernetes-action": "patch",
+ "x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "ServiceCIDR",
- "version": "v1beta1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "RoleBinding",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
- },
- "put": {
+ }
+ },
+ "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}": {
+ "delete": {
"consumes": [
"application/json"
],
- "description": "replace status of the specified ServiceCIDR",
- "operationId": "replaceServiceCIDRStatus",
+ "description": "delete a RoleBinding",
+ "operationId": "deleteNamespacedRoleBinding",
"parameters": [
{
"in": "body",
"name": "body",
- "required": true,
"schema": {
- "$ref": "#/definitions/v1beta1.ServiceCIDR"
+ "$ref": "#/definitions/v1.DeleteOptions"
}
},
{
@@ -74466,16 +84246,30 @@
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
"in": "query",
- "name": "fieldManager",
- "type": "string",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
"uniqueItems": true
},
{
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
"in": "query",
- "name": "fieldValidation",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
"type": "string",
"uniqueItems": true
}
@@ -74490,13 +84284,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ServiceCIDR"
+ "$ref": "#/definitions/v1.Status"
}
},
- "201": {
- "description": "Created",
+ "202": {
+ "description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1beta1.ServiceCIDR"
+ "$ref": "#/definitions/v1.Status"
}
}
},
@@ -74504,137 +84298,52 @@
"https"
],
"tags": [
- "networking_v1beta1"
+ "rbacAuthorization_v1"
],
- "x-kubernetes-action": "put",
+ "x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "ServiceCIDR",
- "version": "v1beta1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "RoleBinding",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
- }
- },
- "/apis/networking.k8s.io/v1beta1/watch/ipaddresses": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified RoleBinding",
+ "operationId": "readNamespacedRoleBinding",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.RoleBinding"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "rbacAuthorization_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "rbac.authorization.k8s.io",
+ "kind": "RoleBinding",
+ "version": "v1"
}
- ]
- },
- "/apis/networking.k8s.io/v1beta1/watch/ipaddresses/{name}": {
+ },
"parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the IPAddress",
+ "description": "name of the RoleBinding",
"in": "path",
"name": "name",
"required": true,
@@ -74642,171 +84351,9 @@
"uniqueItems": true
},
{
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/networking.k8s.io/v1beta1/watch/servicecidrs": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/networking.k8s.io/v1beta1/watch/servicecidrs/{name}": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the ServiceCIDR",
+ "description": "object name and auth scope, such as for teams and projects",
"in": "path",
- "name": "name",
+ "name": "namespace",
"required": true,
"type": "string",
"uniqueItems": true
@@ -74817,63 +84364,73 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
}
- ]
- },
- "/apis/node.k8s.io/": {
- "get": {
+ ],
+ "patch": {
"consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified RoleBinding",
+ "operationId": "patchNamespacedRoleBinding",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
],
- "description": "get information of a group",
- "operationId": "getAPIGroup",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.APIGroup"
+ "$ref": "#/definitions/v1.RoleBinding"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.RoleBinding"
}
}
},
@@ -74881,20 +84438,53 @@
"https"
],
"tags": [
- "node"
- ]
- }
- },
- "/apis/node.k8s.io/v1/": {
- "get": {
+ "rbacAuthorization_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "rbac.authorization.k8s.io",
+ "kind": "RoleBinding",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
"consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
+ "application/json"
+ ],
+ "description": "replace the specified RoleBinding",
+ "operationId": "replaceNamespacedRoleBinding",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.RoleBinding"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
],
- "description": "get available resources",
- "operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
@@ -74905,7 +84495,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.APIResourceList"
+ "$ref": "#/definitions/v1.RoleBinding"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.RoleBinding"
}
}
},
@@ -74913,17 +84509,24 @@
"https"
],
"tags": [
- "node_v1"
- ]
+ "rbacAuthorization_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "rbac.authorization.k8s.io",
+ "kind": "RoleBinding",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
}
},
- "/apis/node.k8s.io/v1/runtimeclasses": {
+ "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of RuntimeClass",
- "operationId": "deleteCollectionRuntimeClass",
+ "description": "delete collection of Role",
+ "operationId": "deleteCollectionNamespacedRole",
"parameters": [
{
"in": "body",
@@ -75042,12 +84645,12 @@
"https"
],
"tags": [
- "node_v1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "node.k8s.io",
- "kind": "RuntimeClass",
+ "group": "rbac.authorization.k8s.io",
+ "kind": "Role",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -75056,8 +84659,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind RuntimeClass",
- "operationId": "listRuntimeClass",
+ "description": "list or watch objects of kind Role",
+ "operationId": "listNamespacedRole",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -75143,7 +84746,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.RuntimeClassList"
+ "$ref": "#/definitions/v1.RoleList"
}
}
},
@@ -75151,16 +84754,24 @@
"https"
],
"tags": [
- "node_v1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "node.k8s.io",
- "kind": "RuntimeClass",
+ "group": "rbac.authorization.k8s.io",
+ "kind": "Role",
"version": "v1"
}
},
"parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -75173,15 +84784,15 @@
"consumes": [
"application/json"
],
- "description": "create a RuntimeClass",
- "operationId": "createRuntimeClass",
+ "description": "create a Role",
+ "operationId": "createNamespacedRole",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.RuntimeClass"
+ "$ref": "#/definitions/v1.Role"
}
},
{
@@ -75216,19 +84827,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.RuntimeClass"
+ "$ref": "#/definitions/v1.Role"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.RuntimeClass"
+ "$ref": "#/definitions/v1.Role"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.RuntimeClass"
+ "$ref": "#/definitions/v1.Role"
}
}
},
@@ -75236,24 +84847,24 @@
"https"
],
"tags": [
- "node_v1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "node.k8s.io",
- "kind": "RuntimeClass",
+ "group": "rbac.authorization.k8s.io",
+ "kind": "Role",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/node.k8s.io/v1/runtimeclasses/{name}": {
+ "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a RuntimeClass",
- "operationId": "deleteRuntimeClass",
+ "description": "delete a Role",
+ "operationId": "deleteNamespacedRole",
"parameters": [
{
"in": "body",
@@ -75322,12 +84933,12 @@
"https"
],
"tags": [
- "node_v1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "node.k8s.io",
- "kind": "RuntimeClass",
+ "group": "rbac.authorization.k8s.io",
+ "kind": "Role",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -75336,8 +84947,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified RuntimeClass",
- "operationId": "readRuntimeClass",
+ "description": "read the specified Role",
+ "operationId": "readNamespacedRole",
"produces": [
"application/json",
"application/yaml",
@@ -75348,7 +84959,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.RuntimeClass"
+ "$ref": "#/definitions/v1.Role"
}
}
},
@@ -75356,24 +84967,32 @@
"https"
],
"tags": [
- "node_v1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "node.k8s.io",
- "kind": "RuntimeClass",
+ "group": "rbac.authorization.k8s.io",
+ "kind": "Role",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the RuntimeClass",
+ "description": "name of the Role",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -75390,8 +85009,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified RuntimeClass",
- "operationId": "patchRuntimeClass",
+ "description": "partially update the specified Role",
+ "operationId": "patchNamespacedRole",
"parameters": [
{
"in": "body",
@@ -75440,13 +85059,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.RuntimeClass"
+ "$ref": "#/definitions/v1.Role"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.RuntimeClass"
+ "$ref": "#/definitions/v1.Role"
}
}
},
@@ -75454,12 +85073,12 @@
"https"
],
"tags": [
- "node_v1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "node.k8s.io",
- "kind": "RuntimeClass",
+ "group": "rbac.authorization.k8s.io",
+ "kind": "Role",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -75468,15 +85087,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified RuntimeClass",
- "operationId": "replaceRuntimeClass",
+ "description": "replace the specified Role",
+ "operationId": "replaceNamespacedRole",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.RuntimeClass"
+ "$ref": "#/definitions/v1.Role"
}
},
{
@@ -75511,13 +85130,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.RuntimeClass"
+ "$ref": "#/definitions/v1.Role"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.RuntimeClass"
+ "$ref": "#/definitions/v1.Role"
}
}
},
@@ -75525,18 +85144,333 @@
"https"
],
"tags": [
- "node_v1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "node.k8s.io",
- "kind": "RuntimeClass",
+ "group": "rbac.authorization.k8s.io",
+ "kind": "Role",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/node.k8s.io/v1/watch/runtimeclasses": {
+ "/apis/rbac.authorization.k8s.io/v1/rolebindings": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind RoleBinding",
+ "operationId": "listRoleBindingForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.RoleBindingList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "rbacAuthorization_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "rbac.authorization.k8s.io",
+ "kind": "RoleBinding",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/rbac.authorization.k8s.io/v1/roles": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind Role",
+ "operationId": "listRoleForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.RoleList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "rbacAuthorization_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "rbac.authorization.k8s.io",
+ "kind": "Role",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -75573,6 +85507,14 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "name of the ClusterRoleBinding",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -75617,7 +85559,7 @@
}
]
},
- "/apis/node.k8s.io/v1/watch/runtimeclasses/{name}": {
+ "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -75654,14 +85596,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "name of the RuntimeClass",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -75706,316 +85640,47 @@
}
]
},
- "/apis/policy/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get information of a group",
- "operationId": "getAPIGroup",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIGroup"
- }
- }
+ "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "policy"
- ]
- }
- },
- "/apis/policy/v1/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "description": "get available resources",
- "operationId": "getAPIResources",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIResourceList"
- }
- }
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "policy_v1"
- ]
- }
- },
- "/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete collection of PodDisruptionBudget",
- "operationId": "deleteCollectionNamespacedPodDisruptionBudget",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
- "in": "query",
- "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- }
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "policy_v1"
- ],
- "x-kubernetes-action": "deletecollection",
- "x-kubernetes-group-version-kind": {
- "group": "policy",
- "kind": "PodDisruptionBudget",
- "version": "v1"
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind PodDisruptionBudget",
- "operationId": "listNamespacedPodDisruptionBudget",
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch",
- "application/cbor-seq"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudgetList"
- }
- }
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "policy_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "policy",
- "kind": "PodDisruptionBudget",
- "version": "v1"
- }
- },
- "parameters": [
{
- "description": "object name and auth scope, such as for teams and projects",
+ "description": "name of the ClusterRole",
"in": "path",
- "name": "namespace",
+ "name": "name",
"required": true,
"type": "string",
"uniqueItems": true
@@ -76026,213 +85691,81 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "create a PodDisruptionBudget",
- "operationId": "createNamespacedPodDisruptionBudget",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "policy_v1"
- ],
- "x-kubernetes-action": "post",
- "x-kubernetes-group-version-kind": {
- "group": "policy",
- "kind": "PodDisruptionBudget",
- "version": "v1"
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets/{name}": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete a PodDisruptionBudget",
- "operationId": "deleteNamespacedPodDisruptionBudget",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
- "in": "query",
- "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- }
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "policy_v1"
- ],
- "x-kubernetes-action": "delete",
- "x-kubernetes-group-version-kind": {
- "group": "policy",
- "kind": "PodDisruptionBudget",
- "version": "v1"
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read the specified PodDisruptionBudget",
- "operationId": "readNamespacedPodDisruptionBudget",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
- }
- }
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "policy_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "policy",
- "kind": "PodDisruptionBudget",
- "version": "v1"
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings": {
"parameters": [
{
- "description": "name of the PodDisruptionBudget",
- "in": "path",
- "name": "name",
- "required": true,
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
{
"description": "object name and auth scope, such as for teams and projects",
"in": "path",
@@ -76247,199 +85780,83 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml",
- "application/apply-patch+cbor"
- ],
- "description": "partially update the specified PodDisruptionBudget",
- "operationId": "patchNamespacedPodDisruptionBudget",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "policy_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "policy",
- "kind": "PodDisruptionBudget",
- "version": "v1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace the specified PodDisruptionBudget",
- "operationId": "replaceNamespacedPodDisruptionBudget",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "policy_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "policy",
- "kind": "PodDisruptionBudget",
- "version": "v1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets/{name}/status": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read status of the specified PodDisruptionBudget",
- "operationId": "readNamespacedPodDisruptionBudgetStatus",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
- }
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "policy_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "policy",
- "kind": "PodDisruptionBudget",
- "version": "v1"
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings/{name}": {
"parameters": [
{
- "description": "name of the PodDisruptionBudget",
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the RoleBinding",
"in": "path",
"name": "name",
"required": true,
@@ -76460,199 +85877,45 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml",
- "application/apply-patch+cbor"
- ],
- "description": "partially update status of the specified PodDisruptionBudget",
- "operationId": "patchNamespacedPodDisruptionBudgetStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "policy_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "policy",
- "kind": "PodDisruptionBudget",
- "version": "v1"
},
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace status of the specified PodDisruptionBudget",
- "operationId": "replaceNamespacedPodDisruptionBudgetStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
- }
- }
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "policy_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "policy",
- "kind": "PodDisruptionBudget",
- "version": "v1"
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/policy/v1/poddisruptionbudgets": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind PodDisruptionBudget",
- "operationId": "listPodDisruptionBudgetForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch",
- "application/cbor-seq"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudgetList"
- }
- }
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "policy_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "policy",
- "kind": "PodDisruptionBudget",
- "version": "v1"
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -76689,6 +85952,14 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -76733,7 +86004,7 @@
}
]
},
- "/apis/policy/v1/watch/namespaces/{namespace}/poddisruptionbudgets": {
+ "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -76770,6 +86041,14 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "name of the Role",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "object name and auth scope, such as for teams and projects",
"in": "path",
@@ -76822,7 +86101,7 @@
}
]
},
- "/apis/policy/v1/watch/namespaces/{namespace}/poddisruptionbudgets/{name}": {
+ "/apis/rbac.authorization.k8s.io/v1/watch/rolebindings": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -76860,165 +86139,722 @@
"uniqueItems": true
},
{
- "description": "name of the PodDisruptionBudget",
- "in": "path",
- "name": "name",
- "required": true,
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
"type": "string",
"uniqueItems": true
},
{
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/rbac.authorization.k8s.io/v1/watch/roles": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/resource.k8s.io/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "description": "get information of a group",
+ "operationId": "getAPIGroup",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIGroup"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource"
+ ]
+ }
+ },
+ "/apis/resource.k8s.io/v1alpha3/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIResourceList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1alpha3"
+ ]
+ }
+ },
+ "/apis/resource.k8s.io/v1alpha3/deviceclasses": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of DeviceClass",
+ "operationId": "deleteCollectionDeviceClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1alpha3"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "DeviceClass",
+ "version": "v1alpha3"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind DeviceClass",
+ "operationId": "listDeviceClass",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceClassList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1alpha3"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "DeviceClass",
+ "version": "v1alpha3"
+ }
+ },
+ "parameters": [
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a DeviceClass",
+ "operationId": "createDeviceClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceClass"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceClass"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceClass"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceClass"
+ }
+ }
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1alpha3"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "DeviceClass",
+ "version": "v1alpha3"
},
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/resource.k8s.io/v1alpha3/deviceclasses/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a DeviceClass",
+ "operationId": "deleteDeviceClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceClass"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceClass"
+ }
+ }
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1alpha3"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "DeviceClass",
+ "version": "v1alpha3"
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified DeviceClass",
+ "operationId": "readDeviceClass",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceClass"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1alpha3"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "DeviceClass",
+ "version": "v1alpha3"
}
- ]
- },
- "/apis/policy/v1/watch/poddisruptionbudgets": {
+ },
"parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
+ "description": "name of the DeviceClass",
+ "in": "path",
+ "name": "name",
+ "required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
}
- ]
- },
- "/apis/rbac.authorization.k8s.io/": {
- "get": {
+ ],
+ "patch": {
"consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified DeviceClass",
+ "operationId": "patchDeviceClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
],
- "description": "get information of a group",
- "operationId": "getAPIGroup",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.APIGroup"
+ "$ref": "#/definitions/v1alpha3.DeviceClass"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceClass"
}
}
},
@@ -77026,20 +86862,53 @@
"https"
],
"tags": [
- "rbacAuthorization"
- ]
- }
- },
- "/apis/rbac.authorization.k8s.io/v1/": {
- "get": {
+ "resource_v1alpha3"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "DeviceClass",
+ "version": "v1alpha3"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
"consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
+ "application/json"
+ ],
+ "description": "replace the specified DeviceClass",
+ "operationId": "replaceDeviceClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceClass"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
],
- "description": "get available resources",
- "operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
@@ -77050,7 +86919,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.APIResourceList"
+ "$ref": "#/definitions/v1alpha3.DeviceClass"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceClass"
}
}
},
@@ -77058,17 +86933,24 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
- ]
+ "resource_v1alpha3"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "DeviceClass",
+ "version": "v1alpha3"
+ },
+ "x-codegen-request-body-name": "body"
}
},
- "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings": {
+ "/apis/resource.k8s.io/v1alpha3/devicetaintrules": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of ClusterRoleBinding",
- "operationId": "deleteCollectionClusterRoleBinding",
+ "description": "delete collection of DeviceTaintRule",
+ "operationId": "deleteCollectionDeviceTaintRule",
"parameters": [
{
"in": "body",
@@ -77187,13 +87069,13 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1alpha3"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "ClusterRoleBinding",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "DeviceTaintRule",
+ "version": "v1alpha3"
},
"x-codegen-request-body-name": "body"
},
@@ -77201,8 +87083,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind ClusterRoleBinding",
- "operationId": "listClusterRoleBinding",
+ "description": "list or watch objects of kind DeviceTaintRule",
+ "operationId": "listDeviceTaintRule",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -77288,7 +87170,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ClusterRoleBindingList"
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRuleList"
}
}
},
@@ -77296,13 +87178,13 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1alpha3"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "ClusterRoleBinding",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "DeviceTaintRule",
+ "version": "v1alpha3"
}
},
"parameters": [
@@ -77318,15 +87200,15 @@
"consumes": [
"application/json"
],
- "description": "create a ClusterRoleBinding",
- "operationId": "createClusterRoleBinding",
+ "description": "create a DeviceTaintRule",
+ "operationId": "createDeviceTaintRule",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.ClusterRoleBinding"
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
}
},
{
@@ -77361,19 +87243,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ClusterRoleBinding"
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ClusterRoleBinding"
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.ClusterRoleBinding"
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
}
}
},
@@ -77381,24 +87263,24 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1alpha3"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "ClusterRoleBinding",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "DeviceTaintRule",
+ "version": "v1alpha3"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}": {
+ "/apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a ClusterRoleBinding",
- "operationId": "deleteClusterRoleBinding",
+ "description": "delete a DeviceTaintRule",
+ "operationId": "deleteDeviceTaintRule",
"parameters": [
{
"in": "body",
@@ -77453,13 +87335,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
}
}
},
@@ -77467,13 +87349,13 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1alpha3"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "ClusterRoleBinding",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "DeviceTaintRule",
+ "version": "v1alpha3"
},
"x-codegen-request-body-name": "body"
},
@@ -77481,8 +87363,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified ClusterRoleBinding",
- "operationId": "readClusterRoleBinding",
+ "description": "read the specified DeviceTaintRule",
+ "operationId": "readDeviceTaintRule",
"produces": [
"application/json",
"application/yaml",
@@ -77493,7 +87375,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ClusterRoleBinding"
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
}
}
},
@@ -77501,18 +87383,18 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1alpha3"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "ClusterRoleBinding",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "DeviceTaintRule",
+ "version": "v1alpha3"
}
},
"parameters": [
{
- "description": "name of the ClusterRoleBinding",
+ "description": "name of the DeviceTaintRule",
"in": "path",
"name": "name",
"required": true,
@@ -77535,8 +87417,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified ClusterRoleBinding",
- "operationId": "patchClusterRoleBinding",
+ "description": "partially update the specified DeviceTaintRule",
+ "operationId": "patchDeviceTaintRule",
"parameters": [
{
"in": "body",
@@ -77585,13 +87467,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ClusterRoleBinding"
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ClusterRoleBinding"
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
}
}
},
@@ -77599,13 +87481,13 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1alpha3"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "ClusterRoleBinding",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "DeviceTaintRule",
+ "version": "v1alpha3"
},
"x-codegen-request-body-name": "body"
},
@@ -77613,15 +87495,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified ClusterRoleBinding",
- "operationId": "replaceClusterRoleBinding",
+ "description": "replace the specified DeviceTaintRule",
+ "operationId": "replaceDeviceTaintRule",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.ClusterRoleBinding"
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
}
},
{
@@ -77656,13 +87538,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ClusterRoleBinding"
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ClusterRoleBinding"
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
}
}
},
@@ -77670,24 +87552,24 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1alpha3"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "ClusterRoleBinding",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "DeviceTaintRule",
+ "version": "v1alpha3"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/rbac.authorization.k8s.io/v1/clusterroles": {
+ "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of ClusterRole",
- "operationId": "deleteCollectionClusterRole",
+ "description": "delete collection of ResourceClaim",
+ "operationId": "deleteCollectionNamespacedResourceClaim",
"parameters": [
{
"in": "body",
@@ -77806,13 +87688,13 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1alpha3"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "ClusterRole",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
+ "version": "v1alpha3"
},
"x-codegen-request-body-name": "body"
},
@@ -77820,8 +87702,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind ClusterRole",
- "operationId": "listClusterRole",
+ "description": "list or watch objects of kind ResourceClaim",
+ "operationId": "listNamespacedResourceClaim",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -77907,7 +87789,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ClusterRoleList"
+ "$ref": "#/definitions/v1alpha3.ResourceClaimList"
}
}
},
@@ -77915,16 +87797,24 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1alpha3"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "ClusterRole",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
+ "version": "v1alpha3"
}
},
"parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -77937,15 +87827,15 @@
"consumes": [
"application/json"
],
- "description": "create a ClusterRole",
- "operationId": "createClusterRole",
+ "description": "create a ResourceClaim",
+ "operationId": "createNamespacedResourceClaim",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.ClusterRole"
+ "$ref": "#/definitions/v1alpha3.ResourceClaim"
}
},
{
@@ -77980,19 +87870,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ClusterRole"
+ "$ref": "#/definitions/v1alpha3.ResourceClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ClusterRole"
+ "$ref": "#/definitions/v1alpha3.ResourceClaim"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.ClusterRole"
+ "$ref": "#/definitions/v1alpha3.ResourceClaim"
}
}
},
@@ -78000,24 +87890,24 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1alpha3"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "ClusterRole",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
+ "version": "v1alpha3"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}": {
+ "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a ClusterRole",
- "operationId": "deleteClusterRole",
+ "description": "delete a ResourceClaim",
+ "operationId": "deleteNamespacedResourceClaim",
"parameters": [
{
"in": "body",
@@ -78072,13 +87962,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1alpha3.ResourceClaim"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1alpha3.ResourceClaim"
}
}
},
@@ -78086,13 +87976,13 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1alpha3"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "ClusterRole",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
+ "version": "v1alpha3"
},
"x-codegen-request-body-name": "body"
},
@@ -78100,8 +87990,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified ClusterRole",
- "operationId": "readClusterRole",
+ "description": "read the specified ResourceClaim",
+ "operationId": "readNamespacedResourceClaim",
"produces": [
"application/json",
"application/yaml",
@@ -78112,7 +88002,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ClusterRole"
+ "$ref": "#/definitions/v1alpha3.ResourceClaim"
}
}
},
@@ -78120,24 +88010,32 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1alpha3"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "ClusterRole",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
+ "version": "v1alpha3"
}
},
"parameters": [
{
- "description": "name of the ClusterRole",
+ "description": "name of the ResourceClaim",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -78154,8 +88052,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified ClusterRole",
- "operationId": "patchClusterRole",
+ "description": "partially update the specified ResourceClaim",
+ "operationId": "patchNamespacedResourceClaim",
"parameters": [
{
"in": "body",
@@ -78204,13 +88102,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ClusterRole"
+ "$ref": "#/definitions/v1alpha3.ResourceClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ClusterRole"
+ "$ref": "#/definitions/v1alpha3.ResourceClaim"
}
}
},
@@ -78218,13 +88116,13 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1alpha3"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "ClusterRole",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
+ "version": "v1alpha3"
},
"x-codegen-request-body-name": "body"
},
@@ -78232,15 +88130,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified ClusterRole",
- "operationId": "replaceClusterRole",
+ "description": "replace the specified ResourceClaim",
+ "operationId": "replaceNamespacedResourceClaim",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.ClusterRole"
+ "$ref": "#/definitions/v1alpha3.ResourceClaim"
}
},
{
@@ -78275,13 +88173,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ClusterRole"
+ "$ref": "#/definitions/v1alpha3.ResourceClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ClusterRole"
+ "$ref": "#/definitions/v1alpha3.ResourceClaim"
}
}
},
@@ -78289,24 +88187,237 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1alpha3"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "ClusterRole",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
+ "version": "v1alpha3"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings": {
+ "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read status of the specified ResourceClaim",
+ "operationId": "readNamespacedResourceClaimStatus",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1alpha3"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
+ "version": "v1alpha3"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the ResourceClaim",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update status of the specified ResourceClaim",
+ "operationId": "patchNamespacedResourceClaimStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1alpha3"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
+ "version": "v1alpha3"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace status of the specified ResourceClaim",
+ "operationId": "replaceNamespacedResourceClaimStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1alpha3"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
+ "version": "v1alpha3"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of RoleBinding",
- "operationId": "deleteCollectionNamespacedRoleBinding",
+ "description": "delete collection of ResourceClaimTemplate",
+ "operationId": "deleteCollectionNamespacedResourceClaimTemplate",
"parameters": [
{
"in": "body",
@@ -78425,13 +88536,13 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1alpha3"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "RoleBinding",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaimTemplate",
+ "version": "v1alpha3"
},
"x-codegen-request-body-name": "body"
},
@@ -78439,8 +88550,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind RoleBinding",
- "operationId": "listNamespacedRoleBinding",
+ "description": "list or watch objects of kind ResourceClaimTemplate",
+ "operationId": "listNamespacedResourceClaimTemplate",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -78526,7 +88637,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.RoleBindingList"
+ "$ref": "#/definitions/v1alpha3.ResourceClaimTemplateList"
}
}
},
@@ -78534,13 +88645,13 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1alpha3"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "RoleBinding",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaimTemplate",
+ "version": "v1alpha3"
}
},
"parameters": [
@@ -78564,15 +88675,15 @@
"consumes": [
"application/json"
],
- "description": "create a RoleBinding",
- "operationId": "createNamespacedRoleBinding",
+ "description": "create a ResourceClaimTemplate",
+ "operationId": "createNamespacedResourceClaimTemplate",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.RoleBinding"
+ "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
}
},
{
@@ -78607,19 +88718,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.RoleBinding"
+ "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.RoleBinding"
+ "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.RoleBinding"
+ "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
}
}
},
@@ -78627,24 +88738,24 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1alpha3"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "RoleBinding",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaimTemplate",
+ "version": "v1alpha3"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}": {
+ "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a RoleBinding",
- "operationId": "deleteNamespacedRoleBinding",
+ "description": "delete a ResourceClaimTemplate",
+ "operationId": "deleteNamespacedResourceClaimTemplate",
"parameters": [
{
"in": "body",
@@ -78699,13 +88810,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
}
}
},
@@ -78713,13 +88824,13 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1alpha3"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "RoleBinding",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaimTemplate",
+ "version": "v1alpha3"
},
"x-codegen-request-body-name": "body"
},
@@ -78727,8 +88838,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified RoleBinding",
- "operationId": "readNamespacedRoleBinding",
+ "description": "read the specified ResourceClaimTemplate",
+ "operationId": "readNamespacedResourceClaimTemplate",
"produces": [
"application/json",
"application/yaml",
@@ -78739,7 +88850,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.RoleBinding"
+ "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
}
}
},
@@ -78747,18 +88858,18 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1alpha3"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "RoleBinding",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaimTemplate",
+ "version": "v1alpha3"
}
},
"parameters": [
{
- "description": "name of the RoleBinding",
+ "description": "name of the ResourceClaimTemplate",
"in": "path",
"name": "name",
"required": true,
@@ -78789,8 +88900,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified RoleBinding",
- "operationId": "patchNamespacedRoleBinding",
+ "description": "partially update the specified ResourceClaimTemplate",
+ "operationId": "patchNamespacedResourceClaimTemplate",
"parameters": [
{
"in": "body",
@@ -78839,13 +88950,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.RoleBinding"
+ "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.RoleBinding"
+ "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
}
}
},
@@ -78853,13 +88964,13 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1alpha3"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "RoleBinding",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaimTemplate",
+ "version": "v1alpha3"
},
"x-codegen-request-body-name": "body"
},
@@ -78867,15 +88978,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified RoleBinding",
- "operationId": "replaceNamespacedRoleBinding",
+ "description": "replace the specified ResourceClaimTemplate",
+ "operationId": "replaceNamespacedResourceClaimTemplate",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.RoleBinding"
+ "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
}
},
{
@@ -78910,13 +89021,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.RoleBinding"
+ "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.RoleBinding"
+ "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
}
}
},
@@ -78924,24 +89035,258 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1alpha3"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "RoleBinding",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaimTemplate",
+ "version": "v1alpha3"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles": {
+ "/apis/resource.k8s.io/v1alpha3/resourceclaims": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind ResourceClaim",
+ "operationId": "listResourceClaimForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.ResourceClaimList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1alpha3"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
+ "version": "v1alpha3"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/resource.k8s.io/v1alpha3/resourceclaimtemplates": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind ResourceClaimTemplate",
+ "operationId": "listResourceClaimTemplateForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.ResourceClaimTemplateList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1alpha3"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaimTemplate",
+ "version": "v1alpha3"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/resource.k8s.io/v1alpha3/resourceslices": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of Role",
- "operationId": "deleteCollectionNamespacedRole",
+ "description": "delete collection of ResourceSlice",
+ "operationId": "deleteCollectionResourceSlice",
"parameters": [
{
"in": "body",
@@ -79060,13 +89405,13 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1alpha3"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "Role",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceSlice",
+ "version": "v1alpha3"
},
"x-codegen-request-body-name": "body"
},
@@ -79074,8 +89419,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind Role",
- "operationId": "listNamespacedRole",
+ "description": "list or watch objects of kind ResourceSlice",
+ "operationId": "listResourceSlice",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -79161,7 +89506,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.RoleList"
+ "$ref": "#/definitions/v1alpha3.ResourceSliceList"
}
}
},
@@ -79169,24 +89514,16 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1alpha3"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "Role",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceSlice",
+ "version": "v1alpha3"
}
},
"parameters": [
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -79199,15 +89536,15 @@
"consumes": [
"application/json"
],
- "description": "create a Role",
- "operationId": "createNamespacedRole",
+ "description": "create a ResourceSlice",
+ "operationId": "createResourceSlice",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Role"
+ "$ref": "#/definitions/v1alpha3.ResourceSlice"
}
},
{
@@ -79242,19 +89579,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Role"
+ "$ref": "#/definitions/v1alpha3.ResourceSlice"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Role"
+ "$ref": "#/definitions/v1alpha3.ResourceSlice"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.Role"
+ "$ref": "#/definitions/v1alpha3.ResourceSlice"
}
}
},
@@ -79262,24 +89599,24 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1alpha3"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "Role",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceSlice",
+ "version": "v1alpha3"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}": {
+ "/apis/resource.k8s.io/v1alpha3/resourceslices/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a Role",
- "operationId": "deleteNamespacedRole",
+ "description": "delete a ResourceSlice",
+ "operationId": "deleteResourceSlice",
"parameters": [
{
"in": "body",
@@ -79334,13 +89671,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1alpha3.ResourceSlice"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1alpha3.ResourceSlice"
}
}
},
@@ -79348,13 +89685,13 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1alpha3"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "Role",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceSlice",
+ "version": "v1alpha3"
},
"x-codegen-request-body-name": "body"
},
@@ -79362,8 +89699,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified Role",
- "operationId": "readNamespacedRole",
+ "description": "read the specified ResourceSlice",
+ "operationId": "readResourceSlice",
"produces": [
"application/json",
"application/yaml",
@@ -79374,7 +89711,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Role"
+ "$ref": "#/definitions/v1alpha3.ResourceSlice"
}
}
},
@@ -79382,32 +89719,24 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1alpha3"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "Role",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceSlice",
+ "version": "v1alpha3"
}
},
"parameters": [
{
- "description": "name of the Role",
+ "description": "name of the ResourceSlice",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -79424,8 +89753,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified Role",
- "operationId": "patchNamespacedRole",
+ "description": "partially update the specified ResourceSlice",
+ "operationId": "patchResourceSlice",
"parameters": [
{
"in": "body",
@@ -79474,13 +89803,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Role"
+ "$ref": "#/definitions/v1alpha3.ResourceSlice"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Role"
+ "$ref": "#/definitions/v1alpha3.ResourceSlice"
}
}
},
@@ -79488,13 +89817,13 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1alpha3"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "Role",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceSlice",
+ "version": "v1alpha3"
},
"x-codegen-request-body-name": "body"
},
@@ -79502,15 +89831,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified Role",
- "operationId": "replaceNamespacedRole",
+ "description": "replace the specified ResourceSlice",
+ "operationId": "replaceResourceSlice",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Role"
+ "$ref": "#/definitions/v1alpha3.ResourceSlice"
}
},
{
@@ -79545,13 +89874,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Role"
+ "$ref": "#/definitions/v1alpha3.ResourceSlice"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Role"
+ "$ref": "#/definitions/v1alpha3.ResourceSlice"
}
}
},
@@ -79559,54 +89888,18 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1alpha3"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "Role",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceSlice",
+ "version": "v1alpha3"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/rbac.authorization.k8s.io/v1/rolebindings": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind RoleBinding",
- "operationId": "listRoleBindingForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch",
- "application/cbor-seq"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.RoleBindingList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "rbacAuthorization_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "RoleBinding",
- "version": "v1"
- }
- },
+ "/apis/resource.k8s.io/v1alpha3/watch/deviceclasses": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -79687,43 +89980,7 @@
}
]
},
- "/apis/rbac.authorization.k8s.io/v1/roles": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind Role",
- "operationId": "listRoleForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch",
- "application/cbor-seq"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.RoleList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "rbacAuthorization_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "Role",
- "version": "v1"
- }
- },
+ "/apis/resource.k8s.io/v1alpha3/watch/deviceclasses/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -79760,6 +90017,14 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "name of the DeviceClass",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -79804,7 +90069,7 @@
}
]
},
- "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings": {
+ "/apis/resource.k8s.io/v1alpha3/watch/devicetaintrules": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -79885,7 +90150,7 @@
}
]
},
- "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings/{name}": {
+ "/apis/resource.k8s.io/v1alpha3/watch/devicetaintrules/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -79923,7 +90188,7 @@
"uniqueItems": true
},
{
- "description": "name of the ClusterRoleBinding",
+ "description": "name of the DeviceTaintRule",
"in": "path",
"name": "name",
"required": true,
@@ -79974,7 +90239,7 @@
}
]
},
- "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles": {
+ "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaims": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -80011,6 +90276,14 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -80055,7 +90328,7 @@
}
]
},
- "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles/{name}": {
+ "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaims/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -80093,13 +90366,21 @@
"uniqueItems": true
},
{
- "description": "name of the ClusterRole",
+ "description": "name of the ResourceClaim",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -80144,7 +90425,7 @@
}
]
},
- "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings": {
+ "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaimtemplates": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -80233,7 +90514,7 @@
}
]
},
- "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings/{name}": {
+ "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaimtemplates/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -80271,7 +90552,7 @@
"uniqueItems": true
},
{
- "description": "name of the RoleBinding",
+ "description": "name of the ResourceClaimTemplate",
"in": "path",
"name": "name",
"required": true,
@@ -80330,7 +90611,7 @@
}
]
},
- "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles": {
+ "/apis/resource.k8s.io/v1alpha3/watch/resourceclaims": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -80367,14 +90648,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -80419,7 +90692,7 @@
}
]
},
- "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles/{name}": {
+ "/apis/resource.k8s.io/v1alpha3/watch/resourceclaimtemplates": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -80456,22 +90729,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "name of the Role",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -80516,7 +90773,7 @@
}
]
},
- "/apis/rbac.authorization.k8s.io/v1/watch/rolebindings": {
+ "/apis/resource.k8s.io/v1alpha3/watch/resourceslices": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -80597,7 +90854,7 @@
}
]
},
- "/apis/rbac.authorization.k8s.io/v1/watch/roles": {
+ "/apis/resource.k8s.io/v1alpha3/watch/resourceslices/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -80634,6 +90891,14 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "name of the ResourceSlice",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -80678,37 +90943,7 @@
}
]
},
- "/apis/resource.k8s.io/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get information of a group",
- "operationId": "getAPIGroup",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIGroup"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "resource"
- ]
- }
- },
- "/apis/resource.k8s.io/v1alpha3/": {
+ "/apis/resource.k8s.io/v1beta1/": {
"get": {
"consumes": [
"application/json",
@@ -80736,11 +90971,11 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
]
}
},
- "/apis/resource.k8s.io/v1alpha3/deviceclasses": {
+ "/apis/resource.k8s.io/v1beta1/deviceclasses": {
"delete": {
"consumes": [
"application/json"
@@ -80865,13 +91100,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "DeviceClass",
- "version": "v1alpha3"
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -80966,7 +91201,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.DeviceClassList"
+ "$ref": "#/definitions/v1beta1.DeviceClassList"
}
}
},
@@ -80974,13 +91209,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "DeviceClass",
- "version": "v1alpha3"
+ "version": "v1beta1"
}
},
"parameters": [
@@ -81004,7 +91239,7 @@
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha3.DeviceClass"
+ "$ref": "#/definitions/v1beta1.DeviceClass"
}
},
{
@@ -81039,19 +91274,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.DeviceClass"
+ "$ref": "#/definitions/v1beta1.DeviceClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha3.DeviceClass"
+ "$ref": "#/definitions/v1beta1.DeviceClass"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha3.DeviceClass"
+ "$ref": "#/definitions/v1beta1.DeviceClass"
}
}
},
@@ -81059,18 +91294,18 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "DeviceClass",
- "version": "v1alpha3"
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha3/deviceclasses/{name}": {
+ "/apis/resource.k8s.io/v1beta1/deviceclasses/{name}": {
"delete": {
"consumes": [
"application/json"
@@ -81131,13 +91366,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.DeviceClass"
+ "$ref": "#/definitions/v1beta1.DeviceClass"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha3.DeviceClass"
+ "$ref": "#/definitions/v1beta1.DeviceClass"
}
}
},
@@ -81145,13 +91380,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "DeviceClass",
- "version": "v1alpha3"
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -81171,7 +91406,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.DeviceClass"
+ "$ref": "#/definitions/v1beta1.DeviceClass"
}
}
},
@@ -81179,13 +91414,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "DeviceClass",
- "version": "v1alpha3"
+ "version": "v1beta1"
}
},
"parameters": [
@@ -81263,13 +91498,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.DeviceClass"
+ "$ref": "#/definitions/v1beta1.DeviceClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha3.DeviceClass"
+ "$ref": "#/definitions/v1beta1.DeviceClass"
}
}
},
@@ -81277,13 +91512,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "DeviceClass",
- "version": "v1alpha3"
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -81299,7 +91534,7 @@
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha3.DeviceClass"
+ "$ref": "#/definitions/v1beta1.DeviceClass"
}
},
{
@@ -81334,13 +91569,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.DeviceClass"
+ "$ref": "#/definitions/v1beta1.DeviceClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha3.DeviceClass"
+ "$ref": "#/definitions/v1beta1.DeviceClass"
}
}
},
@@ -81348,18 +91583,18 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "DeviceClass",
- "version": "v1alpha3"
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims": {
+ "/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims": {
"delete": {
"consumes": [
"application/json"
@@ -81484,13 +91719,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1alpha3"
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -81585,7 +91820,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimList"
+ "$ref": "#/definitions/v1beta1.ResourceClaimList"
}
}
},
@@ -81593,13 +91828,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1alpha3"
+ "version": "v1beta1"
}
},
"parameters": [
@@ -81631,7 +91866,7 @@
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
},
{
@@ -81666,19 +91901,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
}
},
@@ -81686,18 +91921,18 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1alpha3"
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}": {
+ "/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims/{name}": {
"delete": {
"consumes": [
"application/json"
@@ -81758,13 +91993,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
}
},
@@ -81772,13 +92007,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1alpha3"
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -81798,7 +92033,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
}
},
@@ -81806,13 +92041,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1alpha3"
+ "version": "v1beta1"
}
},
"parameters": [
@@ -81898,13 +92133,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
}
},
@@ -81912,13 +92147,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1alpha3"
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -81934,7 +92169,7 @@
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
},
{
@@ -81969,13 +92204,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
}
},
@@ -81983,18 +92218,18 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1alpha3"
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status": {
+ "/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims/{name}/status": {
"get": {
"consumes": [
"application/json"
@@ -82011,7 +92246,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
}
},
@@ -82019,13 +92254,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1alpha3"
+ "version": "v1beta1"
}
},
"parameters": [
@@ -82111,13 +92346,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
}
},
@@ -82125,13 +92360,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1alpha3"
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -82147,7 +92382,7 @@
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
},
{
@@ -82182,13 +92417,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
}
},
@@ -82196,18 +92431,18 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1alpha3"
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates": {
+ "/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaimtemplates": {
"delete": {
"consumes": [
"application/json"
@@ -82332,13 +92567,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaimTemplate",
- "version": "v1alpha3"
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -82433,7 +92668,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimTemplateList"
+ "$ref": "#/definitions/v1beta1.ResourceClaimTemplateList"
}
}
},
@@ -82441,13 +92676,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaimTemplate",
- "version": "v1alpha3"
+ "version": "v1beta1"
}
},
"parameters": [
@@ -82479,7 +92714,7 @@
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
}
},
{
@@ -82514,19 +92749,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
}
}
},
@@ -82534,18 +92769,18 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaimTemplate",
- "version": "v1alpha3"
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name}": {
+ "/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaimtemplates/{name}": {
"delete": {
"consumes": [
"application/json"
@@ -82606,13 +92841,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
}
}
},
@@ -82620,13 +92855,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaimTemplate",
- "version": "v1alpha3"
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -82646,7 +92881,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
}
}
},
@@ -82654,13 +92889,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaimTemplate",
- "version": "v1alpha3"
+ "version": "v1beta1"
}
},
"parameters": [
@@ -82746,13 +92981,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
}
}
},
@@ -82760,13 +92995,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaimTemplate",
- "version": "v1alpha3"
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -82782,7 +93017,7 @@
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
}
},
{
@@ -82817,13 +93052,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
}
}
},
@@ -82831,18 +93066,18 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaimTemplate",
- "version": "v1alpha3"
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha3/resourceclaims": {
+ "/apis/resource.k8s.io/v1beta1/resourceclaims": {
"get": {
"consumes": [
"application/json"
@@ -82862,7 +93097,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimList"
+ "$ref": "#/definitions/v1beta1.ResourceClaimList"
}
}
},
@@ -82870,13 +93105,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1alpha3"
+ "version": "v1beta1"
}
},
"parameters": [
@@ -82959,7 +93194,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha3/resourceclaimtemplates": {
+ "/apis/resource.k8s.io/v1beta1/resourceclaimtemplates": {
"get": {
"consumes": [
"application/json"
@@ -82979,7 +93214,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimTemplateList"
+ "$ref": "#/definitions/v1beta1.ResourceClaimTemplateList"
}
}
},
@@ -82987,13 +93222,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaimTemplate",
- "version": "v1alpha3"
+ "version": "v1beta1"
}
},
"parameters": [
@@ -83076,7 +93311,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha3/resourceslices": {
+ "/apis/resource.k8s.io/v1beta1/resourceslices": {
"delete": {
"consumes": [
"application/json"
@@ -83201,13 +93436,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceSlice",
- "version": "v1alpha3"
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -83302,7 +93537,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceSliceList"
+ "$ref": "#/definitions/v1beta1.ResourceSliceList"
}
}
},
@@ -83310,13 +93545,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceSlice",
- "version": "v1alpha3"
+ "version": "v1beta1"
}
},
"parameters": [
@@ -83340,7 +93575,7 @@
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceSlice"
+ "$ref": "#/definitions/v1beta1.ResourceSlice"
}
},
{
@@ -83375,19 +93610,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceSlice"
+ "$ref": "#/definitions/v1beta1.ResourceSlice"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceSlice"
+ "$ref": "#/definitions/v1beta1.ResourceSlice"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceSlice"
+ "$ref": "#/definitions/v1beta1.ResourceSlice"
}
}
},
@@ -83395,18 +93630,18 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceSlice",
- "version": "v1alpha3"
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha3/resourceslices/{name}": {
+ "/apis/resource.k8s.io/v1beta1/resourceslices/{name}": {
"delete": {
"consumes": [
"application/json"
@@ -83467,13 +93702,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceSlice"
+ "$ref": "#/definitions/v1beta1.ResourceSlice"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceSlice"
+ "$ref": "#/definitions/v1beta1.ResourceSlice"
}
}
},
@@ -83481,13 +93716,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceSlice",
- "version": "v1alpha3"
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -83507,7 +93742,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceSlice"
+ "$ref": "#/definitions/v1beta1.ResourceSlice"
}
}
},
@@ -83515,13 +93750,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceSlice",
- "version": "v1alpha3"
+ "version": "v1beta1"
}
},
"parameters": [
@@ -83599,13 +93834,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceSlice"
+ "$ref": "#/definitions/v1beta1.ResourceSlice"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceSlice"
+ "$ref": "#/definitions/v1beta1.ResourceSlice"
}
}
},
@@ -83613,13 +93848,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceSlice",
- "version": "v1alpha3"
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -83635,7 +93870,7 @@
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceSlice"
+ "$ref": "#/definitions/v1beta1.ResourceSlice"
}
},
{
@@ -83670,13 +93905,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceSlice"
+ "$ref": "#/definitions/v1beta1.ResourceSlice"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceSlice"
+ "$ref": "#/definitions/v1beta1.ResourceSlice"
}
}
},
@@ -83684,18 +93919,18 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1beta1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceSlice",
- "version": "v1alpha3"
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha3/watch/deviceclasses": {
+ "/apis/resource.k8s.io/v1beta1/watch/deviceclasses": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -83776,7 +94011,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha3/watch/deviceclasses/{name}": {
+ "/apis/resource.k8s.io/v1beta1/watch/deviceclasses/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -83865,7 +94100,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaims": {
+ "/apis/resource.k8s.io/v1beta1/watch/namespaces/{namespace}/resourceclaims": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -83954,7 +94189,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaims/{name}": {
+ "/apis/resource.k8s.io/v1beta1/watch/namespaces/{namespace}/resourceclaims/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -84051,7 +94286,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaimtemplates": {
+ "/apis/resource.k8s.io/v1beta1/watch/namespaces/{namespace}/resourceclaimtemplates": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -84140,7 +94375,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaimtemplates/{name}": {
+ "/apis/resource.k8s.io/v1beta1/watch/namespaces/{namespace}/resourceclaimtemplates/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -84237,7 +94472,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha3/watch/resourceclaims": {
+ "/apis/resource.k8s.io/v1beta1/watch/resourceclaims": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -84318,7 +94553,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha3/watch/resourceclaimtemplates": {
+ "/apis/resource.k8s.io/v1beta1/watch/resourceclaimtemplates": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -84399,7 +94634,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha3/watch/resourceslices": {
+ "/apis/resource.k8s.io/v1beta1/watch/resourceslices": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -84480,7 +94715,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha3/watch/resourceslices/{name}": {
+ "/apis/resource.k8s.io/v1beta1/watch/resourceslices/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -84569,7 +94804,7 @@
}
]
},
- "/apis/resource.k8s.io/v1beta1/": {
+ "/apis/resource.k8s.io/v1beta2/": {
"get": {
"consumes": [
"application/json",
@@ -84597,11 +94832,11 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
]
}
},
- "/apis/resource.k8s.io/v1beta1/deviceclasses": {
+ "/apis/resource.k8s.io/v1beta2/deviceclasses": {
"delete": {
"consumes": [
"application/json"
@@ -84726,13 +94961,13 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "DeviceClass",
- "version": "v1beta1"
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
},
@@ -84827,7 +95062,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.DeviceClassList"
+ "$ref": "#/definitions/v1beta2.DeviceClassList"
}
}
},
@@ -84835,13 +95070,13 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "DeviceClass",
- "version": "v1beta1"
+ "version": "v1beta2"
}
},
"parameters": [
@@ -84865,7 +95100,7 @@
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1beta1.DeviceClass"
+ "$ref": "#/definitions/v1beta2.DeviceClass"
}
},
{
@@ -84900,19 +95135,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.DeviceClass"
+ "$ref": "#/definitions/v1beta2.DeviceClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.DeviceClass"
+ "$ref": "#/definitions/v1beta2.DeviceClass"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1beta1.DeviceClass"
+ "$ref": "#/definitions/v1beta2.DeviceClass"
}
}
},
@@ -84920,18 +95155,18 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "DeviceClass",
- "version": "v1beta1"
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1beta1/deviceclasses/{name}": {
+ "/apis/resource.k8s.io/v1beta2/deviceclasses/{name}": {
"delete": {
"consumes": [
"application/json"
@@ -84992,13 +95227,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.DeviceClass"
+ "$ref": "#/definitions/v1beta2.DeviceClass"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1beta1.DeviceClass"
+ "$ref": "#/definitions/v1beta2.DeviceClass"
}
}
},
@@ -85006,13 +95241,13 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "DeviceClass",
- "version": "v1beta1"
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
},
@@ -85032,7 +95267,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.DeviceClass"
+ "$ref": "#/definitions/v1beta2.DeviceClass"
}
}
},
@@ -85040,13 +95275,13 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "DeviceClass",
- "version": "v1beta1"
+ "version": "v1beta2"
}
},
"parameters": [
@@ -85124,13 +95359,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.DeviceClass"
+ "$ref": "#/definitions/v1beta2.DeviceClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.DeviceClass"
+ "$ref": "#/definitions/v1beta2.DeviceClass"
}
}
},
@@ -85138,13 +95373,13 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "DeviceClass",
- "version": "v1beta1"
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
},
@@ -85160,7 +95395,7 @@
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1beta1.DeviceClass"
+ "$ref": "#/definitions/v1beta2.DeviceClass"
}
},
{
@@ -85195,13 +95430,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.DeviceClass"
+ "$ref": "#/definitions/v1beta2.DeviceClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.DeviceClass"
+ "$ref": "#/definitions/v1beta2.DeviceClass"
}
}
},
@@ -85209,18 +95444,18 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "DeviceClass",
- "version": "v1beta1"
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims": {
+ "/apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims": {
"delete": {
"consumes": [
"application/json"
@@ -85345,13 +95580,13 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1beta1"
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
},
@@ -85446,7 +95681,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaimList"
+ "$ref": "#/definitions/v1beta2.ResourceClaimList"
}
}
},
@@ -85454,13 +95689,13 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1beta1"
+ "version": "v1beta2"
}
},
"parameters": [
@@ -85492,7 +95727,7 @@
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaim"
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
}
},
{
@@ -85527,19 +95762,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaim"
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaim"
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaim"
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
}
}
},
@@ -85547,18 +95782,18 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1beta1"
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims/{name}": {
+ "/apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims/{name}": {
"delete": {
"consumes": [
"application/json"
@@ -85619,13 +95854,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaim"
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaim"
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
}
}
},
@@ -85633,13 +95868,13 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1beta1"
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
},
@@ -85659,7 +95894,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaim"
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
}
}
},
@@ -85667,13 +95902,13 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1beta1"
+ "version": "v1beta2"
}
},
"parameters": [
@@ -85759,13 +95994,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaim"
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaim"
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
}
}
},
@@ -85773,13 +96008,13 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1beta1"
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
},
@@ -85795,7 +96030,7 @@
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaim"
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
}
},
{
@@ -85830,13 +96065,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaim"
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaim"
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
}
}
},
@@ -85844,18 +96079,18 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1beta1"
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims/{name}/status": {
+ "/apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims/{name}/status": {
"get": {
"consumes": [
"application/json"
@@ -85872,7 +96107,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaim"
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
}
}
},
@@ -85880,13 +96115,13 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1beta1"
+ "version": "v1beta2"
}
},
"parameters": [
@@ -85972,13 +96207,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaim"
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaim"
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
}
}
},
@@ -85986,13 +96221,13 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1beta1"
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
},
@@ -86008,7 +96243,7 @@
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaim"
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
}
},
{
@@ -86043,13 +96278,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaim"
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaim"
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
}
}
},
@@ -86057,18 +96292,18 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1beta1"
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaimtemplates": {
+ "/apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaimtemplates": {
"delete": {
"consumes": [
"application/json"
@@ -86193,13 +96428,13 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaimTemplate",
- "version": "v1beta1"
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
},
@@ -86294,7 +96529,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaimTemplateList"
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplateList"
}
}
},
@@ -86302,13 +96537,13 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaimTemplate",
- "version": "v1beta1"
+ "version": "v1beta2"
}
},
"parameters": [
@@ -86340,7 +96575,7 @@
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplate"
}
},
{
@@ -86375,19 +96610,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplate"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplate"
}
}
},
@@ -86395,18 +96630,18 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaimTemplate",
- "version": "v1beta1"
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaimtemplates/{name}": {
+ "/apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaimtemplates/{name}": {
"delete": {
"consumes": [
"application/json"
@@ -86467,13 +96702,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplate"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplate"
}
}
},
@@ -86481,13 +96716,13 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaimTemplate",
- "version": "v1beta1"
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
},
@@ -86507,7 +96742,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplate"
}
}
},
@@ -86515,13 +96750,13 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaimTemplate",
- "version": "v1beta1"
+ "version": "v1beta2"
}
},
"parameters": [
@@ -86607,13 +96842,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplate"
}
}
},
@@ -86621,13 +96856,13 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaimTemplate",
- "version": "v1beta1"
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
},
@@ -86643,7 +96878,7 @@
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplate"
}
},
{
@@ -86678,13 +96913,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplate"
}
}
},
@@ -86692,18 +96927,18 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaimTemplate",
- "version": "v1beta1"
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1beta1/resourceclaims": {
+ "/apis/resource.k8s.io/v1beta2/resourceclaims": {
"get": {
"consumes": [
"application/json"
@@ -86723,7 +96958,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaimList"
+ "$ref": "#/definitions/v1beta2.ResourceClaimList"
}
}
},
@@ -86731,13 +96966,13 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1beta1"
+ "version": "v1beta2"
}
},
"parameters": [
@@ -86820,7 +97055,7 @@
}
]
},
- "/apis/resource.k8s.io/v1beta1/resourceclaimtemplates": {
+ "/apis/resource.k8s.io/v1beta2/resourceclaimtemplates": {
"get": {
"consumes": [
"application/json"
@@ -86840,7 +97075,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceClaimTemplateList"
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplateList"
}
}
},
@@ -86848,13 +97083,13 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaimTemplate",
- "version": "v1beta1"
+ "version": "v1beta2"
}
},
"parameters": [
@@ -86937,7 +97172,7 @@
}
]
},
- "/apis/resource.k8s.io/v1beta1/resourceslices": {
+ "/apis/resource.k8s.io/v1beta2/resourceslices": {
"delete": {
"consumes": [
"application/json"
@@ -87062,13 +97297,13 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceSlice",
- "version": "v1beta1"
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
},
@@ -87163,7 +97398,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceSliceList"
+ "$ref": "#/definitions/v1beta2.ResourceSliceList"
}
}
},
@@ -87171,13 +97406,13 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceSlice",
- "version": "v1beta1"
+ "version": "v1beta2"
}
},
"parameters": [
@@ -87201,7 +97436,7 @@
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceSlice"
+ "$ref": "#/definitions/v1beta2.ResourceSlice"
}
},
{
@@ -87236,19 +97471,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceSlice"
+ "$ref": "#/definitions/v1beta2.ResourceSlice"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceSlice"
+ "$ref": "#/definitions/v1beta2.ResourceSlice"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceSlice"
+ "$ref": "#/definitions/v1beta2.ResourceSlice"
}
}
},
@@ -87256,18 +97491,18 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceSlice",
- "version": "v1beta1"
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1beta1/resourceslices/{name}": {
+ "/apis/resource.k8s.io/v1beta2/resourceslices/{name}": {
"delete": {
"consumes": [
"application/json"
@@ -87328,13 +97563,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceSlice"
+ "$ref": "#/definitions/v1beta2.ResourceSlice"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceSlice"
+ "$ref": "#/definitions/v1beta2.ResourceSlice"
}
}
},
@@ -87342,13 +97577,13 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceSlice",
- "version": "v1beta1"
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
},
@@ -87368,7 +97603,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceSlice"
+ "$ref": "#/definitions/v1beta2.ResourceSlice"
}
}
},
@@ -87376,13 +97611,13 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceSlice",
- "version": "v1beta1"
+ "version": "v1beta2"
}
},
"parameters": [
@@ -87460,13 +97695,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceSlice"
+ "$ref": "#/definitions/v1beta2.ResourceSlice"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceSlice"
+ "$ref": "#/definitions/v1beta2.ResourceSlice"
}
}
},
@@ -87474,13 +97709,13 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceSlice",
- "version": "v1beta1"
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
},
@@ -87496,7 +97731,7 @@
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceSlice"
+ "$ref": "#/definitions/v1beta2.ResourceSlice"
}
},
{
@@ -87531,13 +97766,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceSlice"
+ "$ref": "#/definitions/v1beta2.ResourceSlice"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.ResourceSlice"
+ "$ref": "#/definitions/v1beta2.ResourceSlice"
}
}
},
@@ -87545,18 +97780,18 @@
"https"
],
"tags": [
- "resource_v1beta1"
+ "resource_v1beta2"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceSlice",
- "version": "v1beta1"
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1beta1/watch/deviceclasses": {
+ "/apis/resource.k8s.io/v1beta2/watch/deviceclasses": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -87637,7 +97872,7 @@
}
]
},
- "/apis/resource.k8s.io/v1beta1/watch/deviceclasses/{name}": {
+ "/apis/resource.k8s.io/v1beta2/watch/deviceclasses/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -87726,7 +97961,7 @@
}
]
},
- "/apis/resource.k8s.io/v1beta1/watch/namespaces/{namespace}/resourceclaims": {
+ "/apis/resource.k8s.io/v1beta2/watch/namespaces/{namespace}/resourceclaims": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -87815,7 +98050,7 @@
}
]
},
- "/apis/resource.k8s.io/v1beta1/watch/namespaces/{namespace}/resourceclaims/{name}": {
+ "/apis/resource.k8s.io/v1beta2/watch/namespaces/{namespace}/resourceclaims/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -87912,7 +98147,7 @@
}
]
},
- "/apis/resource.k8s.io/v1beta1/watch/namespaces/{namespace}/resourceclaimtemplates": {
+ "/apis/resource.k8s.io/v1beta2/watch/namespaces/{namespace}/resourceclaimtemplates": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -88001,7 +98236,7 @@
}
]
},
- "/apis/resource.k8s.io/v1beta1/watch/namespaces/{namespace}/resourceclaimtemplates/{name}": {
+ "/apis/resource.k8s.io/v1beta2/watch/namespaces/{namespace}/resourceclaimtemplates/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -88098,7 +98333,7 @@
}
]
},
- "/apis/resource.k8s.io/v1beta1/watch/resourceclaims": {
+ "/apis/resource.k8s.io/v1beta2/watch/resourceclaims": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -88179,7 +98414,7 @@
}
]
},
- "/apis/resource.k8s.io/v1beta1/watch/resourceclaimtemplates": {
+ "/apis/resource.k8s.io/v1beta2/watch/resourceclaimtemplates": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -88260,7 +98495,7 @@
}
]
},
- "/apis/resource.k8s.io/v1beta1/watch/resourceslices": {
+ "/apis/resource.k8s.io/v1beta2/watch/resourceslices": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -88341,7 +98576,7 @@
}
]
},
- "/apis/resource.k8s.io/v1beta1/watch/resourceslices/{name}": {
+ "/apis/resource.k8s.io/v1beta2/watch/resourceslices/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -96468,7 +106703,7 @@
"consumes": [
"application/json"
],
- "description": "get the code version",
+ "description": "get the version information for this server",
"operationId": "getCode",
"produces": [
"application/json"
diff --git a/tests/E2E.Tests/MinikubeTests.cs b/tests/E2E.Tests/MinikubeTests.cs
index fc5136d5a..547ee90ea 100644
--- a/tests/E2E.Tests/MinikubeTests.cs
+++ b/tests/E2E.Tests/MinikubeTests.cs
@@ -16,6 +16,7 @@
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
+using k8s.ClientSets;
using Xunit;
namespace k8s.E2E
@@ -584,6 +585,118 @@ await genericPods.CreateNamespacedAsync(
}
}
+ [MinikubeFact]
+ public async Task ClientSetTest()
+ {
+ var namespaceParameter = "default";
+ var podName = "k8scsharp-e2e-clientset-pod";
+
+ using var kubernetes = CreateClient();
+
+ var clientSet = new ClientSet((Kubernetes)kubernetes);
+ async Task Cleanup()
+ {
+ var pods = await clientSet.CoreV1.Pod.ListAsync(namespaceParameter).ConfigureAwait(false);
+ while (pods.Items.Any(p => p.Metadata.Name == podName))
+ {
+ try
+ {
+ await clientSet.CoreV1.Pod.DeleteAsync(podName, namespaceParameter).ConfigureAwait(false);
+ }
+ catch (HttpOperationException e)
+ {
+ if (e.Response.StatusCode == System.Net.HttpStatusCode.NotFound)
+ {
+ return;
+ }
+ }
+ }
+ }
+
+ try
+ {
+ await Cleanup().ConfigureAwait(false);
+
+ // create + list
+ {
+ await clientSet.CoreV1.Pod.CreateAsync(
+ new V1Pod()
+ {
+ Metadata = new V1ObjectMeta { Name = podName, Labels = new Dictionary { { "place", "holder" }, }, },
+ Spec = new V1PodSpec
+ {
+ Containers = new[] { new V1Container() { Name = "k8scsharp-e2e", Image = "nginx", }, },
+ },
+ },
+ namespaceParameter).ConfigureAwait(false);
+
+ var pods = await clientSet.CoreV1.Pod.ListAsync(namespaceParameter).ConfigureAwait(false);
+ Assert.Contains(pods.Items, p => p.Metadata.Name == podName);
+ }
+
+ // replace + get
+ {
+ var pod = await clientSet.CoreV1.Pod.GetAsync(podName, namespaceParameter).ConfigureAwait(false);
+ var old = JsonSerializer.SerializeToDocument(pod);
+
+ var newLabels = new Dictionary(pod.Metadata.Labels) { ["test"] = "clientset-test-jsonpatch" };
+ pod.Metadata.Labels = newLabels;
+
+ var expected = JsonSerializer.SerializeToDocument(pod);
+ var patch = old.CreatePatch(expected);
+
+ await clientSet.CoreV1.Pod
+ .PatchAsync(new V1Patch(patch, V1Patch.PatchType.JsonPatch), podName, namespaceParameter)
+ .ConfigureAwait(false);
+ var pods = await clientSet.CoreV1.Pod.ListAsync(namespaceParameter).ConfigureAwait(false);
+ Assert.Contains(pods.Items, p => p.Labels().Contains(new KeyValuePair("test", "clientset-test-jsonpatch")));
+ }
+
+ // replace + get
+ {
+ var pod = await clientSet.CoreV1.Pod.GetAsync(podName, namespaceParameter).ConfigureAwait(false);
+ pod.Spec.Containers[0].Image = "httpd";
+ await clientSet.CoreV1.Pod.UpdateAsync(pod, podName, namespaceParameter).ConfigureAwait(false);
+
+ pod = await clientSet.CoreV1.Pod.GetAsync(podName, namespaceParameter).ConfigureAwait(false);
+ Assert.Equal("httpd", pod.Spec.Containers[0].Image);
+ }
+
+ // delete + list
+ {
+ var pods = new V1PodList();
+ var retry = 5;
+ while (retry-- > 0)
+ {
+ try
+ {
+ await clientSet.CoreV1.Pod.DeleteAsync(podName, namespaceParameter).ConfigureAwait(false);
+ }
+ catch (HttpOperationException e)
+ {
+ if (e.Response.StatusCode == System.Net.HttpStatusCode.NotFound)
+ {
+ return;
+ }
+ }
+
+ pods = await clientSet.CoreV1.Pod.ListAsync(namespaceParameter).ConfigureAwait(false);
+ if (pods.Items.All(p => p.Metadata.Name != podName))
+ {
+ break;
+ }
+
+ await Task.Delay(TimeSpan.FromSeconds(2.5)).ConfigureAwait(false);
+ }
+
+ Assert.DoesNotContain(pods.Items, p => p.Metadata.Name == podName);
+ }
+ }
+ finally
+ {
+ await Cleanup().ConfigureAwait(false);
+ }
+ }
[MinikubeFact]
public async Task CopyToPodTestAsync()
diff --git a/tests/KubernetesClient.Classic.Tests/KubernetesClient.Classic.Tests.csproj b/tests/KubernetesClient.Classic.Tests/KubernetesClient.Classic.Tests.csproj
index 9a2e8ce16..52810130e 100644
--- a/tests/KubernetesClient.Classic.Tests/KubernetesClient.Classic.Tests.csproj
+++ b/tests/KubernetesClient.Classic.Tests/KubernetesClient.Classic.Tests.csproj
@@ -26,6 +26,10 @@
+
+
+
+
diff --git a/tests/KubernetesClient.Tests/AutoMapperVersionConverterTests.cs b/tests/KubernetesClient.Tests/AutoMapperVersionConverterTests.cs
deleted file mode 100644
index e76a49f52..000000000
--- a/tests/KubernetesClient.Tests/AutoMapperVersionConverterTests.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-using AutoMapper;
-using FluentAssertions;
-using k8s.ModelConverter.AutoMapper;
-using k8s.Models;
-using Xunit;
-
-namespace k8s.Tests
-{
- public class AutoMapperVersionConverterTests
- {
- [Fact]
- public void ConfigurationsAreValid()
- {
- var config = new MapperConfiguration(VersionConverter.GetConfigurations);
- config.AssertConfigurationIsValid();
- }
-
- [Theory]
- [InlineData("v1", "v1beta1", 1)]
- [InlineData("v1beta1", "v1", -1)]
- [InlineData("v1beta1", "v1alpha1", 1)]
- [InlineData("v1alpha1", "v1beta1", -1)]
- [InlineData("v1", "v1alpha1", 1)]
- [InlineData("v2alpha1", "v1", 1)]
- [InlineData("v1", "v2alpha1", -1)]
- [InlineData("v1", "v1", 0)]
- [InlineData("v2", "v2", 0)]
- [InlineData("v1beta1", "v1beta1", 0)]
- [InlineData("v1beta2", "v1beta2", 0)]
- [InlineData("v2beta2", "v2beta2", 0)]
- public void KubernetesVersionCompare(string x, string y, int expected)
- {
- KubernetesVersionComparer.Instance.Compare(x, y).Should().Be(expected);
- }
-
- [Fact]
- public void ObjectMapAreValid()
- {
- ModelVersionConverter.Converter = AutoMapperModelVersionConverter.Instance;
- var from = new V2HorizontalPodAutoscalerSpec(); // TODO shuold auto load all objects
- from.MaxReplicas = 234;
- var to = (V1HorizontalPodAutoscalerSpec)from;
-
- Assert.Equal(from.MaxReplicas, to.MaxReplicas);
- }
- }
-}
diff --git a/tests/KubernetesClient.Tests/KubernetesClient.Tests.csproj b/tests/KubernetesClient.Tests/KubernetesClient.Tests.csproj
index fade8e304..b6a22afaf 100644
--- a/tests/KubernetesClient.Tests/KubernetesClient.Tests.csproj
+++ b/tests/KubernetesClient.Tests/KubernetesClient.Tests.csproj
@@ -33,6 +33,5 @@
-
diff --git a/tests/KubernetesClient.Tests/PodExecTests.cs b/tests/KubernetesClient.Tests/PodExecTests.cs
index 5a6276e8d..597be477b 100644
--- a/tests/KubernetesClient.Tests/PodExecTests.cs
+++ b/tests/KubernetesClient.Tests/PodExecTests.cs
@@ -66,7 +66,7 @@ public async Task ExecDefaultContainerStdOut()
false,
false,
true,
- webSocketSubProtol: WebSocketProtocol.ChannelWebSocketProtocol,
+ webSocketSubProtocol: WebSocketProtocol.ChannelWebSocketProtocol,
cancellationToken: TestCancellation).ConfigureAwait(true);
Assert.Equal(
WebSocketProtocol.ChannelWebSocketProtocol,
diff --git a/version.json b/version.json
index 25e7cd3f9..5c87a91a2 100644
--- a/version.json
+++ b/version.json
@@ -1,6 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
- "version": "16.0",
+ "version": "17.0",
"publicReleaseRefSpec": [
"^refs/heads/master$",
"^refs/tags/v\\d+\\.\\d+\\.\\d+"