Skip to content

Commit c692d81

Browse files
Merge pull request #2709 from kubernetes-client/automated-generate-994bf264
Automated Generate from openapi release-1.27
2 parents 5e3d515 + f2119d0 commit c692d81

File tree

2,622 files changed

+259755
-307641
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,622 files changed

+259755
-307641
lines changed

examples/examples-release-18/src/main/java/io/kubernetes/client/examples/ControllerExample.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ public static void main(String[] args) throws IOException {
6464
null,
6565
null,
6666
params.resourceVersion,
67+
null,
6768
null,
6869
params.timeoutSeconds,
6970
params.watch,

examples/examples-release-18/src/main/java/io/kubernetes/client/examples/Example.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public static void main(String[] args) throws IOException, ApiException {
3636

3737
CoreV1Api api = new CoreV1Api();
3838
V1PodList list =
39-
api.listPodForAllNamespaces(null, null, null, null, null, null, null, null, null, null);
39+
api.listPodForAllNamespaces(null, null, null, null, null, null, null, null, null, null, null);
4040
for (V1Pod item : list.getItems()) {
4141
System.out.println(item.getMetadata().getName());
4242
}

examples/examples-release-18/src/main/java/io/kubernetes/client/examples/ExpandedExample.java

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public static void main(String[] args) {
102102
public static List<String> getAllNameSpaces() throws ApiException {
103103
V1NamespaceList listNamespace =
104104
COREV1_API.listNamespace(
105-
"true", null, null, null, null, 0, null, null, Integer.MAX_VALUE, Boolean.FALSE);
105+
null, null, null, null, null, null, null, null, null, null, null);
106106
List<String> list =
107107
listNamespace.getItems().stream()
108108
.map(v1Namespace -> v1Namespace.getMetadata().getName())
@@ -119,7 +119,7 @@ public static List<String> getAllNameSpaces() throws ApiException {
119119
public static List<String> getPods() throws ApiException {
120120
V1PodList v1podList =
121121
COREV1_API.listPodForAllNamespaces(
122-
null, null, null, null, null, null, null, null, null, null);
122+
null, null, null, null, null, null, null, null, null, null, null);
123123
List<String> podList =
124124
v1podList.getItems().stream()
125125
.map(v1Pod -> v1Pod.getMetadata().getName())
@@ -165,7 +165,8 @@ public static List<String> getNamespacedPod(String namespace, String label) thro
165165
null,
166166
null,
167167
label,
168-
Integer.MAX_VALUE,
168+
null,
169+
null,
169170
null,
170171
null,
171172
TIME_OUT_VALUE,
@@ -192,7 +193,8 @@ public static List<String> getServices() throws ApiException {
192193
null,
193194
null,
194195
null,
195-
Integer.MAX_VALUE,
196+
null,
197+
null,
196198
null,
197199
null,
198200
TIME_OUT_VALUE,
@@ -225,6 +227,7 @@ public static void scaleDeployment(String deploymentName, int numberOfReplicas)
225227
null,
226228
null,
227229
null,
230+
null,
228231
Boolean.FALSE);
229232

230233
List<V1Deployment> appsV1DeploymentItems = listNamespacedDeployment.getItems();

examples/examples-release-18/src/main/java/io/kubernetes/client/examples/FluentExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public static void main(String[] args) throws IOException, ApiException {
6767

6868
V1PodList list =
6969
api.listNamespacedPod(
70-
"default", null, null, null, null, null, null, null, null, null, null);
70+
"default", null, null, null, null, null, null, null, null, null, null, null);
7171
for (V1Pod item : list.getItems()) {
7272
System.out.println(item.getMetadata().getName());
7373
}

examples/examples-release-18/src/main/java/io/kubernetes/client/examples/InClusterClientExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public static void main(String[] args) throws IOException, ApiException {
5050

5151
// invokes the CoreV1Api client
5252
V1PodList list =
53-
api.listPodForAllNamespaces(null, null, null, null, null, null, null, null, null, null);
53+
api.listPodForAllNamespaces(null, null, null, null, null, null, null, null, null, null, null);
5454
for (V1Pod item : list.getItems()) {
5555
System.out.println(item.getMetadata().getName());
5656
}

examples/examples-release-18/src/main/java/io/kubernetes/client/examples/InformerExample.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public static void main(String[] args) throws Exception {
6060
null,
6161
params.resourceVersion,
6262
null,
63+
null,
6364
params.timeoutSeconds,
6465
params.watch,
6566
null);

examples/examples-release-18/src/main/java/io/kubernetes/client/examples/KubeConfigFileClientExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public static void main(String[] args) throws IOException, ApiException {
5050

5151
// invokes the CoreV1Api client
5252
V1PodList list =
53-
api.listPodForAllNamespaces(null, null, null, null, null, null, null, null, null, null);
53+
api.listPodForAllNamespaces(null, null, null, null, null, null, null, null, null, null, null);
5454
for (V1Pod item : list.getItems()) {
5555
System.out.println(item.getMetadata().getName());
5656
}

examples/examples-release-18/src/main/java/io/kubernetes/client/examples/LogsExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public static void main(String[] args) throws IOException, ApiException, Interru
4141
V1Pod pod =
4242
coreApi
4343
.listNamespacedPod(
44-
"default", "false", null, null, null, null, null, null, null, null, null)
44+
"default", "false", null, null, null, null, null, null, null, null, null, null)
4545
.getItems()
4646
.get(0);
4747

examples/examples-release-18/src/main/java/io/kubernetes/client/examples/PagerExample.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ public static void main(String[] args) throws IOException {
5454
param.getLimit(),
5555
null,
5656
null,
57+
null,
5758
1,
5859
null,
5960
null);

examples/examples-release-18/src/main/java/io/kubernetes/client/examples/PrometheusExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public static void main(String[] args) throws IOException, ApiException {
4747
while (true) {
4848
// A request that should return 200
4949
V1PodList list =
50-
api.listPodForAllNamespaces(null, null, null, null, null, null, null, null, null, null);
50+
api.listPodForAllNamespaces(null, null, null, null, null, null, null, null, null, null, null);
5151
// A request that should return 404
5252
try {
5353
V1Pod pod = api.readNamespacedPod("foo", "bar", null);

0 commit comments

Comments
 (0)