forked from kubernetes-client/java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automated openapi generation from release-1.25
Signed-off-by: Kubernetes Prow Robot <[email protected]>
- Loading branch information
Kubernetes Prow Robot
committed
Dec 5, 2022
1 parent
ce32410
commit c891da7
Showing
2,042 changed files
with
46,540 additions
and
141,151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 5 additions & 15 deletions
20
fluent/src/main/java/io/kubernetes/client/fluent/Builder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,8 @@ | ||
/* | ||
Copyright 2022 The Kubernetes Authors. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
package io.kubernetes.client.fluent; | ||
|
||
@FunctionalInterface | ||
public interface Builder<T> { | ||
import java.lang.FunctionalInterface; | ||
@FunctionalInterface | ||
public interface Builder<T>{ | ||
T build(); | ||
} | ||
|
||
} |
35 changes: 10 additions & 25 deletions
35
fluent/src/main/java/io/kubernetes/client/fluent/DelegatingVisitor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,32 @@ | ||
/* | ||
Copyright 2022 The Kubernetes Authors. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
package io.kubernetes.client.fluent; | ||
|
||
import java.util.List; | ||
import java.util.Map.Entry; | ||
import java.lang.Class; | ||
import java.lang.Object; | ||
import java.util.List; | ||
import java.lang.String; | ||
import java.util.function.Predicate; | ||
|
||
public class DelegatingVisitor<T> implements Visitor<T> { | ||
DelegatingVisitor(Class<T> type, Visitor<T> delegate) { | ||
public class DelegatingVisitor<T> implements Visitor<T>{ | ||
DelegatingVisitor(Class<T> type,Visitor<T> delegate) { | ||
this.type = type; | ||
this.delegate = delegate; | ||
} | ||
|
||
private final Class<T> type; | ||
private final Visitor<T> delegate; | ||
|
||
public Class<T> getType() { | ||
return type; | ||
} | ||
|
||
public void visit(T target) { | ||
delegate.visit(target); | ||
} | ||
|
||
public int order() { | ||
return delegate.order(); | ||
} | ||
|
||
public void visit(List<Entry<String, Object>> path, T target) { | ||
public void visit(List<Entry<String,Object>> path,T target) { | ||
delegate.visit(path, target); | ||
} | ||
|
||
public <F> Predicate<List<Entry<String, Object>>> getRequirement() { | ||
public <F>Predicate<List<Entry<String,Object>>> getRequirement() { | ||
return delegate.getRequirement(); | ||
} | ||
} | ||
|
||
} |
17 changes: 3 additions & 14 deletions
17
fluent/src/main/java/io/kubernetes/client/fluent/Editable.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,6 @@ | ||
/* | ||
Copyright 2022 The Kubernetes Authors. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
package io.kubernetes.client.fluent; | ||
|
||
public interface Editable<T> { | ||
public interface Editable<T>{ | ||
T edit(); | ||
} | ||
|
||
} |
16 changes: 3 additions & 13 deletions
16
fluent/src/main/java/io/kubernetes/client/fluent/Fluent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,5 @@ | ||
/* | ||
Copyright 2022 The Kubernetes Authors. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
package io.kubernetes.client.fluent; | ||
|
||
public interface Fluent<F extends Fluent<F>> {} | ||
public interface Fluent<F extends Fluent<F>>{ | ||
|
||
} |
17 changes: 3 additions & 14 deletions
17
fluent/src/main/java/io/kubernetes/client/fluent/Nested.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,6 @@ | ||
/* | ||
Copyright 2022 The Kubernetes Authors. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
package io.kubernetes.client.fluent; | ||
|
||
public interface Nested<F> { | ||
public interface Nested<F>{ | ||
F and(); | ||
} | ||
|
||
} |
Oops, something went wrong.