spinnaker_gate_ruby_client 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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.gemspec +45 -0
- metadata +426 -0
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
# SwaggerClient::ArtifactControllerApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://gate-spinnaker.devint.gcp.openx.org*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**all_using_get**](ArtifactControllerApi.md#all_using_get) | **GET** /artifacts/credentials | Retrieve the list of artifact accounts configured in Clouddriver.
|
|
8
|
+
[**artifact_versions_using_get**](ArtifactControllerApi.md#artifact_versions_using_get) | **GET** /artifacts/account/{accountName}/versions | Retrieve the list of artifact versions by account and artifact names
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
# **all_using_get**
|
|
12
|
+
> Array<Object> all_using_get(opts)
|
|
13
|
+
|
|
14
|
+
Retrieve the list of artifact accounts configured in Clouddriver.
|
|
15
|
+
|
|
16
|
+
### Example
|
|
17
|
+
```ruby
|
|
18
|
+
# load the gem
|
|
19
|
+
require 'swagger_client'
|
|
20
|
+
|
|
21
|
+
api_instance = SwaggerClient::ArtifactControllerApi.new
|
|
22
|
+
|
|
23
|
+
opts = {
|
|
24
|
+
x_rate_limit_app: 'x_rate_limit_app_example' # String | X-RateLimit-App
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
begin
|
|
28
|
+
#Retrieve the list of artifact accounts configured in Clouddriver.
|
|
29
|
+
result = api_instance.all_using_get(opts)
|
|
30
|
+
p result
|
|
31
|
+
rescue SwaggerClient::ApiError => e
|
|
32
|
+
puts "Exception when calling ArtifactControllerApi->all_using_get: #{e}"
|
|
33
|
+
end
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Parameters
|
|
37
|
+
|
|
38
|
+
Name | Type | Description | Notes
|
|
39
|
+
------------- | ------------- | ------------- | -------------
|
|
40
|
+
**x_rate_limit_app** | **String**| X-RateLimit-App | [optional]
|
|
41
|
+
|
|
42
|
+
### Return type
|
|
43
|
+
|
|
44
|
+
**Array<Object>**
|
|
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
|
+
# **artifact_versions_using_get**
|
|
58
|
+
> Array<String> artifact_versions_using_get(account_name, type, artifact_name, opts)
|
|
59
|
+
|
|
60
|
+
Retrieve the list of artifact versions by account and artifact names
|
|
61
|
+
|
|
62
|
+
### Example
|
|
63
|
+
```ruby
|
|
64
|
+
# load the gem
|
|
65
|
+
require 'swagger_client'
|
|
66
|
+
|
|
67
|
+
api_instance = SwaggerClient::ArtifactControllerApi.new
|
|
68
|
+
|
|
69
|
+
account_name = 'account_name_example' # String | accountName
|
|
70
|
+
|
|
71
|
+
type = 'type_example' # String | type
|
|
72
|
+
|
|
73
|
+
artifact_name = 'artifact_name_example' # String | artifactName
|
|
74
|
+
|
|
75
|
+
opts = {
|
|
76
|
+
x_rate_limit_app: 'x_rate_limit_app_example' # String | X-RateLimit-App
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
begin
|
|
80
|
+
#Retrieve the list of artifact versions by account and artifact names
|
|
81
|
+
result = api_instance.artifact_versions_using_get(account_name, type, artifact_name, opts)
|
|
82
|
+
p result
|
|
83
|
+
rescue SwaggerClient::ApiError => e
|
|
84
|
+
puts "Exception when calling ArtifactControllerApi->artifact_versions_using_get: #{e}"
|
|
85
|
+
end
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### Parameters
|
|
89
|
+
|
|
90
|
+
Name | Type | Description | Notes
|
|
91
|
+
------------- | ------------- | ------------- | -------------
|
|
92
|
+
**account_name** | **String**| accountName |
|
|
93
|
+
**type** | **String**| type |
|
|
94
|
+
**artifact_name** | **String**| artifactName |
|
|
95
|
+
**x_rate_limit_app** | **String**| X-RateLimit-App | [optional]
|
|
96
|
+
|
|
97
|
+
### Return type
|
|
98
|
+
|
|
99
|
+
**Array<String>**
|
|
100
|
+
|
|
101
|
+
### Authorization
|
|
102
|
+
|
|
103
|
+
No authorization required
|
|
104
|
+
|
|
105
|
+
### HTTP request headers
|
|
106
|
+
|
|
107
|
+
- **Content-Type**: application/json
|
|
108
|
+
- **Accept**: */*
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
# SwaggerClient::AuthControllerApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://gate-spinnaker.devint.gcp.openx.org*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**get_service_accounts_using_get**](AuthControllerApi.md#get_service_accounts_using_get) | **GET** /auth/user/serviceAccounts | Get service accounts
|
|
8
|
+
[**logged_out_using_get**](AuthControllerApi.md#logged_out_using_get) | **GET** /auth/loggedOut | Get logged out message
|
|
9
|
+
[**redirect_using_get**](AuthControllerApi.md#redirect_using_get) | **GET** /auth/redirect | Redirect to Deck
|
|
10
|
+
[**sync_using_post**](AuthControllerApi.md#sync_using_post) | **POST** /auth/roles/sync | Sync user roles
|
|
11
|
+
[**user_using_get**](AuthControllerApi.md#user_using_get) | **GET** /auth/user | Get user
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# **get_service_accounts_using_get**
|
|
15
|
+
> Array<Object> get_service_accounts_using_get
|
|
16
|
+
|
|
17
|
+
Get service accounts
|
|
18
|
+
|
|
19
|
+
### Example
|
|
20
|
+
```ruby
|
|
21
|
+
# load the gem
|
|
22
|
+
require 'swagger_client'
|
|
23
|
+
|
|
24
|
+
api_instance = SwaggerClient::AuthControllerApi.new
|
|
25
|
+
|
|
26
|
+
begin
|
|
27
|
+
#Get service accounts
|
|
28
|
+
result = api_instance.get_service_accounts_using_get
|
|
29
|
+
p result
|
|
30
|
+
rescue SwaggerClient::ApiError => e
|
|
31
|
+
puts "Exception when calling AuthControllerApi->get_service_accounts_using_get: #{e}"
|
|
32
|
+
end
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Parameters
|
|
36
|
+
This endpoint does not need any parameter.
|
|
37
|
+
|
|
38
|
+
### Return type
|
|
39
|
+
|
|
40
|
+
**Array<Object>**
|
|
41
|
+
|
|
42
|
+
### Authorization
|
|
43
|
+
|
|
44
|
+
No authorization required
|
|
45
|
+
|
|
46
|
+
### HTTP request headers
|
|
47
|
+
|
|
48
|
+
- **Content-Type**: application/json
|
|
49
|
+
- **Accept**: */*
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
# **logged_out_using_get**
|
|
54
|
+
> String logged_out_using_get
|
|
55
|
+
|
|
56
|
+
Get logged out message
|
|
57
|
+
|
|
58
|
+
### Example
|
|
59
|
+
```ruby
|
|
60
|
+
# load the gem
|
|
61
|
+
require 'swagger_client'
|
|
62
|
+
|
|
63
|
+
api_instance = SwaggerClient::AuthControllerApi.new
|
|
64
|
+
|
|
65
|
+
begin
|
|
66
|
+
#Get logged out message
|
|
67
|
+
result = api_instance.logged_out_using_get
|
|
68
|
+
p result
|
|
69
|
+
rescue SwaggerClient::ApiError => e
|
|
70
|
+
puts "Exception when calling AuthControllerApi->logged_out_using_get: #{e}"
|
|
71
|
+
end
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### Parameters
|
|
75
|
+
This endpoint does not need any parameter.
|
|
76
|
+
|
|
77
|
+
### Return type
|
|
78
|
+
|
|
79
|
+
**String**
|
|
80
|
+
|
|
81
|
+
### Authorization
|
|
82
|
+
|
|
83
|
+
No authorization required
|
|
84
|
+
|
|
85
|
+
### HTTP request headers
|
|
86
|
+
|
|
87
|
+
- **Content-Type**: application/json
|
|
88
|
+
- **Accept**: */*
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
# **redirect_using_get**
|
|
93
|
+
> redirect_using_get(to)
|
|
94
|
+
|
|
95
|
+
Redirect to Deck
|
|
96
|
+
|
|
97
|
+
### Example
|
|
98
|
+
```ruby
|
|
99
|
+
# load the gem
|
|
100
|
+
require 'swagger_client'
|
|
101
|
+
|
|
102
|
+
api_instance = SwaggerClient::AuthControllerApi.new
|
|
103
|
+
|
|
104
|
+
to = 'to_example' # String | to
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
begin
|
|
108
|
+
#Redirect to Deck
|
|
109
|
+
api_instance.redirect_using_get(to)
|
|
110
|
+
rescue SwaggerClient::ApiError => e
|
|
111
|
+
puts "Exception when calling AuthControllerApi->redirect_using_get: #{e}"
|
|
112
|
+
end
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### Parameters
|
|
116
|
+
|
|
117
|
+
Name | Type | Description | Notes
|
|
118
|
+
------------- | ------------- | ------------- | -------------
|
|
119
|
+
**to** | **String**| to |
|
|
120
|
+
|
|
121
|
+
### Return type
|
|
122
|
+
|
|
123
|
+
nil (empty response body)
|
|
124
|
+
|
|
125
|
+
### Authorization
|
|
126
|
+
|
|
127
|
+
No authorization required
|
|
128
|
+
|
|
129
|
+
### HTTP request headers
|
|
130
|
+
|
|
131
|
+
- **Content-Type**: application/json
|
|
132
|
+
- **Accept**: */*
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
# **sync_using_post**
|
|
137
|
+
> sync_using_post
|
|
138
|
+
|
|
139
|
+
Sync user roles
|
|
140
|
+
|
|
141
|
+
### Example
|
|
142
|
+
```ruby
|
|
143
|
+
# load the gem
|
|
144
|
+
require 'swagger_client'
|
|
145
|
+
|
|
146
|
+
api_instance = SwaggerClient::AuthControllerApi.new
|
|
147
|
+
|
|
148
|
+
begin
|
|
149
|
+
#Sync user roles
|
|
150
|
+
api_instance.sync_using_post
|
|
151
|
+
rescue SwaggerClient::ApiError => e
|
|
152
|
+
puts "Exception when calling AuthControllerApi->sync_using_post: #{e}"
|
|
153
|
+
end
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
### Parameters
|
|
157
|
+
This endpoint does not need any parameter.
|
|
158
|
+
|
|
159
|
+
### Return type
|
|
160
|
+
|
|
161
|
+
nil (empty response body)
|
|
162
|
+
|
|
163
|
+
### Authorization
|
|
164
|
+
|
|
165
|
+
No authorization required
|
|
166
|
+
|
|
167
|
+
### HTTP request headers
|
|
168
|
+
|
|
169
|
+
- **Content-Type**: application/json
|
|
170
|
+
- **Accept**: */*
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
# **user_using_get**
|
|
175
|
+
> User user_using_get
|
|
176
|
+
|
|
177
|
+
Get user
|
|
178
|
+
|
|
179
|
+
### Example
|
|
180
|
+
```ruby
|
|
181
|
+
# load the gem
|
|
182
|
+
require 'swagger_client'
|
|
183
|
+
|
|
184
|
+
api_instance = SwaggerClient::AuthControllerApi.new
|
|
185
|
+
|
|
186
|
+
begin
|
|
187
|
+
#Get user
|
|
188
|
+
result = api_instance.user_using_get
|
|
189
|
+
p result
|
|
190
|
+
rescue SwaggerClient::ApiError => e
|
|
191
|
+
puts "Exception when calling AuthControllerApi->user_using_get: #{e}"
|
|
192
|
+
end
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
### Parameters
|
|
196
|
+
This endpoint does not need any parameter.
|
|
197
|
+
|
|
198
|
+
### Return type
|
|
199
|
+
|
|
200
|
+
[**User**](User.md)
|
|
201
|
+
|
|
202
|
+
### Authorization
|
|
203
|
+
|
|
204
|
+
No authorization required
|
|
205
|
+
|
|
206
|
+
### HTTP request headers
|
|
207
|
+
|
|
208
|
+
- **Content-Type**: application/json
|
|
209
|
+
- **Accept**: */*
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
# SwaggerClient::BakeControllerApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://gate-spinnaker.devint.gcp.openx.org*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**bake_options_using_get**](BakeControllerApi.md#bake_options_using_get) | **GET** /bakery/options/{cloudProvider} | Retrieve a list of available bakery base images for a given cloud provider
|
|
8
|
+
[**bake_options_using_get1**](BakeControllerApi.md#bake_options_using_get1) | **GET** /bakery/options | Retrieve a list of available bakery base images, grouped by cloud provider
|
|
9
|
+
[**lookup_logs_using_get**](BakeControllerApi.md#lookup_logs_using_get) | **GET** /bakery/logs/{region}/{statusId} | Retrieve the logs for a given bake
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
# **bake_options_using_get**
|
|
13
|
+
> Object bake_options_using_get(cloud_provider)
|
|
14
|
+
|
|
15
|
+
Retrieve a list of available bakery base images for a given cloud provider
|
|
16
|
+
|
|
17
|
+
### Example
|
|
18
|
+
```ruby
|
|
19
|
+
# load the gem
|
|
20
|
+
require 'swagger_client'
|
|
21
|
+
|
|
22
|
+
api_instance = SwaggerClient::BakeControllerApi.new
|
|
23
|
+
|
|
24
|
+
cloud_provider = 'cloud_provider_example' # String | cloudProvider
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
begin
|
|
28
|
+
#Retrieve a list of available bakery base images for a given cloud provider
|
|
29
|
+
result = api_instance.bake_options_using_get(cloud_provider)
|
|
30
|
+
p result
|
|
31
|
+
rescue SwaggerClient::ApiError => e
|
|
32
|
+
puts "Exception when calling BakeControllerApi->bake_options_using_get: #{e}"
|
|
33
|
+
end
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Parameters
|
|
37
|
+
|
|
38
|
+
Name | Type | Description | Notes
|
|
39
|
+
------------- | ------------- | ------------- | -------------
|
|
40
|
+
**cloud_provider** | **String**| cloudProvider |
|
|
41
|
+
|
|
42
|
+
### Return type
|
|
43
|
+
|
|
44
|
+
**Object**
|
|
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
|
+
# **bake_options_using_get1**
|
|
58
|
+
> Object bake_options_using_get1
|
|
59
|
+
|
|
60
|
+
Retrieve a list of available bakery base images, grouped by cloud provider
|
|
61
|
+
|
|
62
|
+
### Example
|
|
63
|
+
```ruby
|
|
64
|
+
# load the gem
|
|
65
|
+
require 'swagger_client'
|
|
66
|
+
|
|
67
|
+
api_instance = SwaggerClient::BakeControllerApi.new
|
|
68
|
+
|
|
69
|
+
begin
|
|
70
|
+
#Retrieve a list of available bakery base images, grouped by cloud provider
|
|
71
|
+
result = api_instance.bake_options_using_get1
|
|
72
|
+
p result
|
|
73
|
+
rescue SwaggerClient::ApiError => e
|
|
74
|
+
puts "Exception when calling BakeControllerApi->bake_options_using_get1: #{e}"
|
|
75
|
+
end
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### Parameters
|
|
79
|
+
This endpoint does not need any parameter.
|
|
80
|
+
|
|
81
|
+
### Return type
|
|
82
|
+
|
|
83
|
+
**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
|
+
# **lookup_logs_using_get**
|
|
97
|
+
> Object lookup_logs_using_get(region, status_id)
|
|
98
|
+
|
|
99
|
+
Retrieve the logs for a given bake
|
|
100
|
+
|
|
101
|
+
### Example
|
|
102
|
+
```ruby
|
|
103
|
+
# load the gem
|
|
104
|
+
require 'swagger_client'
|
|
105
|
+
|
|
106
|
+
api_instance = SwaggerClient::BakeControllerApi.new
|
|
107
|
+
|
|
108
|
+
region = 'region_example' # String | region
|
|
109
|
+
|
|
110
|
+
status_id = 'status_id_example' # String | statusId
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
begin
|
|
114
|
+
#Retrieve the logs for a given bake
|
|
115
|
+
result = api_instance.lookup_logs_using_get(region, status_id)
|
|
116
|
+
p result
|
|
117
|
+
rescue SwaggerClient::ApiError => e
|
|
118
|
+
puts "Exception when calling BakeControllerApi->lookup_logs_using_get: #{e}"
|
|
119
|
+
end
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
### Parameters
|
|
123
|
+
|
|
124
|
+
Name | Type | Description | Notes
|
|
125
|
+
------------- | ------------- | ------------- | -------------
|
|
126
|
+
**region** | **String**| region |
|
|
127
|
+
**status_id** | **String**| statusId |
|
|
128
|
+
|
|
129
|
+
### Return type
|
|
130
|
+
|
|
131
|
+
**Object**
|
|
132
|
+
|
|
133
|
+
### Authorization
|
|
134
|
+
|
|
135
|
+
No authorization required
|
|
136
|
+
|
|
137
|
+
### HTTP request headers
|
|
138
|
+
|
|
139
|
+
- **Content-Type**: application/json
|
|
140
|
+
- **Accept**: */*
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|