@pulumi/harness 0.9.0-alpha.1760594654 → 0.9.0-alpha.1761104282

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 (40) hide show
  1. package/cluster/getOrchestratorConfig.d.ts +12 -0
  2. package/cluster/getOrchestratorConfig.js +2 -0
  3. package/cluster/getOrchestratorConfig.js.map +1 -1
  4. package/cluster/orchestratorConfig.d.ts +13 -0
  5. package/cluster/orchestratorConfig.js +3 -0
  6. package/cluster/orchestratorConfig.js.map +1 -1
  7. package/package.json +2 -2
  8. package/platform/dbInstance.d.ts +19 -19
  9. package/platform/dbInstance.js +3 -3
  10. package/platform/dbInstance.js.map +1 -1
  11. package/platform/getDbInstance.d.ts +18 -18
  12. package/platform/getDbInstance.js +2 -2
  13. package/platform/getDbInstance.js.map +1 -1
  14. package/platform/getInfraModule.d.ts +110 -0
  15. package/platform/getInfraModule.js +18 -0
  16. package/platform/getInfraModule.js.map +1 -1
  17. package/platform/getInfraModuleTesting.d.ts +225 -0
  18. package/platform/getInfraModuleTesting.js +50 -0
  19. package/platform/getInfraModuleTesting.js.map +1 -0
  20. package/platform/getInfraModules.d.ts +41 -0
  21. package/platform/getInfraModules.js +42 -0
  22. package/platform/getInfraModules.js.map +1 -0
  23. package/platform/getPipelineCentralNotificationRule.d.ts +0 -36
  24. package/platform/getPipelineCentralNotificationRule.js.map +1 -1
  25. package/platform/gitOpsApplications.d.ts +0 -2
  26. package/platform/gitOpsApplications.js +0 -2
  27. package/platform/gitOpsApplications.js.map +1 -1
  28. package/platform/gitopsApplicationset.d.ts +157 -3
  29. package/platform/gitopsApplicationset.js +157 -3
  30. package/platform/gitopsApplicationset.js.map +1 -1
  31. package/platform/index.d.ts +9 -0
  32. package/platform/index.js +16 -5
  33. package/platform/index.js.map +1 -1
  34. package/platform/infraModuleTesting.d.ts +304 -0
  35. package/platform/infraModuleTesting.js +133 -0
  36. package/platform/infraModuleTesting.js.map +1 -0
  37. package/platform/pipelineCentralNotificationRule.d.ts +9 -0
  38. package/platform/pipelineCentralNotificationRule.js.map +1 -1
  39. package/types/input.d.ts +1143 -74
  40. package/types/output.d.ts +1201 -126
@@ -0,0 +1,225 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Data source for retrieving modules testing metadata from the module registry.
6
+ */
7
+ export declare function getInfraModuleTesting(args: GetInfraModuleTestingArgs, opts?: pulumi.InvokeOptions): Promise<GetInfraModuleTestingResult>;
8
+ /**
9
+ * A collection of arguments for invoking getInfraModuleTesting.
10
+ */
11
+ export interface GetInfraModuleTestingArgs {
12
+ /**
13
+ * Identifier of the module to enable testing for
14
+ */
15
+ moduleId: string;
16
+ /**
17
+ * Organization identifier
18
+ */
19
+ org: string;
20
+ /**
21
+ * List of pipeline IDs to create webhooks for triggering test executions
22
+ */
23
+ pipelines: string[];
24
+ /**
25
+ * Project identifier
26
+ */
27
+ project: string;
28
+ /**
29
+ * Provider connector for testing purposes
30
+ */
31
+ providerConnector: string;
32
+ provisionerType: string;
33
+ /**
34
+ * Provisioner version for testing purposes
35
+ */
36
+ provisionerVersion: string;
37
+ /**
38
+ * Pipeline ID to create webhooks for releases
39
+ */
40
+ releasePipeline?: string;
41
+ /**
42
+ * Whether testing is enabled for the module
43
+ */
44
+ testingEnabled?: boolean;
45
+ /**
46
+ * Testing metadata for the module
47
+ */
48
+ testingMetadata?: inputs.platform.GetInfraModuleTestingTestingMetadata;
49
+ /**
50
+ * Timestamp when the module was last modified
51
+ */
52
+ updated?: number;
53
+ /**
54
+ * Versions of the module
55
+ */
56
+ versions?: string[];
57
+ }
58
+ /**
59
+ * A collection of values returned by getInfraModuleTesting.
60
+ */
61
+ export interface GetInfraModuleTestingResult {
62
+ /**
63
+ * Account that owns the module
64
+ */
65
+ readonly account: string;
66
+ /**
67
+ * Timestamp when the module was created
68
+ */
69
+ readonly created: number;
70
+ /**
71
+ * Description of the module
72
+ */
73
+ readonly description: string;
74
+ /**
75
+ * Git Tag Style
76
+ */
77
+ readonly gitTagStyle: string;
78
+ /**
79
+ * The provider-assigned unique ID for this managed resource.
80
+ */
81
+ readonly id: string;
82
+ /**
83
+ * Error while retrieving the module
84
+ */
85
+ readonly moduleError: string;
86
+ /**
87
+ * Identifier of the module to enable testing for
88
+ */
89
+ readonly moduleId: string;
90
+ /**
91
+ * Name of the module
92
+ */
93
+ readonly name: string;
94
+ /**
95
+ * Organization identifier
96
+ */
97
+ readonly org: string;
98
+ /**
99
+ * List of pipeline IDs to create webhooks for triggering test executions
100
+ */
101
+ readonly pipelines: string[];
102
+ /**
103
+ * Project identifier
104
+ */
105
+ readonly project: string;
106
+ /**
107
+ * Provider connector for testing purposes
108
+ */
109
+ readonly providerConnector: string;
110
+ readonly provisionerType: string;
111
+ /**
112
+ * Provisioner version for testing purposes
113
+ */
114
+ readonly provisionerVersion: string;
115
+ /**
116
+ * Pipeline ID to create webhooks for releases
117
+ */
118
+ readonly releasePipeline?: string;
119
+ /**
120
+ * For account connectors, the repository where the module is stored
121
+ */
122
+ readonly repository: string;
123
+ /**
124
+ * Repository Branch in which the module should be accessed
125
+ */
126
+ readonly repositoryBranch: string;
127
+ /**
128
+ * Repository Commit in which the module should be accessed
129
+ */
130
+ readonly repositoryCommit: string;
131
+ /**
132
+ * Repository Connector is the reference to the connector for the repository
133
+ */
134
+ readonly repositoryConnector: string;
135
+ /**
136
+ * Repository Path is the path in which the module resides
137
+ */
138
+ readonly repositoryPath: string;
139
+ /**
140
+ * URL where the module is stored
141
+ */
142
+ readonly repositoryUrl: string;
143
+ /**
144
+ * Timestamp when the module was last synced
145
+ */
146
+ readonly synced: number;
147
+ /**
148
+ * Provider of the module
149
+ */
150
+ readonly system: string;
151
+ /**
152
+ * Tags associated with the module
153
+ */
154
+ readonly tags: string;
155
+ /**
156
+ * Whether testing is enabled for the module
157
+ */
158
+ readonly testingEnabled: boolean;
159
+ /**
160
+ * Testing metadata for the module
161
+ */
162
+ readonly testingMetadata: outputs.platform.GetInfraModuleTestingTestingMetadata;
163
+ /**
164
+ * Timestamp when the module was last modified
165
+ */
166
+ readonly updated: number;
167
+ /**
168
+ * Versions of the module
169
+ */
170
+ readonly versions: string[];
171
+ }
172
+ /**
173
+ * Data source for retrieving modules testing metadata from the module registry.
174
+ */
175
+ export declare function getInfraModuleTestingOutput(args: GetInfraModuleTestingOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInfraModuleTestingResult>;
176
+ /**
177
+ * A collection of arguments for invoking getInfraModuleTesting.
178
+ */
179
+ export interface GetInfraModuleTestingOutputArgs {
180
+ /**
181
+ * Identifier of the module to enable testing for
182
+ */
183
+ moduleId: pulumi.Input<string>;
184
+ /**
185
+ * Organization identifier
186
+ */
187
+ org: pulumi.Input<string>;
188
+ /**
189
+ * List of pipeline IDs to create webhooks for triggering test executions
190
+ */
191
+ pipelines: pulumi.Input<pulumi.Input<string>[]>;
192
+ /**
193
+ * Project identifier
194
+ */
195
+ project: pulumi.Input<string>;
196
+ /**
197
+ * Provider connector for testing purposes
198
+ */
199
+ providerConnector: pulumi.Input<string>;
200
+ provisionerType: pulumi.Input<string>;
201
+ /**
202
+ * Provisioner version for testing purposes
203
+ */
204
+ provisionerVersion: pulumi.Input<string>;
205
+ /**
206
+ * Pipeline ID to create webhooks for releases
207
+ */
208
+ releasePipeline?: pulumi.Input<string>;
209
+ /**
210
+ * Whether testing is enabled for the module
211
+ */
212
+ testingEnabled?: pulumi.Input<boolean>;
213
+ /**
214
+ * Testing metadata for the module
215
+ */
216
+ testingMetadata?: pulumi.Input<inputs.platform.GetInfraModuleTestingTestingMetadataArgs>;
217
+ /**
218
+ * Timestamp when the module was last modified
219
+ */
220
+ updated?: pulumi.Input<number>;
221
+ /**
222
+ * Versions of the module
223
+ */
224
+ versions?: pulumi.Input<pulumi.Input<string>[]>;
225
+ }
@@ -0,0 +1,50 @@
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.getInfraModuleTestingOutput = exports.getInfraModuleTesting = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data source for retrieving modules testing metadata from the module registry.
10
+ */
11
+ function getInfraModuleTesting(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("harness:platform/getInfraModuleTesting:getInfraModuleTesting", {
14
+ "moduleId": args.moduleId,
15
+ "org": args.org,
16
+ "pipelines": args.pipelines,
17
+ "project": args.project,
18
+ "providerConnector": args.providerConnector,
19
+ "provisionerType": args.provisionerType,
20
+ "provisionerVersion": args.provisionerVersion,
21
+ "releasePipeline": args.releasePipeline,
22
+ "testingEnabled": args.testingEnabled,
23
+ "testingMetadata": args.testingMetadata,
24
+ "updated": args.updated,
25
+ "versions": args.versions,
26
+ }, opts);
27
+ }
28
+ exports.getInfraModuleTesting = getInfraModuleTesting;
29
+ /**
30
+ * Data source for retrieving modules testing metadata from the module registry.
31
+ */
32
+ function getInfraModuleTestingOutput(args, opts) {
33
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
34
+ return pulumi.runtime.invokeOutput("harness:platform/getInfraModuleTesting:getInfraModuleTesting", {
35
+ "moduleId": args.moduleId,
36
+ "org": args.org,
37
+ "pipelines": args.pipelines,
38
+ "project": args.project,
39
+ "providerConnector": args.providerConnector,
40
+ "provisionerType": args.provisionerType,
41
+ "provisionerVersion": args.provisionerVersion,
42
+ "releasePipeline": args.releasePipeline,
43
+ "testingEnabled": args.testingEnabled,
44
+ "testingMetadata": args.testingMetadata,
45
+ "updated": args.updated,
46
+ "versions": args.versions,
47
+ }, opts);
48
+ }
49
+ exports.getInfraModuleTestingOutput = getInfraModuleTestingOutput;
50
+ //# sourceMappingURL=getInfraModuleT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EAAE,IAAI,CAAC,SAAS;QAC3B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAhBD,kEAgBC"}
@@ -0,0 +1,41 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data source for retrieving a list of modules from the module registry.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as harness from "@pulumi/harness";
11
+ *
12
+ * const all = harness.platform.getInfraModules({});
13
+ * ```
14
+ */
15
+ export declare function getInfraModules(opts?: pulumi.InvokeOptions): Promise<GetInfraModulesResult>;
16
+ /**
17
+ * A collection of values returned by getInfraModules.
18
+ */
19
+ export interface GetInfraModulesResult {
20
+ /**
21
+ * The provider-assigned unique ID for this managed resource.
22
+ */
23
+ readonly id: string;
24
+ /**
25
+ * List of modules
26
+ */
27
+ readonly modules: outputs.platform.GetInfraModulesModule[];
28
+ }
29
+ /**
30
+ * Data source for retrieving a list of modules from the module registry.
31
+ *
32
+ * ## Example Usage
33
+ *
34
+ * ```typescript
35
+ * import * as pulumi from "@pulumi/pulumi";
36
+ * import * as harness from "@pulumi/harness";
37
+ *
38
+ * const all = harness.platform.getInfraModules({});
39
+ * ```
40
+ */
41
+ export declare function getInfraModulesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInfraModulesResult>;
@@ -0,0 +1,42 @@
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.getInfraModulesOutput = exports.getInfraModules = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data source for retrieving a list of modules from the module registry.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as harness from "@pulumi/harness";
16
+ *
17
+ * const all = harness.platform.getInfraModules({});
18
+ * ```
19
+ */
20
+ function getInfraModules(opts) {
21
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
22
+ return pulumi.runtime.invoke("harness:platform/getInfraModules:getInfraModules", {}, opts);
23
+ }
24
+ exports.getInfraModules = getInfraModules;
25
+ /**
26
+ * Data source for retrieving a list of modules from the module registry.
27
+ *
28
+ * ## Example Usage
29
+ *
30
+ * ```typescript
31
+ * import * as pulumi from "@pulumi/pulumi";
32
+ * import * as harness from "@pulumi/harness";
33
+ *
34
+ * const all = harness.platform.getInfraModules({});
35
+ * ```
36
+ */
37
+ function getInfraModulesOutput(opts) {
38
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
39
+ return pulumi.runtime.invokeOutput("harness:platform/getInfraModules:getInfraModules", {}, opts);
40
+ }
41
+ exports.getInfraModulesOutput = getInfraModulesOutput;
42
+ //# sourceMappingURL=getInfraModules.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getInfraModules.js","sourceRoot":"","sources":["../../platform/getInfraModules.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;GAWG;AACH,SAAgB,eAAe,CAAC,IAA2B;IACvD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE,EAChF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0CAIC;AAeD;;;;;;;;;;;GAWG;AACH,SAAgB,qBAAqB,CAAC,IAAiC;IACnE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kDAAkD,EAAE,EACtF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sDAIC"}
@@ -10,20 +10,11 @@ export declare function getPipelineCentralNotificationRule(args: GetPipelineCent
10
10
  */
11
11
  export interface GetPipelineCentralNotificationRuleArgs {
12
12
  customNotificationTemplateRef?: inputs.platform.GetPipelineCentralNotificationRuleCustomNotificationTemplateRef;
13
- /**
14
- * Identifier of the Notification Rule.
15
- */
16
13
  identifier: string;
17
14
  name: string;
18
15
  notificationChannelRefs?: string[];
19
16
  notificationConditions?: inputs.platform.GetPipelineCentralNotificationRuleNotificationCondition[];
20
- /**
21
- * Identifier of the organization in which the Notification Rule is configured.
22
- */
23
17
  org?: string;
24
- /**
25
- * Identifier of the project in which the Notification Rule is configured.
26
- */
27
18
  project?: string;
28
19
  status?: string;
29
20
  }
@@ -31,37 +22,19 @@ export interface GetPipelineCentralNotificationRuleArgs {
31
22
  * A collection of values returned by getPipelineCentralNotificationRule.
32
23
  */
33
24
  export interface GetPipelineCentralNotificationRuleResult {
34
- /**
35
- * Account identifier associated with this notification channel.
36
- */
37
25
  readonly account: string;
38
- /**
39
- * Timestamp when the notification rule was created.
40
- */
41
26
  readonly created: number;
42
27
  readonly customNotificationTemplateRef?: outputs.platform.GetPipelineCentralNotificationRuleCustomNotificationTemplateRef;
43
28
  /**
44
29
  * The provider-assigned unique ID for this managed resource.
45
30
  */
46
31
  readonly id: string;
47
- /**
48
- * Identifier of the Notification Rule.
49
- */
50
32
  readonly identifier: string;
51
- /**
52
- * Timestamp when the notification rule was last modified.
53
- */
54
33
  readonly lastModified: number;
55
34
  readonly name: string;
56
35
  readonly notificationChannelRefs?: string[];
57
36
  readonly notificationConditions?: outputs.platform.GetPipelineCentralNotificationRuleNotificationCondition[];
58
- /**
59
- * Identifier of the organization in which the Notification Rule is configured.
60
- */
61
37
  readonly org?: string;
62
- /**
63
- * Identifier of the project in which the Notification Rule is configured.
64
- */
65
38
  readonly project?: string;
66
39
  readonly status?: string;
67
40
  }
@@ -74,20 +47,11 @@ export declare function getPipelineCentralNotificationRuleOutput(args: GetPipeli
74
47
  */
75
48
  export interface GetPipelineCentralNotificationRuleOutputArgs {
76
49
  customNotificationTemplateRef?: pulumi.Input<inputs.platform.GetPipelineCentralNotificationRuleCustomNotificationTemplateRefArgs>;
77
- /**
78
- * Identifier of the Notification Rule.
79
- */
80
50
  identifier: pulumi.Input<string>;
81
51
  name: pulumi.Input<string>;
82
52
  notificationChannelRefs?: pulumi.Input<pulumi.Input<string>[]>;
83
53
  notificationConditions?: pulumi.Input<pulumi.Input<inputs.platform.GetPipelineCentralNotificationRuleNotificationConditionArgs>[]>;
84
- /**
85
- * Identifier of the organization in which the Notification Rule is configured.
86
- */
87
54
  org?: pulumi.Input<string>;
88
- /**
89
- * Identifier of the project in which the Notification Rule is configured.
90
- */
91
55
  project?: pulumi.Input<string>;
92
56
  status?: pulumi.Input<string>;
93
57
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getPipelineCentralNotificationRule.js","sourceRoot":"","sources":["../../platform/getPipelineCentralNotificationRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wFAAwF,EAAE;QACnH,+BAA+B,EAAE,IAAI,CAAC,6BAA6B;QACnE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,yBAAyB,EAAE,IAAI,CAAC,uBAAuB;QACvD,wBAAwB,EAAE,IAAI,CAAC,sBAAsB;QACrD,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,gFAYC;AA+DD;;GAEG;AACH,SAAgB,wCAAwC,CAAC,IAAkD,EAAE,IAAiC;IAC1I,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wFAAwF,EAAE;QACzH,+BAA+B,EAAE,IAAI,CAAC,6BAA6B;QACnE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,yBAAyB,EAAE,IAAI,CAAC,uBAAuB;QACvD,wBAAwB,EAAE,IAAI,CAAC,sBAAsB;QACrD,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,4FAYC"}
1
+ {"version":3,"file":"getPipelineCentralNotificationRule.js","sourceRoot":"","sources":["../../platform/getPipelineCentralNotificationRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;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- * The `pulumi import` command can be used, for example:
61
- *
62
60
  * Import a Project level Gitops Application
63
61
  *
64
62
  * ```sh
@@ -61,8 +61,6 @@ const utilities = require("../utilities");
61
61
  *
62
62
  * ## Import
63
63
  *
64
- * The `pulumi import` command can be used, for example:
65
- *
66
64
  * Import a Project level Gitops Application
67
65
  *
68
66
  * ```sh
@@ -1 +1 @@
1
- {"version":3,"file":"gitOpsApplications.js","sourceRoot":"","sources":["../../platform/gitOpsApplications.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IAuFD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,SAAS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AAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,iCAAiC,CAAC,GAAG,IAAI,EAAE,+BAA+B,CAAC;YAC1F,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,EAAE,wBAAwB,CAAC;YAC5E,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AA9KL,gDA+KC;AAjKG,gBAAgB;AACO,+BAAY,GAAG,wDAAwD,CAAC"}
@@ -10,14 +10,15 @@ import * as outputs from "../types/output";
10
10
  * import * as pulumi from "@pulumi/pulumi";
11
11
  * import * as harness from "@pulumi/harness";
12
12
  *
13
- * const testFixed = new harness.platform.GitopsApplicationset("test_fixed", {
13
+ * // Example 1: Cluster Generator
14
+ * const clusterGenerator = new harness.platform.GitopsApplicationset("cluster_generator", {
14
15
  * orgId: "default",
15
16
  * projectId: "projectId",
16
17
  * agentId: "account.agentuseast1",
17
18
  * upsert: true,
18
19
  * applicationset: {
19
20
  * metadata: {
20
- * name: "tf-appset",
21
+ * name: "cluster-appset",
21
22
  * namespace: "argocd",
22
23
  * },
23
24
  * spec: {
@@ -33,7 +34,6 @@ import * as outputs from "../types/output";
33
34
  * name: "{{.name}}-guestbook",
34
35
  * labels: {
35
36
  * env: "dev",
36
- * "harness.io/serviceRef": "svc1",
37
37
  * },
38
38
  * },
39
39
  * spec: {
@@ -52,6 +52,160 @@ import * as outputs from "../types/output";
52
52
  * },
53
53
  * },
54
54
  * });
55
+ * // Example 2: List Generator
56
+ * const listGenerator = new harness.platform.GitopsApplicationset("list_generator", {
57
+ * orgId: "default",
58
+ * projectId: "projectId",
59
+ * agentId: "account.agentuseast1",
60
+ * upsert: true,
61
+ * applicationset: {
62
+ * metadata: {
63
+ * name: "list-appset",
64
+ * },
65
+ * spec: {
66
+ * goTemplate: true,
67
+ * goTemplateOptions: ["missingkey=error"],
68
+ * generators: [{
69
+ * lists: [{
70
+ * elements: [
71
+ * {
72
+ * cluster: "engineering-dev",
73
+ * url: "https://kubernetes.default.svc",
74
+ * },
75
+ * {
76
+ * cluster: "engineering-prod",
77
+ * url: "https://kubernetes.prod.svc",
78
+ * },
79
+ * ],
80
+ * }],
81
+ * }],
82
+ * template: {
83
+ * metadata: {
84
+ * name: "{{.cluster}}-guestbook",
85
+ * },
86
+ * spec: {
87
+ * project: "default",
88
+ * sources: [{
89
+ * repoUrl: "https://github.com/argoproj/argocd-example-apps.git",
90
+ * path: "helm-guestbook",
91
+ * targetRevision: "HEAD",
92
+ * }],
93
+ * destination: {
94
+ * server: "{{.url}}",
95
+ * namespace: "default",
96
+ * },
97
+ * },
98
+ * },
99
+ * },
100
+ * },
101
+ * });
102
+ * // Example 3: Git Generator with Files
103
+ * const gitFiles = new harness.platform.GitopsApplicationset("git_files", {
104
+ * orgId: "default",
105
+ * projectId: "projectId",
106
+ * agentId: "account.agentuseast1",
107
+ * upsert: true,
108
+ * applicationset: {
109
+ * metadata: {
110
+ * name: "git-files-appset",
111
+ * },
112
+ * spec: {
113
+ * generators: [{
114
+ * gits: [{
115
+ * repoUrl: "https://github.com/example/config-repo",
116
+ * revision: "main",
117
+ * files: [{
118
+ * path: "apps/*&#47;config.json",
119
+ * }],
120
+ * }],
121
+ * }],
122
+ * template: {
123
+ * metadata: {
124
+ * name: "{{.path.basename}}-app",
125
+ * },
126
+ * spec: {
127
+ * project: "default",
128
+ * sources: [{
129
+ * repoUrl: "https://github.com/example/app-repo",
130
+ * path: "{{.path.path}}",
131
+ * targetRevision: "main",
132
+ * }],
133
+ * destination: {
134
+ * server: "https://kubernetes.default.svc",
135
+ * namespace: "{{.path.basename}}",
136
+ * },
137
+ * },
138
+ * },
139
+ * },
140
+ * },
141
+ * });
142
+ * // Example 4: Git Generator with Directories
143
+ * const gitDirectories = new harness.platform.GitopsApplicationset("git_directories", {
144
+ * orgId: "default",
145
+ * projectId: "projectId",
146
+ * agentId: "account.agentuseast1",
147
+ * upsert: true,
148
+ * applicationset: {
149
+ * metadata: {
150
+ * name: "git-directories-appset",
151
+ * },
152
+ * spec: {
153
+ * generators: [{
154
+ * gits: [{
155
+ * repoUrl: "https://github.com/argoproj/argo-cd.git",
156
+ * revision: "HEAD",
157
+ * directories: [{
158
+ * path: "applicationset/examples/git-generator-directory/cluster-addons/*",
159
+ * exclude: false,
160
+ * }],
161
+ * }],
162
+ * }],
163
+ * template: {
164
+ * metadata: {
165
+ * name: "{{.path.basename}}-addon",
166
+ * },
167
+ * spec: {
168
+ * project: "default",
169
+ * sources: [{
170
+ * repoUrl: "https://github.com/argoproj/argo-cd.git",
171
+ * path: "{{.path.path}}",
172
+ * targetRevision: "HEAD",
173
+ * }],
174
+ * destination: {
175
+ * server: "https://kubernetes.default.svc",
176
+ * namespace: "{{.path.basename}}",
177
+ * },
178
+ * syncPolicy: {
179
+ * automated: {
180
+ * prune: true,
181
+ * selfHeal: true,
182
+ * },
183
+ * },
184
+ * },
185
+ * },
186
+ * },
187
+ * },
188
+ * });
189
+ * ```
190
+ *
191
+ * ## Import
192
+ *
193
+ * Import gitOps applicationset with account level agent, agent id has account prefix #
194
+ *
195
+ * ```sh
196
+ * $ pulumi import harness:platform/gitopsApplicationset:GitopsApplicationset example <organization_id>/<project_id>/<agent_id>/<identifier>
197
+ * ```
198
+ *
199
+ * Import gitOps applicationset with org level agent, agent id has org prefix #
200
+ *
201
+ * ```sh
202
+ * $ pulumi import harness:platform/gitopsApplicationset:GitopsApplicationset example <organization_id>/<project_id>/<agent_id>/<identifier>
203
+ * ```
204
+ *
205
+ * Import gitOps applicationset with project level agent #
206
+ *
207
+ * ```sh
208
+ * $ pulumi import harness:platform/gitopsApplicationset:GitopsApplicationset example <organization_id>/<project_id>/<agent_id>/<identifier>
55
209
  * ```
56
210
  */
57
211
  export declare class GitopsApplicationset extends pulumi.CustomResource {