@pulumi/gitlab 9.12.0-alpha.1782457766 → 10.0.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/README.md +2 -2
- package/applicationSettings.d.ts +48 -18
- package/applicationSettings.d.ts.map +1 -1
- package/applicationSettings.js +8 -2
- package/applicationSettings.js.map +1 -1
- package/branchProtection.d.ts +48 -52
- package/branchProtection.d.ts.map +1 -1
- package/branchProtection.js +30 -24
- package/branchProtection.js.map +1 -1
- package/getGroup.d.ts +114 -2
- package/getGroup.d.ts.map +1 -1
- package/getGroup.js.map +1 -1
- package/getGroupHook.d.ts +40 -6
- package/getGroupHook.d.ts.map +1 -1
- package/getGroupHook.js.map +1 -1
- package/getGroupLabel.d.ts +125 -0
- package/getGroupLabel.d.ts.map +1 -0
- package/getGroupLabel.js +93 -0
- package/getGroupLabel.js.map +1 -0
- package/getGroupLabels.d.ts +74 -0
- package/getGroupLabels.d.ts.map +1 -0
- package/getGroupLabels.js +79 -0
- package/getGroupLabels.js.map +1 -0
- package/getGroupProtectedBranch.d.ts +82 -0
- package/getGroupProtectedBranch.d.ts.map +1 -0
- package/getGroupProtectedBranch.js +61 -0
- package/getGroupProtectedBranch.js.map +1 -0
- package/getGroupProtectedBranches.d.ts +54 -0
- package/getGroupProtectedBranches.d.ts.map +1 -0
- package/getGroupProtectedBranches.js +59 -0
- package/getGroupProtectedBranches.js.map +1 -0
- package/getProject.d.ts +355 -57
- package/getProject.d.ts.map +1 -1
- package/getProject.js +0 -6
- package/getProject.js.map +1 -1
- package/getProjectHook.d.ts +36 -6
- package/getProjectHook.d.ts.map +1 -1
- package/getProjectHook.js.map +1 -1
- package/getProjectMembership.d.ts +4 -40
- package/getProjectMembership.d.ts.map +1 -1
- package/getProjectMembership.js +0 -6
- package/getProjectMembership.js.map +1 -1
- package/getProjectProtectedBranch.d.ts +8 -21
- package/getProjectProtectedBranch.d.ts.map +1 -1
- package/getProjectProtectedBranch.js +0 -4
- package/getProjectProtectedBranch.js.map +1 -1
- package/getProjectProtectedBranches.d.ts +1 -10
- package/getProjectProtectedBranches.d.ts.map +1 -1
- package/getProjectProtectedBranches.js +0 -2
- package/getProjectProtectedBranches.js.map +1 -1
- package/getProjectServiceAccount.d.ts +97 -0
- package/getProjectServiceAccount.d.ts.map +1 -0
- package/getProjectServiceAccount.js +89 -0
- package/getProjectServiceAccount.js.map +1 -0
- package/getProjects.d.ts +22 -10
- package/getProjects.d.ts.map +1 -1
- package/getProjects.js +2 -0
- package/getProjects.js.map +1 -1
- package/getSystemHook.d.ts +111 -0
- package/getSystemHook.d.ts.map +1 -0
- package/getSystemHook.js +81 -0
- package/getSystemHook.js.map +1 -0
- package/getSystemHooks.d.ts +50 -0
- package/getSystemHooks.d.ts.map +1 -0
- package/getSystemHooks.js +73 -0
- package/getSystemHooks.js.map +1 -0
- package/group.d.ts +12 -0
- package/group.d.ts.map +1 -1
- package/group.js +2 -0
- package/group.js.map +1 -1
- package/groupAccessToken.d.ts +3 -3
- package/groupBranchProtection.d.ts +185 -0
- package/groupBranchProtection.d.ts.map +1 -0
- package/groupBranchProtection.js +146 -0
- package/groupBranchProtection.js.map +1 -0
- package/groupCluster.d.ts +1 -1
- package/groupCluster.js +1 -1
- package/groupDeployToken.d.ts +3 -3
- package/groupHook.d.ts +75 -3
- package/groupHook.d.ts.map +1 -1
- package/groupHook.js +15 -1
- package/groupHook.js.map +1 -1
- package/{integrationHarbor.d.ts → groupIntegrationHarbor.d.ts} +39 -43
- package/groupIntegrationHarbor.d.ts.map +1 -0
- package/{integrationHarbor.js → groupIntegrationHarbor.js} +30 -34
- package/groupIntegrationHarbor.js.map +1 -0
- package/groupSamlLink.d.ts +3 -3
- package/groupSavedReply.d.ts +78 -0
- package/groupSavedReply.d.ts.map +1 -0
- package/{deployToken.js → groupSavedReply.js} +19 -45
- package/groupSavedReply.js.map +1 -0
- package/groupServiceAccount.d.ts +12 -0
- package/groupServiceAccount.d.ts.map +1 -1
- package/groupServiceAccount.js +2 -0
- package/groupServiceAccount.js.map +1 -1
- package/groupServiceAccountAccessToken.d.ts +3 -3
- package/index.d.ts +45 -48
- package/index.d.ts.map +1 -1
- package/index.js +67 -86
- package/index.js.map +1 -1
- package/instanceCluster.d.ts +1 -1
- package/instanceCluster.js +1 -1
- package/integrationSlack.d.ts +0 -18
- package/integrationSlack.d.ts.map +1 -1
- package/integrationSlack.js +0 -2
- package/integrationSlack.js.map +1 -1
- package/memberRole.d.ts +3 -3
- package/package.json +2 -2
- package/personalAccessToken.d.ts +3 -3
- package/project.d.ts +36 -234
- package/project.d.ts.map +1 -1
- package/project.js +6 -26
- package/project.js.map +1 -1
- package/projectAccessToken.d.ts +3 -3
- package/projectCluster.d.ts +1 -1
- package/projectCluster.js +1 -1
- package/projectDeployToken.d.ts +3 -3
- package/projectHook.d.ts +103 -0
- package/projectHook.d.ts.map +1 -1
- package/projectHook.js +30 -1
- package/projectHook.js.map +1 -1
- package/projectIntegrationDatadog.d.ts +200 -0
- package/projectIntegrationDatadog.d.ts.map +1 -0
- package/{integrationGithub.js → projectIntegrationDatadog.js} +44 -45
- package/projectIntegrationDatadog.js.map +1 -0
- package/{integrationMicrosoftTeams.d.ts → projectIntegrationGoogleChat.d.ts} +35 -95
- package/projectIntegrationGoogleChat.d.ts.map +1 -0
- package/{integrationMicrosoftTeams.js → projectIntegrationGoogleChat.js} +12 -50
- package/projectIntegrationGoogleChat.js.map +1 -0
- package/projectIntegrationJira.d.ts +12 -12
- package/projectJobTokenScopes.d.ts +5 -21
- package/projectJobTokenScopes.d.ts.map +1 -1
- package/projectJobTokenScopes.js +6 -3
- package/projectJobTokenScopes.js.map +1 -1
- package/projectLabel.d.ts +12 -0
- package/projectLabel.d.ts.map +1 -1
- package/projectLabel.js +2 -0
- package/projectLabel.js.map +1 -1
- package/projectLevelMrApprovals.d.ts +21 -3
- package/projectLevelMrApprovals.d.ts.map +1 -1
- package/projectLevelMrApprovals.js +2 -0
- package/projectLevelMrApprovals.js.map +1 -1
- package/projectMergeRequestNote.d.ts +3 -3
- package/projectProtectedEnvironment.d.ts +4 -22
- package/projectProtectedEnvironment.d.ts.map +1 -1
- package/projectProtectedEnvironment.js +1 -3
- package/projectProtectedEnvironment.js.map +1 -1
- package/projectPushMirror.d.ts +12 -0
- package/projectPushMirror.d.ts.map +1 -1
- package/projectPushMirror.js +2 -0
- package/projectPushMirror.js.map +1 -1
- package/projectSavedReply.d.ts +78 -0
- package/projectSavedReply.d.ts.map +1 -0
- package/{label.js → projectSavedReply.js} +16 -24
- package/projectSavedReply.js.map +1 -0
- package/projectServiceAccount.d.ts +152 -0
- package/projectServiceAccount.d.ts.map +1 -0
- package/{integrationPipelinesEmail.js → projectServiceAccount.js} +42 -35
- package/projectServiceAccount.js.map +1 -0
- package/projectShareGroup.d.ts +2 -20
- package/projectShareGroup.d.ts.map +1 -1
- package/projectShareGroup.js +3 -2
- package/projectShareGroup.js.map +1 -1
- package/projectTargetBranchRule.d.ts +1 -1
- package/projectTargetBranchRule.js +1 -1
- package/systemHook.d.ts +50 -6
- package/systemHook.d.ts.map +1 -1
- package/systemHook.js +9 -1
- package/systemHook.js.map +1 -1
- package/types/input.d.ts +95 -249
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +1168 -168
- package/types/output.d.ts.map +1 -1
- package/userImpersonationToken.d.ts +3 -3
- package/userSavedReply.d.ts +66 -0
- package/userSavedReply.d.ts.map +1 -0
- package/userSavedReply.js +82 -0
- package/userSavedReply.js.map +1 -0
- package/deployToken.d.ts +0 -147
- package/deployToken.d.ts.map +0 -1
- package/deployToken.js.map +0 -1
- package/integrationCustomIssueTracker.d.ts +0 -142
- package/integrationCustomIssueTracker.d.ts.map +0 -1
- package/integrationCustomIssueTracker.js +0 -130
- package/integrationCustomIssueTracker.js.map +0 -1
- package/integrationEmailsOnPush.d.ts +0 -198
- package/integrationEmailsOnPush.d.ts.map +0 -1
- package/integrationEmailsOnPush.js +0 -137
- package/integrationEmailsOnPush.js.map +0 -1
- package/integrationExternalWiki.d.ts +0 -137
- package/integrationExternalWiki.d.ts.map +0 -1
- package/integrationExternalWiki.js +0 -126
- package/integrationExternalWiki.js.map +0 -1
- package/integrationGithub.d.ts +0 -156
- package/integrationGithub.d.ts.map +0 -1
- package/integrationGithub.js.map +0 -1
- package/integrationHarbor.d.ts.map +0 -1
- package/integrationHarbor.js.map +0 -1
- package/integrationJenkins.d.ts +0 -190
- package/integrationJenkins.d.ts.map +0 -1
- package/integrationJenkins.js +0 -138
- package/integrationJenkins.js.map +0 -1
- package/integrationJira.d.ts +0 -299
- package/integrationJira.d.ts.map +0 -1
- package/integrationJira.js +0 -159
- package/integrationJira.js.map +0 -1
- package/integrationMattermost.d.ts +0 -352
- package/integrationMattermost.d.ts.map +0 -1
- package/integrationMattermost.js +0 -163
- package/integrationMattermost.js.map +0 -1
- package/integrationMicrosoftTeams.d.ts.map +0 -1
- package/integrationMicrosoftTeams.js.map +0 -1
- package/integrationPipelinesEmail.d.ts +0 -123
- package/integrationPipelinesEmail.d.ts.map +0 -1
- package/integrationPipelinesEmail.js.map +0 -1
- package/integrationRedmine.d.ts +0 -136
- package/integrationRedmine.d.ts.map +0 -1
- package/integrationRedmine.js +0 -131
- package/integrationRedmine.js.map +0 -1
- package/integrationTelegram.d.ts +0 -253
- package/integrationTelegram.d.ts.map +0 -1
- package/integrationTelegram.js +0 -184
- package/integrationTelegram.js.map +0 -1
- package/label.d.ts +0 -108
- package/label.d.ts.map +0 -1
- package/label.js.map +0 -1
- package/projectMirror.d.ts +0 -166
- package/projectMirror.d.ts.map +0 -1
- package/projectMirror.js +0 -131
- package/projectMirror.js.map +0 -1
- package/runner.d.ts +0 -188
- package/runner.d.ts.map +0 -1
- package/runner.js +0 -122
- package/runner.js.map +0 -1
package/runner.d.ts
DELETED
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* The `gitlab.Runner` resource manages the lifecycle of a runner.
|
|
4
|
-
*
|
|
5
|
-
* > This resource has been deprecated in favor of the `gitlab.UserRunner` resource. Please use that resource, and the new registration flow, instead. To be removed in 19.0.
|
|
6
|
-
*
|
|
7
|
-
* A runner can either be registered at an instance level or group level.
|
|
8
|
-
* The runner will be registered at a group level if the token used is from a group, or at an instance level if the token used is for the instance.
|
|
9
|
-
*
|
|
10
|
-
* > Using this resource will register a runner using the deprecated `registrationToken` flow. To use the new `authenticationToken` flow instead,
|
|
11
|
-
* use the `gitlab.UserRunner` resource!
|
|
12
|
-
*
|
|
13
|
-
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/runners/)
|
|
14
|
-
*
|
|
15
|
-
* ## Import
|
|
16
|
-
*
|
|
17
|
-
* Starting in Terraform v1.5.0, you can use an import block to import `gitlab.Runner`. For example:
|
|
18
|
-
*
|
|
19
|
-
* Importing using the CLI is supported with the following syntax:
|
|
20
|
-
*
|
|
21
|
-
* A GitLab Runner can be imported using the runner's ID, eg
|
|
22
|
-
*
|
|
23
|
-
* ```sh
|
|
24
|
-
* $ pulumi import gitlab:index/runner:Runner this 1
|
|
25
|
-
* ```
|
|
26
|
-
*/
|
|
27
|
-
export declare class Runner extends pulumi.CustomResource {
|
|
28
|
-
/**
|
|
29
|
-
* Get an existing Runner resource's state with the given name, ID, and optional extra
|
|
30
|
-
* properties used to qualify the lookup.
|
|
31
|
-
*
|
|
32
|
-
* @param name The _unique_ name of the resulting resource.
|
|
33
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
34
|
-
* @param state Any extra arguments used during the lookup.
|
|
35
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
36
|
-
*/
|
|
37
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RunnerState, opts?: pulumi.CustomResourceOptions): Runner;
|
|
38
|
-
/**
|
|
39
|
-
* Returns true if the given object is an instance of Runner. This is designed to work even
|
|
40
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
41
|
-
*/
|
|
42
|
-
static isInstance(obj: any): obj is Runner;
|
|
43
|
-
/**
|
|
44
|
-
* The accessLevel of the runner. Valid values are: `notProtected`, `refProtected`.
|
|
45
|
-
*/
|
|
46
|
-
readonly accessLevel: pulumi.Output<string>;
|
|
47
|
-
/**
|
|
48
|
-
* The authentication token used for building a config.toml file. This value is not present when imported.
|
|
49
|
-
*/
|
|
50
|
-
readonly authenticationToken: pulumi.Output<string>;
|
|
51
|
-
/**
|
|
52
|
-
* The runner's description.
|
|
53
|
-
*/
|
|
54
|
-
readonly description: pulumi.Output<string | undefined>;
|
|
55
|
-
/**
|
|
56
|
-
* Whether the runner should be locked for current project.
|
|
57
|
-
*/
|
|
58
|
-
readonly locked: pulumi.Output<boolean>;
|
|
59
|
-
/**
|
|
60
|
-
* Free-form maintenance notes for the runner (1024 characters).
|
|
61
|
-
*/
|
|
62
|
-
readonly maintenanceNote: pulumi.Output<string | undefined>;
|
|
63
|
-
/**
|
|
64
|
-
* Maximum timeout set when this runner handles the job.
|
|
65
|
-
*/
|
|
66
|
-
readonly maximumTimeout: pulumi.Output<number | undefined>;
|
|
67
|
-
/**
|
|
68
|
-
* Whether the runner should ignore new jobs.
|
|
69
|
-
*/
|
|
70
|
-
readonly paused: pulumi.Output<boolean>;
|
|
71
|
-
/**
|
|
72
|
-
* The registration token used to register the runner.
|
|
73
|
-
*/
|
|
74
|
-
readonly registrationToken: pulumi.Output<string>;
|
|
75
|
-
/**
|
|
76
|
-
* Whether the runner should handle untagged jobs.
|
|
77
|
-
*/
|
|
78
|
-
readonly runUntagged: pulumi.Output<boolean>;
|
|
79
|
-
/**
|
|
80
|
-
* The status of runners to show, one of: online and offline. active and paused are also possible values
|
|
81
|
-
* which were deprecated in GitLab 14.8 and will be removed in GitLab 16.0.
|
|
82
|
-
*/
|
|
83
|
-
readonly status: pulumi.Output<string>;
|
|
84
|
-
/**
|
|
85
|
-
* List of runner’s tags.
|
|
86
|
-
*/
|
|
87
|
-
readonly tagLists: pulumi.Output<string[] | undefined>;
|
|
88
|
-
/**
|
|
89
|
-
* Create a Runner resource with the given unique name, arguments, and options.
|
|
90
|
-
*
|
|
91
|
-
* @param name The _unique_ name of the resource.
|
|
92
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
93
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
94
|
-
*/
|
|
95
|
-
constructor(name: string, args: RunnerArgs, opts?: pulumi.CustomResourceOptions);
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* Input properties used for looking up and filtering Runner resources.
|
|
99
|
-
*/
|
|
100
|
-
export interface RunnerState {
|
|
101
|
-
/**
|
|
102
|
-
* The accessLevel of the runner. Valid values are: `notProtected`, `refProtected`.
|
|
103
|
-
*/
|
|
104
|
-
accessLevel?: pulumi.Input<string | undefined>;
|
|
105
|
-
/**
|
|
106
|
-
* The authentication token used for building a config.toml file. This value is not present when imported.
|
|
107
|
-
*/
|
|
108
|
-
authenticationToken?: pulumi.Input<string | undefined>;
|
|
109
|
-
/**
|
|
110
|
-
* The runner's description.
|
|
111
|
-
*/
|
|
112
|
-
description?: pulumi.Input<string | undefined>;
|
|
113
|
-
/**
|
|
114
|
-
* Whether the runner should be locked for current project.
|
|
115
|
-
*/
|
|
116
|
-
locked?: pulumi.Input<boolean | undefined>;
|
|
117
|
-
/**
|
|
118
|
-
* Free-form maintenance notes for the runner (1024 characters).
|
|
119
|
-
*/
|
|
120
|
-
maintenanceNote?: pulumi.Input<string | undefined>;
|
|
121
|
-
/**
|
|
122
|
-
* Maximum timeout set when this runner handles the job.
|
|
123
|
-
*/
|
|
124
|
-
maximumTimeout?: pulumi.Input<number | undefined>;
|
|
125
|
-
/**
|
|
126
|
-
* Whether the runner should ignore new jobs.
|
|
127
|
-
*/
|
|
128
|
-
paused?: pulumi.Input<boolean | undefined>;
|
|
129
|
-
/**
|
|
130
|
-
* The registration token used to register the runner.
|
|
131
|
-
*/
|
|
132
|
-
registrationToken?: pulumi.Input<string | undefined>;
|
|
133
|
-
/**
|
|
134
|
-
* Whether the runner should handle untagged jobs.
|
|
135
|
-
*/
|
|
136
|
-
runUntagged?: pulumi.Input<boolean | undefined>;
|
|
137
|
-
/**
|
|
138
|
-
* The status of runners to show, one of: online and offline. active and paused are also possible values
|
|
139
|
-
* which were deprecated in GitLab 14.8 and will be removed in GitLab 16.0.
|
|
140
|
-
*/
|
|
141
|
-
status?: pulumi.Input<string | undefined>;
|
|
142
|
-
/**
|
|
143
|
-
* List of runner’s tags.
|
|
144
|
-
*/
|
|
145
|
-
tagLists?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
146
|
-
}
|
|
147
|
-
/**
|
|
148
|
-
* The set of arguments for constructing a Runner resource.
|
|
149
|
-
*/
|
|
150
|
-
export interface RunnerArgs {
|
|
151
|
-
/**
|
|
152
|
-
* The accessLevel of the runner. Valid values are: `notProtected`, `refProtected`.
|
|
153
|
-
*/
|
|
154
|
-
accessLevel?: pulumi.Input<string | undefined>;
|
|
155
|
-
/**
|
|
156
|
-
* The runner's description.
|
|
157
|
-
*/
|
|
158
|
-
description?: pulumi.Input<string | undefined>;
|
|
159
|
-
/**
|
|
160
|
-
* Whether the runner should be locked for current project.
|
|
161
|
-
*/
|
|
162
|
-
locked?: pulumi.Input<boolean | undefined>;
|
|
163
|
-
/**
|
|
164
|
-
* Free-form maintenance notes for the runner (1024 characters).
|
|
165
|
-
*/
|
|
166
|
-
maintenanceNote?: pulumi.Input<string | undefined>;
|
|
167
|
-
/**
|
|
168
|
-
* Maximum timeout set when this runner handles the job.
|
|
169
|
-
*/
|
|
170
|
-
maximumTimeout?: pulumi.Input<number | undefined>;
|
|
171
|
-
/**
|
|
172
|
-
* Whether the runner should ignore new jobs.
|
|
173
|
-
*/
|
|
174
|
-
paused?: pulumi.Input<boolean | undefined>;
|
|
175
|
-
/**
|
|
176
|
-
* The registration token used to register the runner.
|
|
177
|
-
*/
|
|
178
|
-
registrationToken: pulumi.Input<string>;
|
|
179
|
-
/**
|
|
180
|
-
* Whether the runner should handle untagged jobs.
|
|
181
|
-
*/
|
|
182
|
-
runUntagged?: pulumi.Input<boolean | undefined>;
|
|
183
|
-
/**
|
|
184
|
-
* List of runner’s tags.
|
|
185
|
-
*/
|
|
186
|
-
tagLists?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
187
|
-
}
|
|
188
|
-
//# sourceMappingURL=runner.d.ts.map
|
package/runner.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"runner.d.ts","sourceRoot":"","sources":["../runner.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,qBAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,MAAM;IAO9H;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,MAAM;IAOjD;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3D;;OAEG;IACH,SAAgC,mBAAmB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3E;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvE;;OAEG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACvD;;OAEG;IACH,SAAwB,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3E;;OAEG;IACH,SAAwB,cAAc,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EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CAC/D"}
|
package/runner.js
DELETED
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
-
if (k2 === undefined) k2 = k;
|
|
6
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
-
}
|
|
10
|
-
Object.defineProperty(o, k2, desc);
|
|
11
|
-
}) : (function(o, m, k, k2) {
|
|
12
|
-
if (k2 === undefined) k2 = k;
|
|
13
|
-
o[k2] = m[k];
|
|
14
|
-
}));
|
|
15
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
-
}) : function(o, v) {
|
|
18
|
-
o["default"] = v;
|
|
19
|
-
});
|
|
20
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
-
if (mod && mod.__esModule) return mod;
|
|
22
|
-
var result = {};
|
|
23
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
-
__setModuleDefault(result, mod);
|
|
25
|
-
return result;
|
|
26
|
-
};
|
|
27
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.Runner = void 0;
|
|
29
|
-
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
-
const utilities = __importStar(require("./utilities"));
|
|
31
|
-
/**
|
|
32
|
-
* The `gitlab.Runner` resource manages the lifecycle of a runner.
|
|
33
|
-
*
|
|
34
|
-
* > This resource has been deprecated in favor of the `gitlab.UserRunner` resource. Please use that resource, and the new registration flow, instead. To be removed in 19.0.
|
|
35
|
-
*
|
|
36
|
-
* A runner can either be registered at an instance level or group level.
|
|
37
|
-
* The runner will be registered at a group level if the token used is from a group, or at an instance level if the token used is for the instance.
|
|
38
|
-
*
|
|
39
|
-
* > Using this resource will register a runner using the deprecated `registrationToken` flow. To use the new `authenticationToken` flow instead,
|
|
40
|
-
* use the `gitlab.UserRunner` resource!
|
|
41
|
-
*
|
|
42
|
-
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/runners/)
|
|
43
|
-
*
|
|
44
|
-
* ## Import
|
|
45
|
-
*
|
|
46
|
-
* Starting in Terraform v1.5.0, you can use an import block to import `gitlab.Runner`. For example:
|
|
47
|
-
*
|
|
48
|
-
* Importing using the CLI is supported with the following syntax:
|
|
49
|
-
*
|
|
50
|
-
* A GitLab Runner can be imported using the runner's ID, eg
|
|
51
|
-
*
|
|
52
|
-
* ```sh
|
|
53
|
-
* $ pulumi import gitlab:index/runner:Runner this 1
|
|
54
|
-
* ```
|
|
55
|
-
*/
|
|
56
|
-
class Runner extends pulumi.CustomResource {
|
|
57
|
-
/**
|
|
58
|
-
* Get an existing Runner resource's state with the given name, ID, and optional extra
|
|
59
|
-
* properties used to qualify the lookup.
|
|
60
|
-
*
|
|
61
|
-
* @param name The _unique_ name of the resulting resource.
|
|
62
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
63
|
-
* @param state Any extra arguments used during the lookup.
|
|
64
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
65
|
-
*/
|
|
66
|
-
static get(name, id, state, opts) {
|
|
67
|
-
return new Runner(name, state, { ...opts, id: id });
|
|
68
|
-
}
|
|
69
|
-
/** @internal */
|
|
70
|
-
static __pulumiType = 'gitlab:index/runner:Runner';
|
|
71
|
-
/**
|
|
72
|
-
* Returns true if the given object is an instance of Runner. This is designed to work even
|
|
73
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
74
|
-
*/
|
|
75
|
-
static isInstance(obj) {
|
|
76
|
-
if (obj === undefined || obj === null) {
|
|
77
|
-
return false;
|
|
78
|
-
}
|
|
79
|
-
return obj['__pulumiType'] === Runner.__pulumiType;
|
|
80
|
-
}
|
|
81
|
-
constructor(name, argsOrState, opts) {
|
|
82
|
-
let resourceInputs = {};
|
|
83
|
-
opts = opts || {};
|
|
84
|
-
if (opts.id) {
|
|
85
|
-
const state = argsOrState;
|
|
86
|
-
resourceInputs["accessLevel"] = state?.accessLevel;
|
|
87
|
-
resourceInputs["authenticationToken"] = state?.authenticationToken;
|
|
88
|
-
resourceInputs["description"] = state?.description;
|
|
89
|
-
resourceInputs["locked"] = state?.locked;
|
|
90
|
-
resourceInputs["maintenanceNote"] = state?.maintenanceNote;
|
|
91
|
-
resourceInputs["maximumTimeout"] = state?.maximumTimeout;
|
|
92
|
-
resourceInputs["paused"] = state?.paused;
|
|
93
|
-
resourceInputs["registrationToken"] = state?.registrationToken;
|
|
94
|
-
resourceInputs["runUntagged"] = state?.runUntagged;
|
|
95
|
-
resourceInputs["status"] = state?.status;
|
|
96
|
-
resourceInputs["tagLists"] = state?.tagLists;
|
|
97
|
-
}
|
|
98
|
-
else {
|
|
99
|
-
const args = argsOrState;
|
|
100
|
-
if (args?.registrationToken === undefined && !opts.urn) {
|
|
101
|
-
throw new Error("Missing required property 'registrationToken'");
|
|
102
|
-
}
|
|
103
|
-
resourceInputs["accessLevel"] = args?.accessLevel;
|
|
104
|
-
resourceInputs["description"] = args?.description;
|
|
105
|
-
resourceInputs["locked"] = args?.locked;
|
|
106
|
-
resourceInputs["maintenanceNote"] = args?.maintenanceNote;
|
|
107
|
-
resourceInputs["maximumTimeout"] = args?.maximumTimeout;
|
|
108
|
-
resourceInputs["paused"] = args?.paused;
|
|
109
|
-
resourceInputs["registrationToken"] = args?.registrationToken ? pulumi.secret(args.registrationToken) : undefined;
|
|
110
|
-
resourceInputs["runUntagged"] = args?.runUntagged;
|
|
111
|
-
resourceInputs["tagLists"] = args?.tagLists;
|
|
112
|
-
resourceInputs["authenticationToken"] = undefined /*out*/;
|
|
113
|
-
resourceInputs["status"] = undefined /*out*/;
|
|
114
|
-
}
|
|
115
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
116
|
-
const secretOpts = { additionalSecretOutputs: ["authenticationToken", "registrationToken"] };
|
|
117
|
-
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
118
|
-
super(Runner.__pulumiType, name, resourceInputs, opts);
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
exports.Runner = Runner;
|
|
122
|
-
//# sourceMappingURL=runner.js.map
|
package/runner.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"runner.js","sourceRoot":"","sources":["../runner.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7D,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,4BAA4B,CAAC;IAEnE;;;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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