@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.
- package/CHANGELOG.md +10 -0
- package/README.md +14 -0
- package/acme/index.ts +11 -0
- package/acme/v1/challenge.ts +101 -0
- package/acme/v1/challengeList.ts +107 -0
- package/acme/v1/challengePatch.ts +107 -0
- package/acme/v1/index.ts +60 -0
- package/acme/v1/order.ts +101 -0
- package/acme/v1/orderList.ts +107 -0
- package/acme/v1/orderPatch.ts +107 -0
- package/bin/acme/index.d.ts +2 -0
- package/bin/acme/index.js +9 -0
- package/bin/acme/index.js.map +1 -0
- package/bin/acme/v1/challenge.d.ts +63 -0
- package/bin/acme/v1/challenge.js +64 -0
- package/bin/acme/v1/challenge.js.map +1 -0
- package/bin/acme/v1/challengeList.d.ts +67 -0
- package/bin/acme/v1/challengeList.js +65 -0
- package/bin/acme/v1/challengeList.js.map +1 -0
- package/bin/acme/v1/challengePatch.d.ts +69 -0
- package/bin/acme/v1/challengePatch.js +70 -0
- package/bin/acme/v1/challengePatch.js.map +1 -0
- package/bin/acme/v1/index.d.ts +18 -0
- package/bin/acme/v1/index.js +42 -0
- package/bin/acme/v1/index.js.map +1 -0
- package/bin/acme/v1/order.d.ts +63 -0
- package/bin/acme/v1/order.js +64 -0
- package/bin/acme/v1/order.js.map +1 -0
- package/bin/acme/v1/orderList.d.ts +67 -0
- package/bin/acme/v1/orderList.js +65 -0
- package/bin/acme/v1/orderList.js.map +1 -0
- package/bin/acme/v1/orderPatch.d.ts +69 -0
- package/bin/acme/v1/orderPatch.js +70 -0
- package/bin/acme/v1/orderPatch.js.map +1 -0
- package/bin/cert_manager/index.d.ts +2 -0
- package/bin/cert_manager/index.js +9 -0
- package/bin/cert_manager/index.js.map +1 -0
- package/bin/cert_manager/v1/certificate.d.ts +66 -0
- package/bin/cert_manager/v1/certificate.js +67 -0
- package/bin/cert_manager/v1/certificate.js.map +1 -0
- package/bin/cert_manager/v1/certificateList.d.ts +67 -0
- package/bin/cert_manager/v1/certificateList.js +65 -0
- package/bin/cert_manager/v1/certificateList.js.map +1 -0
- package/bin/cert_manager/v1/certificatePatch.d.ts +72 -0
- package/bin/cert_manager/v1/certificatePatch.js +73 -0
- package/bin/cert_manager/v1/certificatePatch.js.map +1 -0
- package/bin/cert_manager/v1/certificateRequest.d.ts +71 -0
- package/bin/cert_manager/v1/certificateRequest.js +72 -0
- package/bin/cert_manager/v1/certificateRequest.js.map +1 -0
- package/bin/cert_manager/v1/certificateRequestList.d.ts +67 -0
- package/bin/cert_manager/v1/certificateRequestList.js +65 -0
- package/bin/cert_manager/v1/certificateRequestList.js.map +1 -0
- package/bin/cert_manager/v1/certificateRequestPatch.d.ts +77 -0
- package/bin/cert_manager/v1/certificateRequestPatch.js +78 -0
- package/bin/cert_manager/v1/certificateRequestPatch.js.map +1 -0
- package/bin/cert_manager/v1/clusterIssuer.d.ts +67 -0
- package/bin/cert_manager/v1/clusterIssuer.js +68 -0
- package/bin/cert_manager/v1/clusterIssuer.js.map +1 -0
- package/bin/cert_manager/v1/clusterIssuerList.d.ts +67 -0
- package/bin/cert_manager/v1/clusterIssuerList.js +65 -0
- package/bin/cert_manager/v1/clusterIssuerList.js.map +1 -0
- package/bin/cert_manager/v1/clusterIssuerPatch.d.ts +73 -0
- package/bin/cert_manager/v1/clusterIssuerPatch.js +74 -0
- package/bin/cert_manager/v1/clusterIssuerPatch.js.map +1 -0
- package/bin/cert_manager/v1/index.d.ts +36 -0
- package/bin/cert_manager/v1/index.js +66 -0
- package/bin/cert_manager/v1/index.js.map +1 -0
- package/bin/cert_manager/v1/issuer.d.ts +66 -0
- package/bin/cert_manager/v1/issuer.js +67 -0
- package/bin/cert_manager/v1/issuer.js.map +1 -0
- package/bin/cert_manager/v1/issuerList.d.ts +67 -0
- package/bin/cert_manager/v1/issuerList.js +65 -0
- package/bin/cert_manager/v1/issuerList.js.map +1 -0
- package/bin/cert_manager/v1/issuerPatch.d.ts +72 -0
- package/bin/cert_manager/v1/issuerPatch.js +73 -0
- package/bin/cert_manager/v1/issuerPatch.js.map +1 -0
- package/bin/index.d.ts +7 -0
- package/bin/index.js +26 -0
- package/bin/index.js.map +1 -0
- package/bin/meta/v1.d.ts +3 -0
- package/bin/meta/v1.js +3 -0
- package/bin/meta/v1.js.map +1 -0
- package/bin/package.json +42 -0
- package/bin/provider.d.ts +21 -0
- package/bin/provider.js +38 -0
- package/bin/provider.js.map +1 -0
- package/bin/types/index.d.ts +3 -0
- package/bin/types/index.js +11 -0
- package/bin/types/index.js.map +1 -0
- package/bin/types/input.d.ts +20729 -0
- package/bin/types/input.js +5 -0
- package/bin/types/input.js.map +1 -0
- package/bin/types/output.d.ts +21177 -0
- package/bin/types/output.js +5 -0
- package/bin/types/output.js.map +1 -0
- package/bin/utilities.d.ts +8 -0
- package/bin/utilities.js +102 -0
- package/bin/utilities.js.map +1 -0
- package/cert_manager/index.ts +11 -0
- package/cert_manager/v1/certificate.ts +104 -0
- package/cert_manager/v1/certificateList.ts +107 -0
- package/cert_manager/v1/certificatePatch.ts +110 -0
- package/cert_manager/v1/certificateRequest.ts +109 -0
- package/cert_manager/v1/certificateRequestList.ts +107 -0
- package/cert_manager/v1/certificateRequestPatch.ts +115 -0
- package/cert_manager/v1/clusterIssuer.ts +105 -0
- package/cert_manager/v1/clusterIssuerList.ts +107 -0
- package/cert_manager/v1/clusterIssuerPatch.ts +111 -0
- package/cert_manager/v1/index.ts +102 -0
- package/cert_manager/v1/issuer.ts +104 -0
- package/cert_manager/v1/issuerList.ts +107 -0
- package/cert_manager/v1/issuerPatch.ts +110 -0
- package/index.ts +32 -0
- package/meta/v1.ts +4 -0
- package/package.json +43 -0
- package/provider.ts +44 -0
- package/scripts/postinstall.js +13 -0
- package/tsconfig.json +45 -0
- package/types/index.ts +13 -0
- package/types/input.ts +21284 -0
- package/types/output.ts +21747 -0
- package/utilities.ts +97 -0
@@ -0,0 +1,63 @@
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
2
|
+
import * as inputs from "../../types/input";
|
3
|
+
import * as outputs from "../../types/output";
|
4
|
+
import { ObjectMeta } from "../../meta/v1";
|
5
|
+
/**
|
6
|
+
* Order is a type to represent an Order with an ACME server
|
7
|
+
*/
|
8
|
+
export declare class Order extends pulumi.CustomResource {
|
9
|
+
/**
|
10
|
+
* Get an existing Order resource's state with the given name, ID, and optional extra
|
11
|
+
* properties used to qualify the lookup.
|
12
|
+
*
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
16
|
+
*/
|
17
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Order;
|
18
|
+
/**
|
19
|
+
* Returns true if the given object is an instance of Order. This is designed to work even
|
20
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
21
|
+
*/
|
22
|
+
static isInstance(obj: any): obj is Order;
|
23
|
+
/**
|
24
|
+
* 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
|
25
|
+
*/
|
26
|
+
readonly apiVersion: pulumi.Output<"acme.cert-manager.io/v1">;
|
27
|
+
/**
|
28
|
+
* 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
|
29
|
+
*/
|
30
|
+
readonly kind: pulumi.Output<"Order">;
|
31
|
+
/**
|
32
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
33
|
+
*/
|
34
|
+
readonly metadata: pulumi.Output<ObjectMeta>;
|
35
|
+
readonly spec: pulumi.Output<outputs.acme.v1.OrderSpec>;
|
36
|
+
readonly status: pulumi.Output<outputs.acme.v1.OrderStatus>;
|
37
|
+
/**
|
38
|
+
* Create a Order resource with the given unique name, arguments, and options.
|
39
|
+
*
|
40
|
+
* @param name The _unique_ name of the resource.
|
41
|
+
* @param args The arguments to use to populate this resource's properties.
|
42
|
+
* @param opts A bag of options that control this resource's behavior.
|
43
|
+
*/
|
44
|
+
constructor(name: string, args?: OrderArgs, opts?: pulumi.CustomResourceOptions);
|
45
|
+
}
|
46
|
+
/**
|
47
|
+
* The set of arguments for constructing a Order resource.
|
48
|
+
*/
|
49
|
+
export interface OrderArgs {
|
50
|
+
/**
|
51
|
+
* 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
|
52
|
+
*/
|
53
|
+
apiVersion?: pulumi.Input<"acme.cert-manager.io/v1">;
|
54
|
+
/**
|
55
|
+
* 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
|
56
|
+
*/
|
57
|
+
kind?: pulumi.Input<"Order">;
|
58
|
+
/**
|
59
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
60
|
+
*/
|
61
|
+
metadata?: pulumi.Input<ObjectMeta>;
|
62
|
+
spec?: pulumi.Input<inputs.acme.v1.OrderSpec>;
|
63
|
+
}
|
@@ -0,0 +1,64 @@
|
|
1
|
+
"use strict";
|
2
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
5
|
+
exports.Order = void 0;
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
7
|
+
const utilities = require("../../utilities");
|
8
|
+
/**
|
9
|
+
* Order is a type to represent an Order with an ACME server
|
10
|
+
*/
|
11
|
+
class Order extends pulumi.CustomResource {
|
12
|
+
/**
|
13
|
+
* Get an existing Order resource's state with the given name, ID, and optional extra
|
14
|
+
* properties used to qualify the lookup.
|
15
|
+
*
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
18
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
19
|
+
*/
|
20
|
+
static get(name, id, opts) {
|
21
|
+
return new Order(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
22
|
+
}
|
23
|
+
/**
|
24
|
+
* Returns true if the given object is an instance of Order. This is designed to work even
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
26
|
+
*/
|
27
|
+
static isInstance(obj) {
|
28
|
+
if (obj === undefined || obj === null) {
|
29
|
+
return false;
|
30
|
+
}
|
31
|
+
return obj['__pulumiType'] === Order.__pulumiType;
|
32
|
+
}
|
33
|
+
/**
|
34
|
+
* Create a Order resource with the given unique name, arguments, and options.
|
35
|
+
*
|
36
|
+
* @param name The _unique_ name of the resource.
|
37
|
+
* @param args The arguments to use to populate this resource's properties.
|
38
|
+
* @param opts A bag of options that control this resource's behavior.
|
39
|
+
*/
|
40
|
+
constructor(name, args, opts) {
|
41
|
+
let resourceInputs = {};
|
42
|
+
opts = opts || {};
|
43
|
+
if (!opts.id) {
|
44
|
+
resourceInputs["apiVersion"] = "acme.cert-manager.io/v1";
|
45
|
+
resourceInputs["kind"] = "Order";
|
46
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
47
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
48
|
+
resourceInputs["status"] = undefined /*out*/;
|
49
|
+
}
|
50
|
+
else {
|
51
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
52
|
+
resourceInputs["kind"] = undefined /*out*/;
|
53
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
54
|
+
resourceInputs["spec"] = undefined /*out*/;
|
55
|
+
resourceInputs["status"] = undefined /*out*/;
|
56
|
+
}
|
57
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
58
|
+
super(Order.__pulumiType, name, resourceInputs, opts);
|
59
|
+
}
|
60
|
+
}
|
61
|
+
exports.Order = Order;
|
62
|
+
/** @internal */
|
63
|
+
Order.__pulumiType = 'kubernetes:acme.cert-manager.io/v1:Order';
|
64
|
+
//# sourceMappingURL=order.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"order.js","sourceRoot":"","sources":["../../../acme/v1/order.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAI7C;;GAEG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,KAAK,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC;YACpC,OAAO,KAAK,CAAC;QACjB,CAAC;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;IAiBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAgB,EAAE,IAAmC;QAC3E,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;YACX,cAAc,CAAC,YAAY,CAAC,GAAG,yBAAyB,CAAC;YACzD,cAAc,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC;YACjC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;QACjD,CAAC;aAAM,CAAC;YACJ,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;QACjD,CAAC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AAnEL,sBAoEC;AAvDG,gBAAgB;AACO,kBAAY,GAAG,0CAA0C,CAAC"}
|
@@ -0,0 +1,67 @@
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
2
|
+
import * as inputs from "../../types/input";
|
3
|
+
import * as outputs from "../../types/output";
|
4
|
+
/**
|
5
|
+
* OrderList is a list of Order
|
6
|
+
*/
|
7
|
+
export declare class OrderList extends pulumi.CustomResource {
|
8
|
+
/**
|
9
|
+
* Get an existing OrderList resource's state with the given name, ID, and optional extra
|
10
|
+
* properties used to qualify the lookup.
|
11
|
+
*
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
14
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
15
|
+
*/
|
16
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): OrderList;
|
17
|
+
/**
|
18
|
+
* Returns true if the given object is an instance of OrderList. This is designed to work even
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
20
|
+
*/
|
21
|
+
static isInstance(obj: any): obj is OrderList;
|
22
|
+
/**
|
23
|
+
* 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
|
24
|
+
*/
|
25
|
+
readonly apiVersion: pulumi.Output<"acme.cert-manager.io/v1">;
|
26
|
+
/**
|
27
|
+
* List of orders. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
28
|
+
*/
|
29
|
+
readonly items: pulumi.Output<outputs.acme.v1.Order[]>;
|
30
|
+
/**
|
31
|
+
* 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
|
32
|
+
*/
|
33
|
+
readonly kind: pulumi.Output<"OrderList">;
|
34
|
+
/**
|
35
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
36
|
+
*/
|
37
|
+
readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
|
38
|
+
/**
|
39
|
+
* Create a OrderList resource with the given unique name, arguments, and options.
|
40
|
+
*
|
41
|
+
* @param name The _unique_ name of the resource.
|
42
|
+
* @param args The arguments to use to populate this resource's properties.
|
43
|
+
* @param opts A bag of options that control this resource's behavior.
|
44
|
+
*/
|
45
|
+
constructor(name: string, args?: OrderListArgs, opts?: pulumi.CustomResourceOptions);
|
46
|
+
}
|
47
|
+
/**
|
48
|
+
* The set of arguments for constructing a OrderList resource.
|
49
|
+
*/
|
50
|
+
export interface OrderListArgs {
|
51
|
+
/**
|
52
|
+
* 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
|
53
|
+
*/
|
54
|
+
apiVersion?: pulumi.Input<"acme.cert-manager.io/v1">;
|
55
|
+
/**
|
56
|
+
* List of orders. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
57
|
+
*/
|
58
|
+
items: pulumi.Input<pulumi.Input<inputs.acme.v1.Order>[]>;
|
59
|
+
/**
|
60
|
+
* 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
|
61
|
+
*/
|
62
|
+
kind?: pulumi.Input<"OrderList">;
|
63
|
+
/**
|
64
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
65
|
+
*/
|
66
|
+
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
67
|
+
}
|
@@ -0,0 +1,65 @@
|
|
1
|
+
"use strict";
|
2
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
5
|
+
exports.OrderList = void 0;
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
7
|
+
const utilities = require("../../utilities");
|
8
|
+
/**
|
9
|
+
* OrderList is a list of Order
|
10
|
+
*/
|
11
|
+
class OrderList extends pulumi.CustomResource {
|
12
|
+
/**
|
13
|
+
* Get an existing OrderList resource's state with the given name, ID, and optional extra
|
14
|
+
* properties used to qualify the lookup.
|
15
|
+
*
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
18
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
19
|
+
*/
|
20
|
+
static get(name, id, opts) {
|
21
|
+
return new OrderList(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
22
|
+
}
|
23
|
+
/**
|
24
|
+
* Returns true if the given object is an instance of OrderList. This is designed to work even
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
26
|
+
*/
|
27
|
+
static isInstance(obj) {
|
28
|
+
if (obj === undefined || obj === null) {
|
29
|
+
return false;
|
30
|
+
}
|
31
|
+
return obj['__pulumiType'] === OrderList.__pulumiType;
|
32
|
+
}
|
33
|
+
/**
|
34
|
+
* Create a OrderList resource with the given unique name, arguments, and options.
|
35
|
+
*
|
36
|
+
* @param name The _unique_ name of the resource.
|
37
|
+
* @param args The arguments to use to populate this resource's properties.
|
38
|
+
* @param opts A bag of options that control this resource's behavior.
|
39
|
+
*/
|
40
|
+
constructor(name, args, opts) {
|
41
|
+
let resourceInputs = {};
|
42
|
+
opts = opts || {};
|
43
|
+
if (!opts.id) {
|
44
|
+
if ((!args || args.items === undefined) && !opts.urn) {
|
45
|
+
throw new Error("Missing required property 'items'");
|
46
|
+
}
|
47
|
+
resourceInputs["apiVersion"] = "acme.cert-manager.io/v1";
|
48
|
+
resourceInputs["items"] = args ? args.items : undefined;
|
49
|
+
resourceInputs["kind"] = "OrderList";
|
50
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
51
|
+
}
|
52
|
+
else {
|
53
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
54
|
+
resourceInputs["items"] = undefined /*out*/;
|
55
|
+
resourceInputs["kind"] = undefined /*out*/;
|
56
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
57
|
+
}
|
58
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
59
|
+
super(OrderList.__pulumiType, name, resourceInputs, opts);
|
60
|
+
}
|
61
|
+
}
|
62
|
+
exports.OrderList = OrderList;
|
63
|
+
/** @internal */
|
64
|
+
OrderList.__pulumiType = 'kubernetes:acme.cert-manager.io/v1:OrderList';
|
65
|
+
//# sourceMappingURL=orderList.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"orderList.js","sourceRoot":"","sources":["../../../acme/v1/orderList.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAI7C;;GAEG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,SAAS,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC;YACpC,OAAO,KAAK,CAAC;QACjB,CAAC;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;IAmBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAoB,EAAE,IAAmC;QAC/E,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;YACX,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;gBACnD,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;YACzD,CAAC;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,yBAAyB,CAAC;YACzD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,WAAW,CAAC;YACrC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;QAClE,CAAC;aAAM,CAAC;YACJ,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;QACnD,CAAC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAtEL,8BAuEC;AA1DG,gBAAgB;AACO,sBAAY,GAAG,8CAA8C,CAAC"}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
2
|
+
import * as inputs from "../../types/input";
|
3
|
+
import * as outputs from "../../types/output";
|
4
|
+
import { ObjectMetaPatch } from "../../meta/v1";
|
5
|
+
/**
|
6
|
+
* Patch resources are used to modify existing Kubernetes resources by using
|
7
|
+
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
8
|
+
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
9
|
+
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
10
|
+
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
11
|
+
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
12
|
+
* Order is a type to represent an Order with an ACME server
|
13
|
+
*/
|
14
|
+
export declare class OrderPatch extends pulumi.CustomResource {
|
15
|
+
/**
|
16
|
+
* Get an existing OrderPatch 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
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): OrderPatch;
|
24
|
+
/**
|
25
|
+
* Returns true if the given object is an instance of OrderPatch. This is designed to work even
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
27
|
+
*/
|
28
|
+
static isInstance(obj: any): obj is OrderPatch;
|
29
|
+
/**
|
30
|
+
* 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
|
31
|
+
*/
|
32
|
+
readonly apiVersion: pulumi.Output<"acme.cert-manager.io/v1">;
|
33
|
+
/**
|
34
|
+
* 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
|
35
|
+
*/
|
36
|
+
readonly kind: pulumi.Output<"Order">;
|
37
|
+
/**
|
38
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
39
|
+
*/
|
40
|
+
readonly metadata: pulumi.Output<ObjectMetaPatch>;
|
41
|
+
readonly spec: pulumi.Output<outputs.acme.v1.OrderSpecPatch>;
|
42
|
+
readonly status: pulumi.Output<outputs.acme.v1.OrderStatusPatch>;
|
43
|
+
/**
|
44
|
+
* Create a OrderPatch resource with the given unique name, arguments, and options.
|
45
|
+
*
|
46
|
+
* @param name The _unique_ name of the resource.
|
47
|
+
* @param args The arguments to use to populate this resource's properties.
|
48
|
+
* @param opts A bag of options that control this resource's behavior.
|
49
|
+
*/
|
50
|
+
constructor(name: string, args?: OrderPatchArgs, opts?: pulumi.CustomResourceOptions);
|
51
|
+
}
|
52
|
+
/**
|
53
|
+
* The set of arguments for constructing a OrderPatch resource.
|
54
|
+
*/
|
55
|
+
export interface OrderPatchArgs {
|
56
|
+
/**
|
57
|
+
* 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
|
58
|
+
*/
|
59
|
+
apiVersion?: pulumi.Input<"acme.cert-manager.io/v1">;
|
60
|
+
/**
|
61
|
+
* 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
|
62
|
+
*/
|
63
|
+
kind?: pulumi.Input<"Order">;
|
64
|
+
/**
|
65
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
66
|
+
*/
|
67
|
+
metadata?: pulumi.Input<ObjectMetaPatch>;
|
68
|
+
spec?: pulumi.Input<inputs.acme.v1.OrderSpecPatch>;
|
69
|
+
}
|
@@ -0,0 +1,70 @@
|
|
1
|
+
"use strict";
|
2
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
5
|
+
exports.OrderPatch = void 0;
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
7
|
+
const utilities = require("../../utilities");
|
8
|
+
/**
|
9
|
+
* Patch resources are used to modify existing Kubernetes resources by using
|
10
|
+
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
11
|
+
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
12
|
+
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
13
|
+
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
14
|
+
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
15
|
+
* Order is a type to represent an Order with an ACME server
|
16
|
+
*/
|
17
|
+
class OrderPatch extends pulumi.CustomResource {
|
18
|
+
/**
|
19
|
+
* Get an existing OrderPatch resource's state with the given name, ID, and optional extra
|
20
|
+
* properties used to qualify the lookup.
|
21
|
+
*
|
22
|
+
* @param name The _unique_ name of the resulting resource.
|
23
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
24
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
25
|
+
*/
|
26
|
+
static get(name, id, opts) {
|
27
|
+
return new OrderPatch(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
28
|
+
}
|
29
|
+
/**
|
30
|
+
* Returns true if the given object is an instance of OrderPatch. This is designed to work even
|
31
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
32
|
+
*/
|
33
|
+
static isInstance(obj) {
|
34
|
+
if (obj === undefined || obj === null) {
|
35
|
+
return false;
|
36
|
+
}
|
37
|
+
return obj['__pulumiType'] === OrderPatch.__pulumiType;
|
38
|
+
}
|
39
|
+
/**
|
40
|
+
* Create a OrderPatch resource with the given unique name, arguments, and options.
|
41
|
+
*
|
42
|
+
* @param name The _unique_ name of the resource.
|
43
|
+
* @param args The arguments to use to populate this resource's properties.
|
44
|
+
* @param opts A bag of options that control this resource's behavior.
|
45
|
+
*/
|
46
|
+
constructor(name, args, opts) {
|
47
|
+
let resourceInputs = {};
|
48
|
+
opts = opts || {};
|
49
|
+
if (!opts.id) {
|
50
|
+
resourceInputs["apiVersion"] = "acme.cert-manager.io/v1";
|
51
|
+
resourceInputs["kind"] = "Order";
|
52
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
53
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
54
|
+
resourceInputs["status"] = undefined /*out*/;
|
55
|
+
}
|
56
|
+
else {
|
57
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
58
|
+
resourceInputs["kind"] = undefined /*out*/;
|
59
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
60
|
+
resourceInputs["spec"] = undefined /*out*/;
|
61
|
+
resourceInputs["status"] = undefined /*out*/;
|
62
|
+
}
|
63
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
64
|
+
super(OrderPatch.__pulumiType, name, resourceInputs, opts);
|
65
|
+
}
|
66
|
+
}
|
67
|
+
exports.OrderPatch = OrderPatch;
|
68
|
+
/** @internal */
|
69
|
+
OrderPatch.__pulumiType = 'kubernetes:acme.cert-manager.io/v1:OrderPatch';
|
70
|
+
//# sourceMappingURL=orderPatch.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"orderPatch.js","sourceRoot":"","sources":["../../../acme/v1/orderPatch.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAI7C;;;;;;;;GAQG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,UAAU,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC;YACpC,OAAO,KAAK,CAAC;QACjB,CAAC;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IAiBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAqB,EAAE,IAAmC;QAChF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;YACX,cAAc,CAAC,YAAY,CAAC,GAAG,yBAAyB,CAAC;YACzD,cAAc,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC;YACjC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;QACjD,CAAC;aAAM,CAAC;YACJ,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;QACjD,CAAC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAnEL,gCAoEC;AAvDG,gBAAgB;AACO,uBAAY,GAAG,+CAA+C,CAAC"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
5
|
+
exports.v1 = void 0;
|
6
|
+
// Export sub-modules:
|
7
|
+
const v1 = require("./v1");
|
8
|
+
exports.v1 = v1;
|
9
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../cert_manager/index.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAIjF,sBAAsB;AACtB,2BAA2B;AAGvB,gBAAE"}
|
@@ -0,0 +1,66 @@
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
2
|
+
import * as inputs from "../../types/input";
|
3
|
+
import * as outputs from "../../types/output";
|
4
|
+
import { ObjectMeta } from "../../meta/v1";
|
5
|
+
/**
|
6
|
+
* A Certificate resource should be created to ensure an up to date and signed
|
7
|
+
* X.509 certificate is stored in the Kubernetes Secret resource named in `spec.secretName`.
|
8
|
+
*
|
9
|
+
* The stored certificate will be renewed before it expires (as configured by `spec.renewBefore`).
|
10
|
+
*/
|
11
|
+
export declare class Certificate extends pulumi.CustomResource {
|
12
|
+
/**
|
13
|
+
* Get an existing Certificate resource's state with the given name, ID, and optional extra
|
14
|
+
* properties used to qualify the lookup.
|
15
|
+
*
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
18
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
19
|
+
*/
|
20
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Certificate;
|
21
|
+
/**
|
22
|
+
* Returns true if the given object is an instance of Certificate. This is designed to work even
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
24
|
+
*/
|
25
|
+
static isInstance(obj: any): obj is Certificate;
|
26
|
+
/**
|
27
|
+
* 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
|
28
|
+
*/
|
29
|
+
readonly apiVersion: pulumi.Output<"cert-manager.io/v1">;
|
30
|
+
/**
|
31
|
+
* 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
|
32
|
+
*/
|
33
|
+
readonly kind: pulumi.Output<"Certificate">;
|
34
|
+
/**
|
35
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
36
|
+
*/
|
37
|
+
readonly metadata: pulumi.Output<ObjectMeta>;
|
38
|
+
readonly spec: pulumi.Output<outputs.cert_manager.v1.CertificateSpec>;
|
39
|
+
readonly status: pulumi.Output<outputs.cert_manager.v1.CertificateStatus>;
|
40
|
+
/**
|
41
|
+
* Create a Certificate resource with the given unique name, arguments, and options.
|
42
|
+
*
|
43
|
+
* @param name The _unique_ name of the resource.
|
44
|
+
* @param args The arguments to use to populate this resource's properties.
|
45
|
+
* @param opts A bag of options that control this resource's behavior.
|
46
|
+
*/
|
47
|
+
constructor(name: string, args?: CertificateArgs, opts?: pulumi.CustomResourceOptions);
|
48
|
+
}
|
49
|
+
/**
|
50
|
+
* The set of arguments for constructing a Certificate resource.
|
51
|
+
*/
|
52
|
+
export interface CertificateArgs {
|
53
|
+
/**
|
54
|
+
* 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
|
55
|
+
*/
|
56
|
+
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
|
57
|
+
/**
|
58
|
+
* 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
|
59
|
+
*/
|
60
|
+
kind?: pulumi.Input<"Certificate">;
|
61
|
+
/**
|
62
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
63
|
+
*/
|
64
|
+
metadata?: pulumi.Input<ObjectMeta>;
|
65
|
+
spec?: pulumi.Input<inputs.cert_manager.v1.CertificateSpec>;
|
66
|
+
}
|
@@ -0,0 +1,67 @@
|
|
1
|
+
"use strict";
|
2
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
5
|
+
exports.Certificate = void 0;
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
7
|
+
const utilities = require("../../utilities");
|
8
|
+
/**
|
9
|
+
* A Certificate resource should be created to ensure an up to date and signed
|
10
|
+
* X.509 certificate is stored in the Kubernetes Secret resource named in `spec.secretName`.
|
11
|
+
*
|
12
|
+
* The stored certificate will be renewed before it expires (as configured by `spec.renewBefore`).
|
13
|
+
*/
|
14
|
+
class Certificate extends pulumi.CustomResource {
|
15
|
+
/**
|
16
|
+
* Get an existing Certificate 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
|
+
static get(name, id, opts) {
|
24
|
+
return new Certificate(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
25
|
+
}
|
26
|
+
/**
|
27
|
+
* Returns true if the given object is an instance of Certificate. This is designed to work even
|
28
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
29
|
+
*/
|
30
|
+
static isInstance(obj) {
|
31
|
+
if (obj === undefined || obj === null) {
|
32
|
+
return false;
|
33
|
+
}
|
34
|
+
return obj['__pulumiType'] === Certificate.__pulumiType;
|
35
|
+
}
|
36
|
+
/**
|
37
|
+
* Create a Certificate resource with the given unique name, arguments, and options.
|
38
|
+
*
|
39
|
+
* @param name The _unique_ name of the resource.
|
40
|
+
* @param args The arguments to use to populate this resource's properties.
|
41
|
+
* @param opts A bag of options that control this resource's behavior.
|
42
|
+
*/
|
43
|
+
constructor(name, args, opts) {
|
44
|
+
let resourceInputs = {};
|
45
|
+
opts = opts || {};
|
46
|
+
if (!opts.id) {
|
47
|
+
resourceInputs["apiVersion"] = "cert-manager.io/v1";
|
48
|
+
resourceInputs["kind"] = "Certificate";
|
49
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
50
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
51
|
+
resourceInputs["status"] = undefined /*out*/;
|
52
|
+
}
|
53
|
+
else {
|
54
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
55
|
+
resourceInputs["kind"] = undefined /*out*/;
|
56
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
57
|
+
resourceInputs["spec"] = undefined /*out*/;
|
58
|
+
resourceInputs["status"] = undefined /*out*/;
|
59
|
+
}
|
60
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
61
|
+
super(Certificate.__pulumiType, name, resourceInputs, opts);
|
62
|
+
}
|
63
|
+
}
|
64
|
+
exports.Certificate = Certificate;
|
65
|
+
/** @internal */
|
66
|
+
Certificate.__pulumiType = 'kubernetes:cert-manager.io/v1:Certificate';
|
67
|
+
//# sourceMappingURL=certificate.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"certificate.js","sourceRoot":"","sources":["../../../cert_manager/v1/certificate.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAI7C;;;;;GAKG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,WAAW,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC;YACpC,OAAO,KAAK,CAAC;QACjB,CAAC;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IAiBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAsB,EAAE,IAAmC;QACjF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;YACX,cAAc,CAAC,YAAY,CAAC,GAAG,oBAAoB,CAAC;YACpD,cAAc,CAAC,MAAM,CAAC,GAAG,aAAa,CAAC;YACvC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;QACjD,CAAC;aAAM,CAAC;YACJ,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;QACjD,CAAC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAnEL,kCAoEC;AAvDG,gBAAgB;AACO,wBAAY,GAAG,2CAA2C,CAAC"}
|
@@ -0,0 +1,67 @@
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
2
|
+
import * as inputs from "../../types/input";
|
3
|
+
import * as outputs from "../../types/output";
|
4
|
+
/**
|
5
|
+
* CertificateList is a list of Certificate
|
6
|
+
*/
|
7
|
+
export declare class CertificateList extends pulumi.CustomResource {
|
8
|
+
/**
|
9
|
+
* Get an existing CertificateList resource's state with the given name, ID, and optional extra
|
10
|
+
* properties used to qualify the lookup.
|
11
|
+
*
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
14
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
15
|
+
*/
|
16
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CertificateList;
|
17
|
+
/**
|
18
|
+
* Returns true if the given object is an instance of CertificateList. This is designed to work even
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
20
|
+
*/
|
21
|
+
static isInstance(obj: any): obj is CertificateList;
|
22
|
+
/**
|
23
|
+
* 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
|
24
|
+
*/
|
25
|
+
readonly apiVersion: pulumi.Output<"cert-manager.io/v1">;
|
26
|
+
/**
|
27
|
+
* List of certificates. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
28
|
+
*/
|
29
|
+
readonly items: pulumi.Output<outputs.cert_manager.v1.Certificate[]>;
|
30
|
+
/**
|
31
|
+
* 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
|
32
|
+
*/
|
33
|
+
readonly kind: pulumi.Output<"CertificateList">;
|
34
|
+
/**
|
35
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
36
|
+
*/
|
37
|
+
readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
|
38
|
+
/**
|
39
|
+
* Create a CertificateList resource with the given unique name, arguments, and options.
|
40
|
+
*
|
41
|
+
* @param name The _unique_ name of the resource.
|
42
|
+
* @param args The arguments to use to populate this resource's properties.
|
43
|
+
* @param opts A bag of options that control this resource's behavior.
|
44
|
+
*/
|
45
|
+
constructor(name: string, args?: CertificateListArgs, opts?: pulumi.CustomResourceOptions);
|
46
|
+
}
|
47
|
+
/**
|
48
|
+
* The set of arguments for constructing a CertificateList resource.
|
49
|
+
*/
|
50
|
+
export interface CertificateListArgs {
|
51
|
+
/**
|
52
|
+
* 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
|
53
|
+
*/
|
54
|
+
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
|
55
|
+
/**
|
56
|
+
* List of certificates. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
57
|
+
*/
|
58
|
+
items: pulumi.Input<pulumi.Input<inputs.cert_manager.v1.Certificate>[]>;
|
59
|
+
/**
|
60
|
+
* 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
|
61
|
+
*/
|
62
|
+
kind?: pulumi.Input<"CertificateList">;
|
63
|
+
/**
|
64
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
65
|
+
*/
|
66
|
+
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
67
|
+
}
|