@highstate/cert-manager 0.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +14 -0
  3. package/acme/index.ts +11 -0
  4. package/acme/v1/challenge.ts +101 -0
  5. package/acme/v1/challengeList.ts +107 -0
  6. package/acme/v1/challengePatch.ts +107 -0
  7. package/acme/v1/index.ts +60 -0
  8. package/acme/v1/order.ts +101 -0
  9. package/acme/v1/orderList.ts +107 -0
  10. package/acme/v1/orderPatch.ts +107 -0
  11. package/bin/acme/index.d.ts +2 -0
  12. package/bin/acme/index.js +9 -0
  13. package/bin/acme/index.js.map +1 -0
  14. package/bin/acme/v1/challenge.d.ts +63 -0
  15. package/bin/acme/v1/challenge.js +64 -0
  16. package/bin/acme/v1/challenge.js.map +1 -0
  17. package/bin/acme/v1/challengeList.d.ts +67 -0
  18. package/bin/acme/v1/challengeList.js +65 -0
  19. package/bin/acme/v1/challengeList.js.map +1 -0
  20. package/bin/acme/v1/challengePatch.d.ts +69 -0
  21. package/bin/acme/v1/challengePatch.js +70 -0
  22. package/bin/acme/v1/challengePatch.js.map +1 -0
  23. package/bin/acme/v1/index.d.ts +18 -0
  24. package/bin/acme/v1/index.js +42 -0
  25. package/bin/acme/v1/index.js.map +1 -0
  26. package/bin/acme/v1/order.d.ts +63 -0
  27. package/bin/acme/v1/order.js +64 -0
  28. package/bin/acme/v1/order.js.map +1 -0
  29. package/bin/acme/v1/orderList.d.ts +67 -0
  30. package/bin/acme/v1/orderList.js +65 -0
  31. package/bin/acme/v1/orderList.js.map +1 -0
  32. package/bin/acme/v1/orderPatch.d.ts +69 -0
  33. package/bin/acme/v1/orderPatch.js +70 -0
  34. package/bin/acme/v1/orderPatch.js.map +1 -0
  35. package/bin/cert_manager/index.d.ts +2 -0
  36. package/bin/cert_manager/index.js +9 -0
  37. package/bin/cert_manager/index.js.map +1 -0
  38. package/bin/cert_manager/v1/certificate.d.ts +66 -0
  39. package/bin/cert_manager/v1/certificate.js +67 -0
  40. package/bin/cert_manager/v1/certificate.js.map +1 -0
  41. package/bin/cert_manager/v1/certificateList.d.ts +67 -0
  42. package/bin/cert_manager/v1/certificateList.js +65 -0
  43. package/bin/cert_manager/v1/certificateList.js.map +1 -0
  44. package/bin/cert_manager/v1/certificatePatch.d.ts +72 -0
  45. package/bin/cert_manager/v1/certificatePatch.js +73 -0
  46. package/bin/cert_manager/v1/certificatePatch.js.map +1 -0
  47. package/bin/cert_manager/v1/certificateRequest.d.ts +71 -0
  48. package/bin/cert_manager/v1/certificateRequest.js +72 -0
  49. package/bin/cert_manager/v1/certificateRequest.js.map +1 -0
  50. package/bin/cert_manager/v1/certificateRequestList.d.ts +67 -0
  51. package/bin/cert_manager/v1/certificateRequestList.js +65 -0
  52. package/bin/cert_manager/v1/certificateRequestList.js.map +1 -0
  53. package/bin/cert_manager/v1/certificateRequestPatch.d.ts +77 -0
  54. package/bin/cert_manager/v1/certificateRequestPatch.js +78 -0
  55. package/bin/cert_manager/v1/certificateRequestPatch.js.map +1 -0
  56. package/bin/cert_manager/v1/clusterIssuer.d.ts +67 -0
  57. package/bin/cert_manager/v1/clusterIssuer.js +68 -0
  58. package/bin/cert_manager/v1/clusterIssuer.js.map +1 -0
  59. package/bin/cert_manager/v1/clusterIssuerList.d.ts +67 -0
  60. package/bin/cert_manager/v1/clusterIssuerList.js +65 -0
  61. package/bin/cert_manager/v1/clusterIssuerList.js.map +1 -0
  62. package/bin/cert_manager/v1/clusterIssuerPatch.d.ts +73 -0
  63. package/bin/cert_manager/v1/clusterIssuerPatch.js +74 -0
  64. package/bin/cert_manager/v1/clusterIssuerPatch.js.map +1 -0
  65. package/bin/cert_manager/v1/index.d.ts +36 -0
  66. package/bin/cert_manager/v1/index.js +66 -0
  67. package/bin/cert_manager/v1/index.js.map +1 -0
  68. package/bin/cert_manager/v1/issuer.d.ts +66 -0
  69. package/bin/cert_manager/v1/issuer.js +67 -0
  70. package/bin/cert_manager/v1/issuer.js.map +1 -0
  71. package/bin/cert_manager/v1/issuerList.d.ts +67 -0
  72. package/bin/cert_manager/v1/issuerList.js +65 -0
  73. package/bin/cert_manager/v1/issuerList.js.map +1 -0
  74. package/bin/cert_manager/v1/issuerPatch.d.ts +72 -0
  75. package/bin/cert_manager/v1/issuerPatch.js +73 -0
  76. package/bin/cert_manager/v1/issuerPatch.js.map +1 -0
  77. package/bin/index.d.ts +7 -0
  78. package/bin/index.js +26 -0
  79. package/bin/index.js.map +1 -0
  80. package/bin/meta/v1.d.ts +3 -0
  81. package/bin/meta/v1.js +3 -0
  82. package/bin/meta/v1.js.map +1 -0
  83. package/bin/package.json +42 -0
  84. package/bin/provider.d.ts +21 -0
  85. package/bin/provider.js +38 -0
  86. package/bin/provider.js.map +1 -0
  87. package/bin/types/index.d.ts +3 -0
  88. package/bin/types/index.js +11 -0
  89. package/bin/types/index.js.map +1 -0
  90. package/bin/types/input.d.ts +20729 -0
  91. package/bin/types/input.js +5 -0
  92. package/bin/types/input.js.map +1 -0
  93. package/bin/types/output.d.ts +21177 -0
  94. package/bin/types/output.js +5 -0
  95. package/bin/types/output.js.map +1 -0
  96. package/bin/utilities.d.ts +8 -0
  97. package/bin/utilities.js +102 -0
  98. package/bin/utilities.js.map +1 -0
  99. package/cert_manager/index.ts +11 -0
  100. package/cert_manager/v1/certificate.ts +104 -0
  101. package/cert_manager/v1/certificateList.ts +107 -0
  102. package/cert_manager/v1/certificatePatch.ts +110 -0
  103. package/cert_manager/v1/certificateRequest.ts +109 -0
  104. package/cert_manager/v1/certificateRequestList.ts +107 -0
  105. package/cert_manager/v1/certificateRequestPatch.ts +115 -0
  106. package/cert_manager/v1/clusterIssuer.ts +105 -0
  107. package/cert_manager/v1/clusterIssuerList.ts +107 -0
  108. package/cert_manager/v1/clusterIssuerPatch.ts +111 -0
  109. package/cert_manager/v1/index.ts +102 -0
  110. package/cert_manager/v1/issuer.ts +104 -0
  111. package/cert_manager/v1/issuerList.ts +107 -0
  112. package/cert_manager/v1/issuerPatch.ts +110 -0
  113. package/index.ts +32 -0
  114. package/meta/v1.ts +4 -0
  115. package/package.json +43 -0
  116. package/provider.ts +44 -0
  117. package/scripts/postinstall.js +13 -0
  118. package/tsconfig.json +45 -0
  119. package/types/index.ts +13 -0
  120. package/types/input.ts +21284 -0
  121. package/types/output.ts +21747 -0
  122. package/utilities.ts +97 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,10 @@
1
+ # v0.4.5 (Wed Mar 12 2025)
2
+
3
+ #### ⚠️ Pushed to `main`
4
+
5
+ - fix crd build ([@Exeteres](https://github.com/Exeteres))
6
+ - fix ([@Exeteres](https://github.com/Exeteres))
7
+
8
+ #### Authors: 1
9
+
10
+ - Fedor Chubukov ([@Exeteres](https://github.com/Exeteres))
package/README.md ADDED
@@ -0,0 +1,14 @@
1
+ The Kubernetes provider package offers support for all Kubernetes resources and their properties.
2
+ Resources are exposed as types from modules based on Kubernetes API groups such as 'apps', 'core',
3
+ 'rbac', and 'storage', among many others. Additionally, support for deploying Helm charts ('helm')
4
+ and YAML files ('yaml') is available in this package. Using this package allows you to
5
+ programmatically declare instances of any Kubernetes resources and any supported resource version
6
+ using infrastructure as code, which Pulumi then uses to drive the Kubernetes API.
7
+
8
+ If this is your first time using this package, these two resources may be helpful:
9
+
10
+ * [Kubernetes Getting Started Guide](https://www.pulumi.com/docs/quickstart/kubernetes/): Get up and running quickly.
11
+ * [Kubernetes Pulumi Setup Documentation](https://www.pulumi.com/docs/quickstart/kubernetes/configure/): How to configure Pulumi
12
+ for use with your Kubernetes cluster.
13
+
14
+ Use the navigation below to see detailed documentation for each of the supported Kubernetes resources.
package/acme/index.ts ADDED
@@ -0,0 +1,11 @@
1
+ // *** WARNING: this file was generated by crd2pulumi. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as utilities from "../utilities";
5
+
6
+ // Export sub-modules:
7
+ import * as v1 from "./v1";
8
+
9
+ export {
10
+ v1,
11
+ };
@@ -0,0 +1,101 @@
1
+ // *** WARNING: this file was generated by crd2pulumi. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as pulumi from "@pulumi/pulumi";
5
+ import * as inputs from "../../types/input";
6
+ import * as outputs from "../../types/output";
7
+ import * as utilities from "../../utilities";
8
+
9
+ import {ObjectMeta} from "../../meta/v1";
10
+
11
+ /**
12
+ * Challenge is a type to represent a Challenge request with an ACME server
13
+ */
14
+ export class Challenge extends pulumi.CustomResource {
15
+ /**
16
+ * Get an existing Challenge resource's state with the given name, ID, and optional extra
17
+ * properties used to qualify the lookup.
18
+ *
19
+ * @param name The _unique_ name of the resulting resource.
20
+ * @param id The _unique_ provider ID of the resource to lookup.
21
+ * @param opts Optional settings to control the behavior of the CustomResource.
22
+ */
23
+ public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Challenge {
24
+ return new Challenge(name, undefined as any, { ...opts, id: id });
25
+ }
26
+
27
+ /** @internal */
28
+ public static readonly __pulumiType = 'kubernetes:acme.cert-manager.io/v1:Challenge';
29
+
30
+ /**
31
+ * Returns true if the given object is an instance of Challenge. This is designed to work even
32
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
33
+ */
34
+ public static isInstance(obj: any): obj is Challenge {
35
+ if (obj === undefined || obj === null) {
36
+ return false;
37
+ }
38
+ return obj['__pulumiType'] === Challenge.__pulumiType;
39
+ }
40
+
41
+ /**
42
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
43
+ */
44
+ public readonly apiVersion!: pulumi.Output<"acme.cert-manager.io/v1">;
45
+ /**
46
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
47
+ */
48
+ public readonly kind!: pulumi.Output<"Challenge">;
49
+ /**
50
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
51
+ */
52
+ public readonly metadata!: pulumi.Output<ObjectMeta>;
53
+ public readonly spec!: pulumi.Output<outputs.acme.v1.ChallengeSpec>;
54
+ public /*out*/ readonly status!: pulumi.Output<outputs.acme.v1.ChallengeStatus>;
55
+
56
+ /**
57
+ * Create a Challenge resource with the given unique name, arguments, and options.
58
+ *
59
+ * @param name The _unique_ name of the resource.
60
+ * @param args The arguments to use to populate this resource's properties.
61
+ * @param opts A bag of options that control this resource's behavior.
62
+ */
63
+ constructor(name: string, args?: ChallengeArgs, opts?: pulumi.CustomResourceOptions) {
64
+ let resourceInputs: pulumi.Inputs = {};
65
+ opts = opts || {};
66
+ if (!opts.id) {
67
+ resourceInputs["apiVersion"] = "acme.cert-manager.io/v1";
68
+ resourceInputs["kind"] = "Challenge";
69
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
70
+ resourceInputs["spec"] = args ? args.spec : undefined;
71
+ resourceInputs["status"] = undefined /*out*/;
72
+ } else {
73
+ resourceInputs["apiVersion"] = undefined /*out*/;
74
+ resourceInputs["kind"] = undefined /*out*/;
75
+ resourceInputs["metadata"] = undefined /*out*/;
76
+ resourceInputs["spec"] = undefined /*out*/;
77
+ resourceInputs["status"] = undefined /*out*/;
78
+ }
79
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
80
+ super(Challenge.__pulumiType, name, resourceInputs, opts);
81
+ }
82
+ }
83
+
84
+ /**
85
+ * The set of arguments for constructing a Challenge resource.
86
+ */
87
+ export interface ChallengeArgs {
88
+ /**
89
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
90
+ */
91
+ apiVersion?: pulumi.Input<"acme.cert-manager.io/v1">;
92
+ /**
93
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
94
+ */
95
+ kind?: pulumi.Input<"Challenge">;
96
+ /**
97
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
98
+ */
99
+ metadata?: pulumi.Input<ObjectMeta>;
100
+ spec?: pulumi.Input<inputs.acme.v1.ChallengeSpec>;
101
+ }
@@ -0,0 +1,107 @@
1
+ // *** WARNING: this file was generated by crd2pulumi. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as pulumi from "@pulumi/pulumi";
5
+ import * as inputs from "../../types/input";
6
+ import * as outputs from "../../types/output";
7
+ import * as utilities from "../../utilities";
8
+
9
+ import {ObjectMeta} from "../../meta/v1";
10
+
11
+ /**
12
+ * ChallengeList is a list of Challenge
13
+ */
14
+ export class ChallengeList extends pulumi.CustomResource {
15
+ /**
16
+ * Get an existing ChallengeList resource's state with the given name, ID, and optional extra
17
+ * properties used to qualify the lookup.
18
+ *
19
+ * @param name The _unique_ name of the resulting resource.
20
+ * @param id The _unique_ provider ID of the resource to lookup.
21
+ * @param opts Optional settings to control the behavior of the CustomResource.
22
+ */
23
+ public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ChallengeList {
24
+ return new ChallengeList(name, undefined as any, { ...opts, id: id });
25
+ }
26
+
27
+ /** @internal */
28
+ public static readonly __pulumiType = 'kubernetes:acme.cert-manager.io/v1:ChallengeList';
29
+
30
+ /**
31
+ * Returns true if the given object is an instance of ChallengeList. This is designed to work even
32
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
33
+ */
34
+ public static isInstance(obj: any): obj is ChallengeList {
35
+ if (obj === undefined || obj === null) {
36
+ return false;
37
+ }
38
+ return obj['__pulumiType'] === ChallengeList.__pulumiType;
39
+ }
40
+
41
+ /**
42
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
43
+ */
44
+ public readonly apiVersion!: pulumi.Output<"acme.cert-manager.io/v1">;
45
+ /**
46
+ * List of challenges. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
47
+ */
48
+ public readonly items!: pulumi.Output<outputs.acme.v1.Challenge[]>;
49
+ /**
50
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
51
+ */
52
+ public readonly kind!: pulumi.Output<"ChallengeList">;
53
+ /**
54
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
55
+ */
56
+ public readonly metadata!: pulumi.Output<outputs.meta.v1.ListMeta>;
57
+
58
+ /**
59
+ * Create a ChallengeList resource with the given unique name, arguments, and options.
60
+ *
61
+ * @param name The _unique_ name of the resource.
62
+ * @param args The arguments to use to populate this resource's properties.
63
+ * @param opts A bag of options that control this resource's behavior.
64
+ */
65
+ constructor(name: string, args?: ChallengeListArgs, opts?: pulumi.CustomResourceOptions) {
66
+ let resourceInputs: pulumi.Inputs = {};
67
+ opts = opts || {};
68
+ if (!opts.id) {
69
+ if ((!args || args.items === undefined) && !opts.urn) {
70
+ throw new Error("Missing required property 'items'");
71
+ }
72
+ resourceInputs["apiVersion"] = "acme.cert-manager.io/v1";
73
+ resourceInputs["items"] = args ? args.items : undefined;
74
+ resourceInputs["kind"] = "ChallengeList";
75
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
76
+ } else {
77
+ resourceInputs["apiVersion"] = undefined /*out*/;
78
+ resourceInputs["items"] = undefined /*out*/;
79
+ resourceInputs["kind"] = undefined /*out*/;
80
+ resourceInputs["metadata"] = undefined /*out*/;
81
+ }
82
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
83
+ super(ChallengeList.__pulumiType, name, resourceInputs, opts);
84
+ }
85
+ }
86
+
87
+ /**
88
+ * The set of arguments for constructing a ChallengeList resource.
89
+ */
90
+ export interface ChallengeListArgs {
91
+ /**
92
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
93
+ */
94
+ apiVersion?: pulumi.Input<"acme.cert-manager.io/v1">;
95
+ /**
96
+ * List of challenges. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
97
+ */
98
+ items: pulumi.Input<pulumi.Input<inputs.acme.v1.Challenge>[]>;
99
+ /**
100
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
101
+ */
102
+ kind?: pulumi.Input<"ChallengeList">;
103
+ /**
104
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
105
+ */
106
+ metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
107
+ }
@@ -0,0 +1,107 @@
1
+ // *** WARNING: this file was generated by crd2pulumi. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as pulumi from "@pulumi/pulumi";
5
+ import * as inputs from "../../types/input";
6
+ import * as outputs from "../../types/output";
7
+ import * as utilities from "../../utilities";
8
+
9
+ import {ObjectMetaPatch} from "../../meta/v1";
10
+
11
+ /**
12
+ * Patch resources are used to modify existing Kubernetes resources by using
13
+ * Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
14
+ * one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
15
+ * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
16
+ * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
17
+ * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
18
+ * Challenge is a type to represent a Challenge request with an ACME server
19
+ */
20
+ export class ChallengePatch extends pulumi.CustomResource {
21
+ /**
22
+ * Get an existing ChallengePatch resource's state with the given name, ID, and optional extra
23
+ * properties used to qualify the lookup.
24
+ *
25
+ * @param name The _unique_ name of the resulting resource.
26
+ * @param id The _unique_ provider ID of the resource to lookup.
27
+ * @param opts Optional settings to control the behavior of the CustomResource.
28
+ */
29
+ public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ChallengePatch {
30
+ return new ChallengePatch(name, undefined as any, { ...opts, id: id });
31
+ }
32
+
33
+ /** @internal */
34
+ public static readonly __pulumiType = 'kubernetes:acme.cert-manager.io/v1:ChallengePatch';
35
+
36
+ /**
37
+ * Returns true if the given object is an instance of ChallengePatch. This is designed to work even
38
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
39
+ */
40
+ public static isInstance(obj: any): obj is ChallengePatch {
41
+ if (obj === undefined || obj === null) {
42
+ return false;
43
+ }
44
+ return obj['__pulumiType'] === ChallengePatch.__pulumiType;
45
+ }
46
+
47
+ /**
48
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
49
+ */
50
+ public readonly apiVersion!: pulumi.Output<"acme.cert-manager.io/v1">;
51
+ /**
52
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
53
+ */
54
+ public readonly kind!: pulumi.Output<"Challenge">;
55
+ /**
56
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
57
+ */
58
+ public readonly metadata!: pulumi.Output<ObjectMetaPatch>;
59
+ public readonly spec!: pulumi.Output<outputs.acme.v1.ChallengeSpecPatch>;
60
+ public /*out*/ readonly status!: pulumi.Output<outputs.acme.v1.ChallengeStatusPatch>;
61
+
62
+ /**
63
+ * Create a ChallengePatch resource with the given unique name, arguments, and options.
64
+ *
65
+ * @param name The _unique_ name of the resource.
66
+ * @param args The arguments to use to populate this resource's properties.
67
+ * @param opts A bag of options that control this resource's behavior.
68
+ */
69
+ constructor(name: string, args?: ChallengePatchArgs, opts?: pulumi.CustomResourceOptions) {
70
+ let resourceInputs: pulumi.Inputs = {};
71
+ opts = opts || {};
72
+ if (!opts.id) {
73
+ resourceInputs["apiVersion"] = "acme.cert-manager.io/v1";
74
+ resourceInputs["kind"] = "Challenge";
75
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
76
+ resourceInputs["spec"] = args ? args.spec : undefined;
77
+ resourceInputs["status"] = undefined /*out*/;
78
+ } else {
79
+ resourceInputs["apiVersion"] = undefined /*out*/;
80
+ resourceInputs["kind"] = undefined /*out*/;
81
+ resourceInputs["metadata"] = undefined /*out*/;
82
+ resourceInputs["spec"] = undefined /*out*/;
83
+ resourceInputs["status"] = undefined /*out*/;
84
+ }
85
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
86
+ super(ChallengePatch.__pulumiType, name, resourceInputs, opts);
87
+ }
88
+ }
89
+
90
+ /**
91
+ * The set of arguments for constructing a ChallengePatch resource.
92
+ */
93
+ export interface ChallengePatchArgs {
94
+ /**
95
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
96
+ */
97
+ apiVersion?: pulumi.Input<"acme.cert-manager.io/v1">;
98
+ /**
99
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
100
+ */
101
+ kind?: pulumi.Input<"Challenge">;
102
+ /**
103
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
104
+ */
105
+ metadata?: pulumi.Input<ObjectMetaPatch>;
106
+ spec?: pulumi.Input<inputs.acme.v1.ChallengeSpecPatch>;
107
+ }
@@ -0,0 +1,60 @@
1
+ // *** WARNING: this file was generated by crd2pulumi. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as pulumi from "@pulumi/pulumi";
5
+ import * as utilities from "../../utilities";
6
+
7
+ // Export members:
8
+ export { ChallengeArgs } from "./challenge";
9
+ export type Challenge = import("./challenge").Challenge;
10
+ export const Challenge: typeof import("./challenge").Challenge = null as any;
11
+ utilities.lazyLoad(exports, ["Challenge"], () => require("./challenge"));
12
+
13
+ export { ChallengeListArgs } from "./challengeList";
14
+ export type ChallengeList = import("./challengeList").ChallengeList;
15
+ export const ChallengeList: typeof import("./challengeList").ChallengeList = null as any;
16
+ utilities.lazyLoad(exports, ["ChallengeList"], () => require("./challengeList"));
17
+
18
+ export { ChallengePatchArgs } from "./challengePatch";
19
+ export type ChallengePatch = import("./challengePatch").ChallengePatch;
20
+ export const ChallengePatch: typeof import("./challengePatch").ChallengePatch = null as any;
21
+ utilities.lazyLoad(exports, ["ChallengePatch"], () => require("./challengePatch"));
22
+
23
+ export { OrderArgs } from "./order";
24
+ export type Order = import("./order").Order;
25
+ export const Order: typeof import("./order").Order = null as any;
26
+ utilities.lazyLoad(exports, ["Order"], () => require("./order"));
27
+
28
+ export { OrderListArgs } from "./orderList";
29
+ export type OrderList = import("./orderList").OrderList;
30
+ export const OrderList: typeof import("./orderList").OrderList = null as any;
31
+ utilities.lazyLoad(exports, ["OrderList"], () => require("./orderList"));
32
+
33
+ export { OrderPatchArgs } from "./orderPatch";
34
+ export type OrderPatch = import("./orderPatch").OrderPatch;
35
+ export const OrderPatch: typeof import("./orderPatch").OrderPatch = null as any;
36
+ utilities.lazyLoad(exports, ["OrderPatch"], () => require("./orderPatch"));
37
+
38
+
39
+ const _module = {
40
+ version: utilities.getVersion(),
41
+ construct: (name: string, type: string, urn: string): pulumi.Resource => {
42
+ switch (type) {
43
+ case "kubernetes:acme.cert-manager.io/v1:Challenge":
44
+ return new Challenge(name, <any>undefined, { urn })
45
+ case "kubernetes:acme.cert-manager.io/v1:ChallengeList":
46
+ return new ChallengeList(name, <any>undefined, { urn })
47
+ case "kubernetes:acme.cert-manager.io/v1:ChallengePatch":
48
+ return new ChallengePatch(name, <any>undefined, { urn })
49
+ case "kubernetes:acme.cert-manager.io/v1:Order":
50
+ return new Order(name, <any>undefined, { urn })
51
+ case "kubernetes:acme.cert-manager.io/v1:OrderList":
52
+ return new OrderList(name, <any>undefined, { urn })
53
+ case "kubernetes:acme.cert-manager.io/v1:OrderPatch":
54
+ return new OrderPatch(name, <any>undefined, { urn })
55
+ default:
56
+ throw new Error(`unknown resource type ${type}`);
57
+ }
58
+ },
59
+ };
60
+ pulumi.runtime.registerResourceModule("crds", "acme.cert-manager.io/v1", _module)
@@ -0,0 +1,101 @@
1
+ // *** WARNING: this file was generated by crd2pulumi. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as pulumi from "@pulumi/pulumi";
5
+ import * as inputs from "../../types/input";
6
+ import * as outputs from "../../types/output";
7
+ import * as utilities from "../../utilities";
8
+
9
+ import {ObjectMeta} from "../../meta/v1";
10
+
11
+ /**
12
+ * Order is a type to represent an Order with an ACME server
13
+ */
14
+ export class Order extends pulumi.CustomResource {
15
+ /**
16
+ * Get an existing Order resource's state with the given name, ID, and optional extra
17
+ * properties used to qualify the lookup.
18
+ *
19
+ * @param name The _unique_ name of the resulting resource.
20
+ * @param id The _unique_ provider ID of the resource to lookup.
21
+ * @param opts Optional settings to control the behavior of the CustomResource.
22
+ */
23
+ public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Order {
24
+ return new Order(name, undefined as any, { ...opts, id: id });
25
+ }
26
+
27
+ /** @internal */
28
+ public static readonly __pulumiType = 'kubernetes:acme.cert-manager.io/v1:Order';
29
+
30
+ /**
31
+ * Returns true if the given object is an instance of Order. This is designed to work even
32
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
33
+ */
34
+ public static isInstance(obj: any): obj is Order {
35
+ if (obj === undefined || obj === null) {
36
+ return false;
37
+ }
38
+ return obj['__pulumiType'] === Order.__pulumiType;
39
+ }
40
+
41
+ /**
42
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
43
+ */
44
+ public readonly apiVersion!: pulumi.Output<"acme.cert-manager.io/v1">;
45
+ /**
46
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
47
+ */
48
+ public readonly kind!: pulumi.Output<"Order">;
49
+ /**
50
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
51
+ */
52
+ public readonly metadata!: pulumi.Output<ObjectMeta>;
53
+ public readonly spec!: pulumi.Output<outputs.acme.v1.OrderSpec>;
54
+ public /*out*/ readonly status!: pulumi.Output<outputs.acme.v1.OrderStatus>;
55
+
56
+ /**
57
+ * Create a Order resource with the given unique name, arguments, and options.
58
+ *
59
+ * @param name The _unique_ name of the resource.
60
+ * @param args The arguments to use to populate this resource's properties.
61
+ * @param opts A bag of options that control this resource's behavior.
62
+ */
63
+ constructor(name: string, args?: OrderArgs, opts?: pulumi.CustomResourceOptions) {
64
+ let resourceInputs: pulumi.Inputs = {};
65
+ opts = opts || {};
66
+ if (!opts.id) {
67
+ resourceInputs["apiVersion"] = "acme.cert-manager.io/v1";
68
+ resourceInputs["kind"] = "Order";
69
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
70
+ resourceInputs["spec"] = args ? args.spec : undefined;
71
+ resourceInputs["status"] = undefined /*out*/;
72
+ } else {
73
+ resourceInputs["apiVersion"] = undefined /*out*/;
74
+ resourceInputs["kind"] = undefined /*out*/;
75
+ resourceInputs["metadata"] = undefined /*out*/;
76
+ resourceInputs["spec"] = undefined /*out*/;
77
+ resourceInputs["status"] = undefined /*out*/;
78
+ }
79
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
80
+ super(Order.__pulumiType, name, resourceInputs, opts);
81
+ }
82
+ }
83
+
84
+ /**
85
+ * The set of arguments for constructing a Order resource.
86
+ */
87
+ export interface OrderArgs {
88
+ /**
89
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
90
+ */
91
+ apiVersion?: pulumi.Input<"acme.cert-manager.io/v1">;
92
+ /**
93
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
94
+ */
95
+ kind?: pulumi.Input<"Order">;
96
+ /**
97
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
98
+ */
99
+ metadata?: pulumi.Input<ObjectMeta>;
100
+ spec?: pulumi.Input<inputs.acme.v1.OrderSpec>;
101
+ }
@@ -0,0 +1,107 @@
1
+ // *** WARNING: this file was generated by crd2pulumi. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as pulumi from "@pulumi/pulumi";
5
+ import * as inputs from "../../types/input";
6
+ import * as outputs from "../../types/output";
7
+ import * as utilities from "../../utilities";
8
+
9
+ import {ObjectMeta} from "../../meta/v1";
10
+
11
+ /**
12
+ * OrderList is a list of Order
13
+ */
14
+ export class OrderList extends pulumi.CustomResource {
15
+ /**
16
+ * Get an existing OrderList resource's state with the given name, ID, and optional extra
17
+ * properties used to qualify the lookup.
18
+ *
19
+ * @param name The _unique_ name of the resulting resource.
20
+ * @param id The _unique_ provider ID of the resource to lookup.
21
+ * @param opts Optional settings to control the behavior of the CustomResource.
22
+ */
23
+ public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): OrderList {
24
+ return new OrderList(name, undefined as any, { ...opts, id: id });
25
+ }
26
+
27
+ /** @internal */
28
+ public static readonly __pulumiType = 'kubernetes:acme.cert-manager.io/v1:OrderList';
29
+
30
+ /**
31
+ * Returns true if the given object is an instance of OrderList. This is designed to work even
32
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
33
+ */
34
+ public static isInstance(obj: any): obj is OrderList {
35
+ if (obj === undefined || obj === null) {
36
+ return false;
37
+ }
38
+ return obj['__pulumiType'] === OrderList.__pulumiType;
39
+ }
40
+
41
+ /**
42
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
43
+ */
44
+ public readonly apiVersion!: pulumi.Output<"acme.cert-manager.io/v1">;
45
+ /**
46
+ * List of orders. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
47
+ */
48
+ public readonly items!: pulumi.Output<outputs.acme.v1.Order[]>;
49
+ /**
50
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
51
+ */
52
+ public readonly kind!: pulumi.Output<"OrderList">;
53
+ /**
54
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
55
+ */
56
+ public readonly metadata!: pulumi.Output<outputs.meta.v1.ListMeta>;
57
+
58
+ /**
59
+ * Create a OrderList resource with the given unique name, arguments, and options.
60
+ *
61
+ * @param name The _unique_ name of the resource.
62
+ * @param args The arguments to use to populate this resource's properties.
63
+ * @param opts A bag of options that control this resource's behavior.
64
+ */
65
+ constructor(name: string, args?: OrderListArgs, opts?: pulumi.CustomResourceOptions) {
66
+ let resourceInputs: pulumi.Inputs = {};
67
+ opts = opts || {};
68
+ if (!opts.id) {
69
+ if ((!args || args.items === undefined) && !opts.urn) {
70
+ throw new Error("Missing required property 'items'");
71
+ }
72
+ resourceInputs["apiVersion"] = "acme.cert-manager.io/v1";
73
+ resourceInputs["items"] = args ? args.items : undefined;
74
+ resourceInputs["kind"] = "OrderList";
75
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
76
+ } else {
77
+ resourceInputs["apiVersion"] = undefined /*out*/;
78
+ resourceInputs["items"] = undefined /*out*/;
79
+ resourceInputs["kind"] = undefined /*out*/;
80
+ resourceInputs["metadata"] = undefined /*out*/;
81
+ }
82
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
83
+ super(OrderList.__pulumiType, name, resourceInputs, opts);
84
+ }
85
+ }
86
+
87
+ /**
88
+ * The set of arguments for constructing a OrderList resource.
89
+ */
90
+ export interface OrderListArgs {
91
+ /**
92
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
93
+ */
94
+ apiVersion?: pulumi.Input<"acme.cert-manager.io/v1">;
95
+ /**
96
+ * List of orders. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
97
+ */
98
+ items: pulumi.Input<pulumi.Input<inputs.acme.v1.Order>[]>;
99
+ /**
100
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
101
+ */
102
+ kind?: pulumi.Input<"OrderList">;
103
+ /**
104
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
105
+ */
106
+ metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
107
+ }