Skip to content

Commit 8efdfaa

Browse files
djberg96jhernand
authored andcommitted
Update to model 0.0.155
The more relevant change in the new version of the model is the addition of the `status_board` service.
1 parent b3b7427 commit 8efdfaa

File tree

175 files changed

+54489
-25805
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

175 files changed

+54489
-25805
lines changed

.golangci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ run:
2121
- clustersmgmt
2222
- servicelogs
2323
- jobqueue
24+
- statusboard
2425
- errors
2526
- helpers
2627
- metamodel

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export GOPROXY=https://proxy.golang.org
2222
export CGO_ENABLED=0
2323

2424
# Details of the model to use:
25-
model_version:=v0.0.153
25+
model_version:=v0.0.155
2626
model_url:=https://github.com/openshift-online/ocm-api-model.git
2727

2828
# Details of the metamodel to use:

accountsmgmt/v1/accounts_client.go

+4-6
Original file line numberDiff line numberDiff line change
@@ -270,10 +270,9 @@ func (r *AccountsListRequest) Fields(value string) *AccountsListRequest {
270270
// a SQL statement. For example, in order to sort the
271271
// accounts descending by name identifier the value should be:
272272
//
273-
// [source,sql]
274-
// ----
273+
// ```sql
275274
// name desc
276-
// ----
275+
// ```
277276
//
278277
// If the parameter isn't provided, or if the value is empty, then the order of the
279278
// results is undefined.
@@ -299,10 +298,9 @@ func (r *AccountsListRequest) Page(value int) *AccountsListRequest {
299298
// instead of the names of the columns of a table. For example, in order to
300299
// retrieve accounts with username starting with my:
301300
//
302-
// [source,sql]
303-
// ----
301+
// ```sql
304302
// username like 'my%'
305-
// ----
303+
// ```
306304
//
307305
// If the parameter isn't provided, or if the value is empty, then all the
308306
// items that the user has permission to see will be returned.

accountsmgmt/v1/accounts_server.go

+8-12
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,9 @@ func (r *AccountsListServerRequest) GetFields() (value string, ok bool) {
166166
// a SQL statement. For example, in order to sort the
167167
// accounts descending by name identifier the value should be:
168168
//
169-
// [source,sql]
170-
// ----
169+
// ```sql
171170
// name desc
172-
// ----
171+
// ```
173172
//
174173
// If the parameter isn't provided, or if the value is empty, then the order of the
175174
// results is undefined.
@@ -189,10 +188,9 @@ func (r *AccountsListServerRequest) Order() string {
189188
// a SQL statement. For example, in order to sort the
190189
// accounts descending by name identifier the value should be:
191190
//
192-
// [source,sql]
193-
// ----
191+
// ```sql
194192
// name desc
195-
// ----
193+
// ```
196194
//
197195
// If the parameter isn't provided, or if the value is empty, then the order of the
198196
// results is undefined.
@@ -235,10 +233,9 @@ func (r *AccountsListServerRequest) GetPage() (value int, ok bool) {
235233
// instead of the names of the columns of a table. For example, in order to
236234
// retrieve accounts with username starting with my:
237235
//
238-
// [source,sql]
239-
// ----
236+
// ```sql
240237
// username like 'my%'
241-
// ----
238+
// ```
242239
//
243240
// If the parameter isn't provided, or if the value is empty, then all the
244241
// items that the user has permission to see will be returned.
@@ -259,10 +256,9 @@ func (r *AccountsListServerRequest) Search() string {
259256
// instead of the names of the columns of a table. For example, in order to
260257
// retrieve accounts with username starting with my:
261258
//
262-
// [source,sql]
263-
// ----
259+
// ```sql
264260
// username like 'my%'
265-
// ----
261+
// ```
266262
//
267263
// If the parameter isn't provided, or if the value is empty, then all the
268264
// items that the user has permission to see will be returned.

accountsmgmt/v1/labels_client.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,9 @@ func (r *LabelsListRequest) Page(value int) *LabelsListRequest {
9696
// instead of the names of the columns of a table. For example, in order to
9797
// retrieve labels with name starting with my:
9898
//
99-
// [source,sql]
100-
// ----
99+
// ```sql
101100
// name like 'my%'
102-
// ----
101+
// ```
103102
//
104103
// If the parameter isn't provided, or if the value is empty, then all the
105104
// items that the user has permission to see will be returned.

accountsmgmt/v1/labels_server.go

+4-6
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,9 @@ func (r *LabelsListServerRequest) GetPage() (value int, ok bool) {
7474
// instead of the names of the columns of a table. For example, in order to
7575
// retrieve labels with name starting with my:
7676
//
77-
// [source,sql]
78-
// ----
77+
// ```sql
7978
// name like 'my%'
80-
// ----
79+
// ```
8180
//
8281
// If the parameter isn't provided, or if the value is empty, then all the
8382
// items that the user has permission to see will be returned.
@@ -98,10 +97,9 @@ func (r *LabelsListServerRequest) Search() string {
9897
// instead of the names of the columns of a table. For example, in order to
9998
// retrieve labels with name starting with my:
10099
//
101-
// [source,sql]
102-
// ----
100+
// ```sql
103101
// name like 'my%'
104-
// ----
102+
// ```
105103
//
106104
// If the parameter isn't provided, or if the value is empty, then all the
107105
// items that the user has permission to see will be returned.

accountsmgmt/v1/openapi.go

+9,059-9,058
Large diffs are not rendered by default.

accountsmgmt/v1/organizations_client.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -278,10 +278,9 @@ func (r *OrganizationsListRequest) Page(value int) *OrganizationsListRequest {
278278
// instead of the names of the columns of a table. For example, in order to
279279
// retrieve organizations with name starting with my:
280280
//
281-
// [source,sql]
282-
// ----
281+
// ```sql
283282
// name like 'my%'
284-
// ----
283+
// ```
285284
//
286285
// If the parameter isn't provided, or if the value is empty, then all the
287286
// items that the user has permission to see will be returned.

accountsmgmt/v1/organizations_server.go

+4-6
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,9 @@ func (r *OrganizationsListServerRequest) GetPage() (value int, ok bool) {
188188
// instead of the names of the columns of a table. For example, in order to
189189
// retrieve organizations with name starting with my:
190190
//
191-
// [source,sql]
192-
// ----
191+
// ```sql
193192
// name like 'my%'
194-
// ----
193+
// ```
195194
//
196195
// If the parameter isn't provided, or if the value is empty, then all the
197196
// items that the user has permission to see will be returned.
@@ -212,10 +211,9 @@ func (r *OrganizationsListServerRequest) Search() string {
212211
// instead of the names of the columns of a table. For example, in order to
213212
// retrieve organizations with name starting with my:
214213
//
215-
// [source,sql]
216-
// ----
214+
// ```sql
217215
// name like 'my%'
218-
// ----
216+
// ```
219217
//
220218
// If the parameter isn't provided, or if the value is empty, then all the
221219
// items that the user has permission to see will be returned.

accountsmgmt/v1/quota_cost_client.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,9 @@ func (r *QuotaCostListRequest) Page(value int) *QuotaCostListRequest {
9696
// cost instead of the names of the columns of a table. For example, in order
9797
// to retrieve the quota cost for all add-ons:
9898
//
99-
// [source,sql]
100-
// ----
99+
// ```sql
101100
// quota_id LIKE 'add-on%'
102-
// ----
101+
// ```
103102
//
104103
// If the parameter isn't provided, or if the value is empty, then all the
105104
// items that the user has permission to see will be returned.

accountsmgmt/v1/quota_cost_server.go

+4-6
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,9 @@ func (r *QuotaCostListServerRequest) GetPage() (value int, ok bool) {
7474
// cost instead of the names of the columns of a table. For example, in order
7575
// to retrieve the quota cost for all add-ons:
7676
//
77-
// [source,sql]
78-
// ----
77+
// ```sql
7978
// quota_id LIKE 'add-on%'
80-
// ----
79+
// ```
8180
//
8281
// If the parameter isn't provided, or if the value is empty, then all the
8382
// items that the user has permission to see will be returned.
@@ -98,10 +97,9 @@ func (r *QuotaCostListServerRequest) Search() string {
9897
// cost instead of the names of the columns of a table. For example, in order
9998
// to retrieve the quota cost for all add-ons:
10099
//
101-
// [source,sql]
102-
// ----
100+
// ```sql
103101
// quota_id LIKE 'add-on%'
104-
// ----
102+
// ```
105103
//
106104
// If the parameter isn't provided, or if the value is empty, then all the
107105
// items that the user has permission to see will be returned.

accountsmgmt/v1/quota_summary_client.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,9 @@ func (r *QuotaSummaryListRequest) Page(value int) *QuotaSummaryListRequest {
9797
// to retrieve the quota summary for clusters that run in multiple availability
9898
// zones:
9999
//
100-
// [source,sql]
101-
// ----
100+
// ```sql
102101
// availability_zone_type = 'multi'
103-
// ----
102+
// ```
104103
//
105104
// If the parameter isn't provided, or if the value is empty, then all the
106105
// items that the user has permission to see will be returned.

accountsmgmt/v1/quota_summary_server.go

+4-6
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,9 @@ func (r *QuotaSummaryListServerRequest) GetPage() (value int, ok bool) {
7575
// to retrieve the quota summary for clusters that run in multiple availability
7676
// zones:
7777
//
78-
// [source,sql]
79-
// ----
78+
// ```sql
8079
// availability_zone_type = 'multi'
81-
// ----
80+
// ```
8281
//
8382
// If the parameter isn't provided, or if the value is empty, then all the
8483
// items that the user has permission to see will be returned.
@@ -100,10 +99,9 @@ func (r *QuotaSummaryListServerRequest) Search() string {
10099
// to retrieve the quota summary for clusters that run in multiple availability
101100
// zones:
102101
//
103-
// [source,sql]
104-
// ----
102+
// ```sql
105103
// availability_zone_type = 'multi'
106-
// ----
104+
// ```
107105
//
108106
// If the parameter isn't provided, or if the value is empty, then all the
109107
// items that the user has permission to see will be returned.

accountsmgmt/v1/registry_credentials_client.go

+4-6
Original file line numberDiff line numberDiff line change
@@ -247,10 +247,9 @@ func (r *RegistryCredentialsListRequest) Header(name string, value interface{})
247247
// a SQL statement. For example, in order to sort the
248248
// RegistryCredentials descending by username the value should be:
249249
//
250-
// [source,sql]
251-
// ----
250+
// ```sql
252251
// username desc
253-
// ----
252+
// ```
254253
//
255254
// If the parameter isn't provided, or if the value is empty, then the order of the
256255
// results is undefined.
@@ -276,10 +275,9 @@ func (r *RegistryCredentialsListRequest) Page(value int) *RegistryCredentialsLis
276275
// of the names of the columns of a table. For example, in order to retrieve all the
277276
// RegistryCredentials for a user the value should be:
278277
//
279-
// [source,sql]
280-
// ----
278+
// ```sql
281279
// username = 'abcxyz...'
282-
// ----
280+
// ```
283281
//
284282
// If the parameter isn't provided, or if the value is empty, then all the
285283
// RegistryCredentials that the user has permission to see will be returned.

accountsmgmt/v1/registry_credentials_server.go

+8-12
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,9 @@ type RegistryCredentialsListServerRequest struct {
110110
// a SQL statement. For example, in order to sort the
111111
// RegistryCredentials descending by username the value should be:
112112
//
113-
// [source,sql]
114-
// ----
113+
// ```sql
115114
// username desc
116-
// ----
115+
// ```
117116
//
118117
// If the parameter isn't provided, or if the value is empty, then the order of the
119118
// results is undefined.
@@ -133,10 +132,9 @@ func (r *RegistryCredentialsListServerRequest) Order() string {
133132
// a SQL statement. For example, in order to sort the
134133
// RegistryCredentials descending by username the value should be:
135134
//
136-
// [source,sql]
137-
// ----
135+
// ```sql
138136
// username desc
139-
// ----
137+
// ```
140138
//
141139
// If the parameter isn't provided, or if the value is empty, then the order of the
142140
// results is undefined.
@@ -179,10 +177,9 @@ func (r *RegistryCredentialsListServerRequest) GetPage() (value int, ok bool) {
179177
// of the names of the columns of a table. For example, in order to retrieve all the
180178
// RegistryCredentials for a user the value should be:
181179
//
182-
// [source,sql]
183-
// ----
180+
// ```sql
184181
// username = 'abcxyz...'
185-
// ----
182+
// ```
186183
//
187184
// If the parameter isn't provided, or if the value is empty, then all the
188185
// RegistryCredentials that the user has permission to see will be returned.
@@ -203,10 +200,9 @@ func (r *RegistryCredentialsListServerRequest) Search() string {
203200
// of the names of the columns of a table. For example, in order to retrieve all the
204201
// RegistryCredentials for a user the value should be:
205202
//
206-
// [source,sql]
207-
// ----
203+
// ```sql
208204
// username = 'abcxyz...'
209-
// ----
205+
// ```
210206
//
211207
// If the parameter isn't provided, or if the value is empty, then all the
212208
// RegistryCredentials that the user has permission to see will be returned.

accountsmgmt/v1/resource_quotas_client.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -255,10 +255,9 @@ func (r *ResourceQuotasListRequest) Page(value int) *ResourceQuotasListRequest {
255255
// instead of the names of the columns of a table. For example, in order to
256256
// retrieve resource quota with resource_type cluster.aws:
257257
//
258-
// [source,sql]
259-
// ----
258+
// ```sql
260259
// resource_type = 'cluster.aws'
261-
// ----
260+
// ```
262261
//
263262
// If the parameter isn't provided, or if the value is empty, then all the
264263
// items that the user has permission to see will be returned.

accountsmgmt/v1/resource_quotas_server.go

+4-6
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,9 @@ func (r *ResourceQuotasListServerRequest) GetPage() (value int, ok bool) {
132132
// instead of the names of the columns of a table. For example, in order to
133133
// retrieve resource quota with resource_type cluster.aws:
134134
//
135-
// [source,sql]
136-
// ----
135+
// ```sql
137136
// resource_type = 'cluster.aws'
138-
// ----
137+
// ```
139138
//
140139
// If the parameter isn't provided, or if the value is empty, then all the
141140
// items that the user has permission to see will be returned.
@@ -156,10 +155,9 @@ func (r *ResourceQuotasListServerRequest) Search() string {
156155
// instead of the names of the columns of a table. For example, in order to
157156
// retrieve resource quota with resource_type cluster.aws:
158157
//
159-
// [source,sql]
160-
// ----
158+
// ```sql
161159
// resource_type = 'cluster.aws'
162-
// ----
160+
// ```
163161
//
164162
// If the parameter isn't provided, or if the value is empty, then all the
165163
// items that the user has permission to see will be returned.

accountsmgmt/v1/role_bindings_client.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -255,10 +255,9 @@ func (r *RoleBindingsListRequest) Page(value int) *RoleBindingsListRequest {
255255
// instead of the names of the columns of a table. For example, in order to
256256
// retrieve role bindings with role_id AuthenticatedUser:
257257
//
258-
// [source,sql]
259-
// ----
258+
// ```sql
260259
// role_id = 'AuthenticatedUser'
261-
// ----
260+
// ```
262261
//
263262
// If the parameter isn't provided, or if the value is empty, then all the
264263
// items that the user has permission to see will be returned.

0 commit comments

Comments
 (0)