@kilic.dev/pulumi-k8s-crds 1.0.0 → 1.0.1
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/dist/argoproj/index.js +28 -2
- package/dist/argoproj/v1alpha1/appProject.js +30 -3
- package/dist/argoproj/v1alpha1/application.js +30 -3
- package/dist/argoproj/v1alpha1/applicationSet.js +30 -3
- package/dist/argoproj/v1alpha1/index.js +34 -8
- package/dist/index.js +36 -8
- package/dist/meta/v1.js +2 -1
- package/dist/postgresql/index.js +28 -2
- package/dist/postgresql/v1/backup.js +31 -4
- package/dist/postgresql/v1/cluster.js +31 -4
- package/dist/postgresql/v1/clusterImageCatalog.js +30 -3
- package/dist/postgresql/v1/imageCatalog.js +30 -3
- package/dist/postgresql/v1/index.js +40 -14
- package/dist/postgresql/v1/pooler.js +31 -4
- package/dist/postgresql/v1/scheduledBackup.js +31 -4
- package/dist/provider.js +30 -3
- package/dist/types/index.js +30 -3
- package/dist/types/input.js +30 -4
- package/dist/types/output.js +29 -3
- package/dist/utilities.js +42 -9
- package/package.json +1 -1
package/dist/argoproj/index.js
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.v1alpha1 = void 0;
|
|
3
29
|
// Export sub-modules:
|
|
4
|
-
|
|
5
|
-
|
|
30
|
+
const v1alpha1 = __importStar(require("./v1alpha1"));
|
|
31
|
+
exports.v1alpha1 = v1alpha1;
|
|
@@ -1,7 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.AppProject = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../../utilities"));
|
|
5
31
|
/**
|
|
6
32
|
* AppProject provides a logical grouping of applications, providing controls for:
|
|
7
33
|
* * where the apps may deploy to (cluster whitelist)
|
|
@@ -10,7 +36,7 @@ import * as utilities from "../../utilities";
|
|
|
10
36
|
* * and what they can do (RBAC policies)
|
|
11
37
|
* * automation access to these roles (JWT tokens)
|
|
12
38
|
*/
|
|
13
|
-
|
|
39
|
+
class AppProject extends pulumi.CustomResource {
|
|
14
40
|
/**
|
|
15
41
|
* Get an existing AppProject resource's state with the given name, ID, and optional extra
|
|
16
42
|
* properties used to qualify the lookup.
|
|
@@ -73,3 +99,4 @@ export class AppProject extends pulumi.CustomResource {
|
|
|
73
99
|
super(AppProject.__pulumiType, name, resourceInputs, opts);
|
|
74
100
|
}
|
|
75
101
|
}
|
|
102
|
+
exports.AppProject = AppProject;
|
|
@@ -1,11 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.Application = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../../utilities"));
|
|
5
31
|
/**
|
|
6
32
|
* Application is a definition of Application resource.
|
|
7
33
|
*/
|
|
8
|
-
|
|
34
|
+
class Application extends pulumi.CustomResource {
|
|
9
35
|
/**
|
|
10
36
|
* Get an existing Application resource's state with the given name, ID, and optional extra
|
|
11
37
|
* properties used to qualify the lookup.
|
|
@@ -74,3 +100,4 @@ export class Application extends pulumi.CustomResource {
|
|
|
74
100
|
super(Application.__pulumiType, name, resourceInputs, opts);
|
|
75
101
|
}
|
|
76
102
|
}
|
|
103
|
+
exports.Application = Application;
|
|
@@ -1,8 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.ApplicationSet = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../../utilities"));
|
|
31
|
+
class ApplicationSet extends pulumi.CustomResource {
|
|
6
32
|
/**
|
|
7
33
|
* Get an existing ApplicationSet resource's state with the given name, ID, and optional extra
|
|
8
34
|
* properties used to qualify the lookup.
|
|
@@ -59,3 +85,4 @@ export class ApplicationSet extends pulumi.CustomResource {
|
|
|
59
85
|
super(ApplicationSet.__pulumiType, name, resourceInputs, opts);
|
|
60
86
|
}
|
|
61
87
|
}
|
|
88
|
+
exports.ApplicationSet = ApplicationSet;
|
|
@@ -1,23 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.ApplicationSet = exports.Application = exports.AppProject = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../../utilities"));
|
|
31
|
+
exports.AppProject = null;
|
|
6
32
|
utilities.lazyLoad(exports, ["AppProject"], () => require("./appProject"));
|
|
7
|
-
|
|
33
|
+
exports.Application = null;
|
|
8
34
|
utilities.lazyLoad(exports, ["Application"], () => require("./application"));
|
|
9
|
-
|
|
35
|
+
exports.ApplicationSet = null;
|
|
10
36
|
utilities.lazyLoad(exports, ["ApplicationSet"], () => require("./applicationSet"));
|
|
11
37
|
const _module = {
|
|
12
38
|
version: utilities.getVersion(),
|
|
13
39
|
construct: (name, type, urn) => {
|
|
14
40
|
switch (type) {
|
|
15
41
|
case "kubernetes:argoproj.io/v1alpha1:AppProject":
|
|
16
|
-
return new AppProject(name, undefined, { urn });
|
|
42
|
+
return new exports.AppProject(name, undefined, { urn });
|
|
17
43
|
case "kubernetes:argoproj.io/v1alpha1:Application":
|
|
18
|
-
return new Application(name, undefined, { urn });
|
|
44
|
+
return new exports.Application(name, undefined, { urn });
|
|
19
45
|
case "kubernetes:argoproj.io/v1alpha1:ApplicationSet":
|
|
20
|
-
return new ApplicationSet(name, undefined, { urn });
|
|
46
|
+
return new exports.ApplicationSet(name, undefined, { urn });
|
|
21
47
|
default:
|
|
22
48
|
throw new Error(`unknown resource type ${type}`);
|
|
23
49
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,20 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.types = exports.postgresql = exports.argoproj = exports.Provider = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
exports.Provider = null;
|
|
6
32
|
utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
|
|
7
33
|
// Export sub-modules:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
34
|
+
const argoproj = __importStar(require("./argoproj"));
|
|
35
|
+
exports.argoproj = argoproj;
|
|
36
|
+
const postgresql = __importStar(require("./postgresql"));
|
|
37
|
+
exports.postgresql = postgresql;
|
|
38
|
+
const types = __importStar(require("./types"));
|
|
39
|
+
exports.types = types;
|
|
12
40
|
pulumi.runtime.registerResourcePackage("pulumi-k8s-crds", {
|
|
13
41
|
version: utilities.getVersion(),
|
|
14
42
|
constructProvider: (name, type, urn) => {
|
|
15
43
|
if (type !== "pulumi:providers:crds") {
|
|
16
44
|
throw new Error(`unknown provider type ${type}`);
|
|
17
45
|
}
|
|
18
|
-
return new Provider(name, undefined, { urn });
|
|
46
|
+
return new exports.Provider(name, undefined, { urn });
|
|
19
47
|
},
|
|
20
48
|
});
|
package/dist/meta/v1.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/postgresql/index.js
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.v1 = void 0;
|
|
3
29
|
// Export sub-modules:
|
|
4
|
-
|
|
5
|
-
|
|
30
|
+
const v1 = __importStar(require("./v1"));
|
|
31
|
+
exports.v1 = v1;
|
|
@@ -1,12 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.Backup = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const inputs = __importStar(require("../../types/input"));
|
|
31
|
+
const utilities = __importStar(require("../../utilities"));
|
|
6
32
|
/**
|
|
7
33
|
* Backup is the Schema for the backups API
|
|
8
34
|
*/
|
|
9
|
-
|
|
35
|
+
class Backup extends pulumi.CustomResource {
|
|
10
36
|
/**
|
|
11
37
|
* Get an existing Backup resource's state with the given name, ID, and optional extra
|
|
12
38
|
* properties used to qualify the lookup.
|
|
@@ -72,3 +98,4 @@ export class Backup extends pulumi.CustomResource {
|
|
|
72
98
|
super(Backup.__pulumiType, name, resourceInputs, opts);
|
|
73
99
|
}
|
|
74
100
|
}
|
|
101
|
+
exports.Backup = Backup;
|
|
@@ -1,12 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.Cluster = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const inputs = __importStar(require("../../types/input"));
|
|
31
|
+
const utilities = __importStar(require("../../utilities"));
|
|
6
32
|
/**
|
|
7
33
|
* Cluster is the Schema for the PostgreSQL API
|
|
8
34
|
*/
|
|
9
|
-
|
|
35
|
+
class Cluster extends pulumi.CustomResource {
|
|
10
36
|
/**
|
|
11
37
|
* Get an existing Cluster resource's state with the given name, ID, and optional extra
|
|
12
38
|
* properties used to qualify the lookup.
|
|
@@ -72,3 +98,4 @@ export class Cluster extends pulumi.CustomResource {
|
|
|
72
98
|
super(Cluster.__pulumiType, name, resourceInputs, opts);
|
|
73
99
|
}
|
|
74
100
|
}
|
|
101
|
+
exports.Cluster = Cluster;
|
|
@@ -1,11 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.ClusterImageCatalog = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../../utilities"));
|
|
5
31
|
/**
|
|
6
32
|
* ClusterImageCatalog is the Schema for the clusterimagecatalogs API
|
|
7
33
|
*/
|
|
8
|
-
|
|
34
|
+
class ClusterImageCatalog extends pulumi.CustomResource {
|
|
9
35
|
/**
|
|
10
36
|
* Get an existing ClusterImageCatalog resource's state with the given name, ID, and optional extra
|
|
11
37
|
* properties used to qualify the lookup.
|
|
@@ -63,3 +89,4 @@ export class ClusterImageCatalog extends pulumi.CustomResource {
|
|
|
63
89
|
super(ClusterImageCatalog.__pulumiType, name, resourceInputs, opts);
|
|
64
90
|
}
|
|
65
91
|
}
|
|
92
|
+
exports.ClusterImageCatalog = ClusterImageCatalog;
|
|
@@ -1,11 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.ImageCatalog = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../../utilities"));
|
|
5
31
|
/**
|
|
6
32
|
* ImageCatalog is the Schema for the imagecatalogs API
|
|
7
33
|
*/
|
|
8
|
-
|
|
34
|
+
class ImageCatalog extends pulumi.CustomResource {
|
|
9
35
|
/**
|
|
10
36
|
* Get an existing ImageCatalog resource's state with the given name, ID, and optional extra
|
|
11
37
|
* properties used to qualify the lookup.
|
|
@@ -63,3 +89,4 @@ export class ImageCatalog extends pulumi.CustomResource {
|
|
|
63
89
|
super(ImageCatalog.__pulumiType, name, resourceInputs, opts);
|
|
64
90
|
}
|
|
65
91
|
}
|
|
92
|
+
exports.ImageCatalog = ImageCatalog;
|
|
@@ -1,35 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.ScheduledBackup = exports.Pooler = exports.ImageCatalog = exports.ClusterImageCatalog = exports.Cluster = exports.Backup = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../../utilities"));
|
|
31
|
+
exports.Backup = null;
|
|
6
32
|
utilities.lazyLoad(exports, ["Backup"], () => require("./backup"));
|
|
7
|
-
|
|
33
|
+
exports.Cluster = null;
|
|
8
34
|
utilities.lazyLoad(exports, ["Cluster"], () => require("./cluster"));
|
|
9
|
-
|
|
35
|
+
exports.ClusterImageCatalog = null;
|
|
10
36
|
utilities.lazyLoad(exports, ["ClusterImageCatalog"], () => require("./clusterImageCatalog"));
|
|
11
|
-
|
|
37
|
+
exports.ImageCatalog = null;
|
|
12
38
|
utilities.lazyLoad(exports, ["ImageCatalog"], () => require("./imageCatalog"));
|
|
13
|
-
|
|
39
|
+
exports.Pooler = null;
|
|
14
40
|
utilities.lazyLoad(exports, ["Pooler"], () => require("./pooler"));
|
|
15
|
-
|
|
41
|
+
exports.ScheduledBackup = null;
|
|
16
42
|
utilities.lazyLoad(exports, ["ScheduledBackup"], () => require("./scheduledBackup"));
|
|
17
43
|
const _module = {
|
|
18
44
|
version: utilities.getVersion(),
|
|
19
45
|
construct: (name, type, urn) => {
|
|
20
46
|
switch (type) {
|
|
21
47
|
case "kubernetes:postgresql.cnpg.io/v1:Backup":
|
|
22
|
-
return new Backup(name, undefined, { urn });
|
|
48
|
+
return new exports.Backup(name, undefined, { urn });
|
|
23
49
|
case "kubernetes:postgresql.cnpg.io/v1:Cluster":
|
|
24
|
-
return new Cluster(name, undefined, { urn });
|
|
50
|
+
return new exports.Cluster(name, undefined, { urn });
|
|
25
51
|
case "kubernetes:postgresql.cnpg.io/v1:ClusterImageCatalog":
|
|
26
|
-
return new ClusterImageCatalog(name, undefined, { urn });
|
|
52
|
+
return new exports.ClusterImageCatalog(name, undefined, { urn });
|
|
27
53
|
case "kubernetes:postgresql.cnpg.io/v1:ImageCatalog":
|
|
28
|
-
return new ImageCatalog(name, undefined, { urn });
|
|
54
|
+
return new exports.ImageCatalog(name, undefined, { urn });
|
|
29
55
|
case "kubernetes:postgresql.cnpg.io/v1:Pooler":
|
|
30
|
-
return new Pooler(name, undefined, { urn });
|
|
56
|
+
return new exports.Pooler(name, undefined, { urn });
|
|
31
57
|
case "kubernetes:postgresql.cnpg.io/v1:ScheduledBackup":
|
|
32
|
-
return new ScheduledBackup(name, undefined, { urn });
|
|
58
|
+
return new exports.ScheduledBackup(name, undefined, { urn });
|
|
33
59
|
default:
|
|
34
60
|
throw new Error(`unknown resource type ${type}`);
|
|
35
61
|
}
|
|
@@ -1,12 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.Pooler = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const inputs = __importStar(require("../../types/input"));
|
|
31
|
+
const utilities = __importStar(require("../../utilities"));
|
|
6
32
|
/**
|
|
7
33
|
* Pooler is the Schema for the poolers API
|
|
8
34
|
*/
|
|
9
|
-
|
|
35
|
+
class Pooler extends pulumi.CustomResource {
|
|
10
36
|
/**
|
|
11
37
|
* Get an existing Pooler resource's state with the given name, ID, and optional extra
|
|
12
38
|
* properties used to qualify the lookup.
|
|
@@ -72,3 +98,4 @@ export class Pooler extends pulumi.CustomResource {
|
|
|
72
98
|
super(Pooler.__pulumiType, name, resourceInputs, opts);
|
|
73
99
|
}
|
|
74
100
|
}
|
|
101
|
+
exports.Pooler = Pooler;
|
|
@@ -1,12 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.ScheduledBackup = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const inputs = __importStar(require("../../types/input"));
|
|
31
|
+
const utilities = __importStar(require("../../utilities"));
|
|
6
32
|
/**
|
|
7
33
|
* ScheduledBackup is the Schema for the scheduledbackups API
|
|
8
34
|
*/
|
|
9
|
-
|
|
35
|
+
class ScheduledBackup extends pulumi.CustomResource {
|
|
10
36
|
/**
|
|
11
37
|
* Get an existing ScheduledBackup resource's state with the given name, ID, and optional extra
|
|
12
38
|
* properties used to qualify the lookup.
|
|
@@ -72,3 +98,4 @@ export class ScheduledBackup extends pulumi.CustomResource {
|
|
|
72
98
|
super(ScheduledBackup.__pulumiType, name, resourceInputs, opts);
|
|
73
99
|
}
|
|
74
100
|
}
|
|
101
|
+
exports.ScheduledBackup = ScheduledBackup;
|
package/dist/provider.js
CHANGED
|
@@ -1,8 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.Provider = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
class Provider extends pulumi.ProviderResource {
|
|
6
32
|
/** @internal */
|
|
7
33
|
static __pulumiType = 'pulumi-k8s-crds';
|
|
8
34
|
/**
|
|
@@ -31,3 +57,4 @@ export class Provider extends pulumi.ProviderResource {
|
|
|
31
57
|
super(Provider.__pulumiType, name, resourceInputs, opts);
|
|
32
58
|
}
|
|
33
59
|
}
|
|
60
|
+
exports.Provider = Provider;
|
package/dist/types/index.js
CHANGED
|
@@ -1,6 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.output = exports.input = void 0;
|
|
3
29
|
// Export sub-modules:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
30
|
+
const input = __importStar(require("./input"));
|
|
31
|
+
exports.input = input;
|
|
32
|
+
const output = __importStar(require("./output"));
|
|
33
|
+
exports.output = output;
|
package/dist/types/input.js
CHANGED
|
@@ -1,8 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.postgresql = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const inputs = __importStar(require("../types/input"));
|
|
31
|
+
var postgresql;
|
|
6
32
|
(function (postgresql) {
|
|
7
33
|
let v1;
|
|
8
34
|
(function (v1) {
|
|
@@ -987,4 +1013,4 @@ export var postgresql;
|
|
|
987
1013
|
}
|
|
988
1014
|
v1.scheduledBackupSpecOnlineConfigurationArgsProvideDefaults = scheduledBackupSpecOnlineConfigurationArgsProvideDefaults;
|
|
989
1015
|
})(v1 = postgresql.v1 || (postgresql.v1 = {}));
|
|
990
|
-
})(postgresql || (postgresql = {}));
|
|
1016
|
+
})(postgresql || (exports.postgresql = postgresql = {}));
|
package/dist/types/output.js
CHANGED
|
@@ -1,7 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.postgresql = void 0;
|
|
29
|
+
const outputs = __importStar(require("../types/output"));
|
|
30
|
+
var postgresql;
|
|
5
31
|
(function (postgresql) {
|
|
6
32
|
let v1;
|
|
7
33
|
(function (v1) {
|
|
@@ -986,4 +1012,4 @@ export var postgresql;
|
|
|
986
1012
|
}
|
|
987
1013
|
v1.scheduledBackupSpecOnlineConfigurationProvideDefaults = scheduledBackupSpecOnlineConfigurationProvideDefaults;
|
|
988
1014
|
})(v1 = postgresql.v1 || (postgresql.v1 = {}));
|
|
989
|
-
})(postgresql || (postgresql = {}));
|
|
1015
|
+
})(postgresql || (exports.postgresql = postgresql = {}));
|
package/dist/utilities.js
CHANGED
|
@@ -1,7 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getVersion = void 0;
|
|
29
|
+
exports.getEnv = getEnv;
|
|
30
|
+
exports.getEnvBoolean = getEnvBoolean;
|
|
31
|
+
exports.getEnvNumber = getEnvNumber;
|
|
32
|
+
exports.resourceOptsDefaults = resourceOptsDefaults;
|
|
33
|
+
exports.lazyLoad = lazyLoad;
|
|
34
|
+
exports.callAsync = callAsync;
|
|
35
|
+
const runtime = __importStar(require("@pulumi/pulumi/runtime"));
|
|
36
|
+
function getEnv(...vars) {
|
|
5
37
|
for (const v of vars) {
|
|
6
38
|
const value = process.env[v];
|
|
7
39
|
if (value) {
|
|
@@ -10,7 +42,7 @@ export function getEnv(...vars) {
|
|
|
10
42
|
}
|
|
11
43
|
return undefined;
|
|
12
44
|
}
|
|
13
|
-
|
|
45
|
+
function getEnvBoolean(...vars) {
|
|
14
46
|
const s = getEnv(...vars);
|
|
15
47
|
if (s !== undefined) {
|
|
16
48
|
// NOTE: these values are taken from https://golang.org/src/strconv/atob.go?s=351:391#L1, which is what
|
|
@@ -24,7 +56,7 @@ export function getEnvBoolean(...vars) {
|
|
|
24
56
|
}
|
|
25
57
|
return undefined;
|
|
26
58
|
}
|
|
27
|
-
|
|
59
|
+
function getEnvNumber(...vars) {
|
|
28
60
|
const s = getEnv(...vars);
|
|
29
61
|
if (s !== undefined) {
|
|
30
62
|
const f = parseFloat(s);
|
|
@@ -34,7 +66,8 @@ export function getEnvNumber(...vars) {
|
|
|
34
66
|
}
|
|
35
67
|
return undefined;
|
|
36
68
|
}
|
|
37
|
-
|
|
69
|
+
const getVersion = () => "4.5.5";
|
|
70
|
+
exports.getVersion = getVersion;
|
|
38
71
|
function unusedGetVersion() {
|
|
39
72
|
let version = require('./package.json').version;
|
|
40
73
|
// Node allows for the version to be prefixed by a "v", while semver doesn't.
|
|
@@ -45,11 +78,11 @@ function unusedGetVersion() {
|
|
|
45
78
|
return version;
|
|
46
79
|
}
|
|
47
80
|
/** @internal */
|
|
48
|
-
|
|
49
|
-
return { version: getVersion() };
|
|
81
|
+
function resourceOptsDefaults() {
|
|
82
|
+
return { version: (0, exports.getVersion)() };
|
|
50
83
|
}
|
|
51
84
|
/** @internal */
|
|
52
|
-
|
|
85
|
+
function lazyLoad(exports, props, loadModule) {
|
|
53
86
|
for (let property of props) {
|
|
54
87
|
Object.defineProperty(exports, property, {
|
|
55
88
|
enumerable: true,
|
|
@@ -59,7 +92,7 @@ export function lazyLoad(exports, props, loadModule) {
|
|
|
59
92
|
});
|
|
60
93
|
}
|
|
61
94
|
}
|
|
62
|
-
|
|
95
|
+
async function callAsync(tok, props, res, opts) {
|
|
63
96
|
const o = runtime.call(tok, props, res);
|
|
64
97
|
const value = await o.promise(true /*withUnknowns*/);
|
|
65
98
|
const isKnown = await o.isKnown;
|