Replace pulumi-java-gen with pulumi package gen-sdk #2436
Annotations
10 errors and 1 warning
sdk/java/build.gradle#L1
File modified:
@@ -152,4 +152,4 @@ if (signingKey) {
useInMemoryPgpKeys(signingKey, signingPassword)
sign publishing.publications.mainPublication
}
-}
+}
\ No newline at end of file
|
sdk/java/src/main/java/com/pulumi/kubernetes/Provider.java#L1
File modified:
@@ -38,14 +38,7 @@ public class Provider extends com.pulumi.resources.ProviderResource {
* @param options A bag of options that control this resource's behavior.
*/
public Provider(String name, @nullable ProviderArgs args, @nullable com.pulumi.resources.CustomResourceOptions options) {
- super("kubernetes", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()));
- }
-
- private static ProviderArgs makeArgs(@nullable ProviderArgs args, @nullable com.pulumi.resources.CustomResourceOptions options) {
- if (options != null && options.getUrn().isPresent()) {
- return null;
- }
- return args == null ? ProviderArgs.Empty : args;
+ super("kubernetes", name, args == null ? ProviderArgs.Empty : args, makeResourceOptions(options, Codegen.empty()));
}
private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@nullable com.pulumi.resources.CustomResourceOptions options, @nullable Output<String> id) {
|
sdk/java/src/main/java/com/pulumi/kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.java#L1
File modified:
@@ -101,17 +101,14 @@ public class MutatingWebhookConfiguration extends com.pulumi.resources.CustomRes
* @param options A bag of options that control this resource's behavior.
*/
public MutatingWebhookConfiguration(String name, @nullable MutatingWebhookConfigurationArgs args, @nullable com.pulumi.resources.CustomResourceOptions options) {
- super("kubernetes:admissionregistration.k8s.io/v1:MutatingWebhookConfiguration", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()));
+ super("kubernetes:admissionregistration.k8s.io/v1:MutatingWebhookConfiguration", name, makeArgs(args), makeResourceOptions(options, Codegen.empty()));
}
private MutatingWebhookConfiguration(String name, Output<String> id, @nullable com.pulumi.resources.CustomResourceOptions options) {
super("kubernetes:admissionregistration.k8s.io/v1:MutatingWebhookConfiguration", name, null, makeResourceOptions(options, id));
}
- private static MutatingWebhookConfigurationArgs makeArgs(@nullable MutatingWebhookConfigurationArgs args, @nullable com.pulumi.resources.CustomResourceOptions options) {
- if (options != null && options.getUrn().isPresent()) {
- return null;
- }
+ private static MutatingWebhookConfigurationArgs makeArgs(@nullable MutatingWebhookConfigurationArgs args) {
var builder = args == null ? MutatingWebhookConfigurationArgs.builder() : MutatingWebhookConfigurationArgs.builder(args);
return builder
.apiVersion("admissionregistration.k8s.io/v1")
|
sdk/java/src/main/java/com/pulumi/kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.java#L1
File modified:
@@ -100,17 +100,14 @@ public class MutatingWebhookConfigurationList extends com.pulumi.resources.Custo
* @param options A bag of options that control this resource's behavior.
*/
public MutatingWebhookConfigurationList(String name, MutatingWebhookConfigurationListArgs args, @nullable com.pulumi.resources.CustomResourceOptions options) {
- super("kubernetes:admissionregistration.k8s.io/v1:MutatingWebhookConfigurationList", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()));
+ super("kubernetes:admissionregistration.k8s.io/v1:MutatingWebhookConfigurationList", name, makeArgs(args), makeResourceOptions(options, Codegen.empty()));
}
private MutatingWebhookConfigurationList(String name, Output<String> id, @nullable com.pulumi.resources.CustomResourceOptions options) {
super("kubernetes:admissionregistration.k8s.io/v1:MutatingWebhookConfigurationList", name, null, makeResourceOptions(options, id));
}
- private static MutatingWebhookConfigurationListArgs makeArgs(MutatingWebhookConfigurationListArgs args, @nullable com.pulumi.resources.CustomResourceOptions options) {
- if (options != null && options.getUrn().isPresent()) {
- return null;
- }
+ private static MutatingWebhookConfigurationListArgs makeArgs(MutatingWebhookConfigurationListArgs args) {
var builder = args == null ? MutatingWebhookConfigurationListArgs.builder() : MutatingWebhookConfigurationListArgs.builder(args);
return builder
.apiVersion("admissionregistration.k8s.io/v1")
|
sdk/java/src/main/java/com/pulumi/kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.java#L1
File modified:
@@ -108,17 +108,14 @@ public class MutatingWebhookConfigurationPatch extends com.pulumi.resources.Cust
* @param options A bag of options that control this resource's behavior.
*/
public MutatingWebhookConfigurationPatch(String name, @nullable MutatingWebhookConfigurationPatchArgs args, @nullable com.pulumi.resources.CustomResourceOptions options) {
- super("kubernetes:admissionregistration.k8s.io/v1:MutatingWebhookConfigurationPatch", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()));
+ super("kubernetes:admissionregistration.k8s.io/v1:MutatingWebhookConfigurationPatch", name, makeArgs(args), makeResourceOptions(options, Codegen.empty()));
}
private MutatingWebhookConfigurationPatch(String name, Output<String> id, @nullable com.pulumi.resources.CustomResourceOptions options) {
super("kubernetes:admissionregistration.k8s.io/v1:MutatingWebhookConfigurationPatch", name, null, makeResourceOptions(options, id));
}
- private static MutatingWebhookConfigurationPatchArgs makeArgs(@nullable MutatingWebhookConfigurationPatchArgs args, @nullable com.pulumi.resources.CustomResourceOptions options) {
- if (options != null && options.getUrn().isPresent()) {
- return null;
- }
+ private static MutatingWebhookConfigurationPatchArgs makeArgs(@nullable MutatingWebhookConfigurationPatchArgs args) {
var builder = args == null ? MutatingWebhookConfigurationPatchArgs.builder() : MutatingWebhookConfigurationPatchArgs.builder(args);
return builder
.apiVersion("admissionregistration.k8s.io/v1")
|
sdk/java/src/main/java/com/pulumi/kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.java#L1
File modified:
@@ -117,17 +117,14 @@ public class ValidatingAdmissionPolicy extends com.pulumi.resources.CustomResour
* @param options A bag of options that control this resource's behavior.
*/
public ValidatingAdmissionPolicy(String name, @nullable ValidatingAdmissionPolicyArgs args, @nullable com.pulumi.resources.CustomResourceOptions options) {
- super("kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicy", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()));
+ super("kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicy", name, makeArgs(args), makeResourceOptions(options, Codegen.empty()));
}
private ValidatingAdmissionPolicy(String name, Output<String> id, @nullable com.pulumi.resources.CustomResourceOptions options) {
super("kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicy", name, null, makeResourceOptions(options, id));
}
- private static ValidatingAdmissionPolicyArgs makeArgs(@nullable ValidatingAdmissionPolicyArgs args, @nullable com.pulumi.resources.CustomResourceOptions options) {
- if (options != null && options.getUrn().isPresent()) {
- return null;
- }
+ private static ValidatingAdmissionPolicyArgs makeArgs(@nullable ValidatingAdmissionPolicyArgs args) {
var builder = args == null ? ValidatingAdmissionPolicyArgs.builder() : ValidatingAdmissionPolicyArgs.builder(args);
return builder
.apiVersion("admissionregistration.k8s.io/v1")
|
sdk/java/src/main/java/com/pulumi/kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.java#L1
File modified:
@@ -105,17 +105,14 @@ public class ValidatingAdmissionPolicyBinding extends com.pulumi.resources.Custo
* @param options A bag of options that control this resource's behavior.
*/
public ValidatingAdmissionPolicyBinding(String name, @nullable ValidatingAdmissionPolicyBindingArgs args, @nullable com.pulumi.resources.CustomResourceOptions options) {
- super("kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBinding", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()));
+ super("kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBinding", name, makeArgs(args), makeResourceOptions(options, Codegen.empty()));
}
private ValidatingAdmissionPolicyBinding(String name, Output<String> id, @nullable com.pulumi.resources.CustomResourceOptions options) {
super("kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBinding", name, null, makeResourceOptions(options, id));
}
- private static ValidatingAdmissionPolicyBindingArgs makeArgs(@nullable ValidatingAdmissionPolicyBindingArgs args, @nullable com.pulumi.resources.CustomResourceOptions options) {
- if (options != null && options.getUrn().isPresent()) {
- return null;
- }
+ private static ValidatingAdmissionPolicyBindingArgs makeArgs(@nullable ValidatingAdmissionPolicyBindingArgs args) {
var builder = args == null ? ValidatingAdmissionPolicyBindingArgs.builder() : ValidatingAdmissionPolicyBindingArgs.builder(args);
return builder
.apiVersion("admissionregistration.k8s.io/v1")
|
sdk/java/src/main/java/com/pulumi/kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.java#L1
File modified:
@@ -100,17 +100,14 @@ public class ValidatingAdmissionPolicyBindingList extends com.pulumi.resources.C
* @param options A bag of options that control this resource's behavior.
*/
public ValidatingAdmissionPolicyBindingList(String name, @nullable ValidatingAdmissionPolicyBindingListArgs args, @nullable com.pulumi.resources.CustomResourceOptions options) {
- super("kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBindingList", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()));
+ super("kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBindingList", name, makeArgs(args), makeResourceOptions(options, Codegen.empty()));
}
private ValidatingAdmissionPolicyBindingList(String name, Output<String> id, @nullable com.pulumi.resources.CustomResourceOptions options) {
super("kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBindingList", name, null, makeResourceOptions(options, id));
}
- private static ValidatingAdmissionPolicyBindingListArgs makeArgs(@nullable ValidatingAdmissionPolicyBindingListArgs args, @nullable com.pulumi.resources.CustomResourceOptions options) {
- if (options != null && options.getUrn().isPresent()) {
- return null;
- }
+ private static ValidatingAdmissionPolicyBindingListArgs makeArgs(@nullable ValidatingAdmissionPolicyBindingListArgs args) {
var builder = args == null ? ValidatingAdmissionPolicyBindingListArgs.builder() : ValidatingAdmissionPolicyBindingListArgs.builder(args);
return builder
.apiVersion("admissionregistration.k8s.io/v1")
|
sdk/java/src/main/java/com/pulumi/kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.java#L1
File modified:
@@ -112,17 +112,14 @@ public class ValidatingAdmissionPolicyBindingPatch extends com.pulumi.resources.
* @param options A bag of options that control this resource's behavior.
*/
public ValidatingAdmissionPolicyBindingPatch(String name, @nullable ValidatingAdmissionPolicyBindingPatchArgs args, @nullable com.pulumi.resources.CustomResourceOptions options) {
- super("kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBindingPatch", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()));
+ super("kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBindingPatch", name, makeArgs(args), makeResourceOptions(options, Codegen.empty()));
}
private ValidatingAdmissionPolicyBindingPatch(String name, Output<String> id, @nullable com.pulumi.resources.CustomResourceOptions options) {
super("kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyBindingPatch", name, null, makeResourceOptions(options, id));
}
- private static ValidatingAdmissionPolicyBindingPatchArgs makeArgs(@nullable ValidatingAdmissionPolicyBindingPatchArgs args, @nullable com.pulumi.resources.CustomResourceOptions options) {
- if (options != null && options.getUrn().isPresent()) {
- return null;
- }
+ private static ValidatingAdmissionPolicyBindingPatchArgs makeArgs(@nullable ValidatingAdmissionPolicyBindingPatchArgs args) {
var builder = args == null ? ValidatingAdmissionPolicyBindingPatchArgs.builder() : ValidatingAdmissionPolicyBindingPatchArgs.builder(args);
return builder
.apiVersion("admissionregistration.k8s.io/v1")
|
sdk/java/src/main/java/com/pulumi/kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.java#L1
File modified:
@@ -100,17 +100,14 @@ public class ValidatingAdmissionPolicyList extends com.pulumi.resources.CustomRe
* @param options A bag of options that control this resource's behavior.
*/
public ValidatingAdmissionPolicyList(String name, @nullable ValidatingAdmissionPolicyListArgs args, @nullable com.pulumi.resources.CustomResourceOptions options) {
- super("kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyList", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()));
+ super("kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyList", name, makeArgs(args), makeResourceOptions(options, Codegen.empty()));
}
private ValidatingAdmissionPolicyList(String name, Output<String> id, @nullable com.pulumi.resources.CustomResourceOptions options) {
super("kubernetes:admissionregistration.k8s.io/v1:ValidatingAdmissionPolicyList", name, null, makeResourceOptions(options, id));
}
- private static ValidatingAdmissionPolicyListArgs makeArgs(@nullable ValidatingAdmissionPolicyListArgs args, @nullable com.pulumi.resources.CustomResourceOptions options) {
- if (options != null && options.getUrn().isPresent()) {
- return null;
- }
+ private static ValidatingAdmissionPolicyListArgs makeArgs(@nullable ValidatingAdmissionPolicyListArgs args) {
var builder = args == null ? ValidatingAdmissionPolicyListArgs.builder() : ValidatingAdmissionPolicyListArgs.builder(args);
return builder
.apiVersion("admissionregistration.k8s.io/v1")
|
|
This job failed
Loading