forked from fabric8io/kubernetes-client
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bbc0b7f
commit 2adcc55
Showing
5 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
crd-generator/api/src/test/java/io/fabric8/crd/example/generic/Generic.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,5 @@ | ||
package io.fabric8.crd.example.generic; | ||
|
||
public class Generic<T> { | ||
T bar; | ||
} |
8 changes: 8 additions & 0 deletions
8
crd-generator/api/src/test/java/io/fabric8/crd/example/generic/NestedGeneric.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,8 @@ | ||
package io.fabric8.crd.example.generic; | ||
|
||
import java.util.List; | ||
|
||
public class NestedGeneric<P> { | ||
Generic<P> quux; | ||
List<P> corge; | ||
} |
6 changes: 6 additions & 0 deletions
6
crd-generator/api/src/test/java/io/fabric8/crd/example/generic/ResourceWithGeneric.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,6 @@ | ||
package io.fabric8.crd.example.generic; | ||
|
||
import io.fabric8.kubernetes.client.CustomResource; | ||
|
||
public class ResourceWithGeneric extends CustomResource<ResourceWithGenericSpec, Void> { | ||
} |
7 changes: 7 additions & 0 deletions
7
crd-generator/api/src/test/java/io/fabric8/crd/example/generic/ResourceWithGenericSpec.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,7 @@ | ||
package io.fabric8.crd.example.generic; | ||
|
||
public class ResourceWithGenericSpec { | ||
Generic<String> foo; | ||
Generic<Integer> baz; | ||
NestedGeneric<String> qux; | ||
} |
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