spinnaker-gate-ruby-client 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (156) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +8 -0
  3. data/Gemfile.lock +85 -0
  4. data/LICENSE +201 -0
  5. data/README.md +240 -0
  6. data/Rakefile +8 -0
  7. data/docs/Account.md +14 -0
  8. data/docs/AccountDetails.md +19 -0
  9. data/docs/AmazonInfrastructureControllerApi.md +128 -0
  10. data/docs/ApplicationControllerApi.md +754 -0
  11. data/docs/ArtifactControllerApi.md +111 -0
  12. data/docs/AuthControllerApi.md +212 -0
  13. data/docs/BakeControllerApi.md +143 -0
  14. data/docs/BuildControllerApi.md +493 -0
  15. data/docs/ClusterControllerApi.md +475 -0
  16. data/docs/ConcourseControllerApi.md +161 -0
  17. data/docs/CredentialsControllerApi.md +129 -0
  18. data/docs/EcsServerGroupEventsControllerApi.md +66 -0
  19. data/docs/ExecutionsControllerApi.md +133 -0
  20. data/docs/FirewallControllerApi.md +171 -0
  21. data/docs/GrantedAuthority.md +8 -0
  22. data/docs/HashMapstringobject.md +7 -0
  23. data/docs/HttpEntity.md +8 -0
  24. data/docs/ImageControllerApi.md +178 -0
  25. data/docs/InstanceControllerApi.md +122 -0
  26. data/docs/JobControllerApi.md +69 -0
  27. data/docs/LoadBalancerControllerApi.md +217 -0
  28. data/docs/Mapstringstring.md +7 -0
  29. data/docs/NetworkControllerApi.md +105 -0
  30. data/docs/PipelineConfigControllerApi.md +144 -0
  31. data/docs/PipelineControllerApi.md +1074 -0
  32. data/docs/PipelineTemplateDependent.md +10 -0
  33. data/docs/PipelineTemplatesControllerApi.md +350 -0
  34. data/docs/ProjectControllerApi.md +196 -0
  35. data/docs/PubsubSubscriptionControllerApi.md +48 -0
  36. data/docs/ReorderPipelinesCommand.md +9 -0
  37. data/docs/ReorderPipelinesControllerApi.md +54 -0
  38. data/docs/ResponseEntity.md +10 -0
  39. data/docs/SearchControllerApi.md +68 -0
  40. data/docs/SecurityGroupControllerApi.md +171 -0
  41. data/docs/ServerGroupControllerApi.md +125 -0
  42. data/docs/ServerGroupManagerControllerApi.md +54 -0
  43. data/docs/SnapshotControllerApi.md +110 -0
  44. data/docs/SubnetControllerApi.md +58 -0
  45. data/docs/TaskControllerApi.md +291 -0
  46. data/docs/User.md +18 -0
  47. data/docs/V2CanaryConfigControllerApi.md +259 -0
  48. data/docs/V2CanaryControllerApi.md +356 -0
  49. data/docs/V2PipelineTemplatesControllerApi.md +356 -0
  50. data/docs/Version.md +8 -0
  51. data/docs/VersionControllerApi.md +48 -0
  52. data/docs/WebhookControllerApi.md +105 -0
  53. data/git_push.sh +55 -0
  54. data/lib/swagger_client.rb +85 -0
  55. data/lib/swagger_client/api/amazon_infrastructure_controller_api.rb +161 -0
  56. data/lib/swagger_client/api/application_controller_api.rb +868 -0
  57. data/lib/swagger_client/api/artifact_controller_api.rb +141 -0
  58. data/lib/swagger_client/api/auth_controller_api.rb +258 -0
  59. data/lib/swagger_client/api/bake_controller_api.rb +179 -0
  60. data/lib/swagger_client/api/build_controller_api.rb +588 -0
  61. data/lib/swagger_client/api/cluster_controller_api.rb +591 -0
  62. data/lib/swagger_client/api/concourse_controller_api.rb +209 -0
  63. data/lib/swagger_client/api/credentials_controller_api.rb +163 -0
  64. data/lib/swagger_client/api/ecs_server_group_events_controller_api.rb +101 -0
  65. data/lib/swagger_client/api/executions_controller_api.rb +169 -0
  66. data/lib/swagger_client/api/firewall_controller_api.rb +209 -0
  67. data/lib/swagger_client/api/image_controller_api.rb +222 -0
  68. data/lib/swagger_client/api/instance_controller_api.rb +160 -0
  69. data/lib/swagger_client/api/job_controller_api.rb +99 -0
  70. data/lib/swagger_client/api/load_balancer_controller_api.rb +258 -0
  71. data/lib/swagger_client/api/network_controller_api.rb +127 -0
  72. data/lib/swagger_client/api/pipeline_config_controller_api.rb +176 -0
  73. data/lib/swagger_client/api/pipeline_controller_api.rb +1268 -0
  74. data/lib/swagger_client/api/pipeline_templates_controller_api.rb +404 -0
  75. data/lib/swagger_client/api/project_controller_api.rb +234 -0
  76. data/lib/swagger_client/api/pubsub_subscription_controller_api.rb +69 -0
  77. data/lib/swagger_client/api/reorder_pipelines_controller_api.rb +75 -0
  78. data/lib/swagger_client/api/search_controller_api.rb +94 -0
  79. data/lib/swagger_client/api/security_group_controller_api.rb +209 -0
  80. data/lib/swagger_client/api/server_group_controller_api.rb +163 -0
  81. data/lib/swagger_client/api/server_group_manager_controller_api.rb +75 -0
  82. data/lib/swagger_client/api/snapshot_controller_api.rb +142 -0
  83. data/lib/swagger_client/api/subnet_controller_api.rb +78 -0
  84. data/lib/swagger_client/api/task_controller_api.rb +345 -0
  85. data/lib/swagger_client/api/v2_canary_config_controller_api.rb +300 -0
  86. data/lib/swagger_client/api/v2_canary_controller_api.rb +421 -0
  87. data/lib/swagger_client/api/v2_pipeline_templates_controller_api.rb +412 -0
  88. data/lib/swagger_client/api/version_controller_api.rb +69 -0
  89. data/lib/swagger_client/api/webhook_controller_api.rb +135 -0
  90. data/lib/swagger_client/api_client.rb +388 -0
  91. data/lib/swagger_client/api_error.rb +38 -0
  92. data/lib/swagger_client/configuration.rb +202 -0
  93. data/lib/swagger_client/models/account.rb +241 -0
  94. data/lib/swagger_client/models/account_details.rb +286 -0
  95. data/lib/swagger_client/models/granted_authority.rb +183 -0
  96. data/lib/swagger_client/models/hash_mapstringobject.rb +174 -0
  97. data/lib/swagger_client/models/http_entity.rb +183 -0
  98. data/lib/swagger_client/models/mapstringstring.rb +174 -0
  99. data/lib/swagger_client/models/pipeline_template_dependent.rb +201 -0
  100. data/lib/swagger_client/models/reorder_pipelines_command.rb +194 -0
  101. data/lib/swagger_client/models/response_entity.rb +235 -0
  102. data/lib/swagger_client/models/user.rb +279 -0
  103. data/lib/swagger_client/models/version.rb +183 -0
  104. data/lib/swagger_client/version.rb +15 -0
  105. data/spec/api/amazon_infrastructure_controller_api_spec.rb +65 -0
  106. data/spec/api/application_controller_api_spec.rb +218 -0
  107. data/spec/api/artifact_controller_api_spec.rb +60 -0
  108. data/spec/api/auth_controller_api_spec.rb +86 -0
  109. data/spec/api/bake_controller_api_spec.rb +68 -0
  110. data/spec/api/build_controller_api_spec.rb +155 -0
  111. data/spec/api/cluster_controller_api_spec.rb +155 -0
  112. data/spec/api/concourse_controller_api_spec.rb +73 -0
  113. data/spec/api/credentials_controller_api_spec.rb +70 -0
  114. data/spec/api/ecs_server_group_events_controller_api_spec.rb +50 -0
  115. data/spec/api/executions_controller_api_spec.rb +72 -0
  116. data/spec/api/firewall_controller_api_spec.rb +77 -0
  117. data/spec/api/image_controller_api_spec.rb +80 -0
  118. data/spec/api/instance_controller_api_spec.rb +64 -0
  119. data/spec/api/job_controller_api_spec.rb +51 -0
  120. data/spec/api/load_balancer_controller_api_spec.rb +87 -0
  121. data/spec/api/network_controller_api_spec.rb +58 -0
  122. data/spec/api/pipeline_config_controller_api_spec.rb +68 -0
  123. data/spec/api/pipeline_controller_api_spec.rb +296 -0
  124. data/spec/api/pipeline_templates_controller_api_spec.rb +118 -0
  125. data/spec/api/project_controller_api_spec.rb +81 -0
  126. data/spec/api/pubsub_subscription_controller_api_spec.rb +45 -0
  127. data/spec/api/reorder_pipelines_controller_api_spec.rb +46 -0
  128. data/spec/api/search_controller_api_spec.rb +52 -0
  129. data/spec/api/security_group_controller_api_spec.rb +77 -0
  130. data/spec/api/server_group_controller_api_spec.rb +66 -0
  131. data/spec/api/server_group_manager_controller_api_spec.rb +46 -0
  132. data/spec/api/snapshot_controller_api_spec.rb +60 -0
  133. data/spec/api/subnet_controller_api_spec.rb +47 -0
  134. data/spec/api/task_controller_api_spec.rb +103 -0
  135. data/spec/api/v2_canary_config_controller_api_spec.rb +96 -0
  136. data/spec/api/v2_canary_controller_api_spec.rb +123 -0
  137. data/spec/api/v2_pipeline_templates_controller_api_spec.rb +121 -0
  138. data/spec/api/version_controller_api_spec.rb +45 -0
  139. data/spec/api/webhook_controller_api_spec.rb +60 -0
  140. data/spec/api_client_spec.rb +226 -0
  141. data/spec/configuration_spec.rb +42 -0
  142. data/spec/models/account_details_spec.rb +107 -0
  143. data/spec/models/account_spec.rb +77 -0
  144. data/spec/models/granted_authority_spec.rb +41 -0
  145. data/spec/models/hash_mapstringobject_spec.rb +35 -0
  146. data/spec/models/http_entity_spec.rb +41 -0
  147. data/spec/models/mapstringstring_spec.rb +35 -0
  148. data/spec/models/pipeline_template_dependent_spec.rb +53 -0
  149. data/spec/models/reorder_pipelines_command_spec.rb +47 -0
  150. data/spec/models/response_entity_spec.rb +57 -0
  151. data/spec/models/user_spec.rb +101 -0
  152. data/spec/models/version_spec.rb +41 -0
  153. data/spec/spec_helper.rb +111 -0
  154. data/spinnaker_gate_ruby_client-1.0.0.gem +0 -0
  155. data/spinnaker_gate_ruby_client.gemspec +45 -0
  156. metadata +427 -0
@@ -0,0 +1,69 @@
1
+ # SwaggerClient::JobControllerApi
2
+
3
+ All URIs are relative to *https://gate-spinnaker.devint.gcp.openx.org*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**get_job_using_get**](JobControllerApi.md#get_job_using_get) | **GET** /applications/{applicationName}/jobs/{account}/{region}/{name} | Get job
8
+
9
+
10
+ # **get_job_using_get**
11
+ > Hash<String, Object> get_job_using_get(application_name, account, region, name, opts)
12
+
13
+ Get job
14
+
15
+ ### Example
16
+ ```ruby
17
+ # load the gem
18
+ require 'swagger_client'
19
+
20
+ api_instance = SwaggerClient::JobControllerApi.new
21
+
22
+ application_name = 'application_name_example' # String | applicationName
23
+
24
+ account = 'account_example' # String | account
25
+
26
+ region = 'region_example' # String | region
27
+
28
+ name = 'name_example' # String | name
29
+
30
+ opts = {
31
+ expand: 'false', # String | expand
32
+ x_rate_limit_app: 'x_rate_limit_app_example' # String | X-RateLimit-App
33
+ }
34
+
35
+ begin
36
+ #Get job
37
+ result = api_instance.get_job_using_get(application_name, account, region, name, opts)
38
+ p result
39
+ rescue SwaggerClient::ApiError => e
40
+ puts "Exception when calling JobControllerApi->get_job_using_get: #{e}"
41
+ end
42
+ ```
43
+
44
+ ### Parameters
45
+
46
+ Name | Type | Description | Notes
47
+ ------------- | ------------- | ------------- | -------------
48
+ **application_name** | **String**| applicationName |
49
+ **account** | **String**| account |
50
+ **region** | **String**| region |
51
+ **name** | **String**| name |
52
+ **expand** | **String**| expand | [optional] [default to false]
53
+ **x_rate_limit_app** | **String**| X-RateLimit-App | [optional]
54
+
55
+ ### Return type
56
+
57
+ **Hash<String, Object>**
58
+
59
+ ### Authorization
60
+
61
+ No authorization required
62
+
63
+ ### HTTP request headers
64
+
65
+ - **Content-Type**: application/json
66
+ - **Accept**: */*
67
+
68
+
69
+
@@ -0,0 +1,217 @@
1
+ # SwaggerClient::LoadBalancerControllerApi
2
+
3
+ All URIs are relative to *https://gate-spinnaker.devint.gcp.openx.org*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**get_all_using_get**](LoadBalancerControllerApi.md#get_all_using_get) | **GET** /loadBalancers | Retrieve a list of load balancers for a given cloud provider
8
+ [**get_application_load_balancers_using_get**](LoadBalancerControllerApi.md#get_application_load_balancers_using_get) | **GET** /applications/{application}/loadBalancers | Retrieve a list of load balancers for a given application
9
+ [**get_load_balancer_details_using_get**](LoadBalancerControllerApi.md#get_load_balancer_details_using_get) | **GET** /loadBalancers/{account}/{region}/{name} | Retrieve a load balancer's details as a single element list for a given account, region, cloud provider and load balancer name
10
+ [**get_load_balancer_using_get**](LoadBalancerControllerApi.md#get_load_balancer_using_get) | **GET** /loadBalancers/{name} | Retrieve a load balancer for a given cloud provider
11
+
12
+
13
+ # **get_all_using_get**
14
+ > Array<Object> get_all_using_get(opts)
15
+
16
+ Retrieve a list of load balancers for a given cloud provider
17
+
18
+ ### Example
19
+ ```ruby
20
+ # load the gem
21
+ require 'swagger_client'
22
+
23
+ api_instance = SwaggerClient::LoadBalancerControllerApi.new
24
+
25
+ opts = {
26
+ provider: 'aws', # String | provider
27
+ x_rate_limit_app: 'x_rate_limit_app_example' # String | X-RateLimit-App
28
+ }
29
+
30
+ begin
31
+ #Retrieve a list of load balancers for a given cloud provider
32
+ result = api_instance.get_all_using_get(opts)
33
+ p result
34
+ rescue SwaggerClient::ApiError => e
35
+ puts "Exception when calling LoadBalancerControllerApi->get_all_using_get: #{e}"
36
+ end
37
+ ```
38
+
39
+ ### Parameters
40
+
41
+ Name | Type | Description | Notes
42
+ ------------- | ------------- | ------------- | -------------
43
+ **provider** | **String**| provider | [optional] [default to aws]
44
+ **x_rate_limit_app** | **String**| X-RateLimit-App | [optional]
45
+
46
+ ### Return type
47
+
48
+ **Array<Object>**
49
+
50
+ ### Authorization
51
+
52
+ No authorization required
53
+
54
+ ### HTTP request headers
55
+
56
+ - **Content-Type**: application/json
57
+ - **Accept**: */*
58
+
59
+
60
+
61
+ # **get_application_load_balancers_using_get**
62
+ > Array<Object> get_application_load_balancers_using_get(application, opts)
63
+
64
+ Retrieve a list of load balancers for a given application
65
+
66
+ ### Example
67
+ ```ruby
68
+ # load the gem
69
+ require 'swagger_client'
70
+
71
+ api_instance = SwaggerClient::LoadBalancerControllerApi.new
72
+
73
+ application = 'application_example' # String | application
74
+
75
+ opts = {
76
+ x_rate_limit_app: 'x_rate_limit_app_example' # String | X-RateLimit-App
77
+ }
78
+
79
+ begin
80
+ #Retrieve a list of load balancers for a given application
81
+ result = api_instance.get_application_load_balancers_using_get(application, opts)
82
+ p result
83
+ rescue SwaggerClient::ApiError => e
84
+ puts "Exception when calling LoadBalancerControllerApi->get_application_load_balancers_using_get: #{e}"
85
+ end
86
+ ```
87
+
88
+ ### Parameters
89
+
90
+ Name | Type | Description | Notes
91
+ ------------- | ------------- | ------------- | -------------
92
+ **application** | **String**| application |
93
+ **x_rate_limit_app** | **String**| X-RateLimit-App | [optional]
94
+
95
+ ### Return type
96
+
97
+ **Array<Object>**
98
+
99
+ ### Authorization
100
+
101
+ No authorization required
102
+
103
+ ### HTTP request headers
104
+
105
+ - **Content-Type**: application/json
106
+ - **Accept**: */*
107
+
108
+
109
+
110
+ # **get_load_balancer_details_using_get**
111
+ > Array<Object> get_load_balancer_details_using_get(account, region, name, opts)
112
+
113
+ Retrieve a load balancer's details as a single element list for a given account, region, cloud provider and load balancer name
114
+
115
+ ### Example
116
+ ```ruby
117
+ # load the gem
118
+ require 'swagger_client'
119
+
120
+ api_instance = SwaggerClient::LoadBalancerControllerApi.new
121
+
122
+ account = 'account_example' # String | account
123
+
124
+ region = 'region_example' # String | region
125
+
126
+ name = 'name_example' # String | name
127
+
128
+ opts = {
129
+ provider: 'aws', # String | provider
130
+ x_rate_limit_app: 'x_rate_limit_app_example' # String | X-RateLimit-App
131
+ }
132
+
133
+ begin
134
+ #Retrieve a load balancer's details as a single element list for a given account, region, cloud provider and load balancer name
135
+ result = api_instance.get_load_balancer_details_using_get(account, region, name, opts)
136
+ p result
137
+ rescue SwaggerClient::ApiError => e
138
+ puts "Exception when calling LoadBalancerControllerApi->get_load_balancer_details_using_get: #{e}"
139
+ end
140
+ ```
141
+
142
+ ### Parameters
143
+
144
+ Name | Type | Description | Notes
145
+ ------------- | ------------- | ------------- | -------------
146
+ **account** | **String**| account |
147
+ **region** | **String**| region |
148
+ **name** | **String**| name |
149
+ **provider** | **String**| provider | [optional] [default to aws]
150
+ **x_rate_limit_app** | **String**| X-RateLimit-App | [optional]
151
+
152
+ ### Return type
153
+
154
+ **Array<Object>**
155
+
156
+ ### Authorization
157
+
158
+ No authorization required
159
+
160
+ ### HTTP request headers
161
+
162
+ - **Content-Type**: application/json
163
+ - **Accept**: */*
164
+
165
+
166
+
167
+ # **get_load_balancer_using_get**
168
+ > Hash<String, Object> get_load_balancer_using_get(name, opts)
169
+
170
+ Retrieve a load balancer for a given cloud provider
171
+
172
+ ### Example
173
+ ```ruby
174
+ # load the gem
175
+ require 'swagger_client'
176
+
177
+ api_instance = SwaggerClient::LoadBalancerControllerApi.new
178
+
179
+ name = 'name_example' # String | name
180
+
181
+ opts = {
182
+ provider: 'aws', # String | provider
183
+ x_rate_limit_app: 'x_rate_limit_app_example' # String | X-RateLimit-App
184
+ }
185
+
186
+ begin
187
+ #Retrieve a load balancer for a given cloud provider
188
+ result = api_instance.get_load_balancer_using_get(name, opts)
189
+ p result
190
+ rescue SwaggerClient::ApiError => e
191
+ puts "Exception when calling LoadBalancerControllerApi->get_load_balancer_using_get: #{e}"
192
+ end
193
+ ```
194
+
195
+ ### Parameters
196
+
197
+ Name | Type | Description | Notes
198
+ ------------- | ------------- | ------------- | -------------
199
+ **name** | **String**| name |
200
+ **provider** | **String**| provider | [optional] [default to aws]
201
+ **x_rate_limit_app** | **String**| X-RateLimit-App | [optional]
202
+
203
+ ### Return type
204
+
205
+ **Hash<String, Object>**
206
+
207
+ ### Authorization
208
+
209
+ No authorization required
210
+
211
+ ### HTTP request headers
212
+
213
+ - **Content-Type**: application/json
214
+ - **Accept**: */*
215
+
216
+
217
+
@@ -0,0 +1,7 @@
1
+ # SwaggerClient::Mapstringstring
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+
7
+
@@ -0,0 +1,105 @@
1
+ # SwaggerClient::NetworkControllerApi
2
+
3
+ All URIs are relative to *https://gate-spinnaker.devint.gcp.openx.org*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**all_by_cloud_provider_using_get**](NetworkControllerApi.md#all_by_cloud_provider_using_get) | **GET** /networks/{cloudProvider} | Retrieve a list of networks for a given cloud provider
8
+ [**all_using_get2**](NetworkControllerApi.md#all_using_get2) | **GET** /networks | Retrieve a list of networks, grouped by cloud provider
9
+
10
+
11
+ # **all_by_cloud_provider_using_get**
12
+ > Array<Object> all_by_cloud_provider_using_get(cloud_provider, opts)
13
+
14
+ Retrieve a list of networks for a given cloud provider
15
+
16
+ ### Example
17
+ ```ruby
18
+ # load the gem
19
+ require 'swagger_client'
20
+
21
+ api_instance = SwaggerClient::NetworkControllerApi.new
22
+
23
+ cloud_provider = 'cloud_provider_example' # String | cloudProvider
24
+
25
+ opts = {
26
+ x_rate_limit_app: 'x_rate_limit_app_example' # String | X-RateLimit-App
27
+ }
28
+
29
+ begin
30
+ #Retrieve a list of networks for a given cloud provider
31
+ result = api_instance.all_by_cloud_provider_using_get(cloud_provider, opts)
32
+ p result
33
+ rescue SwaggerClient::ApiError => e
34
+ puts "Exception when calling NetworkControllerApi->all_by_cloud_provider_using_get: #{e}"
35
+ end
36
+ ```
37
+
38
+ ### Parameters
39
+
40
+ Name | Type | Description | Notes
41
+ ------------- | ------------- | ------------- | -------------
42
+ **cloud_provider** | **String**| cloudProvider |
43
+ **x_rate_limit_app** | **String**| X-RateLimit-App | [optional]
44
+
45
+ ### Return type
46
+
47
+ **Array<Object>**
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
+ # **all_using_get2**
61
+ > Hash<String, Object> all_using_get2(opts)
62
+
63
+ Retrieve a list of networks, grouped by cloud provider
64
+
65
+ ### Example
66
+ ```ruby
67
+ # load the gem
68
+ require 'swagger_client'
69
+
70
+ api_instance = SwaggerClient::NetworkControllerApi.new
71
+
72
+ opts = {
73
+ x_rate_limit_app: 'x_rate_limit_app_example' # String | X-RateLimit-App
74
+ }
75
+
76
+ begin
77
+ #Retrieve a list of networks, grouped by cloud provider
78
+ result = api_instance.all_using_get2(opts)
79
+ p result
80
+ rescue SwaggerClient::ApiError => e
81
+ puts "Exception when calling NetworkControllerApi->all_using_get2: #{e}"
82
+ end
83
+ ```
84
+
85
+ ### Parameters
86
+
87
+ Name | Type | Description | Notes
88
+ ------------- | ------------- | ------------- | -------------
89
+ **x_rate_limit_app** | **String**| X-RateLimit-App | [optional]
90
+
91
+ ### Return type
92
+
93
+ **Hash<String, Object>**
94
+
95
+ ### Authorization
96
+
97
+ No authorization required
98
+
99
+ ### HTTP request headers
100
+
101
+ - **Content-Type**: application/json
102
+ - **Accept**: */*
103
+
104
+
105
+
@@ -0,0 +1,144 @@
1
+ # SwaggerClient::PipelineConfigControllerApi
2
+
3
+ All URIs are relative to *https://gate-spinnaker.devint.gcp.openx.org*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**convert_pipeline_config_to_pipeline_template_using_get**](PipelineConfigControllerApi.md#convert_pipeline_config_to_pipeline_template_using_get) | **GET** /pipelineConfigs/{pipelineConfigId}/convertToTemplate | Convert a pipeline config to a pipeline template.
8
+ [**get_all_pipeline_configs_using_get**](PipelineConfigControllerApi.md#get_all_pipeline_configs_using_get) | **GET** /pipelineConfigs | Get all pipeline configs.
9
+ [**get_pipeline_config_history_using_get**](PipelineConfigControllerApi.md#get_pipeline_config_history_using_get) | **GET** /pipelineConfigs/{pipelineConfigId}/history | Get pipeline config history.
10
+
11
+
12
+ # **convert_pipeline_config_to_pipeline_template_using_get**
13
+ > String convert_pipeline_config_to_pipeline_template_using_get(pipeline_config_id)
14
+
15
+ Convert a pipeline config to a pipeline template.
16
+
17
+ ### Example
18
+ ```ruby
19
+ # load the gem
20
+ require 'swagger_client'
21
+
22
+ api_instance = SwaggerClient::PipelineConfigControllerApi.new
23
+
24
+ pipeline_config_id = 'pipeline_config_id_example' # String | pipelineConfigId
25
+
26
+
27
+ begin
28
+ #Convert a pipeline config to a pipeline template.
29
+ result = api_instance.convert_pipeline_config_to_pipeline_template_using_get(pipeline_config_id)
30
+ p result
31
+ rescue SwaggerClient::ApiError => e
32
+ puts "Exception when calling PipelineConfigControllerApi->convert_pipeline_config_to_pipeline_template_using_get: #{e}"
33
+ end
34
+ ```
35
+
36
+ ### Parameters
37
+
38
+ Name | Type | Description | Notes
39
+ ------------- | ------------- | ------------- | -------------
40
+ **pipeline_config_id** | **String**| pipelineConfigId |
41
+
42
+ ### Return type
43
+
44
+ **String**
45
+
46
+ ### Authorization
47
+
48
+ No authorization required
49
+
50
+ ### HTTP request headers
51
+
52
+ - **Content-Type**: application/json
53
+ - **Accept**: */*
54
+
55
+
56
+
57
+ # **get_all_pipeline_configs_using_get**
58
+ > Array<Object> get_all_pipeline_configs_using_get
59
+
60
+ Get all pipeline configs.
61
+
62
+ ### Example
63
+ ```ruby
64
+ # load the gem
65
+ require 'swagger_client'
66
+
67
+ api_instance = SwaggerClient::PipelineConfigControllerApi.new
68
+
69
+ begin
70
+ #Get all pipeline configs.
71
+ result = api_instance.get_all_pipeline_configs_using_get
72
+ p result
73
+ rescue SwaggerClient::ApiError => e
74
+ puts "Exception when calling PipelineConfigControllerApi->get_all_pipeline_configs_using_get: #{e}"
75
+ end
76
+ ```
77
+
78
+ ### Parameters
79
+ This endpoint does not need any parameter.
80
+
81
+ ### Return type
82
+
83
+ **Array<Object>**
84
+
85
+ ### Authorization
86
+
87
+ No authorization required
88
+
89
+ ### HTTP request headers
90
+
91
+ - **Content-Type**: application/json
92
+ - **Accept**: */*
93
+
94
+
95
+
96
+ # **get_pipeline_config_history_using_get**
97
+ > Array<Object> get_pipeline_config_history_using_get(pipeline_config_id, opts)
98
+
99
+ Get pipeline config history.
100
+
101
+ ### Example
102
+ ```ruby
103
+ # load the gem
104
+ require 'swagger_client'
105
+
106
+ api_instance = SwaggerClient::PipelineConfigControllerApi.new
107
+
108
+ pipeline_config_id = 'pipeline_config_id_example' # String | pipelineConfigId
109
+
110
+ opts = {
111
+ limit: 20 # Integer | limit
112
+ }
113
+
114
+ begin
115
+ #Get pipeline config history.
116
+ result = api_instance.get_pipeline_config_history_using_get(pipeline_config_id, opts)
117
+ p result
118
+ rescue SwaggerClient::ApiError => e
119
+ puts "Exception when calling PipelineConfigControllerApi->get_pipeline_config_history_using_get: #{e}"
120
+ end
121
+ ```
122
+
123
+ ### Parameters
124
+
125
+ Name | Type | Description | Notes
126
+ ------------- | ------------- | ------------- | -------------
127
+ **pipeline_config_id** | **String**| pipelineConfigId |
128
+ **limit** | **Integer**| limit | [optional] [default to 20]
129
+
130
+ ### Return type
131
+
132
+ **Array<Object>**
133
+
134
+ ### Authorization
135
+
136
+ No authorization required
137
+
138
+ ### HTTP request headers
139
+
140
+ - **Content-Type**: application/json
141
+ - **Accept**: */*
142
+
143
+
144
+