@pulumi/harness 0.7.1 → 0.7.2-alpha.1744688088
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/dbSchema.d.ts +29 -29
- package/platform/dbSchema.js +4 -27
- package/platform/dbSchema.js.map +1 -1
- package/platform/environmentClustersMapping.d.ts +0 -4
- package/platform/environmentClustersMapping.js +0 -4
- package/platform/environmentClustersMapping.js.map +1 -1
- package/platform/getDbSchema.d.ts +16 -1
- package/platform/getDbSchema.js +6 -0
- package/platform/getDbSchema.js.map +1 -1
- package/platform/getGitopsAgentDeployYaml.d.ts +12 -0
- package/platform/getGitopsAgentDeployYaml.js +2 -0
- package/platform/getGitopsAgentDeployYaml.js.map +1 -1
- package/platform/getGitopsFilters.d.ts +73 -0
- package/platform/getGitopsFilters.js +34 -0
- package/platform/getGitopsFilters.js.map +1 -0
- package/platform/getWorkspace.d.ts +9 -6
- package/platform/getWorkspace.js.map +1 -1
- package/platform/githubConnector.d.ts +3 -3
- package/platform/gitopsFilters.d.ts +187 -0
- package/platform/gitopsFilters.js +143 -0
- package/platform/gitopsFilters.js.map +1 -0
- package/platform/index.d.ts +6 -0
- package/platform/index.js +13 -5
- package/platform/index.js.map +1 -1
- package/platform/workspace.d.ts +13 -7
- package/platform/workspace.js +7 -1
- package/platform/workspace.js.map +1 -1
- package/types/input.d.ts +105 -3
- package/types/output.d.ts +44 -2
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Resource for creating and managing Harness GitOps Filters.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as harness from "@pulumi/harness";
|
|
10
|
+
*
|
|
11
|
+
* const example = new harness.platform.GitopsFilters("example", {
|
|
12
|
+
* name: "example_filter",
|
|
13
|
+
* orgId: "your_org_id",
|
|
14
|
+
* projectId: "your_project_id",
|
|
15
|
+
* identifier: "example_filter",
|
|
16
|
+
* type: "APPLICATION",
|
|
17
|
+
* filterProperties: JSON.stringify({
|
|
18
|
+
* agentIdentifiers: ["your_agent_identifier"],
|
|
19
|
+
* clusters: ["https://your-cluster-url"],
|
|
20
|
+
* healthStatus: [
|
|
21
|
+
* "Unknown",
|
|
22
|
+
* "Progressing",
|
|
23
|
+
* "Suspended",
|
|
24
|
+
* "Healthy",
|
|
25
|
+
* "Degraded",
|
|
26
|
+
* "Missing",
|
|
27
|
+
* ],
|
|
28
|
+
* namespaces: ["your-namespace"],
|
|
29
|
+
* repositories: ["your-repo"],
|
|
30
|
+
* syncStatus: [
|
|
31
|
+
* "OutOfSync",
|
|
32
|
+
* "Synced",
|
|
33
|
+
* "Unknown",
|
|
34
|
+
* ],
|
|
35
|
+
* }),
|
|
36
|
+
* filterVisibility: "OnlyCreator",
|
|
37
|
+
* });
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* ## Filter Properties Reference
|
|
41
|
+
*
|
|
42
|
+
* The `filterProperties` field supports the following filter types:
|
|
43
|
+
*
|
|
44
|
+
* > **Note:** The following filter properties are only valid for filter type "APPLICATION". Different filter types may support different properties.
|
|
45
|
+
*
|
|
46
|
+
* * `agentIdentifiers` - Array of GitOps agent identifiers to filter by.
|
|
47
|
+
* * `clusters` - Array of cluster URLs to filter by.
|
|
48
|
+
* * `healthStatus` - Array of health status values to filter by. Valid values include: "Unknown", "Progressing", "Suspended", "Healthy", "Degraded", "Missing".
|
|
49
|
+
* * `namespaces` - Array of Kubernetes namespaces to filter by.
|
|
50
|
+
* * `repositories` - Array of Git repository URLs to filter by.
|
|
51
|
+
* * `syncStatus` - Array of sync status values to filter by. Valid values include: "OutOfSync", "Synced", "Unknown".
|
|
52
|
+
*
|
|
53
|
+
* ## Schema Attributes Reference
|
|
54
|
+
*
|
|
55
|
+
* * `id` - Identifier of the GitOps filter.
|
|
56
|
+
*
|
|
57
|
+
* ## Import
|
|
58
|
+
*
|
|
59
|
+
* GitOps filters can be imported using a composite ID formed of organization ID, project ID, filter ID, and filter type.
|
|
60
|
+
*
|
|
61
|
+
* bash
|
|
62
|
+
*
|
|
63
|
+
* Format: <org_id>/<project_id>/<filter_id>/<filter_type>
|
|
64
|
+
*
|
|
65
|
+
* ```sh
|
|
66
|
+
* $ pulumi import harness:platform/gitopsFilters:GitopsFilters example org_id/project_id/filter_id/APPLICATION
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
export declare class GitopsFilters extends pulumi.CustomResource {
|
|
70
|
+
/**
|
|
71
|
+
* Get an existing GitopsFilters resource's state with the given name, ID, and optional extra
|
|
72
|
+
* properties used to qualify the lookup.
|
|
73
|
+
*
|
|
74
|
+
* @param name The _unique_ name of the resulting resource.
|
|
75
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
76
|
+
* @param state Any extra arguments used during the lookup.
|
|
77
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
78
|
+
*/
|
|
79
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GitopsFiltersState, opts?: pulumi.CustomResourceOptions): GitopsFilters;
|
|
80
|
+
/**
|
|
81
|
+
* Returns true if the given object is an instance of GitopsFilters. This is designed to work even
|
|
82
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
83
|
+
*/
|
|
84
|
+
static isInstance(obj: any): obj is GitopsFilters;
|
|
85
|
+
/**
|
|
86
|
+
* Properties of the filter entity defined in Harness as a JSON string. All values should be arrays of strings. Example: `jsonencode({"healthStatus": ["Healthy", "Degraded"], "syncStatus": ["Synced"]})`.
|
|
87
|
+
*/
|
|
88
|
+
readonly filterProperties: pulumi.Output<string>;
|
|
89
|
+
/**
|
|
90
|
+
* Visibility of the filter. Valid values are "EveryOne" and "OnlyCreator". Default is "EveryOne".
|
|
91
|
+
*/
|
|
92
|
+
readonly filterVisibility: pulumi.Output<string | undefined>;
|
|
93
|
+
/**
|
|
94
|
+
* Unique identifier of the GitOps filter.
|
|
95
|
+
*/
|
|
96
|
+
readonly identifier: pulumi.Output<string>;
|
|
97
|
+
/**
|
|
98
|
+
* Name of the GitOps filter.
|
|
99
|
+
*/
|
|
100
|
+
readonly name: pulumi.Output<string>;
|
|
101
|
+
/**
|
|
102
|
+
* Organization identifier for the GitOps filter.
|
|
103
|
+
*/
|
|
104
|
+
readonly orgId: pulumi.Output<string>;
|
|
105
|
+
/**
|
|
106
|
+
* Project identifier for the GitOps filter.
|
|
107
|
+
*/
|
|
108
|
+
readonly projectId: pulumi.Output<string>;
|
|
109
|
+
/**
|
|
110
|
+
* Type of GitOps filter. Currently, only "APPLICATION" is supported.
|
|
111
|
+
*/
|
|
112
|
+
readonly type: pulumi.Output<string>;
|
|
113
|
+
/**
|
|
114
|
+
* Create a GitopsFilters resource with the given unique name, arguments, and options.
|
|
115
|
+
*
|
|
116
|
+
* @param name The _unique_ name of the resource.
|
|
117
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
118
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
119
|
+
*/
|
|
120
|
+
constructor(name: string, args: GitopsFiltersArgs, opts?: pulumi.CustomResourceOptions);
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Input properties used for looking up and filtering GitopsFilters resources.
|
|
124
|
+
*/
|
|
125
|
+
export interface GitopsFiltersState {
|
|
126
|
+
/**
|
|
127
|
+
* Properties of the filter entity defined in Harness as a JSON string. All values should be arrays of strings. Example: `jsonencode({"healthStatus": ["Healthy", "Degraded"], "syncStatus": ["Synced"]})`.
|
|
128
|
+
*/
|
|
129
|
+
filterProperties?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* Visibility of the filter. Valid values are "EveryOne" and "OnlyCreator". Default is "EveryOne".
|
|
132
|
+
*/
|
|
133
|
+
filterVisibility?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* Unique identifier of the GitOps filter.
|
|
136
|
+
*/
|
|
137
|
+
identifier?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* Name of the GitOps filter.
|
|
140
|
+
*/
|
|
141
|
+
name?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* Organization identifier for the GitOps filter.
|
|
144
|
+
*/
|
|
145
|
+
orgId?: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* Project identifier for the GitOps filter.
|
|
148
|
+
*/
|
|
149
|
+
projectId?: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* Type of GitOps filter. Currently, only "APPLICATION" is supported.
|
|
152
|
+
*/
|
|
153
|
+
type?: pulumi.Input<string>;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* The set of arguments for constructing a GitopsFilters resource.
|
|
157
|
+
*/
|
|
158
|
+
export interface GitopsFiltersArgs {
|
|
159
|
+
/**
|
|
160
|
+
* Properties of the filter entity defined in Harness as a JSON string. All values should be arrays of strings. Example: `jsonencode({"healthStatus": ["Healthy", "Degraded"], "syncStatus": ["Synced"]})`.
|
|
161
|
+
*/
|
|
162
|
+
filterProperties: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* Visibility of the filter. Valid values are "EveryOne" and "OnlyCreator". Default is "EveryOne".
|
|
165
|
+
*/
|
|
166
|
+
filterVisibility?: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* Unique identifier of the GitOps filter.
|
|
169
|
+
*/
|
|
170
|
+
identifier: pulumi.Input<string>;
|
|
171
|
+
/**
|
|
172
|
+
* Name of the GitOps filter.
|
|
173
|
+
*/
|
|
174
|
+
name?: pulumi.Input<string>;
|
|
175
|
+
/**
|
|
176
|
+
* Organization identifier for the GitOps filter.
|
|
177
|
+
*/
|
|
178
|
+
orgId: pulumi.Input<string>;
|
|
179
|
+
/**
|
|
180
|
+
* Project identifier for the GitOps filter.
|
|
181
|
+
*/
|
|
182
|
+
projectId: pulumi.Input<string>;
|
|
183
|
+
/**
|
|
184
|
+
* Type of GitOps filter. Currently, only "APPLICATION" is supported.
|
|
185
|
+
*/
|
|
186
|
+
type: pulumi.Input<string>;
|
|
187
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
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.GitopsFilters = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource for creating and managing Harness GitOps Filters.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as harness from "@pulumi/harness";
|
|
16
|
+
*
|
|
17
|
+
* const example = new harness.platform.GitopsFilters("example", {
|
|
18
|
+
* name: "example_filter",
|
|
19
|
+
* orgId: "your_org_id",
|
|
20
|
+
* projectId: "your_project_id",
|
|
21
|
+
* identifier: "example_filter",
|
|
22
|
+
* type: "APPLICATION",
|
|
23
|
+
* filterProperties: JSON.stringify({
|
|
24
|
+
* agentIdentifiers: ["your_agent_identifier"],
|
|
25
|
+
* clusters: ["https://your-cluster-url"],
|
|
26
|
+
* healthStatus: [
|
|
27
|
+
* "Unknown",
|
|
28
|
+
* "Progressing",
|
|
29
|
+
* "Suspended",
|
|
30
|
+
* "Healthy",
|
|
31
|
+
* "Degraded",
|
|
32
|
+
* "Missing",
|
|
33
|
+
* ],
|
|
34
|
+
* namespaces: ["your-namespace"],
|
|
35
|
+
* repositories: ["your-repo"],
|
|
36
|
+
* syncStatus: [
|
|
37
|
+
* "OutOfSync",
|
|
38
|
+
* "Synced",
|
|
39
|
+
* "Unknown",
|
|
40
|
+
* ],
|
|
41
|
+
* }),
|
|
42
|
+
* filterVisibility: "OnlyCreator",
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* ## Filter Properties Reference
|
|
47
|
+
*
|
|
48
|
+
* The `filterProperties` field supports the following filter types:
|
|
49
|
+
*
|
|
50
|
+
* > **Note:** The following filter properties are only valid for filter type "APPLICATION". Different filter types may support different properties.
|
|
51
|
+
*
|
|
52
|
+
* * `agentIdentifiers` - Array of GitOps agent identifiers to filter by.
|
|
53
|
+
* * `clusters` - Array of cluster URLs to filter by.
|
|
54
|
+
* * `healthStatus` - Array of health status values to filter by. Valid values include: "Unknown", "Progressing", "Suspended", "Healthy", "Degraded", "Missing".
|
|
55
|
+
* * `namespaces` - Array of Kubernetes namespaces to filter by.
|
|
56
|
+
* * `repositories` - Array of Git repository URLs to filter by.
|
|
57
|
+
* * `syncStatus` - Array of sync status values to filter by. Valid values include: "OutOfSync", "Synced", "Unknown".
|
|
58
|
+
*
|
|
59
|
+
* ## Schema Attributes Reference
|
|
60
|
+
*
|
|
61
|
+
* * `id` - Identifier of the GitOps filter.
|
|
62
|
+
*
|
|
63
|
+
* ## Import
|
|
64
|
+
*
|
|
65
|
+
* GitOps filters can be imported using a composite ID formed of organization ID, project ID, filter ID, and filter type.
|
|
66
|
+
*
|
|
67
|
+
* bash
|
|
68
|
+
*
|
|
69
|
+
* Format: <org_id>/<project_id>/<filter_id>/<filter_type>
|
|
70
|
+
*
|
|
71
|
+
* ```sh
|
|
72
|
+
* $ pulumi import harness:platform/gitopsFilters:GitopsFilters example org_id/project_id/filter_id/APPLICATION
|
|
73
|
+
* ```
|
|
74
|
+
*/
|
|
75
|
+
class GitopsFilters extends pulumi.CustomResource {
|
|
76
|
+
/**
|
|
77
|
+
* Get an existing GitopsFilters resource's state with the given name, ID, and optional extra
|
|
78
|
+
* properties used to qualify the lookup.
|
|
79
|
+
*
|
|
80
|
+
* @param name The _unique_ name of the resulting resource.
|
|
81
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
82
|
+
* @param state Any extra arguments used during the lookup.
|
|
83
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
84
|
+
*/
|
|
85
|
+
static get(name, id, state, opts) {
|
|
86
|
+
return new GitopsFilters(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Returns true if the given object is an instance of GitopsFilters. This is designed to work even
|
|
90
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
91
|
+
*/
|
|
92
|
+
static isInstance(obj) {
|
|
93
|
+
if (obj === undefined || obj === null) {
|
|
94
|
+
return false;
|
|
95
|
+
}
|
|
96
|
+
return obj['__pulumiType'] === GitopsFilters.__pulumiType;
|
|
97
|
+
}
|
|
98
|
+
constructor(name, argsOrState, opts) {
|
|
99
|
+
let resourceInputs = {};
|
|
100
|
+
opts = opts || {};
|
|
101
|
+
if (opts.id) {
|
|
102
|
+
const state = argsOrState;
|
|
103
|
+
resourceInputs["filterProperties"] = state ? state.filterProperties : undefined;
|
|
104
|
+
resourceInputs["filterVisibility"] = state ? state.filterVisibility : undefined;
|
|
105
|
+
resourceInputs["identifier"] = state ? state.identifier : undefined;
|
|
106
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
107
|
+
resourceInputs["orgId"] = state ? state.orgId : undefined;
|
|
108
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
109
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
110
|
+
}
|
|
111
|
+
else {
|
|
112
|
+
const args = argsOrState;
|
|
113
|
+
if ((!args || args.filterProperties === undefined) && !opts.urn) {
|
|
114
|
+
throw new Error("Missing required property 'filterProperties'");
|
|
115
|
+
}
|
|
116
|
+
if ((!args || args.identifier === undefined) && !opts.urn) {
|
|
117
|
+
throw new Error("Missing required property 'identifier'");
|
|
118
|
+
}
|
|
119
|
+
if ((!args || args.orgId === undefined) && !opts.urn) {
|
|
120
|
+
throw new Error("Missing required property 'orgId'");
|
|
121
|
+
}
|
|
122
|
+
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
123
|
+
throw new Error("Missing required property 'projectId'");
|
|
124
|
+
}
|
|
125
|
+
if ((!args || args.type === undefined) && !opts.urn) {
|
|
126
|
+
throw new Error("Missing required property 'type'");
|
|
127
|
+
}
|
|
128
|
+
resourceInputs["filterProperties"] = args ? args.filterProperties : undefined;
|
|
129
|
+
resourceInputs["filterVisibility"] = args ? args.filterVisibility : undefined;
|
|
130
|
+
resourceInputs["identifier"] = args ? args.identifier : undefined;
|
|
131
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
132
|
+
resourceInputs["orgId"] = args ? args.orgId : undefined;
|
|
133
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
134
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
135
|
+
}
|
|
136
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
137
|
+
super(GitopsFilters.__pulumiType, name, resourceInputs, opts);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
exports.GitopsFilters = GitopsFilters;
|
|
141
|
+
/** @internal */
|
|
142
|
+
GitopsFilters.__pulumiType = 'harness:platform/gitopsFilters:GitopsFilters';
|
|
143
|
+
//# sourceMappingURL=gitopsFilters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gitopsFilters.js","sourceRoot":"","sources":["../../platform/gitopsFilters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkEG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,E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CAAC,GAAG,IAAI,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;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAxGL,sCAyGC;AA3FG,gBAAgB;AACO,0BAAY,GAAG,8CAA8C,CAAC"}
|
package/platform/index.d.ts
CHANGED
|
@@ -256,6 +256,9 @@ export declare const getGitopsApplicationsOutput: typeof import("./getGitopsAppl
|
|
|
256
256
|
export { GetGitopsClusterArgs, GetGitopsClusterResult, GetGitopsClusterOutputArgs } from "./getGitopsCluster";
|
|
257
257
|
export declare const getGitopsCluster: typeof import("./getGitopsCluster").getGitopsCluster;
|
|
258
258
|
export declare const getGitopsClusterOutput: typeof import("./getGitopsCluster").getGitopsClusterOutput;
|
|
259
|
+
export { GetGitopsFiltersArgs, GetGitopsFiltersResult, GetGitopsFiltersOutputArgs } from "./getGitopsFilters";
|
|
260
|
+
export declare const getGitopsFilters: typeof import("./getGitopsFilters").getGitopsFilters;
|
|
261
|
+
export declare const getGitopsFiltersOutput: typeof import("./getGitopsFilters").getGitopsFiltersOutput;
|
|
259
262
|
export { GetGitopsGnupgArgs, GetGitopsGnupgResult, GetGitopsGnupgOutputArgs } from "./getGitopsGnupg";
|
|
260
263
|
export declare const getGitopsGnupg: typeof import("./getGitopsGnupg").getGitopsGnupg;
|
|
261
264
|
export declare const getGitopsGnupgOutput: typeof import("./getGitopsGnupg").getGitopsGnupgOutput;
|
|
@@ -484,6 +487,9 @@ export declare const GitopsAppProject: typeof import("./gitopsAppProject").Gitop
|
|
|
484
487
|
export { GitopsAppProjectMappingArgs, GitopsAppProjectMappingState } from "./gitopsAppProjectMapping";
|
|
485
488
|
export type GitopsAppProjectMapping = import("./gitopsAppProjectMapping").GitopsAppProjectMapping;
|
|
486
489
|
export declare const GitopsAppProjectMapping: typeof import("./gitopsAppProjectMapping").GitopsAppProjectMapping;
|
|
490
|
+
export { GitopsFiltersArgs, GitopsFiltersState } from "./gitopsFilters";
|
|
491
|
+
export type GitopsFilters = import("./gitopsFilters").GitopsFilters;
|
|
492
|
+
export declare const GitopsFilters: typeof import("./gitopsFilters").GitopsFilters;
|
|
487
493
|
export { GitxWebhookArgs, GitxWebhookState } from "./gitxWebhook";
|
|
488
494
|
export type GitxWebhook = import("./gitxWebhook").GitxWebhook;
|
|
489
495
|
export declare const GitxWebhook: typeof import("./gitxWebhook").GitxWebhook;
|
package/platform/index.js
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
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.ConnectorGcpKms = exports.ConnectorCustomhealthsource = exports.ConnectorCustomSecretManager = exports.ConnectorAzureArtifacts = 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.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.getConnectorGcpKmsOutput = exports.getConnectorGcpKms = 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 = exports.getAwsSecretManagerConnectorOutput = exports.getAwsSecretManagerConnector = void 0;
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
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 = 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.Provider = exports.PrometheusConnector = void 0;
|
|
7
|
+
exports.getHelmConnectorOutput = exports.getHelmConnector = exports.getHarRegistryOutput = exports.getHarRegistry = exports.getGitxWebhookOutput = exports.getGitxWebhook = exports.getGitopsRepositoryOutput = exports.getGitopsRepository = exports.getGitopsRepoCredOutput = exports.getGitopsRepoCred = exports.getGitopsRepoCertOutput = exports.getGitopsRepoCert = exports.getGitopsGnupgOutput = exports.getGitopsGnupg = exports.getGitopsFiltersOutput = exports.getGitopsFilters = exports.getGitopsClusterOutput = exports.getGitopsCluster = exports.getGitopsApplicationsOutput = exports.getGitopsApplications = exports.getGitopsAppProjectMappingOutput = exports.getGitopsAppProjectMapping = exports.getGitopsAppProjectOutput = exports.getGitopsAppProject = exports.getGitopsAgentOperatorYamlOutput = exports.getGitopsAgentOperatorYaml = 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 = exports.getFileStoreFileOutput = exports.getFileStoreFile = exports.getEnvironmentServiceOverridesOutput = exports.getEnvironmentServiceOverrides = void 0;
|
|
8
|
+
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 = exports.getJiraConnectorOutput = exports.getJiraConnector = exports.getJenkinsConnectorOutput = exports.getJenkinsConnector = exports.getInputSetOutput = exports.getInputSet = exports.getInfrastructureOutput = exports.getInfrastructure = exports.getInfraVariableSetOutput = exports.getInfraVariableSet = exports.getInfraModuleOutput = exports.getInfraModule = exports.getIacmDefaultPipelineOutput = exports.getIacmDefaultPipeline = void 0;
|
|
9
|
+
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 = 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.getProviderOutput = exports.getProvider = exports.getPrometheusConnectorOutput = exports.getPrometheusConnector = void 0;
|
|
10
|
+
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.InfraVariableSet = exports.InfraModule = exports.IacmDefaultPipeline = exports.HelmConnector = exports.HarRegistry = exports.GitxWebhook = exports.GitopsFilters = exports.GitopsAppProjectMapping = exports.GitopsAppProject = exports.GitlabConnector = exports.GithubConnector = exports.GitOpsRepository = exports.GitOpsRepoCred = 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 = 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 = 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.Provider = exports.PrometheusConnector = exports.Project = exports.PolicySet = exports.Policy = void 0;
|
|
12
12
|
const pulumi = require("@pulumi/pulumi");
|
|
13
13
|
const utilities = require("../utilities");
|
|
14
14
|
exports.AppDynamicsConnector = null;
|
|
@@ -231,6 +231,9 @@ utilities.lazyLoad(exports, ["getGitopsApplications", "getGitopsApplicationsOutp
|
|
|
231
231
|
exports.getGitopsCluster = null;
|
|
232
232
|
exports.getGitopsClusterOutput = null;
|
|
233
233
|
utilities.lazyLoad(exports, ["getGitopsCluster", "getGitopsClusterOutput"], () => require("./getGitopsCluster"));
|
|
234
|
+
exports.getGitopsFilters = null;
|
|
235
|
+
exports.getGitopsFiltersOutput = null;
|
|
236
|
+
utilities.lazyLoad(exports, ["getGitopsFilters", "getGitopsFiltersOutput"], () => require("./getGitopsFilters"));
|
|
234
237
|
exports.getGitopsGnupg = null;
|
|
235
238
|
exports.getGitopsGnupgOutput = null;
|
|
236
239
|
utilities.lazyLoad(exports, ["getGitopsGnupg", "getGitopsGnupgOutput"], () => require("./getGitopsGnupg"));
|
|
@@ -447,6 +450,8 @@ exports.GitopsAppProject = null;
|
|
|
447
450
|
utilities.lazyLoad(exports, ["GitopsAppProject"], () => require("./gitopsAppProject"));
|
|
448
451
|
exports.GitopsAppProjectMapping = null;
|
|
449
452
|
utilities.lazyLoad(exports, ["GitopsAppProjectMapping"], () => require("./gitopsAppProjectMapping"));
|
|
453
|
+
exports.GitopsFilters = null;
|
|
454
|
+
utilities.lazyLoad(exports, ["GitopsFilters"], () => require("./gitopsFilters"));
|
|
450
455
|
exports.GitxWebhook = null;
|
|
451
456
|
utilities.lazyLoad(exports, ["GitxWebhook"], () => require("./gitxWebhook"));
|
|
452
457
|
exports.HarRegistry = null;
|
|
@@ -663,6 +668,8 @@ const _module = {
|
|
|
663
668
|
return new exports.GitopsAppProject(name, undefined, { urn });
|
|
664
669
|
case "harness:platform/gitopsAppProjectMapping:GitopsAppProjectMapping":
|
|
665
670
|
return new exports.GitopsAppProjectMapping(name, undefined, { urn });
|
|
671
|
+
case "harness:platform/gitopsFilters:GitopsFilters":
|
|
672
|
+
return new exports.GitopsFilters(name, undefined, { urn });
|
|
666
673
|
case "harness:platform/gitxWebhook:GitxWebhook":
|
|
667
674
|
return new exports.GitxWebhook(name, undefined, { urn });
|
|
668
675
|
case "harness:platform/harRegistry:HarRegistry":
|
|
@@ -830,6 +837,7 @@ pulumi.runtime.registerResourceModule("harness", "platform/githubConnector", _mo
|
|
|
830
837
|
pulumi.runtime.registerResourceModule("harness", "platform/gitlabConnector", _module);
|
|
831
838
|
pulumi.runtime.registerResourceModule("harness", "platform/gitopsAppProject", _module);
|
|
832
839
|
pulumi.runtime.registerResourceModule("harness", "platform/gitopsAppProjectMapping", _module);
|
|
840
|
+
pulumi.runtime.registerResourceModule("harness", "platform/gitopsFilters", _module);
|
|
833
841
|
pulumi.runtime.registerResourceModule("harness", "platform/gitxWebhook", _module);
|
|
834
842
|
pulumi.runtime.registerResourceModule("harness", "platform/harRegistry", _module);
|
|
835
843
|
pulumi.runtime.registerResourceModule("harness", "platform/helmConnector", _module);
|