spinnaker-gate-ruby-client 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +85 -0
- data/LICENSE +201 -0
- data/README.md +240 -0
- data/Rakefile +8 -0
- data/docs/Account.md +14 -0
- data/docs/AccountDetails.md +19 -0
- data/docs/AmazonInfrastructureControllerApi.md +128 -0
- data/docs/ApplicationControllerApi.md +754 -0
- data/docs/ArtifactControllerApi.md +111 -0
- data/docs/AuthControllerApi.md +212 -0
- data/docs/BakeControllerApi.md +143 -0
- data/docs/BuildControllerApi.md +493 -0
- data/docs/ClusterControllerApi.md +475 -0
- data/docs/ConcourseControllerApi.md +161 -0
- data/docs/CredentialsControllerApi.md +129 -0
- data/docs/EcsServerGroupEventsControllerApi.md +66 -0
- data/docs/ExecutionsControllerApi.md +133 -0
- data/docs/FirewallControllerApi.md +171 -0
- data/docs/GrantedAuthority.md +8 -0
- data/docs/HashMapstringobject.md +7 -0
- data/docs/HttpEntity.md +8 -0
- data/docs/ImageControllerApi.md +178 -0
- data/docs/InstanceControllerApi.md +122 -0
- data/docs/JobControllerApi.md +69 -0
- data/docs/LoadBalancerControllerApi.md +217 -0
- data/docs/Mapstringstring.md +7 -0
- data/docs/NetworkControllerApi.md +105 -0
- data/docs/PipelineConfigControllerApi.md +144 -0
- data/docs/PipelineControllerApi.md +1074 -0
- data/docs/PipelineTemplateDependent.md +10 -0
- data/docs/PipelineTemplatesControllerApi.md +350 -0
- data/docs/ProjectControllerApi.md +196 -0
- data/docs/PubsubSubscriptionControllerApi.md +48 -0
- data/docs/ReorderPipelinesCommand.md +9 -0
- data/docs/ReorderPipelinesControllerApi.md +54 -0
- data/docs/ResponseEntity.md +10 -0
- data/docs/SearchControllerApi.md +68 -0
- data/docs/SecurityGroupControllerApi.md +171 -0
- data/docs/ServerGroupControllerApi.md +125 -0
- data/docs/ServerGroupManagerControllerApi.md +54 -0
- data/docs/SnapshotControllerApi.md +110 -0
- data/docs/SubnetControllerApi.md +58 -0
- data/docs/TaskControllerApi.md +291 -0
- data/docs/User.md +18 -0
- data/docs/V2CanaryConfigControllerApi.md +259 -0
- data/docs/V2CanaryControllerApi.md +356 -0
- data/docs/V2PipelineTemplatesControllerApi.md +356 -0
- data/docs/Version.md +8 -0
- data/docs/VersionControllerApi.md +48 -0
- data/docs/WebhookControllerApi.md +105 -0
- data/git_push.sh +55 -0
- data/lib/swagger_client.rb +85 -0
- data/lib/swagger_client/api/amazon_infrastructure_controller_api.rb +161 -0
- data/lib/swagger_client/api/application_controller_api.rb +868 -0
- data/lib/swagger_client/api/artifact_controller_api.rb +141 -0
- data/lib/swagger_client/api/auth_controller_api.rb +258 -0
- data/lib/swagger_client/api/bake_controller_api.rb +179 -0
- data/lib/swagger_client/api/build_controller_api.rb +588 -0
- data/lib/swagger_client/api/cluster_controller_api.rb +591 -0
- data/lib/swagger_client/api/concourse_controller_api.rb +209 -0
- data/lib/swagger_client/api/credentials_controller_api.rb +163 -0
- data/lib/swagger_client/api/ecs_server_group_events_controller_api.rb +101 -0
- data/lib/swagger_client/api/executions_controller_api.rb +169 -0
- data/lib/swagger_client/api/firewall_controller_api.rb +209 -0
- data/lib/swagger_client/api/image_controller_api.rb +222 -0
- data/lib/swagger_client/api/instance_controller_api.rb +160 -0
- data/lib/swagger_client/api/job_controller_api.rb +99 -0
- data/lib/swagger_client/api/load_balancer_controller_api.rb +258 -0
- data/lib/swagger_client/api/network_controller_api.rb +127 -0
- data/lib/swagger_client/api/pipeline_config_controller_api.rb +176 -0
- data/lib/swagger_client/api/pipeline_controller_api.rb +1268 -0
- data/lib/swagger_client/api/pipeline_templates_controller_api.rb +404 -0
- data/lib/swagger_client/api/project_controller_api.rb +234 -0
- data/lib/swagger_client/api/pubsub_subscription_controller_api.rb +69 -0
- data/lib/swagger_client/api/reorder_pipelines_controller_api.rb +75 -0
- data/lib/swagger_client/api/search_controller_api.rb +94 -0
- data/lib/swagger_client/api/security_group_controller_api.rb +209 -0
- data/lib/swagger_client/api/server_group_controller_api.rb +163 -0
- data/lib/swagger_client/api/server_group_manager_controller_api.rb +75 -0
- data/lib/swagger_client/api/snapshot_controller_api.rb +142 -0
- data/lib/swagger_client/api/subnet_controller_api.rb +78 -0
- data/lib/swagger_client/api/task_controller_api.rb +345 -0
- data/lib/swagger_client/api/v2_canary_config_controller_api.rb +300 -0
- data/lib/swagger_client/api/v2_canary_controller_api.rb +421 -0
- data/lib/swagger_client/api/v2_pipeline_templates_controller_api.rb +412 -0
- data/lib/swagger_client/api/version_controller_api.rb +69 -0
- data/lib/swagger_client/api/webhook_controller_api.rb +135 -0
- data/lib/swagger_client/api_client.rb +388 -0
- data/lib/swagger_client/api_error.rb +38 -0
- data/lib/swagger_client/configuration.rb +202 -0
- data/lib/swagger_client/models/account.rb +241 -0
- data/lib/swagger_client/models/account_details.rb +286 -0
- data/lib/swagger_client/models/granted_authority.rb +183 -0
- data/lib/swagger_client/models/hash_mapstringobject.rb +174 -0
- data/lib/swagger_client/models/http_entity.rb +183 -0
- data/lib/swagger_client/models/mapstringstring.rb +174 -0
- data/lib/swagger_client/models/pipeline_template_dependent.rb +201 -0
- data/lib/swagger_client/models/reorder_pipelines_command.rb +194 -0
- data/lib/swagger_client/models/response_entity.rb +235 -0
- data/lib/swagger_client/models/user.rb +279 -0
- data/lib/swagger_client/models/version.rb +183 -0
- data/lib/swagger_client/version.rb +15 -0
- data/spec/api/amazon_infrastructure_controller_api_spec.rb +65 -0
- data/spec/api/application_controller_api_spec.rb +218 -0
- data/spec/api/artifact_controller_api_spec.rb +60 -0
- data/spec/api/auth_controller_api_spec.rb +86 -0
- data/spec/api/bake_controller_api_spec.rb +68 -0
- data/spec/api/build_controller_api_spec.rb +155 -0
- data/spec/api/cluster_controller_api_spec.rb +155 -0
- data/spec/api/concourse_controller_api_spec.rb +73 -0
- data/spec/api/credentials_controller_api_spec.rb +70 -0
- data/spec/api/ecs_server_group_events_controller_api_spec.rb +50 -0
- data/spec/api/executions_controller_api_spec.rb +72 -0
- data/spec/api/firewall_controller_api_spec.rb +77 -0
- data/spec/api/image_controller_api_spec.rb +80 -0
- data/spec/api/instance_controller_api_spec.rb +64 -0
- data/spec/api/job_controller_api_spec.rb +51 -0
- data/spec/api/load_balancer_controller_api_spec.rb +87 -0
- data/spec/api/network_controller_api_spec.rb +58 -0
- data/spec/api/pipeline_config_controller_api_spec.rb +68 -0
- data/spec/api/pipeline_controller_api_spec.rb +296 -0
- data/spec/api/pipeline_templates_controller_api_spec.rb +118 -0
- data/spec/api/project_controller_api_spec.rb +81 -0
- data/spec/api/pubsub_subscription_controller_api_spec.rb +45 -0
- data/spec/api/reorder_pipelines_controller_api_spec.rb +46 -0
- data/spec/api/search_controller_api_spec.rb +52 -0
- data/spec/api/security_group_controller_api_spec.rb +77 -0
- data/spec/api/server_group_controller_api_spec.rb +66 -0
- data/spec/api/server_group_manager_controller_api_spec.rb +46 -0
- data/spec/api/snapshot_controller_api_spec.rb +60 -0
- data/spec/api/subnet_controller_api_spec.rb +47 -0
- data/spec/api/task_controller_api_spec.rb +103 -0
- data/spec/api/v2_canary_config_controller_api_spec.rb +96 -0
- data/spec/api/v2_canary_controller_api_spec.rb +123 -0
- data/spec/api/v2_pipeline_templates_controller_api_spec.rb +121 -0
- data/spec/api/version_controller_api_spec.rb +45 -0
- data/spec/api/webhook_controller_api_spec.rb +60 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/account_details_spec.rb +107 -0
- data/spec/models/account_spec.rb +77 -0
- data/spec/models/granted_authority_spec.rb +41 -0
- data/spec/models/hash_mapstringobject_spec.rb +35 -0
- data/spec/models/http_entity_spec.rb +41 -0
- data/spec/models/mapstringstring_spec.rb +35 -0
- data/spec/models/pipeline_template_dependent_spec.rb +53 -0
- data/spec/models/reorder_pipelines_command_spec.rb +47 -0
- data/spec/models/response_entity_spec.rb +57 -0
- data/spec/models/user_spec.rb +101 -0
- data/spec/models/version_spec.rb +41 -0
- data/spec/spec_helper.rb +111 -0
- data/spinnaker_gate_ruby_client-1.0.0.gem +0 -0
- data/spinnaker_gate_ruby_client.gemspec +45 -0
- metadata +427 -0
@@ -0,0 +1,1074 @@
|
|
1
|
+
# SwaggerClient::PipelineControllerApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://gate-spinnaker.devint.gcp.openx.org*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**cancel_pipeline_using_put1**](PipelineControllerApi.md#cancel_pipeline_using_put1) | **PUT** /pipelines/{id}/cancel | Cancel a pipeline execution
|
8
|
+
[**delete_pipeline_using_delete**](PipelineControllerApi.md#delete_pipeline_using_delete) | **DELETE** /pipelines/{application}/{pipelineName} | Delete a pipeline definition
|
9
|
+
[**delete_pipeline_using_delete1**](PipelineControllerApi.md#delete_pipeline_using_delete1) | **DELETE** /pipelines/{id} | Delete a pipeline execution
|
10
|
+
[**evaluate_expression_for_execution_using_delete**](PipelineControllerApi.md#evaluate_expression_for_execution_using_delete) | **DELETE** /pipelines/{id}/evaluateExpression | Evaluate a pipeline expression using the provided execution as context
|
11
|
+
[**evaluate_expression_for_execution_using_get**](PipelineControllerApi.md#evaluate_expression_for_execution_using_get) | **GET** /pipelines/{id}/evaluateExpression | Evaluate a pipeline expression using the provided execution as context
|
12
|
+
[**evaluate_expression_for_execution_using_head**](PipelineControllerApi.md#evaluate_expression_for_execution_using_head) | **HEAD** /pipelines/{id}/evaluateExpression | Evaluate a pipeline expression using the provided execution as context
|
13
|
+
[**evaluate_expression_for_execution_using_options**](PipelineControllerApi.md#evaluate_expression_for_execution_using_options) | **OPTIONS** /pipelines/{id}/evaluateExpression | Evaluate a pipeline expression using the provided execution as context
|
14
|
+
[**evaluate_expression_for_execution_using_patch**](PipelineControllerApi.md#evaluate_expression_for_execution_using_patch) | **PATCH** /pipelines/{id}/evaluateExpression | Evaluate a pipeline expression using the provided execution as context
|
15
|
+
[**evaluate_expression_for_execution_using_put**](PipelineControllerApi.md#evaluate_expression_for_execution_using_put) | **PUT** /pipelines/{id}/evaluateExpression | Evaluate a pipeline expression using the provided execution as context
|
16
|
+
[**evaluate_expression_for_execution_via_post_using_post1**](PipelineControllerApi.md#evaluate_expression_for_execution_via_post_using_post1) | **POST** /pipelines/{id}/evaluateExpression | Evaluate a pipeline expression using the provided execution as context
|
17
|
+
[**get_pipeline_logs_using_get**](PipelineControllerApi.md#get_pipeline_logs_using_get) | **GET** /pipelines/{id}/logs | Retrieve pipeline execution logs
|
18
|
+
[**get_pipeline_using_get**](PipelineControllerApi.md#get_pipeline_using_get) | **GET** /pipelines/{id} | Retrieve a pipeline execution
|
19
|
+
[**invoke_pipeline_config_using_post1**](PipelineControllerApi.md#invoke_pipeline_config_using_post1) | **POST** /pipelines/{application}/{pipelineNameOrId} | Trigger a pipeline execution
|
20
|
+
[**invoke_pipeline_config_via_echo_using_post**](PipelineControllerApi.md#invoke_pipeline_config_via_echo_using_post) | **POST** /pipelines/v2/{application}/{pipelineNameOrId} | Trigger a pipeline execution
|
21
|
+
[**pause_pipeline_using_put**](PipelineControllerApi.md#pause_pipeline_using_put) | **PUT** /pipelines/{id}/pause | Pause a pipeline execution
|
22
|
+
[**rename_pipeline_using_post**](PipelineControllerApi.md#rename_pipeline_using_post) | **POST** /pipelines/move | Rename a pipeline definition
|
23
|
+
[**restart_stage_using_put**](PipelineControllerApi.md#restart_stage_using_put) | **PUT** /pipelines/{id}/stages/{stageId}/restart | Restart a stage execution
|
24
|
+
[**resume_pipeline_using_put**](PipelineControllerApi.md#resume_pipeline_using_put) | **PUT** /pipelines/{id}/resume | Resume a pipeline execution
|
25
|
+
[**save_pipeline_using_post**](PipelineControllerApi.md#save_pipeline_using_post) | **POST** /pipelines | Save a pipeline definition
|
26
|
+
[**start_using_post**](PipelineControllerApi.md#start_using_post) | **POST** /pipelines/start | Initiate a pipeline execution
|
27
|
+
[**update_pipeline_using_put**](PipelineControllerApi.md#update_pipeline_using_put) | **PUT** /pipelines/{id} | Update a pipeline definition
|
28
|
+
[**update_stage_using_patch**](PipelineControllerApi.md#update_stage_using_patch) | **PATCH** /pipelines/{id}/stages/{stageId} | Update a stage execution
|
29
|
+
|
30
|
+
|
31
|
+
# **cancel_pipeline_using_put1**
|
32
|
+
> cancel_pipeline_using_put1(id, opts)
|
33
|
+
|
34
|
+
Cancel a pipeline execution
|
35
|
+
|
36
|
+
### Example
|
37
|
+
```ruby
|
38
|
+
# load the gem
|
39
|
+
require 'swagger_client'
|
40
|
+
|
41
|
+
api_instance = SwaggerClient::PipelineControllerApi.new
|
42
|
+
|
43
|
+
id = 'id_example' # String | id
|
44
|
+
|
45
|
+
opts = {
|
46
|
+
reason: 'reason_example', # String | reason
|
47
|
+
force: false # BOOLEAN | force
|
48
|
+
}
|
49
|
+
|
50
|
+
begin
|
51
|
+
#Cancel a pipeline execution
|
52
|
+
api_instance.cancel_pipeline_using_put1(id, opts)
|
53
|
+
rescue SwaggerClient::ApiError => e
|
54
|
+
puts "Exception when calling PipelineControllerApi->cancel_pipeline_using_put1: #{e}"
|
55
|
+
end
|
56
|
+
```
|
57
|
+
|
58
|
+
### Parameters
|
59
|
+
|
60
|
+
Name | Type | Description | Notes
|
61
|
+
------------- | ------------- | ------------- | -------------
|
62
|
+
**id** | **String**| id |
|
63
|
+
**reason** | **String**| reason | [optional]
|
64
|
+
**force** | **BOOLEAN**| force | [optional] [default to false]
|
65
|
+
|
66
|
+
### Return type
|
67
|
+
|
68
|
+
nil (empty response body)
|
69
|
+
|
70
|
+
### Authorization
|
71
|
+
|
72
|
+
No authorization required
|
73
|
+
|
74
|
+
### HTTP request headers
|
75
|
+
|
76
|
+
- **Content-Type**: application/json
|
77
|
+
- **Accept**: */*
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
# **delete_pipeline_using_delete**
|
82
|
+
> delete_pipeline_using_delete(application, pipeline_name)
|
83
|
+
|
84
|
+
Delete a pipeline definition
|
85
|
+
|
86
|
+
### Example
|
87
|
+
```ruby
|
88
|
+
# load the gem
|
89
|
+
require 'swagger_client'
|
90
|
+
|
91
|
+
api_instance = SwaggerClient::PipelineControllerApi.new
|
92
|
+
|
93
|
+
application = 'application_example' # String | application
|
94
|
+
|
95
|
+
pipeline_name = 'pipeline_name_example' # String | pipelineName
|
96
|
+
|
97
|
+
|
98
|
+
begin
|
99
|
+
#Delete a pipeline definition
|
100
|
+
api_instance.delete_pipeline_using_delete(application, pipeline_name)
|
101
|
+
rescue SwaggerClient::ApiError => e
|
102
|
+
puts "Exception when calling PipelineControllerApi->delete_pipeline_using_delete: #{e}"
|
103
|
+
end
|
104
|
+
```
|
105
|
+
|
106
|
+
### Parameters
|
107
|
+
|
108
|
+
Name | Type | Description | Notes
|
109
|
+
------------- | ------------- | ------------- | -------------
|
110
|
+
**application** | **String**| application |
|
111
|
+
**pipeline_name** | **String**| pipelineName |
|
112
|
+
|
113
|
+
### Return type
|
114
|
+
|
115
|
+
nil (empty response body)
|
116
|
+
|
117
|
+
### Authorization
|
118
|
+
|
119
|
+
No authorization required
|
120
|
+
|
121
|
+
### HTTP request headers
|
122
|
+
|
123
|
+
- **Content-Type**: application/json
|
124
|
+
- **Accept**: */*
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
# **delete_pipeline_using_delete1**
|
129
|
+
> Hash<String, Object> delete_pipeline_using_delete1(id)
|
130
|
+
|
131
|
+
Delete a pipeline execution
|
132
|
+
|
133
|
+
### Example
|
134
|
+
```ruby
|
135
|
+
# load the gem
|
136
|
+
require 'swagger_client'
|
137
|
+
|
138
|
+
api_instance = SwaggerClient::PipelineControllerApi.new
|
139
|
+
|
140
|
+
id = 'id_example' # String | id
|
141
|
+
|
142
|
+
|
143
|
+
begin
|
144
|
+
#Delete a pipeline execution
|
145
|
+
result = api_instance.delete_pipeline_using_delete1(id)
|
146
|
+
p result
|
147
|
+
rescue SwaggerClient::ApiError => e
|
148
|
+
puts "Exception when calling PipelineControllerApi->delete_pipeline_using_delete1: #{e}"
|
149
|
+
end
|
150
|
+
```
|
151
|
+
|
152
|
+
### Parameters
|
153
|
+
|
154
|
+
Name | Type | Description | Notes
|
155
|
+
------------- | ------------- | ------------- | -------------
|
156
|
+
**id** | **String**| id |
|
157
|
+
|
158
|
+
### Return type
|
159
|
+
|
160
|
+
**Hash<String, Object>**
|
161
|
+
|
162
|
+
### Authorization
|
163
|
+
|
164
|
+
No authorization required
|
165
|
+
|
166
|
+
### HTTP request headers
|
167
|
+
|
168
|
+
- **Content-Type**: application/json
|
169
|
+
- **Accept**: */*
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
# **evaluate_expression_for_execution_using_delete**
|
174
|
+
> Hash<String, Object> evaluate_expression_for_execution_using_delete(id, expression)
|
175
|
+
|
176
|
+
Evaluate a pipeline expression using the provided execution as context
|
177
|
+
|
178
|
+
### Example
|
179
|
+
```ruby
|
180
|
+
# load the gem
|
181
|
+
require 'swagger_client'
|
182
|
+
|
183
|
+
api_instance = SwaggerClient::PipelineControllerApi.new
|
184
|
+
|
185
|
+
id = 'id_example' # String | id
|
186
|
+
|
187
|
+
expression = 'expression_example' # String | expression
|
188
|
+
|
189
|
+
|
190
|
+
begin
|
191
|
+
#Evaluate a pipeline expression using the provided execution as context
|
192
|
+
result = api_instance.evaluate_expression_for_execution_using_delete(id, expression)
|
193
|
+
p result
|
194
|
+
rescue SwaggerClient::ApiError => e
|
195
|
+
puts "Exception when calling PipelineControllerApi->evaluate_expression_for_execution_using_delete: #{e}"
|
196
|
+
end
|
197
|
+
```
|
198
|
+
|
199
|
+
### Parameters
|
200
|
+
|
201
|
+
Name | Type | Description | Notes
|
202
|
+
------------- | ------------- | ------------- | -------------
|
203
|
+
**id** | **String**| id |
|
204
|
+
**expression** | **String**| expression |
|
205
|
+
|
206
|
+
### Return type
|
207
|
+
|
208
|
+
**Hash<String, Object>**
|
209
|
+
|
210
|
+
### Authorization
|
211
|
+
|
212
|
+
No authorization required
|
213
|
+
|
214
|
+
### HTTP request headers
|
215
|
+
|
216
|
+
- **Content-Type**: application/json
|
217
|
+
- **Accept**: */*
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
# **evaluate_expression_for_execution_using_get**
|
222
|
+
> Hash<String, Object> evaluate_expression_for_execution_using_get(id, expression)
|
223
|
+
|
224
|
+
Evaluate a pipeline expression using the provided execution as context
|
225
|
+
|
226
|
+
### Example
|
227
|
+
```ruby
|
228
|
+
# load the gem
|
229
|
+
require 'swagger_client'
|
230
|
+
|
231
|
+
api_instance = SwaggerClient::PipelineControllerApi.new
|
232
|
+
|
233
|
+
id = 'id_example' # String | id
|
234
|
+
|
235
|
+
expression = 'expression_example' # String | expression
|
236
|
+
|
237
|
+
|
238
|
+
begin
|
239
|
+
#Evaluate a pipeline expression using the provided execution as context
|
240
|
+
result = api_instance.evaluate_expression_for_execution_using_get(id, expression)
|
241
|
+
p result
|
242
|
+
rescue SwaggerClient::ApiError => e
|
243
|
+
puts "Exception when calling PipelineControllerApi->evaluate_expression_for_execution_using_get: #{e}"
|
244
|
+
end
|
245
|
+
```
|
246
|
+
|
247
|
+
### Parameters
|
248
|
+
|
249
|
+
Name | Type | Description | Notes
|
250
|
+
------------- | ------------- | ------------- | -------------
|
251
|
+
**id** | **String**| id |
|
252
|
+
**expression** | **String**| expression |
|
253
|
+
|
254
|
+
### Return type
|
255
|
+
|
256
|
+
**Hash<String, Object>**
|
257
|
+
|
258
|
+
### Authorization
|
259
|
+
|
260
|
+
No authorization required
|
261
|
+
|
262
|
+
### HTTP request headers
|
263
|
+
|
264
|
+
- **Content-Type**: application/json
|
265
|
+
- **Accept**: */*
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
# **evaluate_expression_for_execution_using_head**
|
270
|
+
> Hash<String, Object> evaluate_expression_for_execution_using_head(id, expression)
|
271
|
+
|
272
|
+
Evaluate a pipeline expression using the provided execution as context
|
273
|
+
|
274
|
+
### Example
|
275
|
+
```ruby
|
276
|
+
# load the gem
|
277
|
+
require 'swagger_client'
|
278
|
+
|
279
|
+
api_instance = SwaggerClient::PipelineControllerApi.new
|
280
|
+
|
281
|
+
id = 'id_example' # String | id
|
282
|
+
|
283
|
+
expression = 'expression_example' # String | expression
|
284
|
+
|
285
|
+
|
286
|
+
begin
|
287
|
+
#Evaluate a pipeline expression using the provided execution as context
|
288
|
+
result = api_instance.evaluate_expression_for_execution_using_head(id, expression)
|
289
|
+
p result
|
290
|
+
rescue SwaggerClient::ApiError => e
|
291
|
+
puts "Exception when calling PipelineControllerApi->evaluate_expression_for_execution_using_head: #{e}"
|
292
|
+
end
|
293
|
+
```
|
294
|
+
|
295
|
+
### Parameters
|
296
|
+
|
297
|
+
Name | Type | Description | Notes
|
298
|
+
------------- | ------------- | ------------- | -------------
|
299
|
+
**id** | **String**| id |
|
300
|
+
**expression** | **String**| expression |
|
301
|
+
|
302
|
+
### Return type
|
303
|
+
|
304
|
+
**Hash<String, Object>**
|
305
|
+
|
306
|
+
### Authorization
|
307
|
+
|
308
|
+
No authorization required
|
309
|
+
|
310
|
+
### HTTP request headers
|
311
|
+
|
312
|
+
- **Content-Type**: application/json
|
313
|
+
- **Accept**: */*
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
# **evaluate_expression_for_execution_using_options**
|
318
|
+
> Hash<String, Object> evaluate_expression_for_execution_using_options(id, expression)
|
319
|
+
|
320
|
+
Evaluate a pipeline expression using the provided execution as context
|
321
|
+
|
322
|
+
### Example
|
323
|
+
```ruby
|
324
|
+
# load the gem
|
325
|
+
require 'swagger_client'
|
326
|
+
|
327
|
+
api_instance = SwaggerClient::PipelineControllerApi.new
|
328
|
+
|
329
|
+
id = 'id_example' # String | id
|
330
|
+
|
331
|
+
expression = 'expression_example' # String | expression
|
332
|
+
|
333
|
+
|
334
|
+
begin
|
335
|
+
#Evaluate a pipeline expression using the provided execution as context
|
336
|
+
result = api_instance.evaluate_expression_for_execution_using_options(id, expression)
|
337
|
+
p result
|
338
|
+
rescue SwaggerClient::ApiError => e
|
339
|
+
puts "Exception when calling PipelineControllerApi->evaluate_expression_for_execution_using_options: #{e}"
|
340
|
+
end
|
341
|
+
```
|
342
|
+
|
343
|
+
### Parameters
|
344
|
+
|
345
|
+
Name | Type | Description | Notes
|
346
|
+
------------- | ------------- | ------------- | -------------
|
347
|
+
**id** | **String**| id |
|
348
|
+
**expression** | **String**| expression |
|
349
|
+
|
350
|
+
### Return type
|
351
|
+
|
352
|
+
**Hash<String, Object>**
|
353
|
+
|
354
|
+
### Authorization
|
355
|
+
|
356
|
+
No authorization required
|
357
|
+
|
358
|
+
### HTTP request headers
|
359
|
+
|
360
|
+
- **Content-Type**: application/json
|
361
|
+
- **Accept**: */*
|
362
|
+
|
363
|
+
|
364
|
+
|
365
|
+
# **evaluate_expression_for_execution_using_patch**
|
366
|
+
> Hash<String, Object> evaluate_expression_for_execution_using_patch(id, expression)
|
367
|
+
|
368
|
+
Evaluate a pipeline expression using the provided execution as context
|
369
|
+
|
370
|
+
### Example
|
371
|
+
```ruby
|
372
|
+
# load the gem
|
373
|
+
require 'swagger_client'
|
374
|
+
|
375
|
+
api_instance = SwaggerClient::PipelineControllerApi.new
|
376
|
+
|
377
|
+
id = 'id_example' # String | id
|
378
|
+
|
379
|
+
expression = 'expression_example' # String | expression
|
380
|
+
|
381
|
+
|
382
|
+
begin
|
383
|
+
#Evaluate a pipeline expression using the provided execution as context
|
384
|
+
result = api_instance.evaluate_expression_for_execution_using_patch(id, expression)
|
385
|
+
p result
|
386
|
+
rescue SwaggerClient::ApiError => e
|
387
|
+
puts "Exception when calling PipelineControllerApi->evaluate_expression_for_execution_using_patch: #{e}"
|
388
|
+
end
|
389
|
+
```
|
390
|
+
|
391
|
+
### Parameters
|
392
|
+
|
393
|
+
Name | Type | Description | Notes
|
394
|
+
------------- | ------------- | ------------- | -------------
|
395
|
+
**id** | **String**| id |
|
396
|
+
**expression** | **String**| expression |
|
397
|
+
|
398
|
+
### Return type
|
399
|
+
|
400
|
+
**Hash<String, Object>**
|
401
|
+
|
402
|
+
### Authorization
|
403
|
+
|
404
|
+
No authorization required
|
405
|
+
|
406
|
+
### HTTP request headers
|
407
|
+
|
408
|
+
- **Content-Type**: application/json
|
409
|
+
- **Accept**: */*
|
410
|
+
|
411
|
+
|
412
|
+
|
413
|
+
# **evaluate_expression_for_execution_using_put**
|
414
|
+
> Hash<String, Object> evaluate_expression_for_execution_using_put(id, expression)
|
415
|
+
|
416
|
+
Evaluate a pipeline expression using the provided execution as context
|
417
|
+
|
418
|
+
### Example
|
419
|
+
```ruby
|
420
|
+
# load the gem
|
421
|
+
require 'swagger_client'
|
422
|
+
|
423
|
+
api_instance = SwaggerClient::PipelineControllerApi.new
|
424
|
+
|
425
|
+
id = 'id_example' # String | id
|
426
|
+
|
427
|
+
expression = 'expression_example' # String | expression
|
428
|
+
|
429
|
+
|
430
|
+
begin
|
431
|
+
#Evaluate a pipeline expression using the provided execution as context
|
432
|
+
result = api_instance.evaluate_expression_for_execution_using_put(id, expression)
|
433
|
+
p result
|
434
|
+
rescue SwaggerClient::ApiError => e
|
435
|
+
puts "Exception when calling PipelineControllerApi->evaluate_expression_for_execution_using_put: #{e}"
|
436
|
+
end
|
437
|
+
```
|
438
|
+
|
439
|
+
### Parameters
|
440
|
+
|
441
|
+
Name | Type | Description | Notes
|
442
|
+
------------- | ------------- | ------------- | -------------
|
443
|
+
**id** | **String**| id |
|
444
|
+
**expression** | **String**| expression |
|
445
|
+
|
446
|
+
### Return type
|
447
|
+
|
448
|
+
**Hash<String, Object>**
|
449
|
+
|
450
|
+
### Authorization
|
451
|
+
|
452
|
+
No authorization required
|
453
|
+
|
454
|
+
### HTTP request headers
|
455
|
+
|
456
|
+
- **Content-Type**: application/json
|
457
|
+
- **Accept**: */*
|
458
|
+
|
459
|
+
|
460
|
+
|
461
|
+
# **evaluate_expression_for_execution_via_post_using_post1**
|
462
|
+
> Hash<String, Object> evaluate_expression_for_execution_via_post_using_post1(id, pipeline_expression)
|
463
|
+
|
464
|
+
Evaluate a pipeline expression using the provided execution as context
|
465
|
+
|
466
|
+
### Example
|
467
|
+
```ruby
|
468
|
+
# load the gem
|
469
|
+
require 'swagger_client'
|
470
|
+
|
471
|
+
api_instance = SwaggerClient::PipelineControllerApi.new
|
472
|
+
|
473
|
+
id = 'id_example' # String | id
|
474
|
+
|
475
|
+
pipeline_expression = 'pipeline_expression_example' # String | pipelineExpression
|
476
|
+
|
477
|
+
|
478
|
+
begin
|
479
|
+
#Evaluate a pipeline expression using the provided execution as context
|
480
|
+
result = api_instance.evaluate_expression_for_execution_via_post_using_post1(id, pipeline_expression)
|
481
|
+
p result
|
482
|
+
rescue SwaggerClient::ApiError => e
|
483
|
+
puts "Exception when calling PipelineControllerApi->evaluate_expression_for_execution_via_post_using_post1: #{e}"
|
484
|
+
end
|
485
|
+
```
|
486
|
+
|
487
|
+
### Parameters
|
488
|
+
|
489
|
+
Name | Type | Description | Notes
|
490
|
+
------------- | ------------- | ------------- | -------------
|
491
|
+
**id** | **String**| id |
|
492
|
+
**pipeline_expression** | **String**| pipelineExpression |
|
493
|
+
|
494
|
+
### Return type
|
495
|
+
|
496
|
+
**Hash<String, Object>**
|
497
|
+
|
498
|
+
### Authorization
|
499
|
+
|
500
|
+
No authorization required
|
501
|
+
|
502
|
+
### HTTP request headers
|
503
|
+
|
504
|
+
- **Content-Type**: text/plain
|
505
|
+
- **Accept**: */*
|
506
|
+
|
507
|
+
|
508
|
+
|
509
|
+
# **get_pipeline_logs_using_get**
|
510
|
+
> Array<Object> get_pipeline_logs_using_get(id)
|
511
|
+
|
512
|
+
Retrieve pipeline execution logs
|
513
|
+
|
514
|
+
### Example
|
515
|
+
```ruby
|
516
|
+
# load the gem
|
517
|
+
require 'swagger_client'
|
518
|
+
|
519
|
+
api_instance = SwaggerClient::PipelineControllerApi.new
|
520
|
+
|
521
|
+
id = 'id_example' # String | id
|
522
|
+
|
523
|
+
|
524
|
+
begin
|
525
|
+
#Retrieve pipeline execution logs
|
526
|
+
result = api_instance.get_pipeline_logs_using_get(id)
|
527
|
+
p result
|
528
|
+
rescue SwaggerClient::ApiError => e
|
529
|
+
puts "Exception when calling PipelineControllerApi->get_pipeline_logs_using_get: #{e}"
|
530
|
+
end
|
531
|
+
```
|
532
|
+
|
533
|
+
### Parameters
|
534
|
+
|
535
|
+
Name | Type | Description | Notes
|
536
|
+
------------- | ------------- | ------------- | -------------
|
537
|
+
**id** | **String**| id |
|
538
|
+
|
539
|
+
### Return type
|
540
|
+
|
541
|
+
**Array<Object>**
|
542
|
+
|
543
|
+
### Authorization
|
544
|
+
|
545
|
+
No authorization required
|
546
|
+
|
547
|
+
### HTTP request headers
|
548
|
+
|
549
|
+
- **Content-Type**: application/json
|
550
|
+
- **Accept**: */*
|
551
|
+
|
552
|
+
|
553
|
+
|
554
|
+
# **get_pipeline_using_get**
|
555
|
+
> Object get_pipeline_using_get(id)
|
556
|
+
|
557
|
+
Retrieve a pipeline execution
|
558
|
+
|
559
|
+
### Example
|
560
|
+
```ruby
|
561
|
+
# load the gem
|
562
|
+
require 'swagger_client'
|
563
|
+
|
564
|
+
api_instance = SwaggerClient::PipelineControllerApi.new
|
565
|
+
|
566
|
+
id = 'id_example' # String | id
|
567
|
+
|
568
|
+
|
569
|
+
begin
|
570
|
+
#Retrieve a pipeline execution
|
571
|
+
result = api_instance.get_pipeline_using_get(id)
|
572
|
+
p result
|
573
|
+
rescue SwaggerClient::ApiError => e
|
574
|
+
puts "Exception when calling PipelineControllerApi->get_pipeline_using_get: #{e}"
|
575
|
+
end
|
576
|
+
```
|
577
|
+
|
578
|
+
### Parameters
|
579
|
+
|
580
|
+
Name | Type | Description | Notes
|
581
|
+
------------- | ------------- | ------------- | -------------
|
582
|
+
**id** | **String**| id |
|
583
|
+
|
584
|
+
### Return type
|
585
|
+
|
586
|
+
**Object**
|
587
|
+
|
588
|
+
### Authorization
|
589
|
+
|
590
|
+
No authorization required
|
591
|
+
|
592
|
+
### HTTP request headers
|
593
|
+
|
594
|
+
- **Content-Type**: application/json
|
595
|
+
- **Accept**: */*
|
596
|
+
|
597
|
+
|
598
|
+
|
599
|
+
# **invoke_pipeline_config_using_post1**
|
600
|
+
> HttpEntity invoke_pipeline_config_using_post1(application, pipeline_name_or_id, opts)
|
601
|
+
|
602
|
+
Trigger a pipeline execution
|
603
|
+
|
604
|
+
### Example
|
605
|
+
```ruby
|
606
|
+
# load the gem
|
607
|
+
require 'swagger_client'
|
608
|
+
|
609
|
+
api_instance = SwaggerClient::PipelineControllerApi.new
|
610
|
+
|
611
|
+
application = 'application_example' # String | application
|
612
|
+
|
613
|
+
pipeline_name_or_id = 'pipeline_name_or_id_example' # String | pipelineNameOrId
|
614
|
+
|
615
|
+
opts = {
|
616
|
+
trigger: nil # Object | trigger
|
617
|
+
}
|
618
|
+
|
619
|
+
begin
|
620
|
+
#Trigger a pipeline execution
|
621
|
+
result = api_instance.invoke_pipeline_config_using_post1(application, pipeline_name_or_id, opts)
|
622
|
+
p result
|
623
|
+
rescue SwaggerClient::ApiError => e
|
624
|
+
puts "Exception when calling PipelineControllerApi->invoke_pipeline_config_using_post1: #{e}"
|
625
|
+
end
|
626
|
+
```
|
627
|
+
|
628
|
+
### Parameters
|
629
|
+
|
630
|
+
Name | Type | Description | Notes
|
631
|
+
------------- | ------------- | ------------- | -------------
|
632
|
+
**application** | **String**| application |
|
633
|
+
**pipeline_name_or_id** | **String**| pipelineNameOrId |
|
634
|
+
**trigger** | **Object**| trigger | [optional]
|
635
|
+
|
636
|
+
### Return type
|
637
|
+
|
638
|
+
[**HttpEntity**](HttpEntity.md)
|
639
|
+
|
640
|
+
### Authorization
|
641
|
+
|
642
|
+
No authorization required
|
643
|
+
|
644
|
+
### HTTP request headers
|
645
|
+
|
646
|
+
- **Content-Type**: application/json
|
647
|
+
- **Accept**: */*
|
648
|
+
|
649
|
+
|
650
|
+
|
651
|
+
# **invoke_pipeline_config_via_echo_using_post**
|
652
|
+
> HttpEntity invoke_pipeline_config_via_echo_using_post(application, pipeline_name_or_id, opts)
|
653
|
+
|
654
|
+
Trigger a pipeline execution
|
655
|
+
|
656
|
+
### Example
|
657
|
+
```ruby
|
658
|
+
# load the gem
|
659
|
+
require 'swagger_client'
|
660
|
+
|
661
|
+
api_instance = SwaggerClient::PipelineControllerApi.new
|
662
|
+
|
663
|
+
application = 'application_example' # String | application
|
664
|
+
|
665
|
+
pipeline_name_or_id = 'pipeline_name_or_id_example' # String | pipelineNameOrId
|
666
|
+
|
667
|
+
opts = {
|
668
|
+
trigger: nil # Object | trigger
|
669
|
+
}
|
670
|
+
|
671
|
+
begin
|
672
|
+
#Trigger a pipeline execution
|
673
|
+
result = api_instance.invoke_pipeline_config_via_echo_using_post(application, pipeline_name_or_id, opts)
|
674
|
+
p result
|
675
|
+
rescue SwaggerClient::ApiError => e
|
676
|
+
puts "Exception when calling PipelineControllerApi->invoke_pipeline_config_via_echo_using_post: #{e}"
|
677
|
+
end
|
678
|
+
```
|
679
|
+
|
680
|
+
### Parameters
|
681
|
+
|
682
|
+
Name | Type | Description | Notes
|
683
|
+
------------- | ------------- | ------------- | -------------
|
684
|
+
**application** | **String**| application |
|
685
|
+
**pipeline_name_or_id** | **String**| pipelineNameOrId |
|
686
|
+
**trigger** | **Object**| trigger | [optional]
|
687
|
+
|
688
|
+
### Return type
|
689
|
+
|
690
|
+
[**HttpEntity**](HttpEntity.md)
|
691
|
+
|
692
|
+
### Authorization
|
693
|
+
|
694
|
+
No authorization required
|
695
|
+
|
696
|
+
### HTTP request headers
|
697
|
+
|
698
|
+
- **Content-Type**: application/json
|
699
|
+
- **Accept**: */*
|
700
|
+
|
701
|
+
|
702
|
+
|
703
|
+
# **pause_pipeline_using_put**
|
704
|
+
> pause_pipeline_using_put(id)
|
705
|
+
|
706
|
+
Pause a pipeline execution
|
707
|
+
|
708
|
+
### Example
|
709
|
+
```ruby
|
710
|
+
# load the gem
|
711
|
+
require 'swagger_client'
|
712
|
+
|
713
|
+
api_instance = SwaggerClient::PipelineControllerApi.new
|
714
|
+
|
715
|
+
id = 'id_example' # String | id
|
716
|
+
|
717
|
+
|
718
|
+
begin
|
719
|
+
#Pause a pipeline execution
|
720
|
+
api_instance.pause_pipeline_using_put(id)
|
721
|
+
rescue SwaggerClient::ApiError => e
|
722
|
+
puts "Exception when calling PipelineControllerApi->pause_pipeline_using_put: #{e}"
|
723
|
+
end
|
724
|
+
```
|
725
|
+
|
726
|
+
### Parameters
|
727
|
+
|
728
|
+
Name | Type | Description | Notes
|
729
|
+
------------- | ------------- | ------------- | -------------
|
730
|
+
**id** | **String**| id |
|
731
|
+
|
732
|
+
### Return type
|
733
|
+
|
734
|
+
nil (empty response body)
|
735
|
+
|
736
|
+
### Authorization
|
737
|
+
|
738
|
+
No authorization required
|
739
|
+
|
740
|
+
### HTTP request headers
|
741
|
+
|
742
|
+
- **Content-Type**: application/json
|
743
|
+
- **Accept**: */*
|
744
|
+
|
745
|
+
|
746
|
+
|
747
|
+
# **rename_pipeline_using_post**
|
748
|
+
> rename_pipeline_using_post(rename_command)
|
749
|
+
|
750
|
+
Rename a pipeline definition
|
751
|
+
|
752
|
+
### Example
|
753
|
+
```ruby
|
754
|
+
# load the gem
|
755
|
+
require 'swagger_client'
|
756
|
+
|
757
|
+
api_instance = SwaggerClient::PipelineControllerApi.new
|
758
|
+
|
759
|
+
rename_command = nil # Object | renameCommand
|
760
|
+
|
761
|
+
|
762
|
+
begin
|
763
|
+
#Rename a pipeline definition
|
764
|
+
api_instance.rename_pipeline_using_post(rename_command)
|
765
|
+
rescue SwaggerClient::ApiError => e
|
766
|
+
puts "Exception when calling PipelineControllerApi->rename_pipeline_using_post: #{e}"
|
767
|
+
end
|
768
|
+
```
|
769
|
+
|
770
|
+
### Parameters
|
771
|
+
|
772
|
+
Name | Type | Description | Notes
|
773
|
+
------------- | ------------- | ------------- | -------------
|
774
|
+
**rename_command** | **Object**| renameCommand |
|
775
|
+
|
776
|
+
### Return type
|
777
|
+
|
778
|
+
nil (empty response body)
|
779
|
+
|
780
|
+
### Authorization
|
781
|
+
|
782
|
+
No authorization required
|
783
|
+
|
784
|
+
### HTTP request headers
|
785
|
+
|
786
|
+
- **Content-Type**: application/json
|
787
|
+
- **Accept**: */*
|
788
|
+
|
789
|
+
|
790
|
+
|
791
|
+
# **restart_stage_using_put**
|
792
|
+
> Hash<String, Object> restart_stage_using_put(id, stage_id, context)
|
793
|
+
|
794
|
+
Restart a stage execution
|
795
|
+
|
796
|
+
### Example
|
797
|
+
```ruby
|
798
|
+
# load the gem
|
799
|
+
require 'swagger_client'
|
800
|
+
|
801
|
+
api_instance = SwaggerClient::PipelineControllerApi.new
|
802
|
+
|
803
|
+
id = 'id_example' # String | id
|
804
|
+
|
805
|
+
stage_id = 'stage_id_example' # String | stageId
|
806
|
+
|
807
|
+
context = nil # Object | context
|
808
|
+
|
809
|
+
|
810
|
+
begin
|
811
|
+
#Restart a stage execution
|
812
|
+
result = api_instance.restart_stage_using_put(id, stage_id, context)
|
813
|
+
p result
|
814
|
+
rescue SwaggerClient::ApiError => e
|
815
|
+
puts "Exception when calling PipelineControllerApi->restart_stage_using_put: #{e}"
|
816
|
+
end
|
817
|
+
```
|
818
|
+
|
819
|
+
### Parameters
|
820
|
+
|
821
|
+
Name | Type | Description | Notes
|
822
|
+
------------- | ------------- | ------------- | -------------
|
823
|
+
**id** | **String**| id |
|
824
|
+
**stage_id** | **String**| stageId |
|
825
|
+
**context** | **Object**| context |
|
826
|
+
|
827
|
+
### Return type
|
828
|
+
|
829
|
+
**Hash<String, Object>**
|
830
|
+
|
831
|
+
### Authorization
|
832
|
+
|
833
|
+
No authorization required
|
834
|
+
|
835
|
+
### HTTP request headers
|
836
|
+
|
837
|
+
- **Content-Type**: application/json
|
838
|
+
- **Accept**: */*
|
839
|
+
|
840
|
+
|
841
|
+
|
842
|
+
# **resume_pipeline_using_put**
|
843
|
+
> Hash<String, Object> resume_pipeline_using_put(id)
|
844
|
+
|
845
|
+
Resume a pipeline execution
|
846
|
+
|
847
|
+
### Example
|
848
|
+
```ruby
|
849
|
+
# load the gem
|
850
|
+
require 'swagger_client'
|
851
|
+
|
852
|
+
api_instance = SwaggerClient::PipelineControllerApi.new
|
853
|
+
|
854
|
+
id = 'id_example' # String | id
|
855
|
+
|
856
|
+
|
857
|
+
begin
|
858
|
+
#Resume a pipeline execution
|
859
|
+
result = api_instance.resume_pipeline_using_put(id)
|
860
|
+
p result
|
861
|
+
rescue SwaggerClient::ApiError => e
|
862
|
+
puts "Exception when calling PipelineControllerApi->resume_pipeline_using_put: #{e}"
|
863
|
+
end
|
864
|
+
```
|
865
|
+
|
866
|
+
### Parameters
|
867
|
+
|
868
|
+
Name | Type | Description | Notes
|
869
|
+
------------- | ------------- | ------------- | -------------
|
870
|
+
**id** | **String**| id |
|
871
|
+
|
872
|
+
### Return type
|
873
|
+
|
874
|
+
**Hash<String, Object>**
|
875
|
+
|
876
|
+
### Authorization
|
877
|
+
|
878
|
+
No authorization required
|
879
|
+
|
880
|
+
### HTTP request headers
|
881
|
+
|
882
|
+
- **Content-Type**: application/json
|
883
|
+
- **Accept**: */*
|
884
|
+
|
885
|
+
|
886
|
+
|
887
|
+
# **save_pipeline_using_post**
|
888
|
+
> save_pipeline_using_post(pipeline)
|
889
|
+
|
890
|
+
Save a pipeline definition
|
891
|
+
|
892
|
+
### Example
|
893
|
+
```ruby
|
894
|
+
# load the gem
|
895
|
+
require 'swagger_client'
|
896
|
+
|
897
|
+
api_instance = SwaggerClient::PipelineControllerApi.new
|
898
|
+
|
899
|
+
pipeline = nil # Object | pipeline
|
900
|
+
|
901
|
+
|
902
|
+
begin
|
903
|
+
#Save a pipeline definition
|
904
|
+
api_instance.save_pipeline_using_post(pipeline)
|
905
|
+
rescue SwaggerClient::ApiError => e
|
906
|
+
puts "Exception when calling PipelineControllerApi->save_pipeline_using_post: #{e}"
|
907
|
+
end
|
908
|
+
```
|
909
|
+
|
910
|
+
### Parameters
|
911
|
+
|
912
|
+
Name | Type | Description | Notes
|
913
|
+
------------- | ------------- | ------------- | -------------
|
914
|
+
**pipeline** | **Object**| pipeline |
|
915
|
+
|
916
|
+
### Return type
|
917
|
+
|
918
|
+
nil (empty response body)
|
919
|
+
|
920
|
+
### Authorization
|
921
|
+
|
922
|
+
No authorization required
|
923
|
+
|
924
|
+
### HTTP request headers
|
925
|
+
|
926
|
+
- **Content-Type**: application/json
|
927
|
+
- **Accept**: */*
|
928
|
+
|
929
|
+
|
930
|
+
|
931
|
+
# **start_using_post**
|
932
|
+
> ResponseEntity start_using_post(map)
|
933
|
+
|
934
|
+
Initiate a pipeline execution
|
935
|
+
|
936
|
+
### Example
|
937
|
+
```ruby
|
938
|
+
# load the gem
|
939
|
+
require 'swagger_client'
|
940
|
+
|
941
|
+
api_instance = SwaggerClient::PipelineControllerApi.new
|
942
|
+
|
943
|
+
map = nil # Object | map
|
944
|
+
|
945
|
+
|
946
|
+
begin
|
947
|
+
#Initiate a pipeline execution
|
948
|
+
result = api_instance.start_using_post(map)
|
949
|
+
p result
|
950
|
+
rescue SwaggerClient::ApiError => e
|
951
|
+
puts "Exception when calling PipelineControllerApi->start_using_post: #{e}"
|
952
|
+
end
|
953
|
+
```
|
954
|
+
|
955
|
+
### Parameters
|
956
|
+
|
957
|
+
Name | Type | Description | Notes
|
958
|
+
------------- | ------------- | ------------- | -------------
|
959
|
+
**map** | **Object**| map |
|
960
|
+
|
961
|
+
### Return type
|
962
|
+
|
963
|
+
[**ResponseEntity**](ResponseEntity.md)
|
964
|
+
|
965
|
+
### Authorization
|
966
|
+
|
967
|
+
No authorization required
|
968
|
+
|
969
|
+
### HTTP request headers
|
970
|
+
|
971
|
+
- **Content-Type**: application/json
|
972
|
+
- **Accept**: */*
|
973
|
+
|
974
|
+
|
975
|
+
|
976
|
+
# **update_pipeline_using_put**
|
977
|
+
> Hash<String, Object> update_pipeline_using_put(id, pipeline)
|
978
|
+
|
979
|
+
Update a pipeline definition
|
980
|
+
|
981
|
+
### Example
|
982
|
+
```ruby
|
983
|
+
# load the gem
|
984
|
+
require 'swagger_client'
|
985
|
+
|
986
|
+
api_instance = SwaggerClient::PipelineControllerApi.new
|
987
|
+
|
988
|
+
id = 'id_example' # String | id
|
989
|
+
|
990
|
+
pipeline = nil # Object | pipeline
|
991
|
+
|
992
|
+
|
993
|
+
begin
|
994
|
+
#Update a pipeline definition
|
995
|
+
result = api_instance.update_pipeline_using_put(id, pipeline)
|
996
|
+
p result
|
997
|
+
rescue SwaggerClient::ApiError => e
|
998
|
+
puts "Exception when calling PipelineControllerApi->update_pipeline_using_put: #{e}"
|
999
|
+
end
|
1000
|
+
```
|
1001
|
+
|
1002
|
+
### Parameters
|
1003
|
+
|
1004
|
+
Name | Type | Description | Notes
|
1005
|
+
------------- | ------------- | ------------- | -------------
|
1006
|
+
**id** | **String**| id |
|
1007
|
+
**pipeline** | **Object**| pipeline |
|
1008
|
+
|
1009
|
+
### Return type
|
1010
|
+
|
1011
|
+
**Hash<String, Object>**
|
1012
|
+
|
1013
|
+
### Authorization
|
1014
|
+
|
1015
|
+
No authorization required
|
1016
|
+
|
1017
|
+
### HTTP request headers
|
1018
|
+
|
1019
|
+
- **Content-Type**: application/json
|
1020
|
+
- **Accept**: */*
|
1021
|
+
|
1022
|
+
|
1023
|
+
|
1024
|
+
# **update_stage_using_patch**
|
1025
|
+
> Hash<String, Object> update_stage_using_patch(id, stage_id, context)
|
1026
|
+
|
1027
|
+
Update a stage execution
|
1028
|
+
|
1029
|
+
### Example
|
1030
|
+
```ruby
|
1031
|
+
# load the gem
|
1032
|
+
require 'swagger_client'
|
1033
|
+
|
1034
|
+
api_instance = SwaggerClient::PipelineControllerApi.new
|
1035
|
+
|
1036
|
+
id = 'id_example' # String | id
|
1037
|
+
|
1038
|
+
stage_id = 'stage_id_example' # String | stageId
|
1039
|
+
|
1040
|
+
context = nil # Object | context
|
1041
|
+
|
1042
|
+
|
1043
|
+
begin
|
1044
|
+
#Update a stage execution
|
1045
|
+
result = api_instance.update_stage_using_patch(id, stage_id, context)
|
1046
|
+
p result
|
1047
|
+
rescue SwaggerClient::ApiError => e
|
1048
|
+
puts "Exception when calling PipelineControllerApi->update_stage_using_patch: #{e}"
|
1049
|
+
end
|
1050
|
+
```
|
1051
|
+
|
1052
|
+
### Parameters
|
1053
|
+
|
1054
|
+
Name | Type | Description | Notes
|
1055
|
+
------------- | ------------- | ------------- | -------------
|
1056
|
+
**id** | **String**| id |
|
1057
|
+
**stage_id** | **String**| stageId |
|
1058
|
+
**context** | **Object**| context |
|
1059
|
+
|
1060
|
+
### Return type
|
1061
|
+
|
1062
|
+
**Hash<String, Object>**
|
1063
|
+
|
1064
|
+
### Authorization
|
1065
|
+
|
1066
|
+
No authorization required
|
1067
|
+
|
1068
|
+
### HTTP request headers
|
1069
|
+
|
1070
|
+
- **Content-Type**: application/json
|
1071
|
+
- **Accept**: */*
|
1072
|
+
|
1073
|
+
|
1074
|
+
|