@pulumi/harness 0.2.0-alpha.1721713836 → 0.2.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.
- package/package.json +2 -2
- package/platform/getGitopsAppProject.d.ts +37 -0
- package/platform/{getGitopsProject.js → getGitopsAppProject.js} +8 -16
- package/platform/getGitopsAppProject.js.map +1 -0
- package/platform/{gitopsProject.d.ts → gitopsAppProject.d.ts} +18 -41
- package/platform/{gitopsProject.js → gitopsAppProject.js} +10 -33
- package/platform/gitopsAppProject.js.map +1 -0
- package/platform/index.d.ts +6 -6
- package/platform/index.js +10 -10
- package/platform/index.js.map +1 -1
- package/types/input.d.ts +242 -138
- package/types/output.d.ts +242 -80
- package/platform/getGitopsProject.d.ts +0 -114
- package/platform/getGitopsProject.js.map +0 -1
- package/platform/gitopsProject.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/harness",
|
|
3
|
-
"version": "0.2.0
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Harness resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "harness",
|
|
26
|
-
"version": "0.2.0
|
|
26
|
+
"version": "0.2.0",
|
|
27
27
|
"server": "github://api.github.com/pulumi"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare function getGitopsAppProject(args: GetGitopsAppProjectArgs, opts?: pulumi.InvokeOptions): Promise<GetGitopsAppProjectResult>;
|
|
3
|
+
/**
|
|
4
|
+
* A collection of arguments for invoking getGitopsAppProject.
|
|
5
|
+
*/
|
|
6
|
+
export interface GetGitopsAppProjectArgs {
|
|
7
|
+
accountId: string;
|
|
8
|
+
agentId: string;
|
|
9
|
+
orgId?: string;
|
|
10
|
+
projectId?: string;
|
|
11
|
+
queryName?: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* A collection of values returned by getGitopsAppProject.
|
|
15
|
+
*/
|
|
16
|
+
export interface GetGitopsAppProjectResult {
|
|
17
|
+
readonly accountId: string;
|
|
18
|
+
readonly agentId: string;
|
|
19
|
+
/**
|
|
20
|
+
* The provider-assigned unique ID for this managed resource.
|
|
21
|
+
*/
|
|
22
|
+
readonly id: string;
|
|
23
|
+
readonly orgId?: string;
|
|
24
|
+
readonly projectId?: string;
|
|
25
|
+
readonly queryName: string;
|
|
26
|
+
}
|
|
27
|
+
export declare function getGitopsAppProjectOutput(args: GetGitopsAppProjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGitopsAppProjectResult>;
|
|
28
|
+
/**
|
|
29
|
+
* A collection of arguments for invoking getGitopsAppProject.
|
|
30
|
+
*/
|
|
31
|
+
export interface GetGitopsAppProjectOutputArgs {
|
|
32
|
+
accountId: pulumi.Input<string>;
|
|
33
|
+
agentId: pulumi.Input<string>;
|
|
34
|
+
orgId?: pulumi.Input<string>;
|
|
35
|
+
projectId?: pulumi.Input<string>;
|
|
36
|
+
queryName?: pulumi.Input<string>;
|
|
37
|
+
}
|
|
@@ -2,30 +2,22 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.
|
|
5
|
+
exports.getGitopsAppProjectOutput = exports.getGitopsAppProject = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
|
-
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*/
|
|
11
|
-
function getGitopsProject(args, opts) {
|
|
8
|
+
function getGitopsAppProject(args, opts) {
|
|
12
9
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
-
return pulumi.runtime.invoke("harness:platform/
|
|
10
|
+
return pulumi.runtime.invoke("harness:platform/getGitopsAppProject:getGitopsAppProject", {
|
|
14
11
|
"accountId": args.accountId,
|
|
15
12
|
"agentId": args.agentId,
|
|
16
13
|
"orgId": args.orgId,
|
|
17
14
|
"projectId": args.projectId,
|
|
18
|
-
"projects": args.projects,
|
|
19
15
|
"queryName": args.queryName,
|
|
20
|
-
"upsert": args.upsert,
|
|
21
16
|
}, opts);
|
|
22
17
|
}
|
|
23
|
-
exports.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
*/
|
|
27
|
-
function getGitopsProjectOutput(args, opts) {
|
|
28
|
-
return pulumi.output(args).apply((a) => getGitopsProject(a, opts));
|
|
18
|
+
exports.getGitopsAppProject = getGitopsAppProject;
|
|
19
|
+
function getGitopsAppProjectOutput(args, opts) {
|
|
20
|
+
return pulumi.output(args).apply((a) => getGitopsAppProject(a, opts));
|
|
29
21
|
}
|
|
30
|
-
exports.
|
|
31
|
-
//# sourceMappingURL=
|
|
22
|
+
exports.getGitopsAppProjectOutput = getGitopsAppProjectOutput;
|
|
23
|
+
//# sourceMappingURL=getGitopsAppProject.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGitopsAppProject.js","sourceRoot":"","sources":["../../platform/getGitopsAppProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAE1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,kDAUC;AA2BD,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
|
|
@@ -1,32 +1,9 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
|
-
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
*
|
|
7
|
-
* ## Import
|
|
8
|
-
*
|
|
9
|
-
* Import an Account level Gitops Repository
|
|
10
|
-
*
|
|
11
|
-
* ```sh
|
|
12
|
-
* $ pulumi import harness:platform/gitopsProject:GitopsProject example <agent_id>/<query_name>
|
|
13
|
-
* ```
|
|
14
|
-
*
|
|
15
|
-
* Import an Org level Gitops Repository
|
|
16
|
-
*
|
|
17
|
-
* ```sh
|
|
18
|
-
* $ pulumi import harness:platform/gitopsProject:GitopsProject example <organization_id>/<agent_id>/<query_name
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* Import a Project level Gitops Repository
|
|
22
|
-
*
|
|
23
|
-
* ```sh
|
|
24
|
-
* $ pulumi import harness:platform/gitopsProject:GitopsProject example <organization_id>/<project_id>/<agent_id>/<query_name>
|
|
25
|
-
* ```
|
|
26
|
-
*/
|
|
27
|
-
export declare class GitopsProject extends pulumi.CustomResource {
|
|
4
|
+
export declare class GitopsAppProject extends pulumi.CustomResource {
|
|
28
5
|
/**
|
|
29
|
-
* Get an existing
|
|
6
|
+
* Get an existing GitopsAppProject resource's state with the given name, ID, and optional extra
|
|
30
7
|
* properties used to qualify the lookup.
|
|
31
8
|
*
|
|
32
9
|
* @param name The _unique_ name of the resulting resource.
|
|
@@ -34,12 +11,12 @@ export declare class GitopsProject extends pulumi.CustomResource {
|
|
|
34
11
|
* @param state Any extra arguments used during the lookup.
|
|
35
12
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
36
13
|
*/
|
|
37
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?:
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GitopsAppProjectState, opts?: pulumi.CustomResourceOptions): GitopsAppProject;
|
|
38
15
|
/**
|
|
39
|
-
* Returns true if the given object is an instance of
|
|
16
|
+
* Returns true if the given object is an instance of GitopsAppProject. This is designed to work even
|
|
40
17
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
41
18
|
*/
|
|
42
|
-
static isInstance(obj: any): obj is
|
|
19
|
+
static isInstance(obj: any): obj is GitopsAppProject;
|
|
43
20
|
/**
|
|
44
21
|
* Account identifier of the GitOps project.
|
|
45
22
|
*/
|
|
@@ -57,30 +34,30 @@ export declare class GitopsProject extends pulumi.CustomResource {
|
|
|
57
34
|
*/
|
|
58
35
|
readonly projectId: pulumi.Output<string | undefined>;
|
|
59
36
|
/**
|
|
60
|
-
*
|
|
37
|
+
* GitOps project configuration.
|
|
61
38
|
*/
|
|
62
|
-
readonly projects: pulumi.Output<outputs.platform.
|
|
39
|
+
readonly projects: pulumi.Output<outputs.platform.GitopsAppProjectProject[]>;
|
|
63
40
|
/**
|
|
64
41
|
* Identifier for the GitOps project.
|
|
65
42
|
*/
|
|
66
|
-
readonly queryName: pulumi.Output<string
|
|
43
|
+
readonly queryName: pulumi.Output<string>;
|
|
67
44
|
/**
|
|
68
45
|
* Indicates if the GitOps repository should be updated if existing and inserted if not.
|
|
69
46
|
*/
|
|
70
47
|
readonly upsert: pulumi.Output<boolean | undefined>;
|
|
71
48
|
/**
|
|
72
|
-
* Create a
|
|
49
|
+
* Create a GitopsAppProject resource with the given unique name, arguments, and options.
|
|
73
50
|
*
|
|
74
51
|
* @param name The _unique_ name of the resource.
|
|
75
52
|
* @param args The arguments to use to populate this resource's properties.
|
|
76
53
|
* @param opts A bag of options that control this resource's behavior.
|
|
77
54
|
*/
|
|
78
|
-
constructor(name: string, args:
|
|
55
|
+
constructor(name: string, args: GitopsAppProjectArgs, opts?: pulumi.CustomResourceOptions);
|
|
79
56
|
}
|
|
80
57
|
/**
|
|
81
|
-
* Input properties used for looking up and filtering
|
|
58
|
+
* Input properties used for looking up and filtering GitopsAppProject resources.
|
|
82
59
|
*/
|
|
83
|
-
export interface
|
|
60
|
+
export interface GitopsAppProjectState {
|
|
84
61
|
/**
|
|
85
62
|
* Account identifier of the GitOps project.
|
|
86
63
|
*/
|
|
@@ -98,9 +75,9 @@ export interface GitopsProjectState {
|
|
|
98
75
|
*/
|
|
99
76
|
projectId?: pulumi.Input<string>;
|
|
100
77
|
/**
|
|
101
|
-
*
|
|
78
|
+
* GitOps project configuration.
|
|
102
79
|
*/
|
|
103
|
-
projects?: pulumi.Input<pulumi.Input<inputs.platform.
|
|
80
|
+
projects?: pulumi.Input<pulumi.Input<inputs.platform.GitopsAppProjectProject>[]>;
|
|
104
81
|
/**
|
|
105
82
|
* Identifier for the GitOps project.
|
|
106
83
|
*/
|
|
@@ -111,9 +88,9 @@ export interface GitopsProjectState {
|
|
|
111
88
|
upsert?: pulumi.Input<boolean>;
|
|
112
89
|
}
|
|
113
90
|
/**
|
|
114
|
-
* The set of arguments for constructing a
|
|
91
|
+
* The set of arguments for constructing a GitopsAppProject resource.
|
|
115
92
|
*/
|
|
116
|
-
export interface
|
|
93
|
+
export interface GitopsAppProjectArgs {
|
|
117
94
|
/**
|
|
118
95
|
* Account identifier of the GitOps project.
|
|
119
96
|
*/
|
|
@@ -131,9 +108,9 @@ export interface GitopsProjectArgs {
|
|
|
131
108
|
*/
|
|
132
109
|
projectId?: pulumi.Input<string>;
|
|
133
110
|
/**
|
|
134
|
-
*
|
|
111
|
+
* GitOps project configuration.
|
|
135
112
|
*/
|
|
136
|
-
projects: pulumi.Input<pulumi.Input<inputs.platform.
|
|
113
|
+
projects: pulumi.Input<pulumi.Input<inputs.platform.GitopsAppProjectProject>[]>;
|
|
137
114
|
/**
|
|
138
115
|
* Identifier for the GitOps project.
|
|
139
116
|
*/
|
|
@@ -2,35 +2,12 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.
|
|
5
|
+
exports.GitopsAppProject = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
|
-
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* ## Import
|
|
12
|
-
*
|
|
13
|
-
* Import an Account level Gitops Repository
|
|
14
|
-
*
|
|
15
|
-
* ```sh
|
|
16
|
-
* $ pulumi import harness:platform/gitopsProject:GitopsProject example <agent_id>/<query_name>
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* Import an Org level Gitops Repository
|
|
20
|
-
*
|
|
21
|
-
* ```sh
|
|
22
|
-
* $ pulumi import harness:platform/gitopsProject:GitopsProject example <organization_id>/<agent_id>/<query_name
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* Import a Project level Gitops Repository
|
|
26
|
-
*
|
|
27
|
-
* ```sh
|
|
28
|
-
* $ pulumi import harness:platform/gitopsProject:GitopsProject example <organization_id>/<project_id>/<agent_id>/<query_name>
|
|
29
|
-
* ```
|
|
30
|
-
*/
|
|
31
|
-
class GitopsProject extends pulumi.CustomResource {
|
|
8
|
+
class GitopsAppProject extends pulumi.CustomResource {
|
|
32
9
|
/**
|
|
33
|
-
* Get an existing
|
|
10
|
+
* Get an existing GitopsAppProject resource's state with the given name, ID, and optional extra
|
|
34
11
|
* properties used to qualify the lookup.
|
|
35
12
|
*
|
|
36
13
|
* @param name The _unique_ name of the resulting resource.
|
|
@@ -39,17 +16,17 @@ class GitopsProject extends pulumi.CustomResource {
|
|
|
39
16
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
17
|
*/
|
|
41
18
|
static get(name, id, state, opts) {
|
|
42
|
-
return new
|
|
19
|
+
return new GitopsAppProject(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
43
20
|
}
|
|
44
21
|
/**
|
|
45
|
-
* Returns true if the given object is an instance of
|
|
22
|
+
* Returns true if the given object is an instance of GitopsAppProject. This is designed to work even
|
|
46
23
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
24
|
*/
|
|
48
25
|
static isInstance(obj) {
|
|
49
26
|
if (obj === undefined || obj === null) {
|
|
50
27
|
return false;
|
|
51
28
|
}
|
|
52
|
-
return obj['__pulumiType'] ===
|
|
29
|
+
return obj['__pulumiType'] === GitopsAppProject.__pulumiType;
|
|
53
30
|
}
|
|
54
31
|
constructor(name, argsOrState, opts) {
|
|
55
32
|
let resourceInputs = {};
|
|
@@ -84,10 +61,10 @@ class GitopsProject extends pulumi.CustomResource {
|
|
|
84
61
|
resourceInputs["upsert"] = args ? args.upsert : undefined;
|
|
85
62
|
}
|
|
86
63
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
87
|
-
super(
|
|
64
|
+
super(GitopsAppProject.__pulumiType, name, resourceInputs, opts);
|
|
88
65
|
}
|
|
89
66
|
}
|
|
90
|
-
exports.
|
|
67
|
+
exports.GitopsAppProject = GitopsAppProject;
|
|
91
68
|
/** @internal */
|
|
92
|
-
|
|
93
|
-
//# sourceMappingURL=
|
|
69
|
+
GitopsAppProject.__pulumiType = 'harness:platform/gitopsAppProject:GitopsAppProject';
|
|
70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AAC,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,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAlGL,4CAmGC;AArFG,gBAAgB;AACO,6BAAY,GAAG,oDAAoD,CAAC"}
|
package/platform/index.d.ts
CHANGED
|
@@ -232,6 +232,9 @@ export declare const getGitopsAgentOutput: typeof import("./getGitopsAgent").get
|
|
|
232
232
|
export { GetGitopsAgentDeployYamlArgs, GetGitopsAgentDeployYamlResult, GetGitopsAgentDeployYamlOutputArgs } from "./getGitopsAgentDeployYaml";
|
|
233
233
|
export declare const getGitopsAgentDeployYaml: typeof import("./getGitopsAgentDeployYaml").getGitopsAgentDeployYaml;
|
|
234
234
|
export declare const getGitopsAgentDeployYamlOutput: typeof import("./getGitopsAgentDeployYaml").getGitopsAgentDeployYamlOutput;
|
|
235
|
+
export { GetGitopsAppProjectArgs, GetGitopsAppProjectResult, GetGitopsAppProjectOutputArgs } from "./getGitopsAppProject";
|
|
236
|
+
export declare const getGitopsAppProject: typeof import("./getGitopsAppProject").getGitopsAppProject;
|
|
237
|
+
export declare const getGitopsAppProjectOutput: typeof import("./getGitopsAppProject").getGitopsAppProjectOutput;
|
|
235
238
|
export { GetGitopsAppProjectMappingArgs, GetGitopsAppProjectMappingResult, GetGitopsAppProjectMappingOutputArgs } from "./getGitopsAppProjectMapping";
|
|
236
239
|
export declare const getGitopsAppProjectMapping: typeof import("./getGitopsAppProjectMapping").getGitopsAppProjectMapping;
|
|
237
240
|
export declare const getGitopsAppProjectMappingOutput: typeof import("./getGitopsAppProjectMapping").getGitopsAppProjectMappingOutput;
|
|
@@ -244,9 +247,6 @@ export declare const getGitopsClusterOutput: typeof import("./getGitopsCluster")
|
|
|
244
247
|
export { GetGitopsGnupgArgs, GetGitopsGnupgResult, GetGitopsGnupgOutputArgs } from "./getGitopsGnupg";
|
|
245
248
|
export declare const getGitopsGnupg: typeof import("./getGitopsGnupg").getGitopsGnupg;
|
|
246
249
|
export declare const getGitopsGnupgOutput: typeof import("./getGitopsGnupg").getGitopsGnupgOutput;
|
|
247
|
-
export { GetGitopsProjectArgs, GetGitopsProjectResult, GetGitopsProjectOutputArgs } from "./getGitopsProject";
|
|
248
|
-
export declare const getGitopsProject: typeof import("./getGitopsProject").getGitopsProject;
|
|
249
|
-
export declare const getGitopsProjectOutput: typeof import("./getGitopsProject").getGitopsProjectOutput;
|
|
250
250
|
export { GetGitopsRepoCertArgs, GetGitopsRepoCertResult, GetGitopsRepoCertOutputArgs } from "./getGitopsRepoCert";
|
|
251
251
|
export declare const getGitopsRepoCert: typeof import("./getGitopsRepoCert").getGitopsRepoCert;
|
|
252
252
|
export declare const getGitopsRepoCertOutput: typeof import("./getGitopsRepoCert").getGitopsRepoCertOutput;
|
|
@@ -448,12 +448,12 @@ export declare const GithubConnector: typeof import("./githubConnector").GithubC
|
|
|
448
448
|
export { GitlabConnectorArgs, GitlabConnectorState } from "./gitlabConnector";
|
|
449
449
|
export type GitlabConnector = import("./gitlabConnector").GitlabConnector;
|
|
450
450
|
export declare const GitlabConnector: typeof import("./gitlabConnector").GitlabConnector;
|
|
451
|
+
export { GitopsAppProjectArgs, GitopsAppProjectState } from "./gitopsAppProject";
|
|
452
|
+
export type GitopsAppProject = import("./gitopsAppProject").GitopsAppProject;
|
|
453
|
+
export declare const GitopsAppProject: typeof import("./gitopsAppProject").GitopsAppProject;
|
|
451
454
|
export { GitopsAppProjectMappingArgs, GitopsAppProjectMappingState } from "./gitopsAppProjectMapping";
|
|
452
455
|
export type GitopsAppProjectMapping = import("./gitopsAppProjectMapping").GitopsAppProjectMapping;
|
|
453
456
|
export declare const GitopsAppProjectMapping: typeof import("./gitopsAppProjectMapping").GitopsAppProjectMapping;
|
|
454
|
-
export { GitopsProjectArgs, GitopsProjectState } from "./gitopsProject";
|
|
455
|
-
export type GitopsProject = import("./gitopsProject").GitopsProject;
|
|
456
|
-
export declare const GitopsProject: typeof import("./gitopsProject").GitopsProject;
|
|
457
457
|
export { HelmConnectorArgs, HelmConnectorState } from "./helmConnector";
|
|
458
458
|
export type HelmConnector = import("./helmConnector").HelmConnector;
|
|
459
459
|
export declare const HelmConnector: typeof import("./helmConnector").HelmConnector;
|
package/platform/index.js
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
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.getKubernetesCloudCostConnectorOutput = exports.getKubernetesCloudCostConnector = 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.getGitopsRepositoryOutput = exports.getGitopsRepository = exports.getGitopsRepoCredOutput = exports.getGitopsRepoCred = exports.getGitopsRepoCertOutput = exports.getGitopsRepoCert = exports.
|
|
7
|
+
exports.getKubernetesCloudCostConnectorOutput = exports.getKubernetesCloudCostConnector = 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.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
8
|
exports.getSecretSshkeyOutput = exports.getSecretSshkey = exports.getSecretFileOutput = exports.getSecretFile = 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.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 = void 0;
|
|
9
9
|
exports.GitOpsRepoCert = exports.GitOpsGnupg = exports.GitOpsCluster = exports.GitOpsApplications = 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 = void 0;
|
|
10
|
-
exports.Token = exports.TerraformCloudConnector = exports.TemplateFilters = exports.Template = exports.TasConnector = exports.SumologicConnector = 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.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.
|
|
10
|
+
exports.Token = exports.TerraformCloudConnector = exports.TemplateFilters = exports.Template = exports.TasConnector = exports.SumologicConnector = 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.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.GitopsAppProjectMapping = exports.GitopsAppProject = exports.GitlabConnector = exports.GithubConnector = exports.GitOpsRepository = exports.GitOpsRepoCred = void 0;
|
|
11
11
|
exports.Workspace = exports.VaultConnector = exports.Variables = exports.Usergroup = exports.User = exports.Triggers = void 0;
|
|
12
12
|
const pulumi = require("@pulumi/pulumi");
|
|
13
13
|
const utilities = require("../utilities");
|
|
@@ -209,6 +209,9 @@ utilities.lazyLoad(exports, ["getGitopsAgent", "getGitopsAgentOutput"], () => re
|
|
|
209
209
|
exports.getGitopsAgentDeployYaml = null;
|
|
210
210
|
exports.getGitopsAgentDeployYamlOutput = null;
|
|
211
211
|
utilities.lazyLoad(exports, ["getGitopsAgentDeployYaml", "getGitopsAgentDeployYamlOutput"], () => require("./getGitopsAgentDeployYaml"));
|
|
212
|
+
exports.getGitopsAppProject = null;
|
|
213
|
+
exports.getGitopsAppProjectOutput = null;
|
|
214
|
+
utilities.lazyLoad(exports, ["getGitopsAppProject", "getGitopsAppProjectOutput"], () => require("./getGitopsAppProject"));
|
|
212
215
|
exports.getGitopsAppProjectMapping = null;
|
|
213
216
|
exports.getGitopsAppProjectMappingOutput = null;
|
|
214
217
|
utilities.lazyLoad(exports, ["getGitopsAppProjectMapping", "getGitopsAppProjectMappingOutput"], () => require("./getGitopsAppProjectMapping"));
|
|
@@ -221,9 +224,6 @@ utilities.lazyLoad(exports, ["getGitopsCluster", "getGitopsClusterOutput"], () =
|
|
|
221
224
|
exports.getGitopsGnupg = null;
|
|
222
225
|
exports.getGitopsGnupgOutput = null;
|
|
223
226
|
utilities.lazyLoad(exports, ["getGitopsGnupg", "getGitopsGnupgOutput"], () => require("./getGitopsGnupg"));
|
|
224
|
-
exports.getGitopsProject = null;
|
|
225
|
-
exports.getGitopsProjectOutput = null;
|
|
226
|
-
utilities.lazyLoad(exports, ["getGitopsProject", "getGitopsProjectOutput"], () => require("./getGitopsProject"));
|
|
227
227
|
exports.getGitopsRepoCert = null;
|
|
228
228
|
exports.getGitopsRepoCertOutput = null;
|
|
229
229
|
utilities.lazyLoad(exports, ["getGitopsRepoCert", "getGitopsRepoCertOutput"], () => require("./getGitopsRepoCert"));
|
|
@@ -415,10 +415,10 @@ exports.GithubConnector = null;
|
|
|
415
415
|
utilities.lazyLoad(exports, ["GithubConnector"], () => require("./githubConnector"));
|
|
416
416
|
exports.GitlabConnector = null;
|
|
417
417
|
utilities.lazyLoad(exports, ["GitlabConnector"], () => require("./gitlabConnector"));
|
|
418
|
+
exports.GitopsAppProject = null;
|
|
419
|
+
utilities.lazyLoad(exports, ["GitopsAppProject"], () => require("./gitopsAppProject"));
|
|
418
420
|
exports.GitopsAppProjectMapping = null;
|
|
419
421
|
utilities.lazyLoad(exports, ["GitopsAppProjectMapping"], () => require("./gitopsAppProjectMapping"));
|
|
420
|
-
exports.GitopsProject = null;
|
|
421
|
-
utilities.lazyLoad(exports, ["GitopsProject"], () => require("./gitopsProject"));
|
|
422
422
|
exports.HelmConnector = null;
|
|
423
423
|
utilities.lazyLoad(exports, ["HelmConnector"], () => require("./helmConnector"));
|
|
424
424
|
exports.IacmDefaultPipeline = null;
|
|
@@ -615,10 +615,10 @@ const _module = {
|
|
|
615
615
|
return new exports.GithubConnector(name, undefined, { urn });
|
|
616
616
|
case "harness:platform/gitlabConnector:GitlabConnector":
|
|
617
617
|
return new exports.GitlabConnector(name, undefined, { urn });
|
|
618
|
+
case "harness:platform/gitopsAppProject:GitopsAppProject":
|
|
619
|
+
return new exports.GitopsAppProject(name, undefined, { urn });
|
|
618
620
|
case "harness:platform/gitopsAppProjectMapping:GitopsAppProjectMapping":
|
|
619
621
|
return new exports.GitopsAppProjectMapping(name, undefined, { urn });
|
|
620
|
-
case "harness:platform/gitopsProject:GitopsProject":
|
|
621
|
-
return new exports.GitopsProject(name, undefined, { urn });
|
|
622
622
|
case "harness:platform/helmConnector:HelmConnector":
|
|
623
623
|
return new exports.HelmConnector(name, undefined, { urn });
|
|
624
624
|
case "harness:platform/iacmDefaultPipeline:IacmDefaultPipeline":
|
|
@@ -770,8 +770,8 @@ pulumi.runtime.registerResourceModule("harness", "platform/gitOpsRepoCred", _mod
|
|
|
770
770
|
pulumi.runtime.registerResourceModule("harness", "platform/gitOpsRepository", _module);
|
|
771
771
|
pulumi.runtime.registerResourceModule("harness", "platform/githubConnector", _module);
|
|
772
772
|
pulumi.runtime.registerResourceModule("harness", "platform/gitlabConnector", _module);
|
|
773
|
+
pulumi.runtime.registerResourceModule("harness", "platform/gitopsAppProject", _module);
|
|
773
774
|
pulumi.runtime.registerResourceModule("harness", "platform/gitopsAppProjectMapping", _module);
|
|
774
|
-
pulumi.runtime.registerResourceModule("harness", "platform/gitopsProject", _module);
|
|
775
775
|
pulumi.runtime.registerResourceModule("harness", "platform/helmConnector", _module);
|
|
776
776
|
pulumi.runtime.registerResourceModule("harness", "platform/iacmDefaultPipeline", _module);
|
|
777
777
|
pulumi.runtime.registerResourceModule("harness", "platform/infrastructure", _module);
|