@bambamboole/coolify 0.4.1 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/README.md +1 -1
  2. package/application.d.ts +258 -16
  3. package/application.d.ts.map +1 -0
  4. package/application.js +37 -9
  5. package/application.js.map +1 -0
  6. package/config/index.d.ts.map +1 -1
  7. package/config/index.js.map +1 -1
  8. package/config/vars.d.ts +4 -4
  9. package/config/vars.d.ts.map +1 -1
  10. package/config/vars.js +3 -2
  11. package/config/vars.js.map +1 -1
  12. package/database.d.ts +95 -17
  13. package/database.d.ts.map +1 -0
  14. package/database.js +17 -15
  15. package/database.js.map +1 -0
  16. package/deployment.d.ts +32 -3
  17. package/deployment.d.ts.map +1 -0
  18. package/deployment.js +3 -1
  19. package/deployment.js.map +1 -0
  20. package/gitHubApp.d.ts +146 -0
  21. package/gitHubApp.d.ts.map +1 -0
  22. package/gitHubApp.js +127 -0
  23. package/gitHubApp.js.map +1 -0
  24. package/index.d.ts +9 -1
  25. package/index.d.ts.map +1 -0
  26. package/index.js +16 -1
  27. package/index.js.map +1 -0
  28. package/package.json +4 -17
  29. package/privateKey.d.ts +27 -4
  30. package/privateKey.d.ts.map +1 -0
  31. package/privateKey.js +6 -1
  32. package/privateKey.js.map +1 -0
  33. package/project.d.ts +13 -4
  34. package/project.d.ts.map +1 -0
  35. package/project.js +1 -1
  36. package/project.js.map +1 -0
  37. package/provider.d.ts +7 -7
  38. package/provider.d.ts.map +1 -0
  39. package/provider.js +2 -5
  40. package/provider.js.map +1 -0
  41. package/s3storage.d.ts +46 -5
  42. package/s3storage.d.ts.map +1 -0
  43. package/s3storage.js +5 -1
  44. package/s3storage.js.map +1 -0
  45. package/scheduledTask.d.ts +94 -0
  46. package/scheduledTask.d.ts.map +1 -0
  47. package/scheduledTask.js +105 -0
  48. package/scheduledTask.js.map +1 -0
  49. package/server.d.ts +39 -3
  50. package/server.d.ts.map +1 -0
  51. package/server.js +3 -3
  52. package/server.js.map +1 -0
  53. package/types/enums/index.d.ts +59 -0
  54. package/types/enums/index.d.ts.map +1 -0
  55. package/types/enums/index.js +62 -0
  56. package/types/enums/index.js.map +1 -0
  57. package/types/index.d.ts +5 -0
  58. package/types/index.d.ts.map +1 -0
  59. package/types/index.js +36 -0
  60. package/types/index.js.map +1 -0
  61. package/types/input.d.ts +2 -0
  62. package/types/input.d.ts.map +1 -0
  63. package/{config/index.ts → types/input.js} +3 -3
  64. package/types/input.js.map +1 -0
  65. package/types/output.d.ts +2 -0
  66. package/types/output.d.ts.map +1 -0
  67. package/types/output.js +5 -0
  68. package/types/output.js.map +1 -0
  69. package/utilities.d.ts.map +1 -0
  70. package/utilities.js.map +1 -0
  71. package/application.ts +0 -181
  72. package/config/vars.ts +0 -31
  73. package/database.ts +0 -146
  74. package/deployment.ts +0 -100
  75. package/index.ts +0 -88
  76. package/privateKey.ts +0 -85
  77. package/project.ts +0 -90
  78. package/provider.ts +0 -70
  79. package/s3storage.ts +0 -114
  80. package/server.ts +0 -99
  81. package/utilities.ts +0 -96
@@ -0,0 +1,105 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.ScheduledTask = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * A scheduled task (cron job) on a Coolify application. An existing task with the same name on the application is adopted on create.
33
+ */
34
+ class ScheduledTask extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing ScheduledTask resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name, id, opts) {
44
+ return new ScheduledTask(name, undefined, { ...opts, id: id });
45
+ }
46
+ /** @internal */
47
+ static __pulumiType = 'coolify:index:ScheduledTask';
48
+ /**
49
+ * Returns true if the given object is an instance of ScheduledTask. This is designed to work even
50
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
+ */
52
+ static isInstance(obj) {
53
+ if (obj === undefined || obj === null) {
54
+ return false;
55
+ }
56
+ return obj['__pulumiType'] === ScheduledTask.__pulumiType;
57
+ }
58
+ /**
59
+ * Create a ScheduledTask resource with the given unique name, arguments, and options.
60
+ *
61
+ * @param name The _unique_ name of the resource.
62
+ * @param args The arguments to use to populate this resource's properties.
63
+ * @param opts A bag of options that control this resource's behavior.
64
+ */
65
+ constructor(name, args, opts) {
66
+ let resourceInputs = {};
67
+ opts = opts || {};
68
+ if (!opts.id) {
69
+ if (args?.applicationUuid === undefined && !opts.urn) {
70
+ throw new Error("Missing required property 'applicationUuid'");
71
+ }
72
+ if (args?.command === undefined && !opts.urn) {
73
+ throw new Error("Missing required property 'command'");
74
+ }
75
+ if (args?.frequency === undefined && !opts.urn) {
76
+ throw new Error("Missing required property 'frequency'");
77
+ }
78
+ if (args?.name === undefined && !opts.urn) {
79
+ throw new Error("Missing required property 'name'");
80
+ }
81
+ resourceInputs["applicationUuid"] = args?.applicationUuid;
82
+ resourceInputs["command"] = args?.command;
83
+ resourceInputs["container"] = args?.container;
84
+ resourceInputs["enabled"] = (args?.enabled) ?? true;
85
+ resourceInputs["frequency"] = args?.frequency;
86
+ resourceInputs["name"] = args?.name;
87
+ resourceInputs["timeout"] = args?.timeout;
88
+ resourceInputs["uuid"] = undefined /*out*/;
89
+ }
90
+ else {
91
+ resourceInputs["applicationUuid"] = undefined /*out*/;
92
+ resourceInputs["command"] = undefined /*out*/;
93
+ resourceInputs["container"] = undefined /*out*/;
94
+ resourceInputs["enabled"] = undefined /*out*/;
95
+ resourceInputs["frequency"] = undefined /*out*/;
96
+ resourceInputs["name"] = undefined /*out*/;
97
+ resourceInputs["timeout"] = undefined /*out*/;
98
+ resourceInputs["uuid"] = undefined /*out*/;
99
+ }
100
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
101
+ super(ScheduledTask.__pulumiType, name, resourceInputs, opts);
102
+ }
103
+ }
104
+ exports.ScheduledTask = ScheduledTask;
105
+ //# sourceMappingURL=scheduledTask.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scheduledTask.js","sourceRoot":"","sources":["../scheduledTask.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;GAEG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,aAAa,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAA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AS,CAAC;YAC9C,cAAc,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,EAAE,OAAO,CAAC,IAAI,IAAI,CAAC;YACpD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;aAAM;YACH,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAvGL,sCAwGC"}
package/server.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * A Coolify server connected over SSH with a Coolify private key.
3
+ * A Coolify server connected over SSH with a Coolify private key. An existing server with the same name is adopted on create.
4
4
  */
5
5
  export declare class Server extends pulumi.CustomResource {
6
6
  /**
@@ -17,12 +17,33 @@ export declare class Server extends pulumi.CustomResource {
17
17
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
18
  */
19
19
  static isInstance(obj: any): obj is Server;
20
- readonly description: pulumi.Output<string>;
20
+ /**
21
+ * Description of the server.
22
+ */
23
+ readonly description: pulumi.Output<string | undefined>;
24
+ /**
25
+ * IP address or hostname of the server.
26
+ */
21
27
  readonly ip: pulumi.Output<string>;
28
+ /**
29
+ * Name of the server. An existing server with this name is adopted.
30
+ */
22
31
  readonly name: pulumi.Output<string>;
32
+ /**
33
+ * SSH port.
34
+ */
23
35
  readonly port: pulumi.Output<number>;
36
+ /**
37
+ * UUID of the Coolify private key used to connect (the uuid output of a PrivateKey resource).
38
+ */
24
39
  readonly privateKeyUuid: pulumi.Output<string>;
40
+ /**
41
+ * SSH user.
42
+ */
25
43
  readonly user: pulumi.Output<string>;
44
+ /**
45
+ * UUID of the server in Coolify.
46
+ */
26
47
  readonly uuid: pulumi.Output<string>;
27
48
  /**
28
49
  * Create a Server resource with the given unique name, arguments, and options.
@@ -37,14 +58,29 @@ export declare class Server extends pulumi.CustomResource {
37
58
  * The set of arguments for constructing a Server resource.
38
59
  */
39
60
  export interface ServerArgs {
61
+ /**
62
+ * Description of the server.
63
+ */
40
64
  description?: pulumi.Input<string | undefined>;
65
+ /**
66
+ * IP address or hostname of the server.
67
+ */
41
68
  ip: pulumi.Input<string>;
69
+ /**
70
+ * Name of the server. An existing server with this name is adopted.
71
+ */
42
72
  name: pulumi.Input<string>;
73
+ /**
74
+ * SSH port.
75
+ */
43
76
  port?: pulumi.Input<number | undefined>;
44
77
  /**
45
- * UUID of the Coolify private key used to connect. Usually the id output of a PrivateKey resource.
78
+ * UUID of the Coolify private key used to connect (the uuid output of a PrivateKey resource).
46
79
  */
47
80
  privateKeyUuid: pulumi.Input<string>;
81
+ /**
82
+ * SSH user.
83
+ */
48
84
  user?: pulumi.Input<string | undefined>;
49
85
  }
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AAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACzB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACrC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3C"}
package/server.js CHANGED
@@ -29,7 +29,7 @@ exports.Server = void 0;
29
29
  const pulumi = __importStar(require("@pulumi/pulumi"));
30
30
  const utilities = __importStar(require("./utilities"));
31
31
  /**
32
- * A Coolify server connected over SSH with a Coolify private key.
32
+ * A Coolify server connected over SSH with a Coolify private key. An existing server with the same name is adopted on create.
33
33
  */
34
34
  class Server extends pulumi.CustomResource {
35
35
  /**
@@ -78,9 +78,9 @@ class Server extends pulumi.CustomResource {
78
78
  resourceInputs["description"] = args?.description;
79
79
  resourceInputs["ip"] = args?.ip;
80
80
  resourceInputs["name"] = args?.name;
81
- resourceInputs["port"] = args?.port;
81
+ resourceInputs["port"] = (args?.port) ?? 22;
82
82
  resourceInputs["privateKeyUuid"] = args?.privateKeyUuid;
83
- resourceInputs["user"] = args?.user;
83
+ resourceInputs["user"] = (args?.user) ?? "root";
84
84
  resourceInputs["uuid"] = undefined /*out*/;
85
85
  }
86
86
  else {
package/server.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"server.js","sourceRoot":"","sources":["../server.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;GAEG;AAC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AC;YAChC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC;YAC5C,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,MAAM,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;aAAM;YACH,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzC,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AA9FL,wBA+FC"}
@@ -0,0 +1,59 @@
1
+ export declare const ApplicationSource: {
2
+ /**
3
+ * Public git repository.
4
+ */
5
+ readonly PublicGit: "public-git";
6
+ /**
7
+ * Private git repository accessed with a Coolify private key.
8
+ */
9
+ readonly PrivateDeployKey: "private-deploy-key";
10
+ /**
11
+ * Private GitHub repository accessed through a GitHub App.
12
+ */
13
+ readonly PrivateGitHubApp: "private-github-app";
14
+ /**
15
+ * Prebuilt image from a Docker registry.
16
+ */
17
+ readonly DockerImage: "docker-image";
18
+ /**
19
+ * Inline Dockerfile.
20
+ */
21
+ readonly Dockerfile: "dockerfile";
22
+ };
23
+ export type ApplicationSource = (typeof ApplicationSource)[keyof typeof ApplicationSource];
24
+ export declare const DatabaseType: {
25
+ /**
26
+ * PostgreSQL
27
+ */
28
+ readonly PostgreSQL: "postgresql";
29
+ /**
30
+ * MySQL
31
+ */
32
+ readonly MySQL: "mysql";
33
+ /**
34
+ * MariaDB
35
+ */
36
+ readonly MariaDB: "mariadb";
37
+ /**
38
+ * MongoDB
39
+ */
40
+ readonly MongoDB: "mongodb";
41
+ /**
42
+ * Redis
43
+ */
44
+ readonly Redis: "redis";
45
+ /**
46
+ * KeyDB
47
+ */
48
+ readonly KeyDB: "keydb";
49
+ /**
50
+ * Dragonfly
51
+ */
52
+ readonly Dragonfly: "dragonfly";
53
+ /**
54
+ * ClickHouse
55
+ */
56
+ readonly ClickHouse: "clickhouse";
57
+ };
58
+ export type DatabaseType = (typeof DatabaseType)[keyof typeof DatabaseType];
59
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../types/enums/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB;IAC1B;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;CAEG,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAC;AAE3F,eAAO,MAAM,YAAY;IACrB;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;CAEG,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC"}
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.DatabaseType = exports.ApplicationSource = void 0;
6
+ exports.ApplicationSource = {
7
+ /**
8
+ * Public git repository.
9
+ */
10
+ PublicGit: "public-git",
11
+ /**
12
+ * Private git repository accessed with a Coolify private key.
13
+ */
14
+ PrivateDeployKey: "private-deploy-key",
15
+ /**
16
+ * Private GitHub repository accessed through a GitHub App.
17
+ */
18
+ PrivateGitHubApp: "private-github-app",
19
+ /**
20
+ * Prebuilt image from a Docker registry.
21
+ */
22
+ DockerImage: "docker-image",
23
+ /**
24
+ * Inline Dockerfile.
25
+ */
26
+ Dockerfile: "dockerfile",
27
+ };
28
+ exports.DatabaseType = {
29
+ /**
30
+ * PostgreSQL
31
+ */
32
+ PostgreSQL: "postgresql",
33
+ /**
34
+ * MySQL
35
+ */
36
+ MySQL: "mysql",
37
+ /**
38
+ * MariaDB
39
+ */
40
+ MariaDB: "mariadb",
41
+ /**
42
+ * MongoDB
43
+ */
44
+ MongoDB: "mongodb",
45
+ /**
46
+ * Redis
47
+ */
48
+ Redis: "redis",
49
+ /**
50
+ * KeyDB
51
+ */
52
+ KeyDB: "keydb",
53
+ /**
54
+ * Dragonfly
55
+ */
56
+ Dragonfly: "dragonfly",
57
+ /**
58
+ * ClickHouse
59
+ */
60
+ ClickHouse: "clickhouse",
61
+ };
62
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../types/enums/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAGpE,QAAA,iBAAiB,GAAG;IAC7B;;OAEG;IACH,SAAS,EAAE,YAAY;IACvB;;OAEG;IACH,gBAAgB,EAAE,oBAAoB;IACtC;;OAEG;IACH,gBAAgB,EAAE,oBAAoB;IACtC;;OAEG;IACH,WAAW,EAAE,cAAc;IAC3B;;OAEG;IACH,UAAU,EAAE,YAAY;CAClB,CAAC;AAIE,QAAA,YAAY,GAAG;IACxB;;OAEG;IACH,UAAU,EAAE,YAAY;IACxB;;OAEG;IACH,KAAK,EAAE,OAAO;IACd;;OAEG;IACH,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,KAAK,EAAE,OAAO;IACd;;OAEG;IACH,KAAK,EAAE,OAAO;IACd;;OAEG;IACH,SAAS,EAAE,WAAW;IACtB;;OAEG;IACH,UAAU,EAAE,YAAY;CAClB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import * as enums from "./enums";
2
+ import * as input from "./input";
3
+ import * as output from "./output";
4
+ export { enums, input, output, };
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AAEnC,OAAO,EACH,KAAK,EACL,KAAK,EACL,MAAM,GACT,CAAC"}
package/types/index.js ADDED
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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 = exports.enums = void 0;
29
+ // Export sub-modules:
30
+ const enums = __importStar(require("./enums"));
31
+ exports.enums = enums;
32
+ const input = __importStar(require("./input"));
33
+ exports.input = input;
34
+ const output = __importStar(require("./output"));
35
+ exports.output = output;
36
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,sBAAsB;AACtB,+CAAiC;AAK7B,sBAAK;AAJT,+CAAiC;AAK7B,sBAAK;AAJT,iDAAmC;AAK/B,wBAAM"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../types/input.ts"],"names":[],"mappings":""}
@@ -1,5 +1,5 @@
1
+ "use strict";
1
2
  // *** WARNING: this file was generated by pulumi-language-nodejs. ***
2
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
-
4
- // Export members:
5
- export * from "./vars";
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ //# sourceMappingURL=input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input.js","sourceRoot":"","sources":["../../types/input.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=output.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output.d.ts","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ //# sourceMappingURL=output.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":"AAOA,wBAAgB,MAAM,CAAC,GAAG,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,SAAS,CAQ5D;AAED,wBAAgB,aAAa,CAAC,GAAG,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,GAAG,SAAS,CAapE;AAED,wBAAgB,YAAY,CAAC,GAAG,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,SAAS,CASlE;AAED,wBAAgB,UAAU,IAAI,MAAM,CAQnC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAGjF,gEAAkD;AAGlD,SAAgB,MAAM,CAAC,GAAG,IAAc;IACpC,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE;QAClB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QAC7B,IAAI,KAAK,EAAE;YACP,OAAO,KAAK,CAAC;SAChB;KACJ;IACD,O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AAE;QACvB,OAAO,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KAC/B;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAxBD,8BAwBC"}
package/application.ts DELETED
@@ -1,181 +0,0 @@
1
- // *** WARNING: this file was generated by pulumi-language-nodejs. ***
2
- // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
-
4
- import * as pulumi from "@pulumi/pulumi";
5
- import * as utilities from "./utilities";
6
-
7
- /**
8
- * A Coolify application built from a git repository, a Docker image, or a Dockerfile.
9
- */
10
- export class Application extends pulumi.CustomResource {
11
- /**
12
- * Get an existing Application resource's state with the given name, ID, and optional extra
13
- * properties used to qualify the lookup.
14
- *
15
- * @param name The _unique_ name of the resulting resource.
16
- * @param id The _unique_ provider ID of the resource to lookup.
17
- * @param opts Optional settings to control the behavior of the CustomResource.
18
- */
19
- public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Application {
20
- return new Application(name, undefined as any, { ...opts, id: id });
21
- }
22
-
23
- /** @internal */
24
- public static readonly __pulumiType = 'coolify:index:Application';
25
-
26
- /**
27
- * Returns true if the given object is an instance of Application. This is designed to work even
28
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
29
- */
30
- public static isInstance(obj: any): obj is Application {
31
- if (obj === undefined || obj === null) {
32
- return false;
33
- }
34
- return obj['__pulumiType'] === Application.__pulumiType;
35
- }
36
-
37
- declare public readonly autoDeployEnabled: pulumi.Output<boolean>;
38
- declare public readonly buildPack: pulumi.Output<string>;
39
- declare public readonly description: pulumi.Output<string>;
40
- declare public readonly environment: pulumi.Output<string>;
41
- declare public readonly environmentVariables: pulumi.Output<{[key: string]: string}>;
42
- /**
43
- * The FQDN Coolify exposes the application at.
44
- */
45
- declare public /*out*/ readonly fqdn: pulumi.Output<string>;
46
- declare public readonly gitBranch: pulumi.Output<string>;
47
- declare public readonly gitRepository: pulumi.Output<string>;
48
- declare public readonly name: pulumi.Output<string>;
49
- declare public readonly project: pulumi.Output<string>;
50
- declare public readonly serverUuid: pulumi.Output<string>;
51
- declare public readonly source: pulumi.Output<string>;
52
- /**
53
- * Status reported by Coolify.
54
- */
55
- declare public /*out*/ readonly status: pulumi.Output<string>;
56
- declare public /*out*/ readonly uuid: pulumi.Output<string>;
57
-
58
- /**
59
- * Create a Application resource with the given unique name, arguments, and options.
60
- *
61
- * @param name The _unique_ name of the resource.
62
- * @param args The arguments to use to populate this resource's properties.
63
- * @param opts A bag of options that control this resource's behavior.
64
- */
65
- constructor(name: string, args: ApplicationArgs, opts?: pulumi.CustomResourceOptions) {
66
- let resourceInputs: pulumi.Inputs = {};
67
- opts = opts || {};
68
- if (!opts.id) {
69
- if (args?.environment === undefined && !opts.urn) {
70
- throw new Error("Missing required property 'environment'");
71
- }
72
- if (args?.project === undefined && !opts.urn) {
73
- throw new Error("Missing required property 'project'");
74
- }
75
- if (args?.serverUuid === undefined && !opts.urn) {
76
- throw new Error("Missing required property 'serverUuid'");
77
- }
78
- resourceInputs["autoDeployEnabled"] = args?.autoDeployEnabled;
79
- resourceInputs["baseDirectory"] = args?.baseDirectory;
80
- resourceInputs["buildCommand"] = args?.buildCommand;
81
- resourceInputs["buildPack"] = args?.buildPack;
82
- resourceInputs["description"] = args?.description;
83
- resourceInputs["dockerRegistryImageName"] = args?.dockerRegistryImageName;
84
- resourceInputs["dockerRegistryImageTag"] = args?.dockerRegistryImageTag;
85
- resourceInputs["dockerfile"] = args?.dockerfile;
86
- resourceInputs["dockerfileLocation"] = args?.dockerfileLocation;
87
- resourceInputs["domains"] = args?.domains;
88
- resourceInputs["environment"] = args?.environment;
89
- resourceInputs["environmentVariables"] = args?.environmentVariables;
90
- resourceInputs["forceHttpsEnabled"] = args?.forceHttpsEnabled;
91
- resourceInputs["gitBranch"] = args?.gitBranch;
92
- resourceInputs["gitCommitSha"] = args?.gitCommitSha;
93
- resourceInputs["gitRepository"] = args?.gitRepository;
94
- resourceInputs["githubAppUuid"] = args?.githubAppUuid;
95
- resourceInputs["healthCheckEnabled"] = args?.healthCheckEnabled;
96
- resourceInputs["healthCheckMethod"] = args?.healthCheckMethod;
97
- resourceInputs["healthCheckPath"] = args?.healthCheckPath;
98
- resourceInputs["healthCheckPort"] = args?.healthCheckPort;
99
- resourceInputs["installCommand"] = args?.installCommand;
100
- resourceInputs["instantDeploy"] = args?.instantDeploy;
101
- resourceInputs["limitsCPUs"] = args?.limitsCPUs;
102
- resourceInputs["limitsMemory"] = args?.limitsMemory;
103
- resourceInputs["name"] = args?.name;
104
- resourceInputs["portsExposes"] = args?.portsExposes;
105
- resourceInputs["portsMappings"] = args?.portsMappings;
106
- resourceInputs["previewDeploymentsEnabled"] = args?.previewDeploymentsEnabled;
107
- resourceInputs["privateKeyUuid"] = args?.privateKeyUuid;
108
- resourceInputs["project"] = args?.project;
109
- resourceInputs["publishDirectory"] = args?.publishDirectory;
110
- resourceInputs["serverUuid"] = args?.serverUuid;
111
- resourceInputs["source"] = args?.source;
112
- resourceInputs["startCommand"] = args?.startCommand;
113
- resourceInputs["tags"] = args?.tags;
114
- resourceInputs["fqdn"] = undefined /*out*/;
115
- resourceInputs["status"] = undefined /*out*/;
116
- resourceInputs["uuid"] = undefined /*out*/;
117
- } else {
118
- resourceInputs["autoDeployEnabled"] = undefined /*out*/;
119
- resourceInputs["buildPack"] = undefined /*out*/;
120
- resourceInputs["description"] = undefined /*out*/;
121
- resourceInputs["environment"] = undefined /*out*/;
122
- resourceInputs["environmentVariables"] = undefined /*out*/;
123
- resourceInputs["fqdn"] = undefined /*out*/;
124
- resourceInputs["gitBranch"] = undefined /*out*/;
125
- resourceInputs["gitRepository"] = undefined /*out*/;
126
- resourceInputs["name"] = undefined /*out*/;
127
- resourceInputs["project"] = undefined /*out*/;
128
- resourceInputs["serverUuid"] = undefined /*out*/;
129
- resourceInputs["source"] = undefined /*out*/;
130
- resourceInputs["status"] = undefined /*out*/;
131
- resourceInputs["uuid"] = undefined /*out*/;
132
- }
133
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
134
- super(Application.__pulumiType, name, resourceInputs, opts);
135
- }
136
- }
137
-
138
- /**
139
- * The set of arguments for constructing a Application resource.
140
- */
141
- export interface ApplicationArgs {
142
- autoDeployEnabled?: pulumi.Input<boolean | undefined>;
143
- baseDirectory?: pulumi.Input<string | undefined>;
144
- buildCommand?: pulumi.Input<string | undefined>;
145
- buildPack?: pulumi.Input<string | undefined>;
146
- description?: pulumi.Input<string | undefined>;
147
- dockerRegistryImageName?: pulumi.Input<string | undefined>;
148
- dockerRegistryImageTag?: pulumi.Input<string | undefined>;
149
- dockerfile?: pulumi.Input<string | undefined>;
150
- dockerfileLocation?: pulumi.Input<string | undefined>;
151
- domains?: pulumi.Input<string | undefined>;
152
- environment: pulumi.Input<string>;
153
- /**
154
- * Environment variables applied to the application. Declared keys missing on the Coolify side are created as hidden values; existing keys are never patched and undeclared keys are left untouched.
155
- */
156
- environmentVariables?: pulumi.Input<{[key: string]: pulumi.Input<string>} | undefined>;
157
- forceHttpsEnabled?: pulumi.Input<boolean | undefined>;
158
- gitBranch?: pulumi.Input<string | undefined>;
159
- gitCommitSha?: pulumi.Input<string | undefined>;
160
- gitRepository?: pulumi.Input<string | undefined>;
161
- githubAppUuid?: pulumi.Input<string | undefined>;
162
- healthCheckEnabled?: pulumi.Input<boolean | undefined>;
163
- healthCheckMethod?: pulumi.Input<string | undefined>;
164
- healthCheckPath?: pulumi.Input<string | undefined>;
165
- healthCheckPort?: pulumi.Input<string | undefined>;
166
- installCommand?: pulumi.Input<string | undefined>;
167
- instantDeploy?: pulumi.Input<boolean | undefined>;
168
- limitsCPUs?: pulumi.Input<string | undefined>;
169
- limitsMemory?: pulumi.Input<string | undefined>;
170
- name?: pulumi.Input<string | undefined>;
171
- portsExposes?: pulumi.Input<string | undefined>;
172
- portsMappings?: pulumi.Input<string | undefined>;
173
- previewDeploymentsEnabled?: pulumi.Input<boolean | undefined>;
174
- privateKeyUuid?: pulumi.Input<string | undefined>;
175
- project: pulumi.Input<string>;
176
- publishDirectory?: pulumi.Input<string | undefined>;
177
- serverUuid: pulumi.Input<string>;
178
- source?: pulumi.Input<string | undefined>;
179
- startCommand?: pulumi.Input<string | undefined>;
180
- tags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
181
- }