forked from pulumi/pulumi-kubernetes
-
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.
- add Java codegen support Limitations: - non-generated overlays are missing, e.g. Yaml and Helm support
- Loading branch information
1 parent
241ddef
commit 2e08c5e
Showing
1,577 changed files
with
183,813 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ Pulumi.*.yaml | |
yarn.lock | ||
ci-scripts | ||
/nuget/ | ||
.gradle |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package io.pulumi.kubernetes; | ||
|
||
import io.pulumi.resources.CustomResource; | ||
import io.pulumi.resources.CustomResourceOptions; | ||
import io.pulumi.resources.ResourceArgs; | ||
|
||
import javax.annotation.Nullable; | ||
|
||
// TODO | ||
public abstract class KubernetesResource extends CustomResource { | ||
protected KubernetesResource(String type, String name, @Nullable ResourceArgs args, boolean dependency) { | ||
super(type, name, args, dependency); | ||
} | ||
|
||
protected KubernetesResource(String type, String name, @Nullable ResourceArgs args, @Nullable CustomResourceOptions options) { | ||
super(type, name, args, options); | ||
} | ||
|
||
protected KubernetesResource(String type, String name, @Nullable ResourceArgs args, @Nullable CustomResourceOptions options, boolean dependency) { | ||
super(type, name, args, options, dependency); | ||
} | ||
|
||
// TODO | ||
} |
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.pulumi.kubernetes.yaml; | ||
|
||
public final class Yaml { | ||
// TODO | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
README.md | ||
build | ||
src/main/resources/io/pulumi/kubernetes/version.txt |
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,51 @@ | ||
// *** WARNING: this file was generated. *** | ||
// *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
plugins { | ||
id("java-library") | ||
id("maven-publish") | ||
} | ||
|
||
java { | ||
toolchain { | ||
languageVersion = JavaLanguageVersion.of(11) | ||
} | ||
} | ||
|
||
repositories { | ||
maven { // The google mirror is less flaky than mavenCentral() | ||
url("https://maven-central.storage-download.googleapis.com/maven2/") | ||
} | ||
mavenCentral() | ||
mavenLocal() | ||
} | ||
|
||
dependencies { | ||
implementation("io.pulumi:pulumi:3.6.0+") | ||
implementation("com.google.code.findbugs:jsr305:3.0.2") | ||
api("com.google.guava:guava:30.1-jre") // FIXME: do we really want to expose this dep? | ||
api("com.google.code.gson:gson:2.8.6") // make sure we don't clash with grpc deps | ||
|
||
def junitVersion = "5.7.2" | ||
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}") | ||
testImplementation("org.junit.jupiter:junit-jupiter-params:${junitVersion}") | ||
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitVersion}") | ||
testImplementation("org.assertj:assertj-core:3.20.2") | ||
} | ||
|
||
test { | ||
useJUnitPlatform() | ||
} | ||
|
||
publishing { | ||
publications { | ||
mavenJava(MavenPublication) { | ||
groupId = 'io.pulumi' | ||
artifactId = 'kubernetes' | ||
version = project.version | ||
|
||
from components.java | ||
} | ||
// TODO pom | ||
} | ||
} |
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,14 @@ | ||
// *** WARNING: this file was generated. *** | ||
// *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
pluginManagement { | ||
repositories { | ||
maven { // The google mirror is less flaky than mavenCentral() | ||
url("https://maven-central.storage-download.googleapis.com/maven2/") | ||
} | ||
gradlePluginPortal() | ||
} | ||
} | ||
|
||
rootProject.name = "io.pulumi.kubernetes" | ||
include("lib") |
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,32 @@ | ||
// *** WARNING: this file was generated by pulumigen. *** | ||
// *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
package io.pulumi.kubernetes; | ||
|
||
import java.util.Optional; | ||
|
||
public final class Config { | ||
|
||
private static final io.pulumi.Config config = io.pulumi.Config.of("kubernetes"); | ||
public Optional<String> cluster() { | ||
return config.get("cluster"); | ||
} | ||
public Optional<String> context() { | ||
return config.get("context"); | ||
} | ||
public Optional<Boolean> enableDryRun() { | ||
return config.getBoolean("enableDryRun"); | ||
} | ||
public Optional<String> kubeconfig() { | ||
return config.get("kubeconfig"); | ||
} | ||
public Optional<String> namespace() { | ||
return config.get("namespace"); | ||
} | ||
public Optional<String> renderYamlToDirectory() { | ||
return config.get("renderYamlToDirectory"); | ||
} | ||
public Optional<Boolean> suppressDeprecationWarnings() { | ||
return config.getBoolean("suppressDeprecationWarnings"); | ||
} | ||
} |
Oops, something went wrong.