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,10 @@
|
|
1
|
+
# SwaggerClient::PipelineTemplateDependent
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**application** | **String** | | [optional]
|
7
|
+
**pipeline_config_id** | **String** | | [optional]
|
8
|
+
**pipeline_name** | **String** | | [optional]
|
9
|
+
|
10
|
+
|
@@ -0,0 +1,350 @@
|
|
1
|
+
# SwaggerClient::PipelineTemplatesControllerApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://gate-spinnaker.devint.gcp.openx.org*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**create_using_post**](PipelineTemplatesControllerApi.md#create_using_post) | **POST** /pipelineTemplates | Create a pipeline template.
|
8
|
+
[**delete_using_delete**](PipelineTemplatesControllerApi.md#delete_using_delete) | **DELETE** /pipelineTemplates/{id} | Delete a pipeline template.
|
9
|
+
[**get_using_get**](PipelineTemplatesControllerApi.md#get_using_get) | **GET** /pipelineTemplates/{id} | Get a pipeline template.
|
10
|
+
[**list_pipeline_template_dependents_using_get**](PipelineTemplatesControllerApi.md#list_pipeline_template_dependents_using_get) | **GET** /pipelineTemplates/{id}/dependents | List all pipelines that implement a pipeline template
|
11
|
+
[**list_using_get**](PipelineTemplatesControllerApi.md#list_using_get) | **GET** /pipelineTemplates | List pipeline templates.
|
12
|
+
[**resolve_templates_using_get**](PipelineTemplatesControllerApi.md#resolve_templates_using_get) | **GET** /pipelineTemplates/resolve | Resolve a pipeline template.
|
13
|
+
[**update_using_post**](PipelineTemplatesControllerApi.md#update_using_post) | **POST** /pipelineTemplates/{id} | Update a pipeline template.
|
14
|
+
|
15
|
+
|
16
|
+
# **create_using_post**
|
17
|
+
> create_using_post(pipeline_template)
|
18
|
+
|
19
|
+
Create a pipeline template.
|
20
|
+
|
21
|
+
### Example
|
22
|
+
```ruby
|
23
|
+
# load the gem
|
24
|
+
require 'swagger_client'
|
25
|
+
|
26
|
+
api_instance = SwaggerClient::PipelineTemplatesControllerApi.new
|
27
|
+
|
28
|
+
pipeline_template = nil # Object | pipelineTemplate
|
29
|
+
|
30
|
+
|
31
|
+
begin
|
32
|
+
#Create a pipeline template.
|
33
|
+
api_instance.create_using_post(pipeline_template)
|
34
|
+
rescue SwaggerClient::ApiError => e
|
35
|
+
puts "Exception when calling PipelineTemplatesControllerApi->create_using_post: #{e}"
|
36
|
+
end
|
37
|
+
```
|
38
|
+
|
39
|
+
### Parameters
|
40
|
+
|
41
|
+
Name | Type | Description | Notes
|
42
|
+
------------- | ------------- | ------------- | -------------
|
43
|
+
**pipeline_template** | **Object**| pipelineTemplate |
|
44
|
+
|
45
|
+
### Return type
|
46
|
+
|
47
|
+
nil (empty response body)
|
48
|
+
|
49
|
+
### Authorization
|
50
|
+
|
51
|
+
No authorization required
|
52
|
+
|
53
|
+
### HTTP request headers
|
54
|
+
|
55
|
+
- **Content-Type**: application/json
|
56
|
+
- **Accept**: */*
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
# **delete_using_delete**
|
61
|
+
> Hash<String, Object> delete_using_delete(id, opts)
|
62
|
+
|
63
|
+
Delete a pipeline template.
|
64
|
+
|
65
|
+
### Example
|
66
|
+
```ruby
|
67
|
+
# load the gem
|
68
|
+
require 'swagger_client'
|
69
|
+
|
70
|
+
api_instance = SwaggerClient::PipelineTemplatesControllerApi.new
|
71
|
+
|
72
|
+
id = 'id_example' # String | id
|
73
|
+
|
74
|
+
opts = {
|
75
|
+
application: 'application_example' # String | application
|
76
|
+
}
|
77
|
+
|
78
|
+
begin
|
79
|
+
#Delete a pipeline template.
|
80
|
+
result = api_instance.delete_using_delete(id, opts)
|
81
|
+
p result
|
82
|
+
rescue SwaggerClient::ApiError => e
|
83
|
+
puts "Exception when calling PipelineTemplatesControllerApi->delete_using_delete: #{e}"
|
84
|
+
end
|
85
|
+
```
|
86
|
+
|
87
|
+
### Parameters
|
88
|
+
|
89
|
+
Name | Type | Description | Notes
|
90
|
+
------------- | ------------- | ------------- | -------------
|
91
|
+
**id** | **String**| id |
|
92
|
+
**application** | **String**| application | [optional]
|
93
|
+
|
94
|
+
### Return type
|
95
|
+
|
96
|
+
**Hash<String, Object>**
|
97
|
+
|
98
|
+
### Authorization
|
99
|
+
|
100
|
+
No authorization required
|
101
|
+
|
102
|
+
### HTTP request headers
|
103
|
+
|
104
|
+
- **Content-Type**: application/json
|
105
|
+
- **Accept**: */*
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
# **get_using_get**
|
110
|
+
> Hash<String, Object> get_using_get(id)
|
111
|
+
|
112
|
+
Get a pipeline template.
|
113
|
+
|
114
|
+
### Example
|
115
|
+
```ruby
|
116
|
+
# load the gem
|
117
|
+
require 'swagger_client'
|
118
|
+
|
119
|
+
api_instance = SwaggerClient::PipelineTemplatesControllerApi.new
|
120
|
+
|
121
|
+
id = 'id_example' # String | id
|
122
|
+
|
123
|
+
|
124
|
+
begin
|
125
|
+
#Get a pipeline template.
|
126
|
+
result = api_instance.get_using_get(id)
|
127
|
+
p result
|
128
|
+
rescue SwaggerClient::ApiError => e
|
129
|
+
puts "Exception when calling PipelineTemplatesControllerApi->get_using_get: #{e}"
|
130
|
+
end
|
131
|
+
```
|
132
|
+
|
133
|
+
### Parameters
|
134
|
+
|
135
|
+
Name | Type | Description | Notes
|
136
|
+
------------- | ------------- | ------------- | -------------
|
137
|
+
**id** | **String**| id |
|
138
|
+
|
139
|
+
### Return type
|
140
|
+
|
141
|
+
**Hash<String, Object>**
|
142
|
+
|
143
|
+
### Authorization
|
144
|
+
|
145
|
+
No authorization required
|
146
|
+
|
147
|
+
### HTTP request headers
|
148
|
+
|
149
|
+
- **Content-Type**: application/json
|
150
|
+
- **Accept**: */*
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
# **list_pipeline_template_dependents_using_get**
|
155
|
+
> Array<Object> list_pipeline_template_dependents_using_get(id, opts)
|
156
|
+
|
157
|
+
List all pipelines that implement a pipeline template
|
158
|
+
|
159
|
+
### Example
|
160
|
+
```ruby
|
161
|
+
# load the gem
|
162
|
+
require 'swagger_client'
|
163
|
+
|
164
|
+
api_instance = SwaggerClient::PipelineTemplatesControllerApi.new
|
165
|
+
|
166
|
+
id = 'id_example' # String | id
|
167
|
+
|
168
|
+
opts = {
|
169
|
+
recursive: true # BOOLEAN | recursive
|
170
|
+
}
|
171
|
+
|
172
|
+
begin
|
173
|
+
#List all pipelines that implement a pipeline template
|
174
|
+
result = api_instance.list_pipeline_template_dependents_using_get(id, opts)
|
175
|
+
p result
|
176
|
+
rescue SwaggerClient::ApiError => e
|
177
|
+
puts "Exception when calling PipelineTemplatesControllerApi->list_pipeline_template_dependents_using_get: #{e}"
|
178
|
+
end
|
179
|
+
```
|
180
|
+
|
181
|
+
### Parameters
|
182
|
+
|
183
|
+
Name | Type | Description | Notes
|
184
|
+
------------- | ------------- | ------------- | -------------
|
185
|
+
**id** | **String**| id |
|
186
|
+
**recursive** | **BOOLEAN**| recursive | [optional]
|
187
|
+
|
188
|
+
### Return type
|
189
|
+
|
190
|
+
**Array<Object>**
|
191
|
+
|
192
|
+
### Authorization
|
193
|
+
|
194
|
+
No authorization required
|
195
|
+
|
196
|
+
### HTTP request headers
|
197
|
+
|
198
|
+
- **Content-Type**: application/json
|
199
|
+
- **Accept**: */*
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
# **list_using_get**
|
204
|
+
> Array<Object> list_using_get(opts)
|
205
|
+
|
206
|
+
List pipeline templates.
|
207
|
+
|
208
|
+
### Example
|
209
|
+
```ruby
|
210
|
+
# load the gem
|
211
|
+
require 'swagger_client'
|
212
|
+
|
213
|
+
api_instance = SwaggerClient::PipelineTemplatesControllerApi.new
|
214
|
+
|
215
|
+
opts = {
|
216
|
+
scopes: ['scopes_example'] # Array<String> | scopes
|
217
|
+
}
|
218
|
+
|
219
|
+
begin
|
220
|
+
#List pipeline templates.
|
221
|
+
result = api_instance.list_using_get(opts)
|
222
|
+
p result
|
223
|
+
rescue SwaggerClient::ApiError => e
|
224
|
+
puts "Exception when calling PipelineTemplatesControllerApi->list_using_get: #{e}"
|
225
|
+
end
|
226
|
+
```
|
227
|
+
|
228
|
+
### Parameters
|
229
|
+
|
230
|
+
Name | Type | Description | Notes
|
231
|
+
------------- | ------------- | ------------- | -------------
|
232
|
+
**scopes** | [**Array<String>**](String.md)| scopes | [optional]
|
233
|
+
|
234
|
+
### Return type
|
235
|
+
|
236
|
+
**Array<Object>**
|
237
|
+
|
238
|
+
### Authorization
|
239
|
+
|
240
|
+
No authorization required
|
241
|
+
|
242
|
+
### HTTP request headers
|
243
|
+
|
244
|
+
- **Content-Type**: application/json
|
245
|
+
- **Accept**: */*
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
# **resolve_templates_using_get**
|
250
|
+
> Hash<String, Object> resolve_templates_using_get(source, opts)
|
251
|
+
|
252
|
+
Resolve a pipeline template.
|
253
|
+
|
254
|
+
### Example
|
255
|
+
```ruby
|
256
|
+
# load the gem
|
257
|
+
require 'swagger_client'
|
258
|
+
|
259
|
+
api_instance = SwaggerClient::PipelineTemplatesControllerApi.new
|
260
|
+
|
261
|
+
source = 'source_example' # String | source
|
262
|
+
|
263
|
+
opts = {
|
264
|
+
execution_id: 'execution_id_example', # String | executionId
|
265
|
+
pipeline_config_id: 'pipeline_config_id_example' # String | pipelineConfigId
|
266
|
+
}
|
267
|
+
|
268
|
+
begin
|
269
|
+
#Resolve a pipeline template.
|
270
|
+
result = api_instance.resolve_templates_using_get(source, opts)
|
271
|
+
p result
|
272
|
+
rescue SwaggerClient::ApiError => e
|
273
|
+
puts "Exception when calling PipelineTemplatesControllerApi->resolve_templates_using_get: #{e}"
|
274
|
+
end
|
275
|
+
```
|
276
|
+
|
277
|
+
### Parameters
|
278
|
+
|
279
|
+
Name | Type | Description | Notes
|
280
|
+
------------- | ------------- | ------------- | -------------
|
281
|
+
**source** | **String**| source |
|
282
|
+
**execution_id** | **String**| executionId | [optional]
|
283
|
+
**pipeline_config_id** | **String**| pipelineConfigId | [optional]
|
284
|
+
|
285
|
+
### Return type
|
286
|
+
|
287
|
+
**Hash<String, Object>**
|
288
|
+
|
289
|
+
### Authorization
|
290
|
+
|
291
|
+
No authorization required
|
292
|
+
|
293
|
+
### HTTP request headers
|
294
|
+
|
295
|
+
- **Content-Type**: application/json
|
296
|
+
- **Accept**: */*
|
297
|
+
|
298
|
+
|
299
|
+
|
300
|
+
# **update_using_post**
|
301
|
+
> update_using_post(id, pipeline_template, opts)
|
302
|
+
|
303
|
+
Update a pipeline template.
|
304
|
+
|
305
|
+
### Example
|
306
|
+
```ruby
|
307
|
+
# load the gem
|
308
|
+
require 'swagger_client'
|
309
|
+
|
310
|
+
api_instance = SwaggerClient::PipelineTemplatesControllerApi.new
|
311
|
+
|
312
|
+
id = 'id_example' # String | id
|
313
|
+
|
314
|
+
pipeline_template = nil # Object | pipelineTemplate
|
315
|
+
|
316
|
+
opts = {
|
317
|
+
skip_plan_dependents: false # BOOLEAN | skipPlanDependents
|
318
|
+
}
|
319
|
+
|
320
|
+
begin
|
321
|
+
#Update a pipeline template.
|
322
|
+
api_instance.update_using_post(id, pipeline_template, opts)
|
323
|
+
rescue SwaggerClient::ApiError => e
|
324
|
+
puts "Exception when calling PipelineTemplatesControllerApi->update_using_post: #{e}"
|
325
|
+
end
|
326
|
+
```
|
327
|
+
|
328
|
+
### Parameters
|
329
|
+
|
330
|
+
Name | Type | Description | Notes
|
331
|
+
------------- | ------------- | ------------- | -------------
|
332
|
+
**id** | **String**| id |
|
333
|
+
**pipeline_template** | **Object**| pipelineTemplate |
|
334
|
+
**skip_plan_dependents** | **BOOLEAN**| skipPlanDependents | [optional] [default to false]
|
335
|
+
|
336
|
+
### Return type
|
337
|
+
|
338
|
+
nil (empty response body)
|
339
|
+
|
340
|
+
### Authorization
|
341
|
+
|
342
|
+
No authorization required
|
343
|
+
|
344
|
+
### HTTP request headers
|
345
|
+
|
346
|
+
- **Content-Type**: application/json
|
347
|
+
- **Accept**: */*
|
348
|
+
|
349
|
+
|
350
|
+
|
@@ -0,0 +1,196 @@
|
|
1
|
+
# SwaggerClient::ProjectControllerApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://gate-spinnaker.devint.gcp.openx.org*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**all_pipelines_for_project_using_get**](ProjectControllerApi.md#all_pipelines_for_project_using_get) | **GET** /projects/{id}/pipelines | Get all pipelines for project
|
8
|
+
[**all_using_get3**](ProjectControllerApi.md#all_using_get3) | **GET** /projects | Get all projects
|
9
|
+
[**get_clusters_using_get3**](ProjectControllerApi.md#get_clusters_using_get3) | **GET** /projects/{id}/clusters | Get a project's clusters
|
10
|
+
[**get_using_get1**](ProjectControllerApi.md#get_using_get1) | **GET** /projects/{id} | Get a project
|
11
|
+
|
12
|
+
|
13
|
+
# **all_pipelines_for_project_using_get**
|
14
|
+
> Array<Object> all_pipelines_for_project_using_get(id, opts)
|
15
|
+
|
16
|
+
Get all pipelines for project
|
17
|
+
|
18
|
+
### Example
|
19
|
+
```ruby
|
20
|
+
# load the gem
|
21
|
+
require 'swagger_client'
|
22
|
+
|
23
|
+
api_instance = SwaggerClient::ProjectControllerApi.new
|
24
|
+
|
25
|
+
id = 'id_example' # String | id
|
26
|
+
|
27
|
+
opts = {
|
28
|
+
limit: 5, # Integer | limit
|
29
|
+
statuses: 'statuses_example' # String | statuses
|
30
|
+
}
|
31
|
+
|
32
|
+
begin
|
33
|
+
#Get all pipelines for project
|
34
|
+
result = api_instance.all_pipelines_for_project_using_get(id, opts)
|
35
|
+
p result
|
36
|
+
rescue SwaggerClient::ApiError => e
|
37
|
+
puts "Exception when calling ProjectControllerApi->all_pipelines_for_project_using_get: #{e}"
|
38
|
+
end
|
39
|
+
```
|
40
|
+
|
41
|
+
### Parameters
|
42
|
+
|
43
|
+
Name | Type | Description | Notes
|
44
|
+
------------- | ------------- | ------------- | -------------
|
45
|
+
**id** | **String**| id |
|
46
|
+
**limit** | **Integer**| limit | [optional] [default to 5]
|
47
|
+
**statuses** | **String**| statuses | [optional]
|
48
|
+
|
49
|
+
### Return type
|
50
|
+
|
51
|
+
**Array<Object>**
|
52
|
+
|
53
|
+
### Authorization
|
54
|
+
|
55
|
+
No authorization required
|
56
|
+
|
57
|
+
### HTTP request headers
|
58
|
+
|
59
|
+
- **Content-Type**: application/json
|
60
|
+
- **Accept**: */*
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
# **all_using_get3**
|
65
|
+
> Array<Object> all_using_get3
|
66
|
+
|
67
|
+
Get all projects
|
68
|
+
|
69
|
+
### Example
|
70
|
+
```ruby
|
71
|
+
# load the gem
|
72
|
+
require 'swagger_client'
|
73
|
+
|
74
|
+
api_instance = SwaggerClient::ProjectControllerApi.new
|
75
|
+
|
76
|
+
begin
|
77
|
+
#Get all projects
|
78
|
+
result = api_instance.all_using_get3
|
79
|
+
p result
|
80
|
+
rescue SwaggerClient::ApiError => e
|
81
|
+
puts "Exception when calling ProjectControllerApi->all_using_get3: #{e}"
|
82
|
+
end
|
83
|
+
```
|
84
|
+
|
85
|
+
### Parameters
|
86
|
+
This endpoint does not need any parameter.
|
87
|
+
|
88
|
+
### Return type
|
89
|
+
|
90
|
+
**Array<Object>**
|
91
|
+
|
92
|
+
### Authorization
|
93
|
+
|
94
|
+
No authorization required
|
95
|
+
|
96
|
+
### HTTP request headers
|
97
|
+
|
98
|
+
- **Content-Type**: application/json
|
99
|
+
- **Accept**: */*
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
# **get_clusters_using_get3**
|
104
|
+
> Array<Object> get_clusters_using_get3(id, opts)
|
105
|
+
|
106
|
+
Get a project's clusters
|
107
|
+
|
108
|
+
### Example
|
109
|
+
```ruby
|
110
|
+
# load the gem
|
111
|
+
require 'swagger_client'
|
112
|
+
|
113
|
+
api_instance = SwaggerClient::ProjectControllerApi.new
|
114
|
+
|
115
|
+
id = 'id_example' # String | id
|
116
|
+
|
117
|
+
opts = {
|
118
|
+
x_rate_limit_app: 'x_rate_limit_app_example' # String | X-RateLimit-App
|
119
|
+
}
|
120
|
+
|
121
|
+
begin
|
122
|
+
#Get a project's clusters
|
123
|
+
result = api_instance.get_clusters_using_get3(id, opts)
|
124
|
+
p result
|
125
|
+
rescue SwaggerClient::ApiError => e
|
126
|
+
puts "Exception when calling ProjectControllerApi->get_clusters_using_get3: #{e}"
|
127
|
+
end
|
128
|
+
```
|
129
|
+
|
130
|
+
### Parameters
|
131
|
+
|
132
|
+
Name | Type | Description | Notes
|
133
|
+
------------- | ------------- | ------------- | -------------
|
134
|
+
**id** | **String**| id |
|
135
|
+
**x_rate_limit_app** | **String**| X-RateLimit-App | [optional]
|
136
|
+
|
137
|
+
### Return type
|
138
|
+
|
139
|
+
**Array<Object>**
|
140
|
+
|
141
|
+
### Authorization
|
142
|
+
|
143
|
+
No authorization required
|
144
|
+
|
145
|
+
### HTTP request headers
|
146
|
+
|
147
|
+
- **Content-Type**: application/json
|
148
|
+
- **Accept**: */*
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
# **get_using_get1**
|
153
|
+
> Hash<String, Object> get_using_get1(id)
|
154
|
+
|
155
|
+
Get a project
|
156
|
+
|
157
|
+
### Example
|
158
|
+
```ruby
|
159
|
+
# load the gem
|
160
|
+
require 'swagger_client'
|
161
|
+
|
162
|
+
api_instance = SwaggerClient::ProjectControllerApi.new
|
163
|
+
|
164
|
+
id = 'id_example' # String | id
|
165
|
+
|
166
|
+
|
167
|
+
begin
|
168
|
+
#Get a project
|
169
|
+
result = api_instance.get_using_get1(id)
|
170
|
+
p result
|
171
|
+
rescue SwaggerClient::ApiError => e
|
172
|
+
puts "Exception when calling ProjectControllerApi->get_using_get1: #{e}"
|
173
|
+
end
|
174
|
+
```
|
175
|
+
|
176
|
+
### Parameters
|
177
|
+
|
178
|
+
Name | Type | Description | Notes
|
179
|
+
------------- | ------------- | ------------- | -------------
|
180
|
+
**id** | **String**| id |
|
181
|
+
|
182
|
+
### Return type
|
183
|
+
|
184
|
+
**Hash<String, Object>**
|
185
|
+
|
186
|
+
### Authorization
|
187
|
+
|
188
|
+
No authorization required
|
189
|
+
|
190
|
+
### HTTP request headers
|
191
|
+
|
192
|
+
- **Content-Type**: application/json
|
193
|
+
- **Accept**: */*
|
194
|
+
|
195
|
+
|
196
|
+
|