forked from fabric8io/kubernetes-client
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore (kubernetes-model-generator) : Upgrade Fabric8 Kubernetes Model…
… to Kubernetes v1.26 (fabric8io#4655) + Upgrade Fabric8 Kubernetes Model to Kubernetes v1.26.0 + Add `admissionregistration.k8s.io/v1alpha1` ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding resources + Add `authentication.k8s.io/v1alpha1` SelfSubjectReview + Add new module `kubernetes-model-resource` for `resource.k8s.io/v1alpha1` apiGroup + Add `flowcontrol.apiserver.k8s.io/v1beta3` FlowSchema and PriorityLevelConfiguration Signed-off-by: Rohan Kumar <rohaan@redhat.com>
- Loading branch information
1 parent
f498488
commit d8a19b1
Showing
216 changed files
with
25,200 additions
and
2,914 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
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
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
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
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
39 changes: 39 additions & 0 deletions
39
.../src/main/java/io/fabric8/kubernetes/client/V1Alpha1AdmissionRegistrationAPIGroupDSL.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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/** | ||
* Copyright (C) 2015 Red Hat, Inc. | ||
* | ||
* 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.fabric8.kubernetes.client; | ||
|
||
import io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicy; | ||
import io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBinding; | ||
import io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBindingList; | ||
import io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.ValidatingAdmissionPolicyList; | ||
import io.fabric8.kubernetes.client.dsl.NonNamespaceOperation; | ||
import io.fabric8.kubernetes.client.dsl.Resource; | ||
|
||
public interface V1Alpha1AdmissionRegistrationAPIGroupDSL extends Client { | ||
/** | ||
* API entrypoint for admissionregistration.k8s.io/v1alpha1 ValidatingAdmissionPolicy | ||
* | ||
* @return NonNamespaceOperation for ValidatingAdmissionPolicy | ||
*/ | ||
NonNamespaceOperation<ValidatingAdmissionPolicy, ValidatingAdmissionPolicyList, Resource<ValidatingAdmissionPolicy>> validatingAdmissionPolicies(); | ||
|
||
/** | ||
* API entrypoint for admissionregistration.k8s.io/v1alpha1 ValidatingAdmissionPolicyBinding | ||
* | ||
* @return NonNamespaceOperation for ValidatingAdmissionPolicyBinding | ||
*/ | ||
NonNamespaceOperation<ValidatingAdmissionPolicyBinding, ValidatingAdmissionPolicyBindingList, Resource<ValidatingAdmissionPolicyBinding>> validatingAdmissionPolicyBindings(); | ||
} |
58 changes: 58 additions & 0 deletions
58
.../main/java/io/fabric8/kubernetes/client/V1Alpha1DynamicResourceAllocationAPIGroupDSL.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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
/** | ||
* Copyright (C) 2015 Red Hat, Inc. | ||
* | ||
* 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.fabric8.kubernetes.client; | ||
|
||
import io.fabric8.kubernetes.api.model.resource.v1alpha1.PodScheduling; | ||
import io.fabric8.kubernetes.api.model.resource.v1alpha1.PodSchedulingList; | ||
import io.fabric8.kubernetes.api.model.resource.v1alpha1.ResourceClaim; | ||
import io.fabric8.kubernetes.api.model.resource.v1alpha1.ResourceClaimList; | ||
import io.fabric8.kubernetes.api.model.resource.v1alpha1.ResourceClaimTemplate; | ||
import io.fabric8.kubernetes.api.model.resource.v1alpha1.ResourceClaimTemplateList; | ||
import io.fabric8.kubernetes.api.model.resource.v1alpha1.ResourceClass; | ||
import io.fabric8.kubernetes.api.model.resource.v1alpha1.ResourceClassList; | ||
import io.fabric8.kubernetes.client.dsl.MixedOperation; | ||
import io.fabric8.kubernetes.client.dsl.NonNamespaceOperation; | ||
import io.fabric8.kubernetes.client.dsl.Resource; | ||
|
||
public interface V1Alpha1DynamicResourceAllocationAPIGroupDSL extends Client { | ||
/** | ||
* API entrypoint for resource.k8s.io/v1alpha1 ResourceClass | ||
* | ||
* @return {@link NonNamespaceOperation} for ResourceClass | ||
*/ | ||
NonNamespaceOperation<ResourceClass, ResourceClassList, Resource<ResourceClass>> resourceClasses(); | ||
|
||
/** | ||
* API entrypoint for resource.k8s.io/v1alpha1 PodScheduling | ||
* | ||
* @return {@link MixedOperation} for PodScheduling | ||
*/ | ||
MixedOperation<PodScheduling, PodSchedulingList, Resource<PodScheduling>> podSchedulings(); | ||
|
||
/** | ||
* API entrypoint for resource.k8s.io/v1alpha1 ResourceClaim | ||
* | ||
* @return {@link MixedOperation} for ResourceClaim | ||
*/ | ||
MixedOperation<ResourceClaim, ResourceClaimList, Resource<ResourceClaim>> resourceClaims(); | ||
|
||
/** | ||
* API entrypoint for resource.k8s.io/v1alpha1 ResourceClaimTemplate | ||
* | ||
* @return {@link MixedOperation} for ResourceClaimTemplate | ||
*/ | ||
MixedOperation<ResourceClaimTemplate, ResourceClaimTemplateList, Resource<ResourceClaimTemplate>> resourceClaimTemplates(); | ||
} |
28 changes: 28 additions & 0 deletions
28
...es-client-api/src/main/java/io/fabric8/kubernetes/client/V1AuthenticationAPIGroupDSL.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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/** | ||
* Copyright (C) 2015 Red Hat, Inc. | ||
* | ||
* 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.fabric8.kubernetes.client; | ||
|
||
import io.fabric8.kubernetes.api.model.authentication.TokenReview; | ||
import io.fabric8.kubernetes.client.dsl.InOutCreateable; | ||
|
||
public interface V1AuthenticationAPIGroupDSL extends Client { | ||
/** | ||
* API for creating authentication.k8s.io/v1 TokenReviews | ||
* | ||
* @return InOutCreateable instance for creating TokenReview object | ||
*/ | ||
InOutCreateable<TokenReview, TokenReview> tokenReviews(); | ||
} |
25 changes: 25 additions & 0 deletions
25
...-client-api/src/main/java/io/fabric8/kubernetes/client/dsl/AuthenticationAPIGroupDSL.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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/** | ||
* Copyright (C) 2015 Red Hat, Inc. | ||
* | ||
* 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.fabric8.kubernetes.client.dsl; | ||
|
||
import io.fabric8.kubernetes.client.Client; | ||
import io.fabric8.kubernetes.client.V1AuthenticationAPIGroupDSL; | ||
|
||
public interface AuthenticationAPIGroupDSL extends Client { | ||
V1AuthenticationAPIGroupDSL v1(); | ||
|
||
V1Alpha1AuthenticationAPIGroupDSL v1alpha1(); | ||
} |
23 changes: 23 additions & 0 deletions
23
.../src/main/java/io/fabric8/kubernetes/client/dsl/DynamicResourceAllocationAPIGroupDSL.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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/** | ||
* Copyright (C) 2015 Red Hat, Inc. | ||
* | ||
* 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.fabric8.kubernetes.client.dsl; | ||
|
||
import io.fabric8.kubernetes.client.Client; | ||
import io.fabric8.kubernetes.client.V1Alpha1DynamicResourceAllocationAPIGroupDSL; | ||
|
||
public interface DynamicResourceAllocationAPIGroupDSL extends Client { | ||
V1Alpha1DynamicResourceAllocationAPIGroupDSL v1alpha1(); | ||
} |
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
31 changes: 31 additions & 0 deletions
31
...api/src/main/java/io/fabric8/kubernetes/client/dsl/V1Alpha1AuthenticationAPIGroupDSL.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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/** | ||
* Copyright (C) 2015 Red Hat, Inc. | ||
* | ||
* 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.fabric8.kubernetes.client.dsl; | ||
|
||
import io.fabric8.kubernetes.api.model.authentication.v1alpha1.SelfSubjectReview; | ||
import io.fabric8.kubernetes.client.Client; | ||
|
||
public interface V1Alpha1AuthenticationAPIGroupDSL extends Client { | ||
/** | ||
* API for creating authentication.k8s.io/v1alpha1 SelfSubjectReview. | ||
* | ||
* 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. | ||
* | ||
* @return InOutCreateable instance for creating SelfSubjectReview object | ||
*/ | ||
InOutCreateable<SelfSubjectReview, SelfSubjectReview> selfSubjectReview(); | ||
} |
38 changes: 38 additions & 0 deletions
38
...ent-api/src/main/java/io/fabric8/kubernetes/client/dsl/V1beta3FlowControlAPIGroupDSL.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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/** | ||
* Copyright (C) 2015 Red Hat, Inc. | ||
* | ||
* 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.fabric8.kubernetes.client.dsl; | ||
|
||
import io.fabric8.kubernetes.api.model.flowcontrol.v1beta3.FlowSchema; | ||
import io.fabric8.kubernetes.api.model.flowcontrol.v1beta3.FlowSchemaList; | ||
import io.fabric8.kubernetes.api.model.flowcontrol.v1beta3.PriorityLevelConfiguration; | ||
import io.fabric8.kubernetes.api.model.flowcontrol.v1beta3.PriorityLevelConfigurationList; | ||
import io.fabric8.kubernetes.client.Client; | ||
|
||
public interface V1beta3FlowControlAPIGroupDSL extends Client { | ||
/** | ||
* DSL entrypoint for flowcontrol.apiserver.k8s.io/v1beta3 FlowSchema | ||
* | ||
* @return {@link NonNamespaceOperation} for FlowSchema resource | ||
*/ | ||
NonNamespaceOperation<FlowSchema, FlowSchemaList, Resource<FlowSchema>> flowSchema(); | ||
|
||
/** | ||
* DSL entrypoint for flowcontrol.apiserver.k8s.io/v1beta3 PriorityLevelConfiguration | ||
* | ||
* @return {@link NonNamespaceOperation} for PriorityLevelConfiguration resource | ||
*/ | ||
NonNamespaceOperation<PriorityLevelConfiguration, PriorityLevelConfigurationList, Resource<PriorityLevelConfiguration>> priorityLevelConfigurations(); | ||
} |
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
Oops, something went wrong.