@pulumi/harness 0.2.1 → 0.2.2-alpha.1723460743
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/package.json +2 -2
- package/platform/delegatetoken.d.ts +44 -21
- package/platform/delegatetoken.js +23 -0
- package/platform/delegatetoken.js.map +1 -1
- package/platform/gcpConnector.d.ts +12 -0
- package/platform/gcpConnector.js +2 -0
- package/platform/gcpConnector.js.map +1 -1
- package/platform/getDelegatetoken.d.ts +69 -0
- package/platform/getDelegatetoken.js +6 -0
- package/platform/getDelegatetoken.js.map +1 -1
- package/platform/getGcpConnector.d.ts +4 -0
- package/platform/getGcpConnector.js.map +1 -1
- package/platform/getGitxWebhook.d.ts +100 -0
- package/platform/getGitxWebhook.js +30 -0
- package/platform/getGitxWebhook.js.map +1 -0
- package/platform/getOverrides.d.ts +42 -0
- package/platform/getOverrides.js +22 -0
- package/platform/getOverrides.js.map +1 -0
- package/platform/getPolicy.d.ts +4 -8
- package/platform/getPolicy.js +1 -4
- package/platform/getPolicy.js.map +1 -1
- package/platform/gitConnector.d.ts +12 -0
- package/platform/gitConnector.js +2 -0
- package/platform/gitConnector.js.map +1 -1
- package/platform/gitxWebhook.d.ts +179 -0
- package/platform/gitxWebhook.js +99 -0
- package/platform/gitxWebhook.js.map +1 -0
- package/platform/index.d.ts +12 -0
- package/platform/index.js +21 -5
- package/platform/index.js.map +1 -1
- package/platform/overrides.d.ts +182 -0
- package/platform/overrides.js +77 -0
- package/platform/overrides.js.map +1 -0
- package/platform/policy.d.ts +120 -0
- package/platform/policy.js +20 -0
- package/platform/policy.js.map +1 -1
- package/platform/template.d.ts +5 -1160
- package/platform/template.js +5 -1160
- package/platform/template.js.map +1 -1
- package/types/input.d.ts +112 -0
- package/types/output.d.ts +116 -0
package/platform/getPolicy.d.ts
CHANGED
|
@@ -10,12 +10,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
*
|
|
11
11
|
* const test = harness.platform.getPolicy({
|
|
12
12
|
* identifier: testHarnessPlatformPolicy.identifier,
|
|
13
|
-
* name: testHarnessPlatformPolicy.name,
|
|
14
|
-
* rego: "package test",
|
|
15
13
|
* });
|
|
16
14
|
* ```
|
|
17
15
|
*/
|
|
18
|
-
export declare function getPolicy(args
|
|
16
|
+
export declare function getPolicy(args?: GetPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetPolicyResult>;
|
|
19
17
|
/**
|
|
20
18
|
* A collection of arguments for invoking getPolicy.
|
|
21
19
|
*/
|
|
@@ -39,7 +37,7 @@ export interface GetPolicyArgs {
|
|
|
39
37
|
/**
|
|
40
38
|
* Rego code for the policy.
|
|
41
39
|
*/
|
|
42
|
-
rego
|
|
40
|
+
rego?: string;
|
|
43
41
|
}
|
|
44
42
|
/**
|
|
45
43
|
* A collection of values returned by getPolicy.
|
|
@@ -89,12 +87,10 @@ export interface GetPolicyResult {
|
|
|
89
87
|
*
|
|
90
88
|
* const test = harness.platform.getPolicy({
|
|
91
89
|
* identifier: testHarnessPlatformPolicy.identifier,
|
|
92
|
-
* name: testHarnessPlatformPolicy.name,
|
|
93
|
-
* rego: "package test",
|
|
94
90
|
* });
|
|
95
91
|
* ```
|
|
96
92
|
*/
|
|
97
|
-
export declare function getPolicyOutput(args
|
|
93
|
+
export declare function getPolicyOutput(args?: GetPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPolicyResult>;
|
|
98
94
|
/**
|
|
99
95
|
* A collection of arguments for invoking getPolicy.
|
|
100
96
|
*/
|
|
@@ -118,5 +114,5 @@ export interface GetPolicyOutputArgs {
|
|
|
118
114
|
/**
|
|
119
115
|
* Rego code for the policy.
|
|
120
116
|
*/
|
|
121
|
-
rego
|
|
117
|
+
rego?: pulumi.Input<string>;
|
|
122
118
|
}
|
package/platform/getPolicy.js
CHANGED
|
@@ -16,12 +16,11 @@ const utilities = require("../utilities");
|
|
|
16
16
|
*
|
|
17
17
|
* const test = harness.platform.getPolicy({
|
|
18
18
|
* identifier: testHarnessPlatformPolicy.identifier,
|
|
19
|
-
* name: testHarnessPlatformPolicy.name,
|
|
20
|
-
* rego: "package test",
|
|
21
19
|
* });
|
|
22
20
|
* ```
|
|
23
21
|
*/
|
|
24
22
|
function getPolicy(args, opts) {
|
|
23
|
+
args = args || {};
|
|
25
24
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
25
|
return pulumi.runtime.invoke("harness:platform/getPolicy:getPolicy", {
|
|
27
26
|
"identifier": args.identifier,
|
|
@@ -43,8 +42,6 @@ exports.getPolicy = getPolicy;
|
|
|
43
42
|
*
|
|
44
43
|
* const test = harness.platform.getPolicy({
|
|
45
44
|
* identifier: testHarnessPlatformPolicy.identifier,
|
|
46
|
-
* name: testHarnessPlatformPolicy.name,
|
|
47
|
-
* rego: "package test",
|
|
48
45
|
* });
|
|
49
46
|
* ```
|
|
50
47
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPolicy.js","sourceRoot":"","sources":["../../platform/getPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getPolicy.js","sourceRoot":"","sources":["../../platform/getPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8BAWC;AAiED;;;;;;;;;;;;;GAaG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
|
|
@@ -56,6 +56,10 @@ export declare class GitConnector extends pulumi.CustomResource {
|
|
|
56
56
|
* Description of the resource.
|
|
57
57
|
*/
|
|
58
58
|
readonly description: pulumi.Output<string | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* Execute on delegate or not.
|
|
61
|
+
*/
|
|
62
|
+
readonly executeOnDelegate: pulumi.Output<boolean | undefined>;
|
|
59
63
|
/**
|
|
60
64
|
* Unique identifier of the resource.
|
|
61
65
|
*/
|
|
@@ -113,6 +117,10 @@ export interface GitConnectorState {
|
|
|
113
117
|
* Description of the resource.
|
|
114
118
|
*/
|
|
115
119
|
description?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* Execute on delegate or not.
|
|
122
|
+
*/
|
|
123
|
+
executeOnDelegate?: pulumi.Input<boolean>;
|
|
116
124
|
/**
|
|
117
125
|
* Unique identifier of the resource.
|
|
118
126
|
*/
|
|
@@ -162,6 +170,10 @@ export interface GitConnectorArgs {
|
|
|
162
170
|
* Description of the resource.
|
|
163
171
|
*/
|
|
164
172
|
description?: pulumi.Input<string>;
|
|
173
|
+
/**
|
|
174
|
+
* Execute on delegate or not.
|
|
175
|
+
*/
|
|
176
|
+
executeOnDelegate?: pulumi.Input<boolean>;
|
|
165
177
|
/**
|
|
166
178
|
* Unique identifier of the resource.
|
|
167
179
|
*/
|
package/platform/gitConnector.js
CHANGED
|
@@ -60,6 +60,7 @@ class GitConnector extends pulumi.CustomResource {
|
|
|
60
60
|
resourceInputs["credentials"] = state ? state.credentials : undefined;
|
|
61
61
|
resourceInputs["delegateSelectors"] = state ? state.delegateSelectors : undefined;
|
|
62
62
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
63
|
+
resourceInputs["executeOnDelegate"] = state ? state.executeOnDelegate : undefined;
|
|
63
64
|
resourceInputs["identifier"] = state ? state.identifier : undefined;
|
|
64
65
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
65
66
|
resourceInputs["orgId"] = state ? state.orgId : undefined;
|
|
@@ -86,6 +87,7 @@ class GitConnector extends pulumi.CustomResource {
|
|
|
86
87
|
resourceInputs["credentials"] = args ? args.credentials : undefined;
|
|
87
88
|
resourceInputs["delegateSelectors"] = args ? args.delegateSelectors : undefined;
|
|
88
89
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
90
|
+
resourceInputs["executeOnDelegate"] = args ? args.executeOnDelegate : undefined;
|
|
89
91
|
resourceInputs["identifier"] = args ? args.identifier : undefined;
|
|
90
92
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
91
93
|
resourceInputs["orgId"] = args ? args.orgId : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gitConnector.js","sourceRoot":"","sources":["../../platform/gitConnector.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,CAAC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,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAnIL,oCAoIC;AAtHG,gBAAgB;AACO,yBAAY,GAAG,4CAA4C,CAAC"}
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Resource for creating a Harness pipeline.
|
|
4
|
+
*
|
|
5
|
+
* ## Import
|
|
6
|
+
*
|
|
7
|
+
* Import an Account level Webhook
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import harness:platform/gitxWebhook:GitxWebhook example <webhook_identifier>
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* Import an Org level Webhook
|
|
14
|
+
*
|
|
15
|
+
* ```sh
|
|
16
|
+
* $ pulumi import harness:platform/gitxWebhook:GitxWebhook example <webhook_identifier>/<org_id>/
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* Import a Project level Webhook
|
|
20
|
+
*
|
|
21
|
+
* ```sh
|
|
22
|
+
* $ pulumi import harness:platform/gitxWebhook:GitxWebhook example <webhook_identifier>/<org_id>/<project_id>
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare class GitxWebhook extends pulumi.CustomResource {
|
|
26
|
+
/**
|
|
27
|
+
* Get an existing GitxWebhook resource's state with the given name, ID, and optional extra
|
|
28
|
+
* properties used to qualify the lookup.
|
|
29
|
+
*
|
|
30
|
+
* @param name The _unique_ name of the resulting resource.
|
|
31
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
32
|
+
* @param state Any extra arguments used during the lookup.
|
|
33
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
34
|
+
*/
|
|
35
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GitxWebhookState, opts?: pulumi.CustomResourceOptions): GitxWebhook;
|
|
36
|
+
/**
|
|
37
|
+
* Returns true if the given object is an instance of GitxWebhook. This is designed to work even
|
|
38
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
39
|
+
*/
|
|
40
|
+
static isInstance(obj: any): obj is GitxWebhook;
|
|
41
|
+
/**
|
|
42
|
+
* ConnectorRef to be used to create Gitx webhook.
|
|
43
|
+
*/
|
|
44
|
+
readonly connectorRef: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* Description of the resource.
|
|
47
|
+
*/
|
|
48
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
49
|
+
/**
|
|
50
|
+
* Folder Paths
|
|
51
|
+
*/
|
|
52
|
+
readonly folderPaths: pulumi.Output<string[] | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* Unique identifier of the resource.
|
|
55
|
+
*/
|
|
56
|
+
readonly identifier: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Flag to enable the webhook
|
|
59
|
+
*/
|
|
60
|
+
readonly isEnabled: pulumi.Output<boolean | undefined>;
|
|
61
|
+
/**
|
|
62
|
+
* Name of the resource.
|
|
63
|
+
*/
|
|
64
|
+
readonly name: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* Unique identifier of the organization.
|
|
67
|
+
*/
|
|
68
|
+
readonly orgId: pulumi.Output<string | undefined>;
|
|
69
|
+
/**
|
|
70
|
+
* Unique identifier of the project.
|
|
71
|
+
*/
|
|
72
|
+
readonly projectId: pulumi.Output<string | undefined>;
|
|
73
|
+
/**
|
|
74
|
+
* Repo Identifier for Gitx webhook.
|
|
75
|
+
*/
|
|
76
|
+
readonly repoName: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Tags to associate with the resource.
|
|
79
|
+
*/
|
|
80
|
+
readonly tags: pulumi.Output<string[] | undefined>;
|
|
81
|
+
/**
|
|
82
|
+
* Create a GitxWebhook resource with the given unique name, arguments, and options.
|
|
83
|
+
*
|
|
84
|
+
* @param name The _unique_ name of the resource.
|
|
85
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
86
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
87
|
+
*/
|
|
88
|
+
constructor(name: string, args: GitxWebhookArgs, opts?: pulumi.CustomResourceOptions);
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Input properties used for looking up and filtering GitxWebhook resources.
|
|
92
|
+
*/
|
|
93
|
+
export interface GitxWebhookState {
|
|
94
|
+
/**
|
|
95
|
+
* ConnectorRef to be used to create Gitx webhook.
|
|
96
|
+
*/
|
|
97
|
+
connectorRef?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* Description of the resource.
|
|
100
|
+
*/
|
|
101
|
+
description?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Folder Paths
|
|
104
|
+
*/
|
|
105
|
+
folderPaths?: pulumi.Input<pulumi.Input<string>[]>;
|
|
106
|
+
/**
|
|
107
|
+
* Unique identifier of the resource.
|
|
108
|
+
*/
|
|
109
|
+
identifier?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* Flag to enable the webhook
|
|
112
|
+
*/
|
|
113
|
+
isEnabled?: pulumi.Input<boolean>;
|
|
114
|
+
/**
|
|
115
|
+
* Name of the resource.
|
|
116
|
+
*/
|
|
117
|
+
name?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Unique identifier of the organization.
|
|
120
|
+
*/
|
|
121
|
+
orgId?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* Unique identifier of the project.
|
|
124
|
+
*/
|
|
125
|
+
projectId?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* Repo Identifier for Gitx webhook.
|
|
128
|
+
*/
|
|
129
|
+
repoName?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* Tags to associate with the resource.
|
|
132
|
+
*/
|
|
133
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* The set of arguments for constructing a GitxWebhook resource.
|
|
137
|
+
*/
|
|
138
|
+
export interface GitxWebhookArgs {
|
|
139
|
+
/**
|
|
140
|
+
* ConnectorRef to be used to create Gitx webhook.
|
|
141
|
+
*/
|
|
142
|
+
connectorRef: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* Description of the resource.
|
|
145
|
+
*/
|
|
146
|
+
description?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* Folder Paths
|
|
149
|
+
*/
|
|
150
|
+
folderPaths?: pulumi.Input<pulumi.Input<string>[]>;
|
|
151
|
+
/**
|
|
152
|
+
* Unique identifier of the resource.
|
|
153
|
+
*/
|
|
154
|
+
identifier: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* Flag to enable the webhook
|
|
157
|
+
*/
|
|
158
|
+
isEnabled?: pulumi.Input<boolean>;
|
|
159
|
+
/**
|
|
160
|
+
* Name of the resource.
|
|
161
|
+
*/
|
|
162
|
+
name?: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* Unique identifier of the organization.
|
|
165
|
+
*/
|
|
166
|
+
orgId?: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* Unique identifier of the project.
|
|
169
|
+
*/
|
|
170
|
+
projectId?: pulumi.Input<string>;
|
|
171
|
+
/**
|
|
172
|
+
* Repo Identifier for Gitx webhook.
|
|
173
|
+
*/
|
|
174
|
+
repoName: pulumi.Input<string>;
|
|
175
|
+
/**
|
|
176
|
+
* Tags to associate with the resource.
|
|
177
|
+
*/
|
|
178
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
179
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.GitxWebhook = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource for creating a Harness pipeline.
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* Import an Account level Webhook
|
|
14
|
+
*
|
|
15
|
+
* ```sh
|
|
16
|
+
* $ pulumi import harness:platform/gitxWebhook:GitxWebhook example <webhook_identifier>
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* Import an Org level Webhook
|
|
20
|
+
*
|
|
21
|
+
* ```sh
|
|
22
|
+
* $ pulumi import harness:platform/gitxWebhook:GitxWebhook example <webhook_identifier>/<org_id>/
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* Import a Project level Webhook
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import harness:platform/gitxWebhook:GitxWebhook example <webhook_identifier>/<org_id>/<project_id>
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
class GitxWebhook extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing GitxWebhook resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name, id, state, opts) {
|
|
42
|
+
return new GitxWebhook(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Returns true if the given object is an instance of GitxWebhook. This is designed to work even
|
|
46
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
|
+
*/
|
|
48
|
+
static isInstance(obj) {
|
|
49
|
+
if (obj === undefined || obj === null) {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
return obj['__pulumiType'] === GitxWebhook.__pulumiType;
|
|
53
|
+
}
|
|
54
|
+
constructor(name, argsOrState, opts) {
|
|
55
|
+
let resourceInputs = {};
|
|
56
|
+
opts = opts || {};
|
|
57
|
+
if (opts.id) {
|
|
58
|
+
const state = argsOrState;
|
|
59
|
+
resourceInputs["connectorRef"] = state ? state.connectorRef : undefined;
|
|
60
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
61
|
+
resourceInputs["folderPaths"] = state ? state.folderPaths : undefined;
|
|
62
|
+
resourceInputs["identifier"] = state ? state.identifier : undefined;
|
|
63
|
+
resourceInputs["isEnabled"] = state ? state.isEnabled : undefined;
|
|
64
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
65
|
+
resourceInputs["orgId"] = state ? state.orgId : undefined;
|
|
66
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
67
|
+
resourceInputs["repoName"] = state ? state.repoName : undefined;
|
|
68
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
69
|
+
}
|
|
70
|
+
else {
|
|
71
|
+
const args = argsOrState;
|
|
72
|
+
if ((!args || args.connectorRef === undefined) && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'connectorRef'");
|
|
74
|
+
}
|
|
75
|
+
if ((!args || args.identifier === undefined) && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'identifier'");
|
|
77
|
+
}
|
|
78
|
+
if ((!args || args.repoName === undefined) && !opts.urn) {
|
|
79
|
+
throw new Error("Missing required property 'repoName'");
|
|
80
|
+
}
|
|
81
|
+
resourceInputs["connectorRef"] = args ? args.connectorRef : undefined;
|
|
82
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
83
|
+
resourceInputs["folderPaths"] = args ? args.folderPaths : undefined;
|
|
84
|
+
resourceInputs["identifier"] = args ? args.identifier : undefined;
|
|
85
|
+
resourceInputs["isEnabled"] = args ? args.isEnabled : undefined;
|
|
86
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
87
|
+
resourceInputs["orgId"] = args ? args.orgId : undefined;
|
|
88
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
89
|
+
resourceInputs["repoName"] = args ? args.repoName : undefined;
|
|
90
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
91
|
+
}
|
|
92
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
93
|
+
super(GitxWebhook.__pulumiType, name, resourceInputs, opts);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
exports.GitxWebhook = GitxWebhook;
|
|
97
|
+
/** @internal */
|
|
98
|
+
GitxWebhook.__pulumiType = 'harness:platform/gitxWebhook:GitxWebhook';
|
|
99
|
+
//# sourceMappingURL=gitxWebhook.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gitxWebhook.js","sourceRoot":"","sources":["../../platform/gitxWebhook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IAmDD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAA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AAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AApHL,kCAqHC;AAvGG,gBAAgB;AACO,wBAAY,GAAG,0CAA0C,CAAC"}
|
package/platform/index.d.ts
CHANGED
|
@@ -256,6 +256,9 @@ export declare const getGitopsRepoCredOutput: typeof import("./getGitopsRepoCred
|
|
|
256
256
|
export { GetGitopsRepositoryArgs, GetGitopsRepositoryResult, GetGitopsRepositoryOutputArgs } from "./getGitopsRepository";
|
|
257
257
|
export declare const getGitopsRepository: typeof import("./getGitopsRepository").getGitopsRepository;
|
|
258
258
|
export declare const getGitopsRepositoryOutput: typeof import("./getGitopsRepository").getGitopsRepositoryOutput;
|
|
259
|
+
export { GetGitxWebhookArgs, GetGitxWebhookResult, GetGitxWebhookOutputArgs } from "./getGitxWebhook";
|
|
260
|
+
export declare const getGitxWebhook: typeof import("./getGitxWebhook").getGitxWebhook;
|
|
261
|
+
export declare const getGitxWebhookOutput: typeof import("./getGitxWebhook").getGitxWebhookOutput;
|
|
259
262
|
export { GetHelmConnectorArgs, GetHelmConnectorResult, GetHelmConnectorOutputArgs } from "./getHelmConnector";
|
|
260
263
|
export declare const getHelmConnector: typeof import("./getHelmConnector").getHelmConnector;
|
|
261
264
|
export declare const getHelmConnectorOutput: typeof import("./getHelmConnector").getHelmConnectorOutput;
|
|
@@ -298,6 +301,9 @@ export declare const getOciHelmConnectorOutput: typeof import("./getOciHelmConne
|
|
|
298
301
|
export { GetOrganizationArgs, GetOrganizationResult, GetOrganizationOutputArgs } from "./getOrganization";
|
|
299
302
|
export declare const getOrganization: typeof import("./getOrganization").getOrganization;
|
|
300
303
|
export declare const getOrganizationOutput: typeof import("./getOrganization").getOrganizationOutput;
|
|
304
|
+
export { GetOverridesArgs, GetOverridesResult, GetOverridesOutputArgs } from "./getOverrides";
|
|
305
|
+
export declare const getOverrides: typeof import("./getOverrides").getOverrides;
|
|
306
|
+
export declare const getOverridesOutput: typeof import("./getOverrides").getOverridesOutput;
|
|
301
307
|
export { GetPagerdutyConnectorArgs, GetPagerdutyConnectorResult, GetPagerdutyConnectorOutputArgs } from "./getPagerdutyConnector";
|
|
302
308
|
export declare const getPagerdutyConnector: typeof import("./getPagerdutyConnector").getPagerdutyConnector;
|
|
303
309
|
export declare const getPagerdutyConnectorOutput: typeof import("./getPagerdutyConnector").getPagerdutyConnectorOutput;
|
|
@@ -454,6 +460,9 @@ export declare const GitopsAppProject: typeof import("./gitopsAppProject").Gitop
|
|
|
454
460
|
export { GitopsAppProjectMappingArgs, GitopsAppProjectMappingState } from "./gitopsAppProjectMapping";
|
|
455
461
|
export type GitopsAppProjectMapping = import("./gitopsAppProjectMapping").GitopsAppProjectMapping;
|
|
456
462
|
export declare const GitopsAppProjectMapping: typeof import("./gitopsAppProjectMapping").GitopsAppProjectMapping;
|
|
463
|
+
export { GitxWebhookArgs, GitxWebhookState } from "./gitxWebhook";
|
|
464
|
+
export type GitxWebhook = import("./gitxWebhook").GitxWebhook;
|
|
465
|
+
export declare const GitxWebhook: typeof import("./gitxWebhook").GitxWebhook;
|
|
457
466
|
export { HelmConnectorArgs, HelmConnectorState } from "./helmConnector";
|
|
458
467
|
export type HelmConnector = import("./helmConnector").HelmConnector;
|
|
459
468
|
export declare const HelmConnector: typeof import("./helmConnector").HelmConnector;
|
|
@@ -499,6 +508,9 @@ export declare const OciHelmConnector: typeof import("./ociHelmConnector").OciHe
|
|
|
499
508
|
export { OrganizationArgs, OrganizationState } from "./organization";
|
|
500
509
|
export type Organization = import("./organization").Organization;
|
|
501
510
|
export declare const Organization: typeof import("./organization").Organization;
|
|
511
|
+
export { OverridesArgs, OverridesState } from "./overrides";
|
|
512
|
+
export type Overrides = import("./overrides").Overrides;
|
|
513
|
+
export declare const Overrides: typeof import("./overrides").Overrides;
|
|
502
514
|
export { PagerdutyConnectorArgs, PagerdutyConnectorState } from "./pagerdutyConnector";
|
|
503
515
|
export type PagerdutyConnector = import("./pagerdutyConnector").PagerdutyConnector;
|
|
504
516
|
export declare const PagerdutyConnector: typeof import("./pagerdutyConnector").PagerdutyConnector;
|
package/platform/index.js
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.getAwsSecretManagerConnectorOutput = exports.getAwsSecretManagerConnector = exports.getAwsKmsConnectorOutput = exports.getAwsKmsConnector = exports.getAwsConnectorOutput = exports.getAwsConnector = exports.getAwsCCConnectorOutput = exports.getAwsCCConnector = exports.getArtifactoryConnectorOutput = exports.getArtifactoryConnector = exports.getAppDynamicsConnectorOutput = exports.getAppDynamicsConnector = exports.getApiKeyOutput = exports.getApiKey = exports.GcpSecretManagerConnector = exports.GcpConnector = exports.GcpCloudCostConnector = exports.Filters = exports.FileStoreFolder = exports.FileStoreFile = exports.FeatureFlagTargetGroup = exports.FeatureFlagTarget = exports.FeatureFlagApiKey = exports.FeatureFlag = exports.EnvironmentServiceOverrides = exports.EnvironmentGroup = exports.EnvironmentClustersMapping = exports.Environment = exports.ElasticsearchConnector = exports.DynatraceConnector = exports.DockerConnector = exports.Delegatetoken = exports.DbSchema = exports.DbInstance = exports.DatadogConnector = exports.ConnectorRancher = exports.ConnectorPdc = exports.ConnectorJdbc = exports.ConnectorCustomhealthsource = exports.ConnectorCustomSecretManager = exports.BitbucketConnector = exports.AzureKeyVaultConnector = exports.AzureCloudProviderConnector = exports.AzureCloudCostConnector = exports.AwsSecretManagerConnector = exports.AwsKmsConnector = exports.AwsConnector = exports.AwsCCConnector = exports.ArtifactoryConnector = exports.AppDynamicsConnector = void 0;
|
|
6
6
|
exports.getFileStoreFileOutput = exports.getFileStoreFile = exports.getEnvironmentServiceOverridesOutput = exports.getEnvironmentServiceOverrides = exports.getEnvironmentListOutput = exports.getEnvironmentList = exports.getEnvironmentGroupOutput = exports.getEnvironmentGroup = exports.getEnvironmentClustersMappingOutput = exports.getEnvironmentClustersMapping = exports.getEnvironmentOutput = exports.getEnvironment = exports.getElasticsearchConnectorOutput = exports.getElasticsearchConnector = exports.getDynatraceConnectorOutput = exports.getDynatraceConnector = exports.getDockerConnectorOutput = exports.getDockerConnector = exports.getDelegatetokenOutput = exports.getDelegatetoken = exports.getDbSchemaOutput = exports.getDbSchema = exports.getDbInstanceOutput = exports.getDbInstance = exports.getDatadogConnectorOutput = exports.getDatadogConnector = exports.getCurrentUserOutput = exports.getCurrentUser = exports.getCurrentAccountOutput = exports.getCurrentAccount = exports.getConnectorRancherOutput = exports.getConnectorRancher = exports.getConnectorPdcOutput = exports.getConnectorPdc = exports.getConnectorJdbcOutput = exports.getConnectorJdbc = exports.getConnectorCustomhealthsourceOutput = exports.getConnectorCustomhealthsource = exports.getConnectorCustomSecretManagerOutput = exports.getConnectorCustomSecretManager = exports.getCcmFiltersOutput = exports.getCcmFilters = exports.getBitbucketConnectorOutput = exports.getBitbucketConnector = exports.getAzureKeyVaultConnectorOutput = exports.getAzureKeyVaultConnector = exports.getAzureCloudProviderConnectorOutput = exports.getAzureCloudProviderConnector = exports.getAzureCloudCostConnectorOutput = exports.getAzureCloudCostConnector = void 0;
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.Workspace = exports.VaultConnector = exports.Variables = exports.Usergroup = exports.User = exports.Triggers = void 0;
|
|
7
|
+
exports.getJiraConnectorOutput = exports.getJiraConnector = exports.getJenkinsConnectorOutput = exports.getJenkinsConnector = exports.getInputSetOutput = exports.getInputSet = exports.getInfrastructureOutput = exports.getInfrastructure = exports.getIacmDefaultPipelineOutput = exports.getIacmDefaultPipeline = exports.getHelmConnectorOutput = exports.getHelmConnector = exports.getGitxWebhookOutput = exports.getGitxWebhook = exports.getGitopsRepositoryOutput = exports.getGitopsRepository = exports.getGitopsRepoCredOutput = exports.getGitopsRepoCred = exports.getGitopsRepoCertOutput = exports.getGitopsRepoCert = exports.getGitopsGnupgOutput = exports.getGitopsGnupg = exports.getGitopsClusterOutput = exports.getGitopsCluster = exports.getGitopsApplicationsOutput = exports.getGitopsApplications = exports.getGitopsAppProjectMappingOutput = exports.getGitopsAppProjectMapping = exports.getGitopsAppProjectOutput = exports.getGitopsAppProject = exports.getGitopsAgentDeployYamlOutput = exports.getGitopsAgentDeployYaml = exports.getGitopsAgentOutput = exports.getGitopsAgent = exports.getGitlabConnectorOutput = exports.getGitlabConnector = exports.getGithubConnectorOutput = exports.getGithubConnector = exports.getGitConnectorOutput = exports.getGitConnector = exports.getGcpSecretManagerConnectorOutput = exports.getGcpSecretManagerConnector = exports.getGcpConnectorOutput = exports.getGcpConnector = exports.getGcpCloudCostConnectorOutput = exports.getGcpCloudCostConnector = exports.getFiltersOutput = exports.getFilters = exports.getFileStoreFolderOutput = exports.getFileStoreFolder = void 0;
|
|
8
|
+
exports.getRolesOutput = exports.getRoles = exports.getRoleAssignmentsOutput = exports.getRoleAssignments = exports.getResourceGroupOutput = exports.getResourceGroup = exports.getRepoWebhookOutput = exports.getRepoWebhook = exports.getRepoRuleBranchOutput = exports.getRepoRuleBranch = exports.getRepoOutput = exports.getRepo = exports.getPrometheusConnectorOutput = exports.getPrometheusConnector = exports.getProjectListOutput = exports.getProjectList = exports.getProjectOutput = exports.getProject = exports.getPolicySetOutput = exports.getPolicySet = exports.getPolicyOutput = exports.getPolicy = exports.getPipelineListOutput = exports.getPipelineList = exports.getPipelineFiltersOutput = exports.getPipelineFilters = exports.getPipelineOutput = exports.getPipeline = exports.getPermissionsOutput = exports.getPermissions = exports.getPagerdutyConnectorOutput = exports.getPagerdutyConnector = exports.getOverridesOutput = exports.getOverrides = exports.getOrganizationOutput = exports.getOrganization = exports.getOciHelmConnectorOutput = exports.getOciHelmConnector = exports.getNotificationRuleOutput = exports.getNotificationRule = exports.getNexusConnectorOutput = exports.getNexusConnector = exports.getMonitoredServiceOutput = exports.getMonitoredService = exports.getManualFreezeOutput = exports.getManualFreeze = exports.getKubernetesConnectorOutput = exports.getKubernetesConnector = exports.getKubernetesCloudCostConnectorOutput = exports.getKubernetesCloudCostConnector = void 0;
|
|
9
|
+
exports.GitOpsAgent = exports.GitConnector = exports.getWorkspaceOutputValueOutput = exports.getWorkspaceOutputValue = exports.getWorkspaceOutput = exports.getWorkspace = exports.getVaultConnectorOutput = exports.getVaultConnector = exports.getVariablesOutput = exports.getVariables = exports.getUsergroupOutput = exports.getUsergroup = exports.getUserOutput = exports.getUser = exports.getTriggersOutput = exports.getTriggers = exports.getTokenOutput = exports.getToken = exports.getTerraformCloudConnectorOutput = exports.getTerraformCloudConnector = exports.getTemplateFiltersOutput = exports.getTemplateFilters = exports.getTemplateOutput = exports.getTemplate = exports.getTasConnectorOutput = exports.getTasConnector = exports.getSumologicConnectorOutput = exports.getSumologicConnector = exports.getSpotConnectorOutput = exports.getSpotConnector = exports.getSplunkConnectorOutput = exports.getSplunkConnector = exports.getSloOutput = exports.getSlo = exports.getServiceOverridesV2Output = exports.getServiceOverridesV2 = exports.getServiceNowConnectorOutput = exports.getServiceNowConnector = exports.getServiceListOutput = exports.getServiceList = exports.getServiceAccountOutput = exports.getServiceAccount = exports.getServiceOutput = exports.getService = exports.getSecretTextOutput = exports.getSecretText = exports.getSecretSshkeyOutput = exports.getSecretSshkey = exports.getSecretFileOutput = exports.getSecretFile = void 0;
|
|
10
|
+
exports.SpotConnector = exports.SplunkConnector = exports.Slo = exports.ServiceOverridesV2 = exports.ServiceNowConnector = exports.ServiceAccount = exports.Service = exports.SecretText = exports.SecretSshkey = exports.SecretFile = exports.Roles = exports.RoleAssignments = exports.ResourceGroup = exports.RepoWebhook = exports.RepoRuleBranch = exports.Repo = exports.PrometheusConnector = exports.Project = exports.PolicySet = exports.Policy = exports.PipelineFilters = exports.Pipeline = exports.PagerdutyConnector = exports.Overrides = exports.Organization = exports.OciHelmConnector = exports.NotificationRule = exports.NexusConnector = exports.NewrelicConnector = exports.MonitoredService = exports.ManualFreeze = exports.KubernetesConnector = exports.KubernetesCloudCostConnector = exports.JiraConnector = exports.JenkinsConnector = exports.InputSet = exports.Infrastructure = exports.IacmDefaultPipeline = exports.HelmConnector = exports.GitxWebhook = exports.GitopsAppProjectMapping = exports.GitopsAppProject = exports.GitlabConnector = exports.GithubConnector = exports.GitOpsRepository = exports.GitOpsRepoCred = exports.GitOpsRepoCert = exports.GitOpsGnupg = exports.GitOpsCluster = exports.GitOpsApplications = void 0;
|
|
11
|
+
exports.Workspace = exports.VaultConnector = exports.Variables = exports.Usergroup = exports.User = exports.Triggers = exports.Token = exports.TerraformCloudConnector = exports.TemplateFilters = exports.Template = exports.TasConnector = exports.SumologicConnector = void 0;
|
|
12
12
|
const pulumi = require("@pulumi/pulumi");
|
|
13
13
|
const utilities = require("../utilities");
|
|
14
14
|
exports.AppDynamicsConnector = null;
|
|
@@ -233,6 +233,9 @@ utilities.lazyLoad(exports, ["getGitopsRepoCred", "getGitopsRepoCredOutput"], ()
|
|
|
233
233
|
exports.getGitopsRepository = null;
|
|
234
234
|
exports.getGitopsRepositoryOutput = null;
|
|
235
235
|
utilities.lazyLoad(exports, ["getGitopsRepository", "getGitopsRepositoryOutput"], () => require("./getGitopsRepository"));
|
|
236
|
+
exports.getGitxWebhook = null;
|
|
237
|
+
exports.getGitxWebhookOutput = null;
|
|
238
|
+
utilities.lazyLoad(exports, ["getGitxWebhook", "getGitxWebhookOutput"], () => require("./getGitxWebhook"));
|
|
236
239
|
exports.getHelmConnector = null;
|
|
237
240
|
exports.getHelmConnectorOutput = null;
|
|
238
241
|
utilities.lazyLoad(exports, ["getHelmConnector", "getHelmConnectorOutput"], () => require("./getHelmConnector"));
|
|
@@ -275,6 +278,9 @@ utilities.lazyLoad(exports, ["getOciHelmConnector", "getOciHelmConnectorOutput"]
|
|
|
275
278
|
exports.getOrganization = null;
|
|
276
279
|
exports.getOrganizationOutput = null;
|
|
277
280
|
utilities.lazyLoad(exports, ["getOrganization", "getOrganizationOutput"], () => require("./getOrganization"));
|
|
281
|
+
exports.getOverrides = null;
|
|
282
|
+
exports.getOverridesOutput = null;
|
|
283
|
+
utilities.lazyLoad(exports, ["getOverrides", "getOverridesOutput"], () => require("./getOverrides"));
|
|
278
284
|
exports.getPagerdutyConnector = null;
|
|
279
285
|
exports.getPagerdutyConnectorOutput = null;
|
|
280
286
|
utilities.lazyLoad(exports, ["getPagerdutyConnector", "getPagerdutyConnectorOutput"], () => require("./getPagerdutyConnector"));
|
|
@@ -419,6 +425,8 @@ exports.GitopsAppProject = null;
|
|
|
419
425
|
utilities.lazyLoad(exports, ["GitopsAppProject"], () => require("./gitopsAppProject"));
|
|
420
426
|
exports.GitopsAppProjectMapping = null;
|
|
421
427
|
utilities.lazyLoad(exports, ["GitopsAppProjectMapping"], () => require("./gitopsAppProjectMapping"));
|
|
428
|
+
exports.GitxWebhook = null;
|
|
429
|
+
utilities.lazyLoad(exports, ["GitxWebhook"], () => require("./gitxWebhook"));
|
|
422
430
|
exports.HelmConnector = null;
|
|
423
431
|
utilities.lazyLoad(exports, ["HelmConnector"], () => require("./helmConnector"));
|
|
424
432
|
exports.IacmDefaultPipeline = null;
|
|
@@ -449,6 +457,8 @@ exports.OciHelmConnector = null;
|
|
|
449
457
|
utilities.lazyLoad(exports, ["OciHelmConnector"], () => require("./ociHelmConnector"));
|
|
450
458
|
exports.Organization = null;
|
|
451
459
|
utilities.lazyLoad(exports, ["Organization"], () => require("./organization"));
|
|
460
|
+
exports.Overrides = null;
|
|
461
|
+
utilities.lazyLoad(exports, ["Overrides"], () => require("./overrides"));
|
|
452
462
|
exports.PagerdutyConnector = null;
|
|
453
463
|
utilities.lazyLoad(exports, ["PagerdutyConnector"], () => require("./pagerdutyConnector"));
|
|
454
464
|
exports.Pipeline = null;
|
|
@@ -619,6 +629,8 @@ const _module = {
|
|
|
619
629
|
return new exports.GitopsAppProject(name, undefined, { urn });
|
|
620
630
|
case "harness:platform/gitopsAppProjectMapping:GitopsAppProjectMapping":
|
|
621
631
|
return new exports.GitopsAppProjectMapping(name, undefined, { urn });
|
|
632
|
+
case "harness:platform/gitxWebhook:GitxWebhook":
|
|
633
|
+
return new exports.GitxWebhook(name, undefined, { urn });
|
|
622
634
|
case "harness:platform/helmConnector:HelmConnector":
|
|
623
635
|
return new exports.HelmConnector(name, undefined, { urn });
|
|
624
636
|
case "harness:platform/iacmDefaultPipeline:IacmDefaultPipeline":
|
|
@@ -649,6 +661,8 @@ const _module = {
|
|
|
649
661
|
return new exports.OciHelmConnector(name, undefined, { urn });
|
|
650
662
|
case "harness:platform/organization:Organization":
|
|
651
663
|
return new exports.Organization(name, undefined, { urn });
|
|
664
|
+
case "harness:platform/overrides:Overrides":
|
|
665
|
+
return new exports.Overrides(name, undefined, { urn });
|
|
652
666
|
case "harness:platform/pagerdutyConnector:PagerdutyConnector":
|
|
653
667
|
return new exports.PagerdutyConnector(name, undefined, { urn });
|
|
654
668
|
case "harness:platform/pipeline:Pipeline":
|
|
@@ -772,6 +786,7 @@ pulumi.runtime.registerResourceModule("harness", "platform/githubConnector", _mo
|
|
|
772
786
|
pulumi.runtime.registerResourceModule("harness", "platform/gitlabConnector", _module);
|
|
773
787
|
pulumi.runtime.registerResourceModule("harness", "platform/gitopsAppProject", _module);
|
|
774
788
|
pulumi.runtime.registerResourceModule("harness", "platform/gitopsAppProjectMapping", _module);
|
|
789
|
+
pulumi.runtime.registerResourceModule("harness", "platform/gitxWebhook", _module);
|
|
775
790
|
pulumi.runtime.registerResourceModule("harness", "platform/helmConnector", _module);
|
|
776
791
|
pulumi.runtime.registerResourceModule("harness", "platform/iacmDefaultPipeline", _module);
|
|
777
792
|
pulumi.runtime.registerResourceModule("harness", "platform/infrastructure", _module);
|
|
@@ -787,6 +802,7 @@ pulumi.runtime.registerResourceModule("harness", "platform/nexusConnector", _mod
|
|
|
787
802
|
pulumi.runtime.registerResourceModule("harness", "platform/notificationRule", _module);
|
|
788
803
|
pulumi.runtime.registerResourceModule("harness", "platform/ociHelmConnector", _module);
|
|
789
804
|
pulumi.runtime.registerResourceModule("harness", "platform/organization", _module);
|
|
805
|
+
pulumi.runtime.registerResourceModule("harness", "platform/overrides", _module);
|
|
790
806
|
pulumi.runtime.registerResourceModule("harness", "platform/pagerdutyConnector", _module);
|
|
791
807
|
pulumi.runtime.registerResourceModule("harness", "platform/pipeline", _module);
|
|
792
808
|
pulumi.runtime.registerResourceModule("harness", "platform/pipelineFilters", _module);
|