@grafana/openapi 13.2.4 → 13.3.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.
- package/dist/api/openapi3.json +358 -247
- package/dist/apis/collections.grafana.app-v1alpha1.json +3 -14
- package/dist/apis/correlations.grafana.app-v0alpha1.json +411 -0
- package/dist/apis/dashboard.grafana.app-v0alpha1.json +865 -105
- package/dist/apis/dashboard.grafana.app-v1beta1.json +733 -6
- package/dist/apis/dashboard.grafana.app-v2.json +821 -194
- package/dist/apis/dashboard.grafana.app-v2alpha1.json +803 -208
- package/dist/apis/dashboard.grafana.app-v2beta1.json +985 -374
- package/dist/apis/folder.grafana.app-v1.json +644 -20
- package/dist/apis/folder.grafana.app-v1beta1.json +644 -20
- package/dist/apis/grafana-testdata-datasource.datasource.grafana.app-v0alpha1.json +3 -21
- package/dist/apis/historian.alerting.grafana.app-v0alpha1.json +411 -0
- package/dist/apis/iam.grafana.app-v0alpha1.json +2397 -748
- package/dist/apis/logsdrilldown.grafana.app-v1beta1.json +448 -0
- package/dist/apis/notifications.alerting.grafana.app-v0alpha1.json +596 -0
- package/dist/apis/notifications.alerting.grafana.app-v1beta1.json +596 -0
- package/dist/apis/playlist.grafana.app-v0alpha1.json +415 -0
- package/dist/apis/playlist.grafana.app-v1.json +415 -0
- package/dist/apis/preferences.grafana.app-v1.json +3 -9
- package/dist/apis/preferences.grafana.app-v1alpha1.json +3 -9
- package/dist/apis/provisioning.grafana.app-v0alpha1.json +636 -151
- package/dist/apis/provisioning.grafana.app-v1beta1.json +621 -100
- package/dist/apis/query.grafana.app-v0alpha1.json +14 -11
- package/dist/apis/quotas.grafana.app-v0alpha1.json +1 -2
- package/dist/apis/rules.alerting.grafana.app-v0alpha1.json +3027 -767
- package/dist/apis/rules.alerting.grafana.app-v1beta1.json +4541 -0
- package/dist/apis/search.grafana.app-v0alpha1.json +693 -0
- package/dist/apis/shorturl.grafana.app-v1beta1.json +411 -0
- package/package.json +3 -3
|
@@ -398,6 +398,43 @@
|
|
|
398
398
|
}
|
|
399
399
|
]
|
|
400
400
|
},
|
|
401
|
+
"/connections/search": {
|
|
402
|
+
"post": {
|
|
403
|
+
"tags": ["Search"],
|
|
404
|
+
"description": "Search Connection resources in a namespace.",
|
|
405
|
+
"operationId": "listConnectionSearchV0alpha1",
|
|
406
|
+
"parameters": [],
|
|
407
|
+
"requestBody": {
|
|
408
|
+
"description": "A SearchQuery describing what to match, sort and return.",
|
|
409
|
+
"content": {
|
|
410
|
+
"application/json": {
|
|
411
|
+
"schema": {
|
|
412
|
+
"$ref": "#/components/schemas/SearchQuery"
|
|
413
|
+
},
|
|
414
|
+
"example": {
|
|
415
|
+
"kind": "SearchQuery",
|
|
416
|
+
"apiVersion": "search.grafana.app/v0alpha1",
|
|
417
|
+
"facetLimit": 0,
|
|
418
|
+
"limit": 10
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
},
|
|
422
|
+
"required": true
|
|
423
|
+
},
|
|
424
|
+
"responses": {
|
|
425
|
+
"200": {
|
|
426
|
+
"description": "A SearchResults envelope.",
|
|
427
|
+
"content": {
|
|
428
|
+
"application/json": {
|
|
429
|
+
"schema": {
|
|
430
|
+
"$ref": "#/components/schemas/SearchResults"
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
},
|
|
401
438
|
"/connections/{name}": {
|
|
402
439
|
"get": {
|
|
403
440
|
"tags": ["Connection"],
|
|
@@ -804,7 +841,7 @@
|
|
|
804
841
|
"get": {
|
|
805
842
|
"tags": ["Connection"],
|
|
806
843
|
"summary": "List external repositories",
|
|
807
|
-
"description": "List repositories available from the external git provider through this connection",
|
|
844
|
+
"description": "List repositories available from the external git provider through this connection. Returns 501 Not Implemented for connection types that cannot list repositories",
|
|
808
845
|
"operationId": "getConnectionRepositories",
|
|
809
846
|
"responses": {
|
|
810
847
|
"200": {
|
|
@@ -822,9 +859,7 @@
|
|
|
822
859
|
},
|
|
823
860
|
"items": {
|
|
824
861
|
"type": "array",
|
|
825
|
-
"items": {
|
|
826
|
-
"default": {}
|
|
827
|
-
},
|
|
862
|
+
"items": {},
|
|
828
863
|
"x-kubernetes-list-type": "atomic"
|
|
829
864
|
},
|
|
830
865
|
"kind": {
|
|
@@ -1473,6 +1508,43 @@
|
|
|
1473
1508
|
}
|
|
1474
1509
|
]
|
|
1475
1510
|
},
|
|
1511
|
+
"/jobs/search": {
|
|
1512
|
+
"post": {
|
|
1513
|
+
"tags": ["Search"],
|
|
1514
|
+
"description": "Search Job resources in a namespace.",
|
|
1515
|
+
"operationId": "listJobSearchV0alpha1",
|
|
1516
|
+
"parameters": [],
|
|
1517
|
+
"requestBody": {
|
|
1518
|
+
"description": "A SearchQuery describing what to match, sort and return.",
|
|
1519
|
+
"content": {
|
|
1520
|
+
"application/json": {
|
|
1521
|
+
"schema": {
|
|
1522
|
+
"$ref": "#/components/schemas/SearchQuery"
|
|
1523
|
+
},
|
|
1524
|
+
"example": {
|
|
1525
|
+
"kind": "SearchQuery",
|
|
1526
|
+
"apiVersion": "search.grafana.app/v0alpha1",
|
|
1527
|
+
"facetLimit": 0,
|
|
1528
|
+
"limit": 10
|
|
1529
|
+
}
|
|
1530
|
+
}
|
|
1531
|
+
},
|
|
1532
|
+
"required": true
|
|
1533
|
+
},
|
|
1534
|
+
"responses": {
|
|
1535
|
+
"200": {
|
|
1536
|
+
"description": "A SearchResults envelope.",
|
|
1537
|
+
"content": {
|
|
1538
|
+
"application/json": {
|
|
1539
|
+
"schema": {
|
|
1540
|
+
"$ref": "#/components/schemas/SearchResults"
|
|
1541
|
+
}
|
|
1542
|
+
}
|
|
1543
|
+
}
|
|
1544
|
+
}
|
|
1545
|
+
}
|
|
1546
|
+
}
|
|
1547
|
+
},
|
|
1476
1548
|
"/jobs/{name}": {
|
|
1477
1549
|
"get": {
|
|
1478
1550
|
"tags": ["Job"],
|
|
@@ -2176,6 +2248,43 @@
|
|
|
2176
2248
|
}
|
|
2177
2249
|
]
|
|
2178
2250
|
},
|
|
2251
|
+
"/repositories/search": {
|
|
2252
|
+
"post": {
|
|
2253
|
+
"tags": ["Search"],
|
|
2254
|
+
"description": "Search Repository resources in a namespace.",
|
|
2255
|
+
"operationId": "listRepositorySearchV0alpha1",
|
|
2256
|
+
"parameters": [],
|
|
2257
|
+
"requestBody": {
|
|
2258
|
+
"description": "A SearchQuery describing what to match, sort and return.",
|
|
2259
|
+
"content": {
|
|
2260
|
+
"application/json": {
|
|
2261
|
+
"schema": {
|
|
2262
|
+
"$ref": "#/components/schemas/SearchQuery"
|
|
2263
|
+
},
|
|
2264
|
+
"example": {
|
|
2265
|
+
"kind": "SearchQuery",
|
|
2266
|
+
"apiVersion": "search.grafana.app/v0alpha1",
|
|
2267
|
+
"facetLimit": 0,
|
|
2268
|
+
"limit": 10
|
|
2269
|
+
}
|
|
2270
|
+
}
|
|
2271
|
+
},
|
|
2272
|
+
"required": true
|
|
2273
|
+
},
|
|
2274
|
+
"responses": {
|
|
2275
|
+
"200": {
|
|
2276
|
+
"description": "A SearchResults envelope.",
|
|
2277
|
+
"content": {
|
|
2278
|
+
"application/json": {
|
|
2279
|
+
"schema": {
|
|
2280
|
+
"$ref": "#/components/schemas/SearchResults"
|
|
2281
|
+
}
|
|
2282
|
+
}
|
|
2283
|
+
}
|
|
2284
|
+
}
|
|
2285
|
+
}
|
|
2286
|
+
}
|
|
2287
|
+
},
|
|
2179
2288
|
"/repositories/{name}": {
|
|
2180
2289
|
"get": {
|
|
2181
2290
|
"tags": ["Repository"],
|
|
@@ -2555,9 +2664,7 @@
|
|
|
2555
2664
|
},
|
|
2556
2665
|
"items": {
|
|
2557
2666
|
"type": "array",
|
|
2558
|
-
"items": {
|
|
2559
|
-
"default": {}
|
|
2560
|
-
},
|
|
2667
|
+
"items": {},
|
|
2561
2668
|
"x-kubernetes-list-type": "atomic"
|
|
2562
2669
|
},
|
|
2563
2670
|
"kind": {
|
|
@@ -3242,9 +3349,7 @@
|
|
|
3242
3349
|
},
|
|
3243
3350
|
"items": {
|
|
3244
3351
|
"type": "array",
|
|
3245
|
-
"items": {
|
|
3246
|
-
"default": {}
|
|
3247
|
-
},
|
|
3352
|
+
"items": {},
|
|
3248
3353
|
"x-kubernetes-list-type": "atomic"
|
|
3249
3354
|
},
|
|
3250
3355
|
"kind": {
|
|
@@ -4008,12 +4113,7 @@
|
|
|
4008
4113
|
"items": {
|
|
4009
4114
|
"type": "array",
|
|
4010
4115
|
"items": {
|
|
4011
|
-
"
|
|
4012
|
-
"allOf": [
|
|
4013
|
-
{
|
|
4014
|
-
"$ref": "#/components/schemas/Connection"
|
|
4015
|
-
}
|
|
4016
|
-
]
|
|
4116
|
+
"$ref": "#/components/schemas/Connection"
|
|
4017
4117
|
},
|
|
4018
4118
|
"x-kubernetes-list-type": "atomic"
|
|
4019
4119
|
},
|
|
@@ -4086,7 +4186,7 @@
|
|
|
4086
4186
|
"required": ["title", "type"],
|
|
4087
4187
|
"properties": {
|
|
4088
4188
|
"bitbucket": {
|
|
4089
|
-
"description": "Bitbucket connection configuration Only applicable when provider is \"
|
|
4189
|
+
"description": "Bitbucket connection configuration Only applicable when provider is \"bitbucketOAuth\"",
|
|
4090
4190
|
"allOf": [
|
|
4091
4191
|
{
|
|
4092
4192
|
"$ref": "#/components/schemas/BitbucketConnectionConfig"
|
|
@@ -4097,6 +4197,14 @@
|
|
|
4097
4197
|
"description": "The connection description",
|
|
4098
4198
|
"type": "string"
|
|
4099
4199
|
},
|
|
4200
|
+
"gitOAuth": {
|
|
4201
|
+
"description": "Generic git OAuth app connection configuration Only applicable when provider is \"gitOAuth\"",
|
|
4202
|
+
"allOf": [
|
|
4203
|
+
{
|
|
4204
|
+
"$ref": "#/components/schemas/GitOAuthConnectionConfig"
|
|
4205
|
+
}
|
|
4206
|
+
]
|
|
4207
|
+
},
|
|
4100
4208
|
"github": {
|
|
4101
4209
|
"description": "GitHub connection configuration Only applicable when provider is \"github\"",
|
|
4102
4210
|
"allOf": [
|
|
@@ -4113,6 +4221,14 @@
|
|
|
4113
4221
|
}
|
|
4114
4222
|
]
|
|
4115
4223
|
},
|
|
4224
|
+
"githubEnterpriseOAuth": {
|
|
4225
|
+
"description": "GitHub Enterprise Server OAuth app connection configuration Only applicable when provider is \"githubEnterpriseOAuth\"",
|
|
4226
|
+
"allOf": [
|
|
4227
|
+
{
|
|
4228
|
+
"$ref": "#/components/schemas/GitHubEnterpriseOAuthConnectionConfig"
|
|
4229
|
+
}
|
|
4230
|
+
]
|
|
4231
|
+
},
|
|
4116
4232
|
"oauth": {
|
|
4117
4233
|
"description": "OAuth app configuration shared by all OAuth app providers",
|
|
4118
4234
|
"allOf": [
|
|
@@ -4127,10 +4243,18 @@
|
|
|
4127
4243
|
"default": ""
|
|
4128
4244
|
},
|
|
4129
4245
|
"type": {
|
|
4130
|
-
"description": "The connection provider type\n\nPossible enum values:\n - `\"
|
|
4246
|
+
"description": "The connection provider type\n\nPossible enum values:\n - `\"bitbucketOAuth\"`\n - `\"gitOAuth\"`\n - `\"github\"`\n - `\"githubEnterprise\"`\n - `\"githubEnterpriseOAuth\"`\n - `\"githubOAuth\"`\n - `\"gitlabOAuth\"`",
|
|
4131
4247
|
"type": "string",
|
|
4132
4248
|
"default": "",
|
|
4133
|
-
"enum": [
|
|
4249
|
+
"enum": [
|
|
4250
|
+
"bitbucketOAuth",
|
|
4251
|
+
"gitOAuth",
|
|
4252
|
+
"github",
|
|
4253
|
+
"githubEnterprise",
|
|
4254
|
+
"githubEnterpriseOAuth",
|
|
4255
|
+
"githubOAuth",
|
|
4256
|
+
"gitlabOAuth"
|
|
4257
|
+
]
|
|
4134
4258
|
},
|
|
4135
4259
|
"url": {
|
|
4136
4260
|
"description": "The connection URL",
|
|
@@ -4155,12 +4279,7 @@
|
|
|
4155
4279
|
"description": "Conditions represent the latest available observations of the connection's state.",
|
|
4156
4280
|
"type": "array",
|
|
4157
4281
|
"items": {
|
|
4158
|
-
"
|
|
4159
|
-
"allOf": [
|
|
4160
|
-
{
|
|
4161
|
-
"$ref": "#/components/schemas/Condition"
|
|
4162
|
-
}
|
|
4163
|
-
]
|
|
4282
|
+
"$ref": "#/components/schemas/Condition"
|
|
4164
4283
|
},
|
|
4165
4284
|
"x-kubernetes-list-map-keys": ["type"],
|
|
4166
4285
|
"x-kubernetes-list-type": "map",
|
|
@@ -4171,12 +4290,7 @@
|
|
|
4171
4290
|
"description": "FieldErrors are errors that occurred during validation of the connection spec. These errors are intended to help users identify and fix issues in the spec.",
|
|
4172
4291
|
"type": "array",
|
|
4173
4292
|
"items": {
|
|
4174
|
-
"
|
|
4175
|
-
"allOf": [
|
|
4176
|
-
{
|
|
4177
|
-
"$ref": "#/components/schemas/ErrorDetails"
|
|
4178
|
-
}
|
|
4179
|
-
]
|
|
4293
|
+
"$ref": "#/components/schemas/ErrorDetails"
|
|
4180
4294
|
},
|
|
4181
4295
|
"x-kubernetes-list-type": "atomic"
|
|
4182
4296
|
},
|
|
@@ -4222,8 +4336,7 @@
|
|
|
4222
4336
|
"description": "Paths to be deleted. Examples: - dashboard.json (for a file) - a/b/c/other-dashboard.json (for a file) - nested/deep/ (for a directory) FIXME: we should validate this in admission hooks",
|
|
4223
4337
|
"type": "array",
|
|
4224
4338
|
"items": {
|
|
4225
|
-
"type": "string"
|
|
4226
|
-
"default": ""
|
|
4339
|
+
"type": "string"
|
|
4227
4340
|
}
|
|
4228
4341
|
},
|
|
4229
4342
|
"ref": {
|
|
@@ -4234,16 +4347,35 @@
|
|
|
4234
4347
|
"description": "Resources to delete This option has been created because currently the frontend does not use standarized app platform APIs. For performance and API consistency reasons, the preferred option is it to use the paths.",
|
|
4235
4348
|
"type": "array",
|
|
4236
4349
|
"items": {
|
|
4237
|
-
"
|
|
4238
|
-
"allOf": [
|
|
4239
|
-
{
|
|
4240
|
-
"$ref": "#/components/schemas/ResourceRef"
|
|
4241
|
-
}
|
|
4242
|
-
]
|
|
4350
|
+
"$ref": "#/components/schemas/ProvisioningResourceRef"
|
|
4243
4351
|
}
|
|
4244
4352
|
}
|
|
4245
4353
|
}
|
|
4246
4354
|
},
|
|
4355
|
+
"DeletionStatus": {
|
|
4356
|
+
"description": "DeletionStatus reports the progress of an in-progress deletion and the problem blocking it. It is populated while the repository is Terminating and its finalizers run, so a client can explain the holdup and force-remove the blocking finalizer.",
|
|
4357
|
+
"type": "object",
|
|
4358
|
+
"properties": {
|
|
4359
|
+
"cause": {
|
|
4360
|
+
"description": "Cause classifies the blocking error. It may be absent on older statuses.\n\nPossible enum values:\n - `\"system\"` indicates an infrastructure or unclassified failure.\n - `\"user\"` indicates a failure that requires user intervention.",
|
|
4361
|
+
"type": "string",
|
|
4362
|
+
"enum": ["system", "user"]
|
|
4363
|
+
},
|
|
4364
|
+
"finalizer": {
|
|
4365
|
+
"description": "Finalizer names the finalizer whose teardown is blocking deletion, i.e. which deletion step failed. A client force-removing deletion removes exactly this finalizer.",
|
|
4366
|
+
"type": "string"
|
|
4367
|
+
},
|
|
4368
|
+
"message": {
|
|
4369
|
+
"description": "Message is a human-readable explanation of what went wrong, suitable for showing to users.",
|
|
4370
|
+
"type": "string"
|
|
4371
|
+
},
|
|
4372
|
+
"state": {
|
|
4373
|
+
"description": "State is the phase of the deletion.\n\nPossible enum values:\n - `\"Blocked\"` indicates the latest finalizer pass failed and deletion did not complete. The controller keeps retrying, so a transient failure (a brief outage, an API conflict) may still clear on its own; a persistent one (credentials expired, a webhook that cannot be removed) needs the user to force-remove the blocking finalizer. Finalizer is the finalizer that failed on that pass. This is the only state the controller emits: status.deletion is written only when a pass fails. While finalizers are still running, status.deletion is absent, which (together with a set deletionTimestamp) is itself the \"in progress\" signal — so no separate Working state is needed.",
|
|
4374
|
+
"type": "string",
|
|
4375
|
+
"enum": ["Blocked"]
|
|
4376
|
+
}
|
|
4377
|
+
}
|
|
4378
|
+
},
|
|
4247
4379
|
"ErrorDetails": {
|
|
4248
4380
|
"description": "ErrorDetails describes an individual field error intended to help users identify and fix issues in resource specifications. This type is modeled after Kubernetes' StatusCause and serves the same purpose: to deliver actionable feedback about fields in the spec that require attention. Errors may relate to invalid formats, missing or invalid values, or cases where a referenced value does not exist in an external system (not strictly format or syntax errors). Use ErrorDetails to communicate validation or external reference errors that users can resolve by editing spec fields.",
|
|
4249
4381
|
"type": "object",
|
|
@@ -4298,12 +4430,7 @@
|
|
|
4298
4430
|
"description": "Resources to export. When empty, every unmanaged resource in the namespace is exported (legacy behavior). When non-empty, only the listed resources are exported — the folder hierarchy is still emitted so parent paths resolve. Currently only unmanaged Dashboards are supported.",
|
|
4299
4431
|
"type": "array",
|
|
4300
4432
|
"items": {
|
|
4301
|
-
"
|
|
4302
|
-
"allOf": [
|
|
4303
|
-
{
|
|
4304
|
-
"$ref": "#/components/schemas/ResourceRef"
|
|
4305
|
-
}
|
|
4306
|
-
]
|
|
4433
|
+
"$ref": "#/components/schemas/ProvisioningResourceRef"
|
|
4307
4434
|
}
|
|
4308
4435
|
}
|
|
4309
4436
|
}
|
|
@@ -4340,12 +4467,7 @@
|
|
|
4340
4467
|
"items": {
|
|
4341
4468
|
"type": "array",
|
|
4342
4469
|
"items": {
|
|
4343
|
-
"
|
|
4344
|
-
"allOf": [
|
|
4345
|
-
{
|
|
4346
|
-
"$ref": "#/components/schemas/ExternalRepository"
|
|
4347
|
-
}
|
|
4348
|
-
]
|
|
4470
|
+
"$ref": "#/components/schemas/ExternalRepository"
|
|
4349
4471
|
},
|
|
4350
4472
|
"x-kubernetes-list-type": "atomic"
|
|
4351
4473
|
},
|
|
@@ -4405,9 +4527,7 @@
|
|
|
4405
4527
|
},
|
|
4406
4528
|
"items": {
|
|
4407
4529
|
"type": "array",
|
|
4408
|
-
"items": {
|
|
4409
|
-
"default": {}
|
|
4410
|
-
},
|
|
4530
|
+
"items": {},
|
|
4411
4531
|
"x-kubernetes-list-type": "atomic"
|
|
4412
4532
|
},
|
|
4413
4533
|
"kind": {
|
|
@@ -4466,6 +4586,17 @@
|
|
|
4466
4586
|
}
|
|
4467
4587
|
}
|
|
4468
4588
|
},
|
|
4589
|
+
"GitHubEnterpriseOAuthConnectionConfig": {
|
|
4590
|
+
"type": "object",
|
|
4591
|
+
"required": ["serverUrl"],
|
|
4592
|
+
"properties": {
|
|
4593
|
+
"serverUrl": {
|
|
4594
|
+
"description": "The GitHub Enterprise Server URL (e.g. `https://ghes.example.com`).",
|
|
4595
|
+
"type": "string",
|
|
4596
|
+
"default": ""
|
|
4597
|
+
}
|
|
4598
|
+
}
|
|
4599
|
+
},
|
|
4469
4600
|
"GitHubEnterpriseRepositoryConfig": {
|
|
4470
4601
|
"description": "GitHubEnterpriseRepositoryConfig describes a repository hosted on a self-managed GitHub Enterprise Server (GHES) instance.",
|
|
4471
4602
|
"type": "object",
|
|
@@ -4526,12 +4657,40 @@
|
|
|
4526
4657
|
"description": "Path is the subdirectory for the Grafana data. If specified, Grafana will ignore anything that is outside this directory in the repository. This is usually something like `grafana/`. Trailing and leading slash are not required. They are always added when needed. The path is relative to the root of the repository, regardless of the leading slash.\n\nWhen specifying something like `grafana-`, we will not look for `grafana-*`; we will only look for files under the directory `/grafana-/`. That means `/grafana-example.json` would not be found.",
|
|
4527
4658
|
"type": "string"
|
|
4528
4659
|
},
|
|
4660
|
+
"repoID": {
|
|
4661
|
+
"description": "RepoID is the GitLab project's immutable numeric ID. Resolved and set automatically whenever URL is set or changed; it survives a project transfer/move even if the project's path changes. Read-only: it is always system-derived and never taken from client-supplied input.",
|
|
4662
|
+
"type": "string"
|
|
4663
|
+
},
|
|
4529
4664
|
"url": {
|
|
4530
4665
|
"description": "The repository URL (e.g. `https://gitlab.com/example/test`).",
|
|
4531
4666
|
"type": "string"
|
|
4532
4667
|
}
|
|
4533
4668
|
}
|
|
4534
4669
|
},
|
|
4670
|
+
"GitOAuthConnectionConfig": {
|
|
4671
|
+
"description": "GitOAuthConnectionConfig describes a provider-agnostic OAuth 2.0 app used to authenticate pure git repositories.",
|
|
4672
|
+
"type": "object",
|
|
4673
|
+
"required": ["authURL", "tokenURL"],
|
|
4674
|
+
"properties": {
|
|
4675
|
+
"authURL": {
|
|
4676
|
+
"description": "The provider's OAuth authorization endpoint (e.g. `https://gitlab.example.com/oauth/authorize`).",
|
|
4677
|
+
"type": "string",
|
|
4678
|
+
"default": ""
|
|
4679
|
+
},
|
|
4680
|
+
"scopes": {
|
|
4681
|
+
"description": "The OAuth scopes to request, granting git read and write access.",
|
|
4682
|
+
"type": "array",
|
|
4683
|
+
"items": {
|
|
4684
|
+
"type": "string"
|
|
4685
|
+
}
|
|
4686
|
+
},
|
|
4687
|
+
"tokenURL": {
|
|
4688
|
+
"description": "The provider's OAuth token endpoint (e.g. `https://gitlab.example.com/oauth/token`).",
|
|
4689
|
+
"type": "string",
|
|
4690
|
+
"default": ""
|
|
4691
|
+
}
|
|
4692
|
+
}
|
|
4693
|
+
},
|
|
4535
4694
|
"GitRepositoryConfig": {
|
|
4536
4695
|
"type": "object",
|
|
4537
4696
|
"required": ["branch"],
|
|
@@ -4578,8 +4737,7 @@
|
|
|
4578
4737
|
"description": "Summary messages (can be shown to users) Will only be populated when not healthy",
|
|
4579
4738
|
"type": "array",
|
|
4580
4739
|
"items": {
|
|
4581
|
-
"type": "string"
|
|
4582
|
-
"default": ""
|
|
4740
|
+
"type": "string"
|
|
4583
4741
|
},
|
|
4584
4742
|
"x-kubernetes-list-type": "atomic"
|
|
4585
4743
|
}
|
|
@@ -4640,12 +4798,7 @@
|
|
|
4640
4798
|
"items": {
|
|
4641
4799
|
"type": "array",
|
|
4642
4800
|
"items": {
|
|
4643
|
-
"
|
|
4644
|
-
"allOf": [
|
|
4645
|
-
{
|
|
4646
|
-
"$ref": "#/components/schemas/HistoricJob"
|
|
4647
|
-
}
|
|
4648
|
-
]
|
|
4801
|
+
"$ref": "#/components/schemas/HistoricJob"
|
|
4649
4802
|
}
|
|
4650
4803
|
},
|
|
4651
4804
|
"kind": {
|
|
@@ -4675,9 +4828,7 @@
|
|
|
4675
4828
|
"properties": {
|
|
4676
4829
|
"authors": {
|
|
4677
4830
|
"type": "array",
|
|
4678
|
-
"items": {
|
|
4679
|
-
"default": {}
|
|
4680
|
-
},
|
|
4831
|
+
"items": {},
|
|
4681
4832
|
"x-kubernetes-list-type": "atomic"
|
|
4682
4833
|
},
|
|
4683
4834
|
"createdAt": {
|
|
@@ -4706,9 +4857,7 @@
|
|
|
4706
4857
|
},
|
|
4707
4858
|
"items": {
|
|
4708
4859
|
"type": "array",
|
|
4709
|
-
"items": {
|
|
4710
|
-
"default": {}
|
|
4711
|
-
},
|
|
4860
|
+
"items": {},
|
|
4712
4861
|
"x-kubernetes-list-type": "atomic"
|
|
4713
4862
|
},
|
|
4714
4863
|
"kind": {
|
|
@@ -4776,12 +4925,7 @@
|
|
|
4776
4925
|
"items": {
|
|
4777
4926
|
"type": "array",
|
|
4778
4927
|
"items": {
|
|
4779
|
-
"
|
|
4780
|
-
"allOf": [
|
|
4781
|
-
{
|
|
4782
|
-
"$ref": "#/components/schemas/Job"
|
|
4783
|
-
}
|
|
4784
|
-
]
|
|
4928
|
+
"$ref": "#/components/schemas/Job"
|
|
4785
4929
|
}
|
|
4786
4930
|
},
|
|
4787
4931
|
"kind": {
|
|
@@ -4825,8 +4969,7 @@
|
|
|
4825
4969
|
"description": "Report errors/warnings for this resource type This may not be an exhaustive list and recommend looking at the logs for more info",
|
|
4826
4970
|
"type": "array",
|
|
4827
4971
|
"items": {
|
|
4828
|
-
"type": "string"
|
|
4829
|
-
"default": ""
|
|
4972
|
+
"type": "string"
|
|
4830
4973
|
}
|
|
4831
4974
|
},
|
|
4832
4975
|
"group": {
|
|
@@ -4861,8 +5004,7 @@
|
|
|
4861
5004
|
"warnings": {
|
|
4862
5005
|
"type": "array",
|
|
4863
5006
|
"items": {
|
|
4864
|
-
"type": "string"
|
|
4865
|
-
"default": ""
|
|
5007
|
+
"type": "string"
|
|
4866
5008
|
}
|
|
4867
5009
|
},
|
|
4868
5010
|
"write": {
|
|
@@ -4973,8 +5115,7 @@
|
|
|
4973
5115
|
"errors": {
|
|
4974
5116
|
"type": "array",
|
|
4975
5117
|
"items": {
|
|
4976
|
-
"type": "string"
|
|
4977
|
-
"default": ""
|
|
5118
|
+
"type": "string"
|
|
4978
5119
|
}
|
|
4979
5120
|
},
|
|
4980
5121
|
"finished": {
|
|
@@ -5021,8 +5162,7 @@
|
|
|
5021
5162
|
"warnings": {
|
|
5022
5163
|
"type": "array",
|
|
5023
5164
|
"items": {
|
|
5024
|
-
"type": "string"
|
|
5025
|
-
"default": ""
|
|
5165
|
+
"type": "string"
|
|
5026
5166
|
}
|
|
5027
5167
|
}
|
|
5028
5168
|
}
|
|
@@ -5079,12 +5219,7 @@
|
|
|
5079
5219
|
"description": "Resources to migrate. When empty, every unmanaged resource in the namespace is migrated (legacy behavior). When non-empty, only the listed resources are exported to the repository — the folder hierarchy is still emitted so parent paths resolve, and the subsequent pull phase only takes ownership of those resources. Currently only unmanaged Dashboards are supported.",
|
|
5080
5220
|
"type": "array",
|
|
5081
5221
|
"items": {
|
|
5082
|
-
"
|
|
5083
|
-
"allOf": [
|
|
5084
|
-
{
|
|
5085
|
-
"$ref": "#/components/schemas/ResourceRef"
|
|
5086
|
-
}
|
|
5087
|
-
]
|
|
5222
|
+
"$ref": "#/components/schemas/ProvisioningResourceRef"
|
|
5088
5223
|
}
|
|
5089
5224
|
},
|
|
5090
5225
|
"skipResourceDeletion": {
|
|
@@ -5100,8 +5235,7 @@
|
|
|
5100
5235
|
"description": "Paths to be deleted. Examples: - dashboard.json (for a file) - a/b/c/other-dashboard.json (for a file) - nested/deep/ (for a directory) FIXME: we should validate this in admission hooks",
|
|
5101
5236
|
"type": "array",
|
|
5102
5237
|
"items": {
|
|
5103
|
-
"type": "string"
|
|
5104
|
-
"default": ""
|
|
5238
|
+
"type": "string"
|
|
5105
5239
|
}
|
|
5106
5240
|
},
|
|
5107
5241
|
"ref": {
|
|
@@ -5112,12 +5246,7 @@
|
|
|
5112
5246
|
"description": "Resources to move This option has been created because currently the frontend does not use standarized app platform APIs. For performance and API consistency reasons, the preferred option is it to use the paths.",
|
|
5113
5247
|
"type": "array",
|
|
5114
5248
|
"items": {
|
|
5115
|
-
"
|
|
5116
|
-
"allOf": [
|
|
5117
|
-
{
|
|
5118
|
-
"$ref": "#/components/schemas/ResourceRef"
|
|
5119
|
-
}
|
|
5120
|
-
]
|
|
5249
|
+
"$ref": "#/components/schemas/ProvisioningResourceRef"
|
|
5121
5250
|
}
|
|
5122
5251
|
},
|
|
5123
5252
|
"targetPath": {
|
|
@@ -5174,7 +5303,7 @@
|
|
|
5174
5303
|
}
|
|
5175
5304
|
},
|
|
5176
5305
|
"QuotaStatus": {
|
|
5177
|
-
"description": "QuotaStatus represents the quota limits configured for this repository.
|
|
5306
|
+
"description": "QuotaStatus represents the quota limits configured for this repository.",
|
|
5178
5307
|
"type": "object",
|
|
5179
5308
|
"properties": {
|
|
5180
5309
|
"maxRepositories": {
|
|
@@ -5186,6 +5315,11 @@
|
|
|
5186
5315
|
"description": "MaxResourcesPerRepository is the maximum number of resources allowed per repository. 0 means unlimited.",
|
|
5187
5316
|
"type": "integer",
|
|
5188
5317
|
"format": "int64"
|
|
5318
|
+
},
|
|
5319
|
+
"updatedAt": {
|
|
5320
|
+
"description": "UpdatedAt is when the controller last successfully refreshed these quota limits. It is expressed as Unix milliseconds. 0 means the quota limits have not been refreshed yet.",
|
|
5321
|
+
"type": "integer",
|
|
5322
|
+
"format": "int64"
|
|
5189
5323
|
}
|
|
5190
5324
|
}
|
|
5191
5325
|
},
|
|
@@ -5223,12 +5357,7 @@
|
|
|
5223
5357
|
"items": {
|
|
5224
5358
|
"type": "array",
|
|
5225
5359
|
"items": {
|
|
5226
|
-
"
|
|
5227
|
-
"allOf": [
|
|
5228
|
-
{
|
|
5229
|
-
"$ref": "#/components/schemas/RefItem"
|
|
5230
|
-
}
|
|
5231
|
-
]
|
|
5360
|
+
"$ref": "#/components/schemas/RefItem"
|
|
5232
5361
|
},
|
|
5233
5362
|
"x-kubernetes-list-type": "atomic"
|
|
5234
5363
|
},
|
|
@@ -5317,12 +5446,7 @@
|
|
|
5317
5446
|
"items": {
|
|
5318
5447
|
"type": "array",
|
|
5319
5448
|
"items": {
|
|
5320
|
-
"
|
|
5321
|
-
"allOf": [
|
|
5322
|
-
{
|
|
5323
|
-
"$ref": "#/components/schemas/Repository"
|
|
5324
|
-
}
|
|
5325
|
-
]
|
|
5449
|
+
"$ref": "#/components/schemas/Repository"
|
|
5326
5450
|
},
|
|
5327
5451
|
"x-kubernetes-list-type": "atomic"
|
|
5328
5452
|
},
|
|
@@ -5468,7 +5592,6 @@
|
|
|
5468
5592
|
"type": "array",
|
|
5469
5593
|
"items": {
|
|
5470
5594
|
"type": "string",
|
|
5471
|
-
"default": "",
|
|
5472
5595
|
"enum": ["branch", "write"]
|
|
5473
5596
|
}
|
|
5474
5597
|
}
|
|
@@ -5483,12 +5606,7 @@
|
|
|
5483
5606
|
"description": "Conditions represent the latest available observations of the repository's state.",
|
|
5484
5607
|
"type": "array",
|
|
5485
5608
|
"items": {
|
|
5486
|
-
"
|
|
5487
|
-
"allOf": [
|
|
5488
|
-
{
|
|
5489
|
-
"$ref": "#/components/schemas/Condition"
|
|
5490
|
-
}
|
|
5491
|
-
]
|
|
5609
|
+
"$ref": "#/components/schemas/Condition"
|
|
5492
5610
|
},
|
|
5493
5611
|
"x-kubernetes-list-map-keys": ["type"],
|
|
5494
5612
|
"x-kubernetes-list-type": "map",
|
|
@@ -5496,19 +5614,22 @@
|
|
|
5496
5614
|
"x-kubernetes-patch-strategy": "merge"
|
|
5497
5615
|
},
|
|
5498
5616
|
"deleteError": {
|
|
5499
|
-
"description": "Error information during repository deletion (if any)",
|
|
5617
|
+
"description": "Error information during repository deletion (if any). Deprecated: prefer the structured Deletion field. Retained for backwards compatibility with clients that read the concise string.",
|
|
5500
5618
|
"type": "string"
|
|
5501
5619
|
},
|
|
5620
|
+
"deletion": {
|
|
5621
|
+
"description": "Deletion reports the progress of an in-progress deletion and the problem blocking it, so a client can explain the holdup and force-remove the blocking finalizer. Populated only while the repository is Terminating.",
|
|
5622
|
+
"allOf": [
|
|
5623
|
+
{
|
|
5624
|
+
"$ref": "#/components/schemas/DeletionStatus"
|
|
5625
|
+
}
|
|
5626
|
+
]
|
|
5627
|
+
},
|
|
5502
5628
|
"fieldErrors": {
|
|
5503
5629
|
"description": "FieldErrors are errors that occurred during validation of the repository spec. These errors are intended to help users identify and fix issues in the spec.",
|
|
5504
5630
|
"type": "array",
|
|
5505
5631
|
"items": {
|
|
5506
|
-
"
|
|
5507
|
-
"allOf": [
|
|
5508
|
-
{
|
|
5509
|
-
"$ref": "#/components/schemas/ErrorDetails"
|
|
5510
|
-
}
|
|
5511
|
-
]
|
|
5632
|
+
"$ref": "#/components/schemas/ErrorDetails"
|
|
5512
5633
|
},
|
|
5513
5634
|
"x-kubernetes-list-type": "atomic"
|
|
5514
5635
|
},
|
|
@@ -5540,12 +5661,7 @@
|
|
|
5540
5661
|
"description": "The object count when sync last ran",
|
|
5541
5662
|
"type": "array",
|
|
5542
5663
|
"items": {
|
|
5543
|
-
"
|
|
5544
|
-
"allOf": [
|
|
5545
|
-
{
|
|
5546
|
-
"$ref": "#/components/schemas/ResourceCount"
|
|
5547
|
-
}
|
|
5548
|
-
]
|
|
5664
|
+
"$ref": "#/components/schemas/ResourceCount"
|
|
5549
5665
|
},
|
|
5550
5666
|
"x-kubernetes-list-type": "atomic"
|
|
5551
5667
|
},
|
|
@@ -5665,7 +5781,6 @@
|
|
|
5665
5781
|
"type": "array",
|
|
5666
5782
|
"items": {
|
|
5667
5783
|
"type": "string",
|
|
5668
|
-
"default": "",
|
|
5669
5784
|
"enum": ["branch", "write"]
|
|
5670
5785
|
}
|
|
5671
5786
|
}
|
|
@@ -5686,7 +5801,6 @@
|
|
|
5686
5801
|
"type": "array",
|
|
5687
5802
|
"items": {
|
|
5688
5803
|
"type": "string",
|
|
5689
|
-
"default": "",
|
|
5690
5804
|
"enum": ["folder", "folderless", "instance"]
|
|
5691
5805
|
}
|
|
5692
5806
|
},
|
|
@@ -5694,12 +5808,27 @@
|
|
|
5694
5808
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
|
5695
5809
|
"type": "string"
|
|
5696
5810
|
},
|
|
5811
|
+
"availableConnectionTypes": {
|
|
5812
|
+
"description": "AvailableConnectionTypes is the list of connection types supported in this instance",
|
|
5813
|
+
"type": "array",
|
|
5814
|
+
"items": {
|
|
5815
|
+
"type": "string",
|
|
5816
|
+
"enum": [
|
|
5817
|
+
"bitbucketOAuth",
|
|
5818
|
+
"gitOAuth",
|
|
5819
|
+
"github",
|
|
5820
|
+
"githubEnterprise",
|
|
5821
|
+
"githubEnterpriseOAuth",
|
|
5822
|
+
"githubOAuth",
|
|
5823
|
+
"gitlabOAuth"
|
|
5824
|
+
]
|
|
5825
|
+
}
|
|
5826
|
+
},
|
|
5697
5827
|
"availableRepositoryTypes": {
|
|
5698
5828
|
"description": "AvailableRepositoryTypes is the list of repository types supported in this instance (e.g. git, bitbucket, github, etc)",
|
|
5699
5829
|
"type": "array",
|
|
5700
5830
|
"items": {
|
|
5701
5831
|
"type": "string",
|
|
5702
|
-
"default": "",
|
|
5703
5832
|
"enum": ["bitbucket", "git", "github", "githubEnterprise", "gitlab", "local"]
|
|
5704
5833
|
}
|
|
5705
5834
|
},
|
|
@@ -5768,12 +5897,7 @@
|
|
|
5768
5897
|
"items": {
|
|
5769
5898
|
"type": "array",
|
|
5770
5899
|
"items": {
|
|
5771
|
-
"
|
|
5772
|
-
"allOf": [
|
|
5773
|
-
{
|
|
5774
|
-
"$ref": "#/components/schemas/ResourceListItem"
|
|
5775
|
-
}
|
|
5776
|
-
]
|
|
5900
|
+
"$ref": "#/components/schemas/ResourceListItem"
|
|
5777
5901
|
},
|
|
5778
5902
|
"x-kubernetes-list-type": "atomic"
|
|
5779
5903
|
},
|
|
@@ -5887,7 +6011,7 @@
|
|
|
5887
6011
|
}
|
|
5888
6012
|
}
|
|
5889
6013
|
},
|
|
5890
|
-
"
|
|
6014
|
+
"ProvisioningResourceRef": {
|
|
5891
6015
|
"type": "object",
|
|
5892
6016
|
"properties": {
|
|
5893
6017
|
"group": {
|
|
@@ -6019,8 +6143,7 @@
|
|
|
6019
6143
|
"description": "If errors exist, show them here",
|
|
6020
6144
|
"type": "array",
|
|
6021
6145
|
"items": {
|
|
6022
|
-
"type": "string"
|
|
6023
|
-
"default": ""
|
|
6146
|
+
"type": "string"
|
|
6024
6147
|
},
|
|
6025
6148
|
"x-kubernetes-list-type": "atomic"
|
|
6026
6149
|
},
|
|
@@ -6199,8 +6322,7 @@
|
|
|
6199
6322
|
"description": "Summary messages (will be shown to users)",
|
|
6200
6323
|
"type": "array",
|
|
6201
6324
|
"items": {
|
|
6202
|
-
"type": "string"
|
|
6203
|
-
"default": ""
|
|
6325
|
+
"type": "string"
|
|
6204
6326
|
},
|
|
6205
6327
|
"x-kubernetes-list-type": "atomic"
|
|
6206
6328
|
},
|
|
@@ -6260,12 +6382,7 @@
|
|
|
6260
6382
|
"description": "Field related errors",
|
|
6261
6383
|
"type": "array",
|
|
6262
6384
|
"items": {
|
|
6263
|
-
"
|
|
6264
|
-
"allOf": [
|
|
6265
|
-
{
|
|
6266
|
-
"$ref": "#/components/schemas/ErrorDetails"
|
|
6267
|
-
}
|
|
6268
|
-
]
|
|
6385
|
+
"$ref": "#/components/schemas/ErrorDetails"
|
|
6269
6386
|
}
|
|
6270
6387
|
},
|
|
6271
6388
|
"kind": {
|
|
@@ -6367,8 +6484,7 @@
|
|
|
6367
6484
|
"subscribedEvents": {
|
|
6368
6485
|
"type": "array",
|
|
6369
6486
|
"items": {
|
|
6370
|
-
"type": "string"
|
|
6371
|
-
"default": ""
|
|
6487
|
+
"type": "string"
|
|
6372
6488
|
}
|
|
6373
6489
|
},
|
|
6374
6490
|
"url": {
|
|
@@ -6421,6 +6537,328 @@
|
|
|
6421
6537
|
"additionalProperties": true,
|
|
6422
6538
|
"x-kubernetes-preserve-unknown-fields": true
|
|
6423
6539
|
},
|
|
6540
|
+
"ExistsPredicate": {
|
|
6541
|
+
"description": "ExistsPredicate is a future field-existence predicate. Modelled for schema stability; always rejected in v1.",
|
|
6542
|
+
"type": "object",
|
|
6543
|
+
"required": ["field"],
|
|
6544
|
+
"properties": {
|
|
6545
|
+
"field": {
|
|
6546
|
+
"type": "string",
|
|
6547
|
+
"default": ""
|
|
6548
|
+
}
|
|
6549
|
+
}
|
|
6550
|
+
},
|
|
6551
|
+
"FacetTerm": {
|
|
6552
|
+
"description": "FacetTerm is a single facet term and its count.",
|
|
6553
|
+
"type": "object",
|
|
6554
|
+
"required": ["value", "count"],
|
|
6555
|
+
"properties": {
|
|
6556
|
+
"count": {
|
|
6557
|
+
"type": "integer",
|
|
6558
|
+
"format": "int64",
|
|
6559
|
+
"default": 0
|
|
6560
|
+
},
|
|
6561
|
+
"value": {
|
|
6562
|
+
"type": "string",
|
|
6563
|
+
"default": ""
|
|
6564
|
+
}
|
|
6565
|
+
}
|
|
6566
|
+
},
|
|
6567
|
+
"FilterPredicate": {
|
|
6568
|
+
"description": "FilterPredicate is an exact / set-based predicate against a single field. Values are strings whatever the field's declared type, so a boolean field takes \"true\" or \"false\" and a numeric field takes the number written out.\n\nNumbers are held as float64, so only integers up to 2^53 are compared exactly. Past that, values a whole number apart share one representation, and a filter can both match a neighbour and miss the value asked for.",
|
|
6569
|
+
"type": "object",
|
|
6570
|
+
"required": ["field", "operator", "values"],
|
|
6571
|
+
"properties": {
|
|
6572
|
+
"field": {
|
|
6573
|
+
"type": "string",
|
|
6574
|
+
"default": ""
|
|
6575
|
+
},
|
|
6576
|
+
"operator": {
|
|
6577
|
+
"description": "Operator is \"In\", \"NotIn\" or \"All\" in v1. \"In\" matches any of the values, \"NotIn\" excludes all of them, and \"All\" requires the field to hold every value, which only a field holding a list of values can do.",
|
|
6578
|
+
"type": "string",
|
|
6579
|
+
"default": ""
|
|
6580
|
+
},
|
|
6581
|
+
"values": {
|
|
6582
|
+
"type": "array",
|
|
6583
|
+
"items": {
|
|
6584
|
+
"type": "string"
|
|
6585
|
+
}
|
|
6586
|
+
}
|
|
6587
|
+
}
|
|
6588
|
+
},
|
|
6589
|
+
"RangePredicate": {
|
|
6590
|
+
"description": "RangePredicate compares a numeric field against one or two bounds. At least one bound is required, gt cannot be combined with gte, and lt cannot be combined with lte. Boolean and string fields are rejected: only numbers have the order a range asks about. On an integer field a bound must be whole.\n\nBounds are held as float64, so only integers up to 2^53 are compared exactly. Past that, values a whole number apart share one representation, and a bound can both admit a neighbour and exclude the value asked for.",
|
|
6591
|
+
"type": "object",
|
|
6592
|
+
"required": ["field"],
|
|
6593
|
+
"properties": {
|
|
6594
|
+
"field": {
|
|
6595
|
+
"type": "string",
|
|
6596
|
+
"default": ""
|
|
6597
|
+
},
|
|
6598
|
+
"gt": {
|
|
6599
|
+
"type": "number",
|
|
6600
|
+
"format": "double"
|
|
6601
|
+
},
|
|
6602
|
+
"gte": {
|
|
6603
|
+
"type": "number",
|
|
6604
|
+
"format": "double"
|
|
6605
|
+
},
|
|
6606
|
+
"lt": {
|
|
6607
|
+
"type": "number",
|
|
6608
|
+
"format": "double"
|
|
6609
|
+
},
|
|
6610
|
+
"lte": {
|
|
6611
|
+
"type": "number",
|
|
6612
|
+
"format": "double"
|
|
6613
|
+
}
|
|
6614
|
+
}
|
|
6615
|
+
},
|
|
6616
|
+
"RegexPredicate": {
|
|
6617
|
+
"description": "RegexPredicate matches a single field against a regular expression, one pattern per leaf the way a single Prometheus matcher works. Negate turns the leaf from =~ into !~.\n\nMatching is against the whole indexed term and is case-sensitive, so it is restricted to filterable keyword string fields that keep their original case. The pattern is a portable RE2 subset: literals, character classes, grouping, alternation, and greedy repetition. The backend is the source of truth for what the subset admits; it rejects unsupported syntax, fields that do not preserve case, and patterns that expand to too many terms with a 400.",
|
|
6618
|
+
"type": "object",
|
|
6619
|
+
"required": ["field", "pattern"],
|
|
6620
|
+
"properties": {
|
|
6621
|
+
"field": {
|
|
6622
|
+
"type": "string",
|
|
6623
|
+
"default": ""
|
|
6624
|
+
},
|
|
6625
|
+
"negate": {
|
|
6626
|
+
"description": "Negate inverts the match: the field must not match the pattern.",
|
|
6627
|
+
"type": "boolean"
|
|
6628
|
+
},
|
|
6629
|
+
"pattern": {
|
|
6630
|
+
"type": "string",
|
|
6631
|
+
"default": ""
|
|
6632
|
+
}
|
|
6633
|
+
}
|
|
6634
|
+
},
|
|
6635
|
+
"ResourceRef": {
|
|
6636
|
+
"description": "ResourceRef is the full identity of a returned item. Namespace is implicit from the URL and omitted.",
|
|
6637
|
+
"type": "object",
|
|
6638
|
+
"required": ["group", "resource", "kind", "name"],
|
|
6639
|
+
"properties": {
|
|
6640
|
+
"group": {
|
|
6641
|
+
"type": "string",
|
|
6642
|
+
"default": ""
|
|
6643
|
+
},
|
|
6644
|
+
"kind": {
|
|
6645
|
+
"type": "string",
|
|
6646
|
+
"default": ""
|
|
6647
|
+
},
|
|
6648
|
+
"name": {
|
|
6649
|
+
"type": "string",
|
|
6650
|
+
"default": ""
|
|
6651
|
+
},
|
|
6652
|
+
"resource": {
|
|
6653
|
+
"type": "string",
|
|
6654
|
+
"default": ""
|
|
6655
|
+
}
|
|
6656
|
+
}
|
|
6657
|
+
},
|
|
6658
|
+
"ResultItem": {
|
|
6659
|
+
"description": "ResultItem is one search or trash hit. The item shape is identical on both endpoints; only which fields the Fields map can carry differs.",
|
|
6660
|
+
"type": "object",
|
|
6661
|
+
"required": ["resource"],
|
|
6662
|
+
"properties": {
|
|
6663
|
+
"fields": {
|
|
6664
|
+
"description": "Fields holds the JSON values for the requested (or default) fields. Array-typed fields are returned as JSON arrays. Absent fields are omitted.",
|
|
6665
|
+
"$ref": "#/components/schemas/Unstructured"
|
|
6666
|
+
},
|
|
6667
|
+
"resource": {
|
|
6668
|
+
"default": {},
|
|
6669
|
+
"$ref": "#/components/schemas/ResourceRef"
|
|
6670
|
+
},
|
|
6671
|
+
"score": {
|
|
6672
|
+
"description": "Score is present only when a text query was evaluated. A pointer so a real score of 0 is still distinguishable from \"no text query\" (absent).",
|
|
6673
|
+
"type": "number",
|
|
6674
|
+
"format": "double"
|
|
6675
|
+
}
|
|
6676
|
+
}
|
|
6677
|
+
},
|
|
6678
|
+
"ResultsMetadata": {
|
|
6679
|
+
"description": "ResultsMetadata carries the pagination token and the total hit count.",
|
|
6680
|
+
"type": "object",
|
|
6681
|
+
"required": ["totalHits", "totalHitsRelation"],
|
|
6682
|
+
"properties": {
|
|
6683
|
+
"continue": {
|
|
6684
|
+
"type": "string"
|
|
6685
|
+
},
|
|
6686
|
+
"totalHits": {
|
|
6687
|
+
"description": "TotalHits counts the resources matching the query. Always read it together with TotalHitsRelation. When the relation is \"unknown\", this is a zero placeholder that must not be interpreted as a count.",
|
|
6688
|
+
"type": "integer",
|
|
6689
|
+
"format": "int64",
|
|
6690
|
+
"default": 0
|
|
6691
|
+
},
|
|
6692
|
+
"totalHitsRelation": {
|
|
6693
|
+
"description": "TotalHitsRelation is \"eq\" when TotalHits is exact and \"lte\" when it is an upper bound. \"unknown\" means no count is available and TotalHits must be ignored.",
|
|
6694
|
+
"type": "string",
|
|
6695
|
+
"default": ""
|
|
6696
|
+
}
|
|
6697
|
+
}
|
|
6698
|
+
},
|
|
6699
|
+
"SearchQuery": {
|
|
6700
|
+
"description": "SearchQuery is the request body for POST .../{resource}/search, which searches one kind, and for POST .../namespaces/{namespace}/global/search, which searches several resource types at once.",
|
|
6701
|
+
"type": "object",
|
|
6702
|
+
"properties": {
|
|
6703
|
+
"apiVersion": {
|
|
6704
|
+
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
|
6705
|
+
"type": "string"
|
|
6706
|
+
},
|
|
6707
|
+
"continue": {
|
|
6708
|
+
"description": "Continue is an opaque pagination token from a previous page.",
|
|
6709
|
+
"type": "string"
|
|
6710
|
+
},
|
|
6711
|
+
"facetLimit": {
|
|
6712
|
+
"description": "FacetLimit caps the number of terms returned per facet. It applies to every entry in Facets. Zero uses the server default; values above the server cap are clamped.",
|
|
6713
|
+
"type": "integer",
|
|
6714
|
+
"format": "int64"
|
|
6715
|
+
},
|
|
6716
|
+
"facets": {
|
|
6717
|
+
"type": "array",
|
|
6718
|
+
"items": {
|
|
6719
|
+
"type": "string"
|
|
6720
|
+
}
|
|
6721
|
+
},
|
|
6722
|
+
"fields": {
|
|
6723
|
+
"type": "array",
|
|
6724
|
+
"items": {
|
|
6725
|
+
"type": "string"
|
|
6726
|
+
}
|
|
6727
|
+
},
|
|
6728
|
+
"kind": {
|
|
6729
|
+
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
|
|
6730
|
+
"type": "string"
|
|
6731
|
+
},
|
|
6732
|
+
"labelSelector": {
|
|
6733
|
+
"description": "LabelSelector filters on metadata.labels, ANDed with Where.",
|
|
6734
|
+
"$ref": "#/components/schemas/LabelSelector"
|
|
6735
|
+
},
|
|
6736
|
+
"limit": {
|
|
6737
|
+
"description": "Limit is the page size. Zero uses the default; values above the maximum are clamped.",
|
|
6738
|
+
"type": "integer",
|
|
6739
|
+
"format": "int64"
|
|
6740
|
+
},
|
|
6741
|
+
"sort": {
|
|
6742
|
+
"type": "array",
|
|
6743
|
+
"items": {
|
|
6744
|
+
"$ref": "#/components/schemas/SortField"
|
|
6745
|
+
}
|
|
6746
|
+
},
|
|
6747
|
+
"where": {
|
|
6748
|
+
"description": "Where is the search predicate tree. Omitting it matches everything the endpoint searches: all resources of the kind, or of every type the global search covers (subject to labelSelector and per-item authz).",
|
|
6749
|
+
"$ref": "#/components/schemas/WhereNode"
|
|
6750
|
+
}
|
|
6751
|
+
}
|
|
6752
|
+
},
|
|
6753
|
+
"SearchResults": {
|
|
6754
|
+
"description": "SearchResults is the response body for POST .../{resource}/search.",
|
|
6755
|
+
"type": "object",
|
|
6756
|
+
"required": ["metadata", "items"],
|
|
6757
|
+
"properties": {
|
|
6758
|
+
"apiVersion": {
|
|
6759
|
+
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
|
6760
|
+
"type": "string"
|
|
6761
|
+
},
|
|
6762
|
+
"facets": {
|
|
6763
|
+
"description": "Facets holds term counts per requested facet field. Counts are computed over a bounded sample window, so they are best-effort/approximate.",
|
|
6764
|
+
"type": "object",
|
|
6765
|
+
"additionalProperties": {
|
|
6766
|
+
"type": "array",
|
|
6767
|
+
"items": {
|
|
6768
|
+
"$ref": "#/components/schemas/FacetTerm"
|
|
6769
|
+
}
|
|
6770
|
+
}
|
|
6771
|
+
},
|
|
6772
|
+
"items": {
|
|
6773
|
+
"type": "array",
|
|
6774
|
+
"items": {
|
|
6775
|
+
"$ref": "#/components/schemas/ResultItem"
|
|
6776
|
+
}
|
|
6777
|
+
},
|
|
6778
|
+
"kind": {
|
|
6779
|
+
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
|
|
6780
|
+
"type": "string"
|
|
6781
|
+
},
|
|
6782
|
+
"metadata": {
|
|
6783
|
+
"default": {},
|
|
6784
|
+
"$ref": "#/components/schemas/ResultsMetadata"
|
|
6785
|
+
}
|
|
6786
|
+
}
|
|
6787
|
+
},
|
|
6788
|
+
"SortField": {
|
|
6789
|
+
"description": "SortField names a field to sort by and a direction (\"asc\" or \"desc\"). V1 allows sorting only on scalar string and numeric fields that declare the sort capability.",
|
|
6790
|
+
"type": "object",
|
|
6791
|
+
"required": ["field"],
|
|
6792
|
+
"properties": {
|
|
6793
|
+
"direction": {
|
|
6794
|
+
"type": "string"
|
|
6795
|
+
},
|
|
6796
|
+
"field": {
|
|
6797
|
+
"type": "string",
|
|
6798
|
+
"default": ""
|
|
6799
|
+
}
|
|
6800
|
+
}
|
|
6801
|
+
},
|
|
6802
|
+
"TextPredicate": {
|
|
6803
|
+
"description": "TextPredicate is a free-text predicate against one or more text-capable fields. When Fields is empty it defaults to the kind's searchTextFields (currently [\"title\"]).",
|
|
6804
|
+
"type": "object",
|
|
6805
|
+
"required": ["value"],
|
|
6806
|
+
"properties": {
|
|
6807
|
+
"boost": {
|
|
6808
|
+
"description": "Boost is a future per-leaf score multiplier. Setting it is rejected in v1.",
|
|
6809
|
+
"type": "number",
|
|
6810
|
+
"format": "double"
|
|
6811
|
+
},
|
|
6812
|
+
"fields": {
|
|
6813
|
+
"type": "array",
|
|
6814
|
+
"items": {
|
|
6815
|
+
"type": "string"
|
|
6816
|
+
}
|
|
6817
|
+
},
|
|
6818
|
+
"value": {
|
|
6819
|
+
"type": "string",
|
|
6820
|
+
"default": ""
|
|
6821
|
+
}
|
|
6822
|
+
}
|
|
6823
|
+
},
|
|
6824
|
+
"WhereNode": {
|
|
6825
|
+
"description": "WhereNode is a single node of the where tree. Exactly one field must be set; the set field names the node's type. Combinators (and/or/not) compose other nodes, leaves (text/filter/range/regex/exists) are terminal predicates.\n\nAll node types are modelled so the schema is future-proof, but v1 only accepts a narrow subset (top-level single leaf or a single and of leaves; text, filter, range and regex leaves; In/NotIn/All filter operators). Everything else is rejected with 422 Unprocessable Entity by the validation layer. exists is sketched for a future version and always rejected today.",
|
|
6826
|
+
"type": "object",
|
|
6827
|
+
"properties": {
|
|
6828
|
+
"and": {
|
|
6829
|
+
"description": "Combinators.",
|
|
6830
|
+
"type": "array",
|
|
6831
|
+
"items": {
|
|
6832
|
+
"$ref": "#/components/schemas/WhereNode"
|
|
6833
|
+
}
|
|
6834
|
+
},
|
|
6835
|
+
"exists": {
|
|
6836
|
+
"$ref": "#/components/schemas/ExistsPredicate"
|
|
6837
|
+
},
|
|
6838
|
+
"filter": {
|
|
6839
|
+
"$ref": "#/components/schemas/FilterPredicate"
|
|
6840
|
+
},
|
|
6841
|
+
"not": {
|
|
6842
|
+
"$ref": "#/components/schemas/WhereNode"
|
|
6843
|
+
},
|
|
6844
|
+
"or": {
|
|
6845
|
+
"type": "array",
|
|
6846
|
+
"items": {
|
|
6847
|
+
"$ref": "#/components/schemas/WhereNode"
|
|
6848
|
+
}
|
|
6849
|
+
},
|
|
6850
|
+
"range": {
|
|
6851
|
+
"$ref": "#/components/schemas/RangePredicate"
|
|
6852
|
+
},
|
|
6853
|
+
"regex": {
|
|
6854
|
+
"$ref": "#/components/schemas/RegexPredicate"
|
|
6855
|
+
},
|
|
6856
|
+
"text": {
|
|
6857
|
+
"description": "Leaves.",
|
|
6858
|
+
"$ref": "#/components/schemas/TextPredicate"
|
|
6859
|
+
}
|
|
6860
|
+
}
|
|
6861
|
+
},
|
|
6424
6862
|
"APIResource": {
|
|
6425
6863
|
"description": "APIResource specifies the name of a resource and whether it is namespaced.",
|
|
6426
6864
|
"type": "object",
|
|
@@ -6615,6 +7053,53 @@
|
|
|
6615
7053
|
"description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:<name>', where <name> is the name of a field in a struct, or key in a map 'v:<value>', where <value> is the exact json formatted value of a list item 'i:<index>', where <index> is position of a item in a list 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff",
|
|
6616
7054
|
"type": "object"
|
|
6617
7055
|
},
|
|
7056
|
+
"LabelSelector": {
|
|
7057
|
+
"description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.",
|
|
7058
|
+
"type": "object",
|
|
7059
|
+
"properties": {
|
|
7060
|
+
"matchExpressions": {
|
|
7061
|
+
"description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
|
|
7062
|
+
"type": "array",
|
|
7063
|
+
"items": {
|
|
7064
|
+
"$ref": "#/components/schemas/LabelSelectorRequirement"
|
|
7065
|
+
},
|
|
7066
|
+
"x-kubernetes-list-type": "atomic"
|
|
7067
|
+
},
|
|
7068
|
+
"matchLabels": {
|
|
7069
|
+
"description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
|
|
7070
|
+
"type": "object",
|
|
7071
|
+
"additionalProperties": {
|
|
7072
|
+
"type": "string"
|
|
7073
|
+
}
|
|
7074
|
+
}
|
|
7075
|
+
},
|
|
7076
|
+
"x-kubernetes-map-type": "atomic"
|
|
7077
|
+
},
|
|
7078
|
+
"LabelSelectorRequirement": {
|
|
7079
|
+
"description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
|
|
7080
|
+
"type": "object",
|
|
7081
|
+
"required": ["key", "operator"],
|
|
7082
|
+
"properties": {
|
|
7083
|
+
"key": {
|
|
7084
|
+
"description": "key is the label key that the selector applies to.",
|
|
7085
|
+
"type": "string",
|
|
7086
|
+
"default": ""
|
|
7087
|
+
},
|
|
7088
|
+
"operator": {
|
|
7089
|
+
"description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
|
|
7090
|
+
"type": "string",
|
|
7091
|
+
"default": ""
|
|
7092
|
+
},
|
|
7093
|
+
"values": {
|
|
7094
|
+
"description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
|
|
7095
|
+
"type": "array",
|
|
7096
|
+
"items": {
|
|
7097
|
+
"type": "string"
|
|
7098
|
+
},
|
|
7099
|
+
"x-kubernetes-list-type": "atomic"
|
|
7100
|
+
}
|
|
7101
|
+
}
|
|
7102
|
+
},
|
|
6618
7103
|
"ListMeta": {
|
|
6619
7104
|
"description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.",
|
|
6620
7105
|
"type": "object",
|