Skip to content

Commit 9c1395d

Browse files
committed
Add AdmissionReview models.
1 parent 2585a9e commit 9c1395d

File tree

13 files changed

+2804
-0
lines changed

13 files changed

+2804
-0
lines changed

client-java-contrib/admissionreview/admission-swagger-1.20.4.json

Lines changed: 340 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
LOCAL_MANIFEST_FILE=$PWD/admission-swagger-1.20.4.json
3+
4+
docker run --rm \
5+
-v $LOCAL_MANIFEST_FILE:$LOCAL_MANIFEST_FILE \
6+
-v /var/run/docker.sock:/var/run/docker.sock \
7+
-v $PWD:$PWD \
8+
-it ghcr.io/yue9944882/crd-model-gen:v1.0.3 \
9+
sh -c "source /gen/openapi/java-crd-cmd.sh -n v1 -p io.kubernetes.client.admissionreview -l 2 -o $PWD/gen < $LOCAL_MANIFEST_FILE"
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>io.kubernetes</groupId>
5+
<artifactId>client-java-admission-review</artifactId>
6+
<name>admission-review</name>
7+
<url>https://github.com/kubernetes-client/java</url>
8+
<parent>
9+
<groupId>io.kubernetes</groupId>
10+
<artifactId>client-java-parent</artifactId>
11+
<version>12.0.1-SNAPSHOT</version>
12+
<relativePath>../../pom.xml</relativePath>
13+
</parent>
14+
<version>12.0.1-SNAPSHOT</version>
15+
16+
<dependencies>
17+
<dependency>
18+
<groupId>io.swagger</groupId>
19+
<artifactId>swagger-annotations</artifactId>
20+
<version>${swagger-core-version}</version>
21+
</dependency>
22+
<dependency>
23+
<groupId>com.google.code.findbugs</groupId>
24+
<artifactId>jsr305</artifactId>
25+
<version>${findbugs-version}</version>
26+
</dependency>
27+
<dependency>
28+
<groupId>com.google.code.gson</groupId>
29+
<artifactId>gson</artifactId>
30+
<version>${gson-version}</version>
31+
</dependency>
32+
<dependency>
33+
<groupId>javax.annotation</groupId>
34+
<artifactId>javax.annotation-api</artifactId>
35+
<version>${javax-annotation-version}</version>
36+
<scope>provided</scope>
37+
</dependency>
38+
</dependencies>
39+
<properties>
40+
<findbugs-version>3.0.2</findbugs-version>
41+
<swagger-core-version>1.5.24</swagger-core-version>
42+
<gson-version>2.8.6</gson-version>
43+
<javax-annotation-version>1.3.2</javax-annotation-version>
44+
</properties>
45+
</project>

0 commit comments

Comments
 (0)