@halo-dev/api-client 0.0.12 → 0.0.15
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/README.md +37 -0
- package/dist/index.cjs +1250 -368
- package/dist/index.d.ts +7097 -2468
- package/dist/index.mjs +1235 -369
- package/package.json +10 -11
package/dist/index.mjs
CHANGED
|
@@ -67,24 +67,6 @@ const createRequestFunction = function(axiosArgs, globalAxios, BASE_PATH, config
|
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
69
|
|
|
70
|
-
const ConditionStatusEnum = {
|
|
71
|
-
True: "TRUE",
|
|
72
|
-
False: "FALSE",
|
|
73
|
-
Unknown: "UNKNOWN"
|
|
74
|
-
};
|
|
75
|
-
const PluginStatusPhaseEnum = {
|
|
76
|
-
Created: "CREATED",
|
|
77
|
-
Disabled: "DISABLED",
|
|
78
|
-
Resolved: "RESOLVED",
|
|
79
|
-
Started: "STARTED",
|
|
80
|
-
Stopped: "STOPPED",
|
|
81
|
-
Failed: "FAILED"
|
|
82
|
-
};
|
|
83
|
-
const PostSpecVisibleEnum = {
|
|
84
|
-
Public: "PUBLIC",
|
|
85
|
-
Internal: "INTERNAL",
|
|
86
|
-
Private: "PRIVATE"
|
|
87
|
-
};
|
|
88
70
|
const ApiHaloRunV1alpha1ContentApiAxiosParamCreator = function(configuration) {
|
|
89
71
|
return {
|
|
90
72
|
draftSnapshotContent: async (contentRequest, options = {}) => {
|
|
@@ -220,19 +202,20 @@ const ApiHaloRunV1alpha1ContentApiFactory = function(configuration, basePath, ax
|
|
|
220
202
|
};
|
|
221
203
|
};
|
|
222
204
|
class ApiHaloRunV1alpha1ContentApi extends BaseAPI {
|
|
223
|
-
draftSnapshotContent(
|
|
224
|
-
return ApiHaloRunV1alpha1ContentApiFp(this.configuration).draftSnapshotContent(contentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
205
|
+
draftSnapshotContent(requestParameters, options) {
|
|
206
|
+
return ApiHaloRunV1alpha1ContentApiFp(this.configuration).draftSnapshotContent(requestParameters.contentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
225
207
|
}
|
|
226
|
-
obtainSnapshotContent(
|
|
227
|
-
return ApiHaloRunV1alpha1ContentApiFp(this.configuration).obtainSnapshotContent(snapshotName, options).then((request) => request(this.axios, this.basePath));
|
|
208
|
+
obtainSnapshotContent(requestParameters, options) {
|
|
209
|
+
return ApiHaloRunV1alpha1ContentApiFp(this.configuration).obtainSnapshotContent(requestParameters.snapshotName, options).then((request) => request(this.axios, this.basePath));
|
|
228
210
|
}
|
|
229
|
-
publishSnapshotContent(
|
|
230
|
-
return ApiHaloRunV1alpha1ContentApiFp(this.configuration).publishSnapshotContent(snapshotName, subjectRef, options).then((request) => request(this.axios, this.basePath));
|
|
211
|
+
publishSnapshotContent(requestParameters, options) {
|
|
212
|
+
return ApiHaloRunV1alpha1ContentApiFp(this.configuration).publishSnapshotContent(requestParameters.snapshotName, requestParameters.subjectRef, options).then((request) => request(this.axios, this.basePath));
|
|
231
213
|
}
|
|
232
|
-
updateSnapshotContent(
|
|
233
|
-
return ApiHaloRunV1alpha1ContentApiFp(this.configuration).updateSnapshotContent(snapshotName, contentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
214
|
+
updateSnapshotContent(requestParameters, options) {
|
|
215
|
+
return ApiHaloRunV1alpha1ContentApiFp(this.configuration).updateSnapshotContent(requestParameters.snapshotName, requestParameters.contentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
234
216
|
}
|
|
235
217
|
}
|
|
218
|
+
|
|
236
219
|
const ApiHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
237
220
|
return {
|
|
238
221
|
installPlugin: async (file, options = {}) => {
|
|
@@ -282,10 +265,11 @@ const ApiHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axi
|
|
|
282
265
|
};
|
|
283
266
|
};
|
|
284
267
|
class ApiHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
285
|
-
installPlugin(
|
|
286
|
-
return ApiHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(file, options).then((request) => request(this.axios, this.basePath));
|
|
268
|
+
installPlugin(requestParameters, options) {
|
|
269
|
+
return ApiHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
287
270
|
}
|
|
288
271
|
}
|
|
272
|
+
|
|
289
273
|
const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
290
274
|
return {
|
|
291
275
|
draftPost: async (postRequest, options = {}) => {
|
|
@@ -438,19 +422,20 @@ const ApiHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios
|
|
|
438
422
|
};
|
|
439
423
|
};
|
|
440
424
|
class ApiHaloRunV1alpha1PostApi extends BaseAPI {
|
|
441
|
-
draftPost(
|
|
442
|
-
return ApiHaloRunV1alpha1PostApiFp(this.configuration).draftPost(postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
425
|
+
draftPost(requestParameters, options) {
|
|
426
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
443
427
|
}
|
|
444
|
-
listPosts(
|
|
445
|
-
return ApiHaloRunV1alpha1PostApiFp(this.configuration).listPosts(page, size, labelSelector, fieldSelector, contributors, categories, tags, options).then((request) => request(this.axios, this.basePath));
|
|
428
|
+
listPosts(requestParameters = {}, options) {
|
|
429
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.contributors, requestParameters.categories, requestParameters.tags, options).then((request) => request(this.axios, this.basePath));
|
|
446
430
|
}
|
|
447
|
-
publishPost(
|
|
448
|
-
return ApiHaloRunV1alpha1PostApiFp(this.configuration).publishPost(name, options).then((request) => request(this.axios, this.basePath));
|
|
431
|
+
publishPost(requestParameters, options) {
|
|
432
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
449
433
|
}
|
|
450
|
-
updateDraftPost(
|
|
451
|
-
return ApiHaloRunV1alpha1PostApiFp(this.configuration).updateDraftPost(name, postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
434
|
+
updateDraftPost(requestParameters, options) {
|
|
435
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).updateDraftPost(requestParameters.name, requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
452
436
|
}
|
|
453
437
|
}
|
|
438
|
+
|
|
454
439
|
const ApiHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
455
440
|
return {
|
|
456
441
|
installTheme: async (file, options = {}) => {
|
|
@@ -500,10 +485,11 @@ const ApiHaloRunV1alpha1ThemeApiFactory = function(configuration, basePath, axio
|
|
|
500
485
|
};
|
|
501
486
|
};
|
|
502
487
|
class ApiHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
503
|
-
installTheme(
|
|
504
|
-
return ApiHaloRunV1alpha1ThemeApiFp(this.configuration).installTheme(file, options).then((request) => request(this.axios, this.basePath));
|
|
488
|
+
installTheme(requestParameters, options) {
|
|
489
|
+
return ApiHaloRunV1alpha1ThemeApiFp(this.configuration).installTheme(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
505
490
|
}
|
|
506
491
|
}
|
|
492
|
+
|
|
507
493
|
const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
508
494
|
return {
|
|
509
495
|
changePassword: async (name, changePasswordRequest, options = {}) => {
|
|
@@ -636,19 +622,20 @@ const ApiHaloRunV1alpha1UserApiFactory = function(configuration, basePath, axios
|
|
|
636
622
|
};
|
|
637
623
|
};
|
|
638
624
|
class ApiHaloRunV1alpha1UserApi extends BaseAPI {
|
|
639
|
-
changePassword(
|
|
640
|
-
return ApiHaloRunV1alpha1UserApiFp(this.configuration).changePassword(name, changePasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
625
|
+
changePassword(requestParameters, options) {
|
|
626
|
+
return ApiHaloRunV1alpha1UserApiFp(this.configuration).changePassword(requestParameters.name, requestParameters.changePasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
641
627
|
}
|
|
642
628
|
getCurrentUserDetail(options) {
|
|
643
629
|
return ApiHaloRunV1alpha1UserApiFp(this.configuration).getCurrentUserDetail(options).then((request) => request(this.axios, this.basePath));
|
|
644
630
|
}
|
|
645
|
-
getPermissions(
|
|
646
|
-
return ApiHaloRunV1alpha1UserApiFp(this.configuration).getPermissions(name, options).then((request) => request(this.axios, this.basePath));
|
|
631
|
+
getPermissions(requestParameters, options) {
|
|
632
|
+
return ApiHaloRunV1alpha1UserApiFp(this.configuration).getPermissions(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
647
633
|
}
|
|
648
|
-
grantPermission(
|
|
649
|
-
return ApiHaloRunV1alpha1UserApiFp(this.configuration).grantPermission(name, grantRequest, options).then((request) => request(this.axios, this.basePath));
|
|
634
|
+
grantPermission(requestParameters, options) {
|
|
635
|
+
return ApiHaloRunV1alpha1UserApiFp(this.configuration).grantPermission(requestParameters.name, requestParameters.grantRequest, options).then((request) => request(this.axios, this.basePath));
|
|
650
636
|
}
|
|
651
637
|
}
|
|
638
|
+
|
|
652
639
|
const ContentHaloRunV1alpha1CategoryApiAxiosParamCreator = function(configuration) {
|
|
653
640
|
return {
|
|
654
641
|
createcontentHaloRunV1alpha1Category: async (category, options = {}) => {
|
|
@@ -818,22 +805,23 @@ const ContentHaloRunV1alpha1CategoryApiFactory = function(configuration, basePat
|
|
|
818
805
|
};
|
|
819
806
|
};
|
|
820
807
|
class ContentHaloRunV1alpha1CategoryApi extends BaseAPI {
|
|
821
|
-
createcontentHaloRunV1alpha1Category(
|
|
822
|
-
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).createcontentHaloRunV1alpha1Category(category, options).then((request) => request(this.axios, this.basePath));
|
|
808
|
+
createcontentHaloRunV1alpha1Category(requestParameters = {}, options) {
|
|
809
|
+
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).createcontentHaloRunV1alpha1Category(requestParameters.category, options).then((request) => request(this.axios, this.basePath));
|
|
823
810
|
}
|
|
824
|
-
deletecontentHaloRunV1alpha1Category(
|
|
825
|
-
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).deletecontentHaloRunV1alpha1Category(name, options).then((request) => request(this.axios, this.basePath));
|
|
811
|
+
deletecontentHaloRunV1alpha1Category(requestParameters, options) {
|
|
812
|
+
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).deletecontentHaloRunV1alpha1Category(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
826
813
|
}
|
|
827
|
-
getcontentHaloRunV1alpha1Category(
|
|
828
|
-
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).getcontentHaloRunV1alpha1Category(name, options).then((request) => request(this.axios, this.basePath));
|
|
814
|
+
getcontentHaloRunV1alpha1Category(requestParameters, options) {
|
|
815
|
+
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).getcontentHaloRunV1alpha1Category(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
829
816
|
}
|
|
830
|
-
listcontentHaloRunV1alpha1Category(
|
|
831
|
-
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).listcontentHaloRunV1alpha1Category(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
817
|
+
listcontentHaloRunV1alpha1Category(requestParameters = {}, options) {
|
|
818
|
+
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).listcontentHaloRunV1alpha1Category(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
832
819
|
}
|
|
833
|
-
updatecontentHaloRunV1alpha1Category(
|
|
834
|
-
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).updatecontentHaloRunV1alpha1Category(name, category, options).then((request) => request(this.axios, this.basePath));
|
|
820
|
+
updatecontentHaloRunV1alpha1Category(requestParameters, options) {
|
|
821
|
+
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).updatecontentHaloRunV1alpha1Category(requestParameters.name, requestParameters.category, options).then((request) => request(this.axios, this.basePath));
|
|
835
822
|
}
|
|
836
823
|
}
|
|
824
|
+
|
|
837
825
|
const ContentHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
838
826
|
return {
|
|
839
827
|
createcontentHaloRunV1alpha1Comment: async (comment, options = {}) => {
|
|
@@ -1003,22 +991,23 @@ const ContentHaloRunV1alpha1CommentApiFactory = function(configuration, basePath
|
|
|
1003
991
|
};
|
|
1004
992
|
};
|
|
1005
993
|
class ContentHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
1006
|
-
createcontentHaloRunV1alpha1Comment(
|
|
1007
|
-
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).createcontentHaloRunV1alpha1Comment(comment, options).then((request) => request(this.axios, this.basePath));
|
|
994
|
+
createcontentHaloRunV1alpha1Comment(requestParameters = {}, options) {
|
|
995
|
+
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).createcontentHaloRunV1alpha1Comment(requestParameters.comment, options).then((request) => request(this.axios, this.basePath));
|
|
1008
996
|
}
|
|
1009
|
-
deletecontentHaloRunV1alpha1Comment(
|
|
1010
|
-
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).deletecontentHaloRunV1alpha1Comment(name, options).then((request) => request(this.axios, this.basePath));
|
|
997
|
+
deletecontentHaloRunV1alpha1Comment(requestParameters, options) {
|
|
998
|
+
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).deletecontentHaloRunV1alpha1Comment(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1011
999
|
}
|
|
1012
|
-
getcontentHaloRunV1alpha1Comment(
|
|
1013
|
-
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).getcontentHaloRunV1alpha1Comment(name, options).then((request) => request(this.axios, this.basePath));
|
|
1000
|
+
getcontentHaloRunV1alpha1Comment(requestParameters, options) {
|
|
1001
|
+
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).getcontentHaloRunV1alpha1Comment(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1014
1002
|
}
|
|
1015
|
-
listcontentHaloRunV1alpha1Comment(
|
|
1016
|
-
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).listcontentHaloRunV1alpha1Comment(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1003
|
+
listcontentHaloRunV1alpha1Comment(requestParameters = {}, options) {
|
|
1004
|
+
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).listcontentHaloRunV1alpha1Comment(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1017
1005
|
}
|
|
1018
|
-
updatecontentHaloRunV1alpha1Comment(
|
|
1019
|
-
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).updatecontentHaloRunV1alpha1Comment(name, comment, options).then((request) => request(this.axios, this.basePath));
|
|
1006
|
+
updatecontentHaloRunV1alpha1Comment(requestParameters, options) {
|
|
1007
|
+
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).updatecontentHaloRunV1alpha1Comment(requestParameters.name, requestParameters.comment, options).then((request) => request(this.axios, this.basePath));
|
|
1020
1008
|
}
|
|
1021
1009
|
}
|
|
1010
|
+
|
|
1022
1011
|
const ContentHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
1023
1012
|
return {
|
|
1024
1013
|
createcontentHaloRunV1alpha1Post: async (post, options = {}) => {
|
|
@@ -1188,22 +1177,23 @@ const ContentHaloRunV1alpha1PostApiFactory = function(configuration, basePath, a
|
|
|
1188
1177
|
};
|
|
1189
1178
|
};
|
|
1190
1179
|
class ContentHaloRunV1alpha1PostApi extends BaseAPI {
|
|
1191
|
-
createcontentHaloRunV1alpha1Post(
|
|
1192
|
-
return ContentHaloRunV1alpha1PostApiFp(this.configuration).createcontentHaloRunV1alpha1Post(post, options).then((request) => request(this.axios, this.basePath));
|
|
1180
|
+
createcontentHaloRunV1alpha1Post(requestParameters = {}, options) {
|
|
1181
|
+
return ContentHaloRunV1alpha1PostApiFp(this.configuration).createcontentHaloRunV1alpha1Post(requestParameters.post, options).then((request) => request(this.axios, this.basePath));
|
|
1193
1182
|
}
|
|
1194
|
-
deletecontentHaloRunV1alpha1Post(
|
|
1195
|
-
return ContentHaloRunV1alpha1PostApiFp(this.configuration).deletecontentHaloRunV1alpha1Post(name, options).then((request) => request(this.axios, this.basePath));
|
|
1183
|
+
deletecontentHaloRunV1alpha1Post(requestParameters, options) {
|
|
1184
|
+
return ContentHaloRunV1alpha1PostApiFp(this.configuration).deletecontentHaloRunV1alpha1Post(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1196
1185
|
}
|
|
1197
|
-
getcontentHaloRunV1alpha1Post(
|
|
1198
|
-
return ContentHaloRunV1alpha1PostApiFp(this.configuration).getcontentHaloRunV1alpha1Post(name, options).then((request) => request(this.axios, this.basePath));
|
|
1186
|
+
getcontentHaloRunV1alpha1Post(requestParameters, options) {
|
|
1187
|
+
return ContentHaloRunV1alpha1PostApiFp(this.configuration).getcontentHaloRunV1alpha1Post(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1199
1188
|
}
|
|
1200
|
-
listcontentHaloRunV1alpha1Post(
|
|
1201
|
-
return ContentHaloRunV1alpha1PostApiFp(this.configuration).listcontentHaloRunV1alpha1Post(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1189
|
+
listcontentHaloRunV1alpha1Post(requestParameters = {}, options) {
|
|
1190
|
+
return ContentHaloRunV1alpha1PostApiFp(this.configuration).listcontentHaloRunV1alpha1Post(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1202
1191
|
}
|
|
1203
|
-
updatecontentHaloRunV1alpha1Post(
|
|
1204
|
-
return ContentHaloRunV1alpha1PostApiFp(this.configuration).updatecontentHaloRunV1alpha1Post(name, post, options).then((request) => request(this.axios, this.basePath));
|
|
1192
|
+
updatecontentHaloRunV1alpha1Post(requestParameters, options) {
|
|
1193
|
+
return ContentHaloRunV1alpha1PostApiFp(this.configuration).updatecontentHaloRunV1alpha1Post(requestParameters.name, requestParameters.post, options).then((request) => request(this.axios, this.basePath));
|
|
1205
1194
|
}
|
|
1206
1195
|
}
|
|
1196
|
+
|
|
1207
1197
|
const ContentHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration) {
|
|
1208
1198
|
return {
|
|
1209
1199
|
createcontentHaloRunV1alpha1Reply: async (reply, options = {}) => {
|
|
@@ -1373,22 +1363,23 @@ const ContentHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath,
|
|
|
1373
1363
|
};
|
|
1374
1364
|
};
|
|
1375
1365
|
class ContentHaloRunV1alpha1ReplyApi extends BaseAPI {
|
|
1376
|
-
createcontentHaloRunV1alpha1Reply(
|
|
1377
|
-
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).createcontentHaloRunV1alpha1Reply(reply, options).then((request) => request(this.axios, this.basePath));
|
|
1366
|
+
createcontentHaloRunV1alpha1Reply(requestParameters = {}, options) {
|
|
1367
|
+
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).createcontentHaloRunV1alpha1Reply(requestParameters.reply, options).then((request) => request(this.axios, this.basePath));
|
|
1378
1368
|
}
|
|
1379
|
-
deletecontentHaloRunV1alpha1Reply(
|
|
1380
|
-
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).deletecontentHaloRunV1alpha1Reply(name, options).then((request) => request(this.axios, this.basePath));
|
|
1369
|
+
deletecontentHaloRunV1alpha1Reply(requestParameters, options) {
|
|
1370
|
+
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).deletecontentHaloRunV1alpha1Reply(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1381
1371
|
}
|
|
1382
|
-
getcontentHaloRunV1alpha1Reply(
|
|
1383
|
-
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).getcontentHaloRunV1alpha1Reply(name, options).then((request) => request(this.axios, this.basePath));
|
|
1372
|
+
getcontentHaloRunV1alpha1Reply(requestParameters, options) {
|
|
1373
|
+
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).getcontentHaloRunV1alpha1Reply(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1384
1374
|
}
|
|
1385
|
-
listcontentHaloRunV1alpha1Reply(
|
|
1386
|
-
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).listcontentHaloRunV1alpha1Reply(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1375
|
+
listcontentHaloRunV1alpha1Reply(requestParameters = {}, options) {
|
|
1376
|
+
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).listcontentHaloRunV1alpha1Reply(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1387
1377
|
}
|
|
1388
|
-
updatecontentHaloRunV1alpha1Reply(
|
|
1389
|
-
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).updatecontentHaloRunV1alpha1Reply(name, reply, options).then((request) => request(this.axios, this.basePath));
|
|
1378
|
+
updatecontentHaloRunV1alpha1Reply(requestParameters, options) {
|
|
1379
|
+
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).updatecontentHaloRunV1alpha1Reply(requestParameters.name, requestParameters.reply, options).then((request) => request(this.axios, this.basePath));
|
|
1390
1380
|
}
|
|
1391
1381
|
}
|
|
1382
|
+
|
|
1392
1383
|
const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuration) {
|
|
1393
1384
|
return {
|
|
1394
1385
|
createcontentHaloRunV1alpha1Snapshot: async (snapshot, options = {}) => {
|
|
@@ -1558,22 +1549,23 @@ const ContentHaloRunV1alpha1SnapshotApiFactory = function(configuration, basePat
|
|
|
1558
1549
|
};
|
|
1559
1550
|
};
|
|
1560
1551
|
class ContentHaloRunV1alpha1SnapshotApi extends BaseAPI {
|
|
1561
|
-
createcontentHaloRunV1alpha1Snapshot(
|
|
1562
|
-
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).createcontentHaloRunV1alpha1Snapshot(snapshot, options).then((request) => request(this.axios, this.basePath));
|
|
1552
|
+
createcontentHaloRunV1alpha1Snapshot(requestParameters = {}, options) {
|
|
1553
|
+
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).createcontentHaloRunV1alpha1Snapshot(requestParameters.snapshot, options).then((request) => request(this.axios, this.basePath));
|
|
1563
1554
|
}
|
|
1564
|
-
deletecontentHaloRunV1alpha1Snapshot(
|
|
1565
|
-
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).deletecontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(this.axios, this.basePath));
|
|
1555
|
+
deletecontentHaloRunV1alpha1Snapshot(requestParameters, options) {
|
|
1556
|
+
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).deletecontentHaloRunV1alpha1Snapshot(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1566
1557
|
}
|
|
1567
|
-
getcontentHaloRunV1alpha1Snapshot(
|
|
1568
|
-
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).getcontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(this.axios, this.basePath));
|
|
1558
|
+
getcontentHaloRunV1alpha1Snapshot(requestParameters, options) {
|
|
1559
|
+
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).getcontentHaloRunV1alpha1Snapshot(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1569
1560
|
}
|
|
1570
|
-
listcontentHaloRunV1alpha1Snapshot(
|
|
1571
|
-
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1561
|
+
listcontentHaloRunV1alpha1Snapshot(requestParameters = {}, options) {
|
|
1562
|
+
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).listcontentHaloRunV1alpha1Snapshot(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1572
1563
|
}
|
|
1573
|
-
updatecontentHaloRunV1alpha1Snapshot(
|
|
1574
|
-
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options).then((request) => request(this.axios, this.basePath));
|
|
1564
|
+
updatecontentHaloRunV1alpha1Snapshot(requestParameters, options) {
|
|
1565
|
+
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).updatecontentHaloRunV1alpha1Snapshot(requestParameters.name, requestParameters.snapshot, options).then((request) => request(this.axios, this.basePath));
|
|
1575
1566
|
}
|
|
1576
1567
|
}
|
|
1568
|
+
|
|
1577
1569
|
const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
|
|
1578
1570
|
return {
|
|
1579
1571
|
createcontentHaloRunV1alpha1Tag: async (tag, options = {}) => {
|
|
@@ -1743,22 +1735,23 @@ const ContentHaloRunV1alpha1TagApiFactory = function(configuration, basePath, ax
|
|
|
1743
1735
|
};
|
|
1744
1736
|
};
|
|
1745
1737
|
class ContentHaloRunV1alpha1TagApi extends BaseAPI {
|
|
1746
|
-
createcontentHaloRunV1alpha1Tag(
|
|
1747
|
-
return ContentHaloRunV1alpha1TagApiFp(this.configuration).createcontentHaloRunV1alpha1Tag(tag, options).then((request) => request(this.axios, this.basePath));
|
|
1738
|
+
createcontentHaloRunV1alpha1Tag(requestParameters = {}, options) {
|
|
1739
|
+
return ContentHaloRunV1alpha1TagApiFp(this.configuration).createcontentHaloRunV1alpha1Tag(requestParameters.tag, options).then((request) => request(this.axios, this.basePath));
|
|
1748
1740
|
}
|
|
1749
|
-
deletecontentHaloRunV1alpha1Tag(
|
|
1750
|
-
return ContentHaloRunV1alpha1TagApiFp(this.configuration).deletecontentHaloRunV1alpha1Tag(name, options).then((request) => request(this.axios, this.basePath));
|
|
1741
|
+
deletecontentHaloRunV1alpha1Tag(requestParameters, options) {
|
|
1742
|
+
return ContentHaloRunV1alpha1TagApiFp(this.configuration).deletecontentHaloRunV1alpha1Tag(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1751
1743
|
}
|
|
1752
|
-
getcontentHaloRunV1alpha1Tag(
|
|
1753
|
-
return ContentHaloRunV1alpha1TagApiFp(this.configuration).getcontentHaloRunV1alpha1Tag(name, options).then((request) => request(this.axios, this.basePath));
|
|
1744
|
+
getcontentHaloRunV1alpha1Tag(requestParameters, options) {
|
|
1745
|
+
return ContentHaloRunV1alpha1TagApiFp(this.configuration).getcontentHaloRunV1alpha1Tag(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1754
1746
|
}
|
|
1755
|
-
listcontentHaloRunV1alpha1Tag(
|
|
1756
|
-
return ContentHaloRunV1alpha1TagApiFp(this.configuration).listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1747
|
+
listcontentHaloRunV1alpha1Tag(requestParameters = {}, options) {
|
|
1748
|
+
return ContentHaloRunV1alpha1TagApiFp(this.configuration).listcontentHaloRunV1alpha1Tag(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1757
1749
|
}
|
|
1758
|
-
updatecontentHaloRunV1alpha1Tag(
|
|
1759
|
-
return ContentHaloRunV1alpha1TagApiFp(this.configuration).updatecontentHaloRunV1alpha1Tag(name, tag, options).then((request) => request(this.axios, this.basePath));
|
|
1750
|
+
updatecontentHaloRunV1alpha1Tag(requestParameters, options) {
|
|
1751
|
+
return ContentHaloRunV1alpha1TagApiFp(this.configuration).updatecontentHaloRunV1alpha1Tag(requestParameters.name, requestParameters.tag, options).then((request) => request(this.axios, this.basePath));
|
|
1760
1752
|
}
|
|
1761
1753
|
}
|
|
1754
|
+
|
|
1762
1755
|
const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
1763
1756
|
return {
|
|
1764
1757
|
createpluginHaloRunV1alpha1Plugin: async (plugin, options = {}) => {
|
|
@@ -1928,22 +1921,23 @@ const PluginHaloRunV1alpha1PluginApiFactory = function(configuration, basePath,
|
|
|
1928
1921
|
};
|
|
1929
1922
|
};
|
|
1930
1923
|
class PluginHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
1931
|
-
createpluginHaloRunV1alpha1Plugin(
|
|
1932
|
-
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).createpluginHaloRunV1alpha1Plugin(plugin, options).then((request) => request(this.axios, this.basePath));
|
|
1924
|
+
createpluginHaloRunV1alpha1Plugin(requestParameters = {}, options) {
|
|
1925
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).createpluginHaloRunV1alpha1Plugin(requestParameters.plugin, options).then((request) => request(this.axios, this.basePath));
|
|
1933
1926
|
}
|
|
1934
|
-
deletepluginHaloRunV1alpha1Plugin(
|
|
1935
|
-
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).deletepluginHaloRunV1alpha1Plugin(name, options).then((request) => request(this.axios, this.basePath));
|
|
1927
|
+
deletepluginHaloRunV1alpha1Plugin(requestParameters, options) {
|
|
1928
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).deletepluginHaloRunV1alpha1Plugin(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1936
1929
|
}
|
|
1937
|
-
getpluginHaloRunV1alpha1Plugin(
|
|
1938
|
-
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).getpluginHaloRunV1alpha1Plugin(name, options).then((request) => request(this.axios, this.basePath));
|
|
1930
|
+
getpluginHaloRunV1alpha1Plugin(requestParameters, options) {
|
|
1931
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).getpluginHaloRunV1alpha1Plugin(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1939
1932
|
}
|
|
1940
|
-
listpluginHaloRunV1alpha1Plugin(
|
|
1941
|
-
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1933
|
+
listpluginHaloRunV1alpha1Plugin(requestParameters = {}, options) {
|
|
1934
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).listpluginHaloRunV1alpha1Plugin(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1942
1935
|
}
|
|
1943
|
-
updatepluginHaloRunV1alpha1Plugin(
|
|
1944
|
-
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).updatepluginHaloRunV1alpha1Plugin(name, plugin, options).then((request) => request(this.axios, this.basePath));
|
|
1936
|
+
updatepluginHaloRunV1alpha1Plugin(requestParameters, options) {
|
|
1937
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).updatepluginHaloRunV1alpha1Plugin(requestParameters.name, requestParameters.plugin, options).then((request) => request(this.axios, this.basePath));
|
|
1945
1938
|
}
|
|
1946
1939
|
}
|
|
1940
|
+
|
|
1947
1941
|
const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configuration) {
|
|
1948
1942
|
return {
|
|
1949
1943
|
createpluginHaloRunV1alpha1ReverseProxy: async (reverseProxy, options = {}) => {
|
|
@@ -2113,26 +2107,27 @@ const PluginHaloRunV1alpha1ReverseProxyApiFactory = function(configuration, base
|
|
|
2113
2107
|
};
|
|
2114
2108
|
};
|
|
2115
2109
|
class PluginHaloRunV1alpha1ReverseProxyApi extends BaseAPI {
|
|
2116
|
-
createpluginHaloRunV1alpha1ReverseProxy(
|
|
2117
|
-
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options).then((request) => request(this.axios, this.basePath));
|
|
2110
|
+
createpluginHaloRunV1alpha1ReverseProxy(requestParameters = {}, options) {
|
|
2111
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).createpluginHaloRunV1alpha1ReverseProxy(requestParameters.reverseProxy, options).then((request) => request(this.axios, this.basePath));
|
|
2118
2112
|
}
|
|
2119
|
-
deletepluginHaloRunV1alpha1ReverseProxy(
|
|
2120
|
-
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).deletepluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(this.axios, this.basePath));
|
|
2113
|
+
deletepluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
|
|
2114
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).deletepluginHaloRunV1alpha1ReverseProxy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2121
2115
|
}
|
|
2122
|
-
getpluginHaloRunV1alpha1ReverseProxy(
|
|
2123
|
-
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).getpluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(this.axios, this.basePath));
|
|
2116
|
+
getpluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
|
|
2117
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).getpluginHaloRunV1alpha1ReverseProxy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2124
2118
|
}
|
|
2125
|
-
listpluginHaloRunV1alpha1ReverseProxy(
|
|
2126
|
-
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2119
|
+
listpluginHaloRunV1alpha1ReverseProxy(requestParameters = {}, options) {
|
|
2120
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).listpluginHaloRunV1alpha1ReverseProxy(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2127
2121
|
}
|
|
2128
|
-
updatepluginHaloRunV1alpha1ReverseProxy(
|
|
2129
|
-
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options).then((request) => request(this.axios, this.basePath));
|
|
2122
|
+
updatepluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
|
|
2123
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).updatepluginHaloRunV1alpha1ReverseProxy(requestParameters.name, requestParameters.reverseProxy, options).then((request) => request(this.axios, this.basePath));
|
|
2130
2124
|
}
|
|
2131
2125
|
}
|
|
2132
|
-
|
|
2126
|
+
|
|
2127
|
+
const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configuration) {
|
|
2133
2128
|
return {
|
|
2134
|
-
|
|
2135
|
-
const localVarPath = `/apis/
|
|
2129
|
+
createstorageHaloRunV1alpha1Attachment: async (attachment, options = {}) => {
|
|
2130
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments`;
|
|
2136
2131
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2137
2132
|
let baseOptions;
|
|
2138
2133
|
if (configuration) {
|
|
@@ -2147,15 +2142,15 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
2147
2142
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2148
2143
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2149
2144
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2150
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2145
|
+
localVarRequestOptions.data = serializeDataIfNeeded(attachment, localVarRequestOptions, configuration);
|
|
2151
2146
|
return {
|
|
2152
2147
|
url: toPathString(localVarUrlObj),
|
|
2153
2148
|
options: localVarRequestOptions
|
|
2154
2149
|
};
|
|
2155
2150
|
},
|
|
2156
|
-
|
|
2157
|
-
assertParamExists("
|
|
2158
|
-
const localVarPath = `/apis/
|
|
2151
|
+
deletestorageHaloRunV1alpha1Attachment: async (name, options = {}) => {
|
|
2152
|
+
assertParamExists("deletestorageHaloRunV1alpha1Attachment", "name", name);
|
|
2153
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2159
2154
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2160
2155
|
let baseOptions;
|
|
2161
2156
|
if (configuration) {
|
|
@@ -2174,9 +2169,9 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
2174
2169
|
options: localVarRequestOptions
|
|
2175
2170
|
};
|
|
2176
2171
|
},
|
|
2177
|
-
|
|
2178
|
-
assertParamExists("
|
|
2179
|
-
const localVarPath = `/apis/
|
|
2172
|
+
getstorageHaloRunV1alpha1Attachment: async (name, options = {}) => {
|
|
2173
|
+
assertParamExists("getstorageHaloRunV1alpha1Attachment", "name", name);
|
|
2174
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2180
2175
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2181
2176
|
let baseOptions;
|
|
2182
2177
|
if (configuration) {
|
|
@@ -2195,8 +2190,8 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
2195
2190
|
options: localVarRequestOptions
|
|
2196
2191
|
};
|
|
2197
2192
|
},
|
|
2198
|
-
|
|
2199
|
-
const localVarPath = `/apis/
|
|
2193
|
+
liststorageHaloRunV1alpha1Attachment: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2194
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments`;
|
|
2200
2195
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2201
2196
|
let baseOptions;
|
|
2202
2197
|
if (configuration) {
|
|
@@ -2227,9 +2222,53 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
2227
2222
|
options: localVarRequestOptions
|
|
2228
2223
|
};
|
|
2229
2224
|
},
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
const
|
|
2225
|
+
searchAttachments: async (policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
2226
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/attachments`;
|
|
2227
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2228
|
+
let baseOptions;
|
|
2229
|
+
if (configuration) {
|
|
2230
|
+
baseOptions = configuration.baseOptions;
|
|
2231
|
+
}
|
|
2232
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2233
|
+
const localVarHeaderParameter = {};
|
|
2234
|
+
const localVarQueryParameter = {};
|
|
2235
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2236
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2237
|
+
if (policy !== void 0) {
|
|
2238
|
+
localVarQueryParameter["policy"] = policy;
|
|
2239
|
+
}
|
|
2240
|
+
if (displayName !== void 0) {
|
|
2241
|
+
localVarQueryParameter["displayName"] = displayName;
|
|
2242
|
+
}
|
|
2243
|
+
if (group !== void 0) {
|
|
2244
|
+
localVarQueryParameter["group"] = group;
|
|
2245
|
+
}
|
|
2246
|
+
if (uploadedBy !== void 0) {
|
|
2247
|
+
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
2248
|
+
}
|
|
2249
|
+
if (size !== void 0) {
|
|
2250
|
+
localVarQueryParameter["size"] = size;
|
|
2251
|
+
}
|
|
2252
|
+
if (page !== void 0) {
|
|
2253
|
+
localVarQueryParameter["page"] = page;
|
|
2254
|
+
}
|
|
2255
|
+
if (labelSelector) {
|
|
2256
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2257
|
+
}
|
|
2258
|
+
if (fieldSelector) {
|
|
2259
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2260
|
+
}
|
|
2261
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2262
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2263
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2264
|
+
return {
|
|
2265
|
+
url: toPathString(localVarUrlObj),
|
|
2266
|
+
options: localVarRequestOptions
|
|
2267
|
+
};
|
|
2268
|
+
},
|
|
2269
|
+
updatestorageHaloRunV1alpha1Attachment: async (name, attachment, options = {}) => {
|
|
2270
|
+
assertParamExists("updatestorageHaloRunV1alpha1Attachment", "name", name);
|
|
2271
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2233
2272
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2234
2273
|
let baseOptions;
|
|
2235
2274
|
if (configuration) {
|
|
@@ -2244,7 +2283,41 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
2244
2283
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2245
2284
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2246
2285
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2247
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2286
|
+
localVarRequestOptions.data = serializeDataIfNeeded(attachment, localVarRequestOptions, configuration);
|
|
2287
|
+
return {
|
|
2288
|
+
url: toPathString(localVarUrlObj),
|
|
2289
|
+
options: localVarRequestOptions
|
|
2290
|
+
};
|
|
2291
|
+
},
|
|
2292
|
+
uploadAttachment: async (file, policyName, groupName, options = {}) => {
|
|
2293
|
+
assertParamExists("uploadAttachment", "file", file);
|
|
2294
|
+
assertParamExists("uploadAttachment", "policyName", policyName);
|
|
2295
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/attachments/upload`;
|
|
2296
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2297
|
+
let baseOptions;
|
|
2298
|
+
if (configuration) {
|
|
2299
|
+
baseOptions = configuration.baseOptions;
|
|
2300
|
+
}
|
|
2301
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2302
|
+
const localVarHeaderParameter = {};
|
|
2303
|
+
const localVarQueryParameter = {};
|
|
2304
|
+
const localVarFormParams = new (configuration && configuration.formDataCtor || FormData)();
|
|
2305
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2306
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2307
|
+
if (file !== void 0) {
|
|
2308
|
+
localVarFormParams.append("file", file);
|
|
2309
|
+
}
|
|
2310
|
+
if (policyName !== void 0) {
|
|
2311
|
+
localVarFormParams.append("policyName", policyName);
|
|
2312
|
+
}
|
|
2313
|
+
if (groupName !== void 0) {
|
|
2314
|
+
localVarFormParams.append("groupName", groupName);
|
|
2315
|
+
}
|
|
2316
|
+
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
2317
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2318
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2319
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2320
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
2248
2321
|
return {
|
|
2249
2322
|
url: toPathString(localVarUrlObj),
|
|
2250
2323
|
options: localVarRequestOptions
|
|
@@ -2252,72 +2325,93 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
2252
2325
|
}
|
|
2253
2326
|
};
|
|
2254
2327
|
};
|
|
2255
|
-
const
|
|
2256
|
-
const localVarAxiosParamCreator =
|
|
2328
|
+
const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
2329
|
+
const localVarAxiosParamCreator = StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
2257
2330
|
return {
|
|
2258
|
-
async
|
|
2259
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2331
|
+
async createstorageHaloRunV1alpha1Attachment(attachment, options) {
|
|
2332
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Attachment(attachment, options);
|
|
2260
2333
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2261
2334
|
},
|
|
2262
|
-
async
|
|
2263
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2335
|
+
async deletestorageHaloRunV1alpha1Attachment(name, options) {
|
|
2336
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1Attachment(name, options);
|
|
2264
2337
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2265
2338
|
},
|
|
2266
|
-
async
|
|
2267
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2339
|
+
async getstorageHaloRunV1alpha1Attachment(name, options) {
|
|
2340
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1Attachment(name, options);
|
|
2268
2341
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2269
2342
|
},
|
|
2270
|
-
async
|
|
2271
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2343
|
+
async liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
|
|
2344
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options);
|
|
2272
2345
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2273
2346
|
},
|
|
2274
|
-
async
|
|
2275
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2347
|
+
async searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
|
|
2348
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options);
|
|
2349
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2350
|
+
},
|
|
2351
|
+
async updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
2352
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Attachment(name, attachment, options);
|
|
2353
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2354
|
+
},
|
|
2355
|
+
async uploadAttachment(file, policyName, groupName, options) {
|
|
2356
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadAttachment(file, policyName, groupName, options);
|
|
2276
2357
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2277
2358
|
}
|
|
2278
2359
|
};
|
|
2279
2360
|
};
|
|
2280
|
-
const
|
|
2281
|
-
const localVarFp =
|
|
2361
|
+
const StorageHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
2362
|
+
const localVarFp = StorageHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
2282
2363
|
return {
|
|
2283
|
-
|
|
2284
|
-
return localVarFp.
|
|
2364
|
+
createstorageHaloRunV1alpha1Attachment(attachment, options) {
|
|
2365
|
+
return localVarFp.createstorageHaloRunV1alpha1Attachment(attachment, options).then((request) => request(axios, basePath));
|
|
2285
2366
|
},
|
|
2286
|
-
|
|
2287
|
-
return localVarFp.
|
|
2367
|
+
deletestorageHaloRunV1alpha1Attachment(name, options) {
|
|
2368
|
+
return localVarFp.deletestorageHaloRunV1alpha1Attachment(name, options).then((request) => request(axios, basePath));
|
|
2288
2369
|
},
|
|
2289
|
-
|
|
2290
|
-
return localVarFp.
|
|
2370
|
+
getstorageHaloRunV1alpha1Attachment(name, options) {
|
|
2371
|
+
return localVarFp.getstorageHaloRunV1alpha1Attachment(name, options).then((request) => request(axios, basePath));
|
|
2291
2372
|
},
|
|
2292
|
-
|
|
2293
|
-
return localVarFp.
|
|
2373
|
+
liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
|
|
2374
|
+
return localVarFp.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2294
2375
|
},
|
|
2295
|
-
|
|
2296
|
-
return localVarFp.
|
|
2376
|
+
searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
|
|
2377
|
+
return localVarFp.searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2378
|
+
},
|
|
2379
|
+
updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
2380
|
+
return localVarFp.updatestorageHaloRunV1alpha1Attachment(name, attachment, options).then((request) => request(axios, basePath));
|
|
2381
|
+
},
|
|
2382
|
+
uploadAttachment(file, policyName, groupName, options) {
|
|
2383
|
+
return localVarFp.uploadAttachment(file, policyName, groupName, options).then((request) => request(axios, basePath));
|
|
2297
2384
|
}
|
|
2298
2385
|
};
|
|
2299
2386
|
};
|
|
2300
|
-
class
|
|
2301
|
-
|
|
2302
|
-
return
|
|
2387
|
+
class StorageHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
2388
|
+
createstorageHaloRunV1alpha1Attachment(requestParameters = {}, options) {
|
|
2389
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).createstorageHaloRunV1alpha1Attachment(requestParameters.attachment, options).then((request) => request(this.axios, this.basePath));
|
|
2390
|
+
}
|
|
2391
|
+
deletestorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
2392
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).deletestorageHaloRunV1alpha1Attachment(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2393
|
+
}
|
|
2394
|
+
getstorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
2395
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).getstorageHaloRunV1alpha1Attachment(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2303
2396
|
}
|
|
2304
|
-
|
|
2305
|
-
return
|
|
2397
|
+
liststorageHaloRunV1alpha1Attachment(requestParameters = {}, options) {
|
|
2398
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2306
2399
|
}
|
|
2307
|
-
|
|
2308
|
-
return
|
|
2400
|
+
searchAttachments(requestParameters = {}, options) {
|
|
2401
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.displayName, requestParameters.group, requestParameters.uploadedBy, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2309
2402
|
}
|
|
2310
|
-
|
|
2311
|
-
return
|
|
2403
|
+
updatestorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
2404
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).updatestorageHaloRunV1alpha1Attachment(requestParameters.name, requestParameters.attachment, options).then((request) => request(this.axios, this.basePath));
|
|
2312
2405
|
}
|
|
2313
|
-
|
|
2314
|
-
return
|
|
2406
|
+
uploadAttachment(requestParameters, options) {
|
|
2407
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
2315
2408
|
}
|
|
2316
2409
|
}
|
|
2317
|
-
|
|
2410
|
+
|
|
2411
|
+
const StorageHaloRunV1alpha1GroupApiAxiosParamCreator = function(configuration) {
|
|
2318
2412
|
return {
|
|
2319
|
-
|
|
2320
|
-
const localVarPath = `/
|
|
2413
|
+
createstorageHaloRunV1alpha1Group: async (group, options = {}) => {
|
|
2414
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups`;
|
|
2321
2415
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2322
2416
|
let baseOptions;
|
|
2323
2417
|
if (configuration) {
|
|
@@ -2332,15 +2426,15 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
2332
2426
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2333
2427
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2334
2428
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2335
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2429
|
+
localVarRequestOptions.data = serializeDataIfNeeded(group, localVarRequestOptions, configuration);
|
|
2336
2430
|
return {
|
|
2337
2431
|
url: toPathString(localVarUrlObj),
|
|
2338
2432
|
options: localVarRequestOptions
|
|
2339
2433
|
};
|
|
2340
2434
|
},
|
|
2341
|
-
|
|
2342
|
-
assertParamExists("
|
|
2343
|
-
const localVarPath = `/
|
|
2435
|
+
deletestorageHaloRunV1alpha1Group: async (name, options = {}) => {
|
|
2436
|
+
assertParamExists("deletestorageHaloRunV1alpha1Group", "name", name);
|
|
2437
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2344
2438
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2345
2439
|
let baseOptions;
|
|
2346
2440
|
if (configuration) {
|
|
@@ -2359,9 +2453,9 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
2359
2453
|
options: localVarRequestOptions
|
|
2360
2454
|
};
|
|
2361
2455
|
},
|
|
2362
|
-
|
|
2363
|
-
assertParamExists("
|
|
2364
|
-
const localVarPath = `/
|
|
2456
|
+
getstorageHaloRunV1alpha1Group: async (name, options = {}) => {
|
|
2457
|
+
assertParamExists("getstorageHaloRunV1alpha1Group", "name", name);
|
|
2458
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2365
2459
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2366
2460
|
let baseOptions;
|
|
2367
2461
|
if (configuration) {
|
|
@@ -2380,8 +2474,8 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
2380
2474
|
options: localVarRequestOptions
|
|
2381
2475
|
};
|
|
2382
2476
|
},
|
|
2383
|
-
|
|
2384
|
-
const localVarPath = `/
|
|
2477
|
+
liststorageHaloRunV1alpha1Group: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2478
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups`;
|
|
2385
2479
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2386
2480
|
let baseOptions;
|
|
2387
2481
|
if (configuration) {
|
|
@@ -2412,9 +2506,9 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
2412
2506
|
options: localVarRequestOptions
|
|
2413
2507
|
};
|
|
2414
2508
|
},
|
|
2415
|
-
|
|
2416
|
-
assertParamExists("
|
|
2417
|
-
const localVarPath = `/
|
|
2509
|
+
updatestorageHaloRunV1alpha1Group: async (name, group, options = {}) => {
|
|
2510
|
+
assertParamExists("updatestorageHaloRunV1alpha1Group", "name", name);
|
|
2511
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2418
2512
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2419
2513
|
let baseOptions;
|
|
2420
2514
|
if (configuration) {
|
|
@@ -2429,7 +2523,7 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
2429
2523
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2430
2524
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2431
2525
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2432
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2526
|
+
localVarRequestOptions.data = serializeDataIfNeeded(group, localVarRequestOptions, configuration);
|
|
2433
2527
|
return {
|
|
2434
2528
|
url: toPathString(localVarUrlObj),
|
|
2435
2529
|
options: localVarRequestOptions
|
|
@@ -2437,72 +2531,73 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
2437
2531
|
}
|
|
2438
2532
|
};
|
|
2439
2533
|
};
|
|
2440
|
-
const
|
|
2441
|
-
const localVarAxiosParamCreator =
|
|
2534
|
+
const StorageHaloRunV1alpha1GroupApiFp = function(configuration) {
|
|
2535
|
+
const localVarAxiosParamCreator = StorageHaloRunV1alpha1GroupApiAxiosParamCreator(configuration);
|
|
2442
2536
|
return {
|
|
2443
|
-
async
|
|
2444
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2537
|
+
async createstorageHaloRunV1alpha1Group(group, options) {
|
|
2538
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Group(group, options);
|
|
2445
2539
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2446
2540
|
},
|
|
2447
|
-
async
|
|
2448
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2541
|
+
async deletestorageHaloRunV1alpha1Group(name, options) {
|
|
2542
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1Group(name, options);
|
|
2449
2543
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2450
2544
|
},
|
|
2451
|
-
async
|
|
2452
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2545
|
+
async getstorageHaloRunV1alpha1Group(name, options) {
|
|
2546
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1Group(name, options);
|
|
2453
2547
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2454
2548
|
},
|
|
2455
|
-
async
|
|
2456
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2549
|
+
async liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options) {
|
|
2550
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options);
|
|
2457
2551
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2458
2552
|
},
|
|
2459
|
-
async
|
|
2460
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2553
|
+
async updatestorageHaloRunV1alpha1Group(name, group, options) {
|
|
2554
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Group(name, group, options);
|
|
2461
2555
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2462
2556
|
}
|
|
2463
2557
|
};
|
|
2464
2558
|
};
|
|
2465
|
-
const
|
|
2466
|
-
const localVarFp =
|
|
2559
|
+
const StorageHaloRunV1alpha1GroupApiFactory = function(configuration, basePath, axios) {
|
|
2560
|
+
const localVarFp = StorageHaloRunV1alpha1GroupApiFp(configuration);
|
|
2467
2561
|
return {
|
|
2468
|
-
|
|
2469
|
-
return localVarFp.
|
|
2562
|
+
createstorageHaloRunV1alpha1Group(group, options) {
|
|
2563
|
+
return localVarFp.createstorageHaloRunV1alpha1Group(group, options).then((request) => request(axios, basePath));
|
|
2470
2564
|
},
|
|
2471
|
-
|
|
2472
|
-
return localVarFp.
|
|
2565
|
+
deletestorageHaloRunV1alpha1Group(name, options) {
|
|
2566
|
+
return localVarFp.deletestorageHaloRunV1alpha1Group(name, options).then((request) => request(axios, basePath));
|
|
2473
2567
|
},
|
|
2474
|
-
|
|
2475
|
-
return localVarFp.
|
|
2568
|
+
getstorageHaloRunV1alpha1Group(name, options) {
|
|
2569
|
+
return localVarFp.getstorageHaloRunV1alpha1Group(name, options).then((request) => request(axios, basePath));
|
|
2476
2570
|
},
|
|
2477
|
-
|
|
2478
|
-
return localVarFp.
|
|
2571
|
+
liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options) {
|
|
2572
|
+
return localVarFp.liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2479
2573
|
},
|
|
2480
|
-
|
|
2481
|
-
return localVarFp.
|
|
2574
|
+
updatestorageHaloRunV1alpha1Group(name, group, options) {
|
|
2575
|
+
return localVarFp.updatestorageHaloRunV1alpha1Group(name, group, options).then((request) => request(axios, basePath));
|
|
2482
2576
|
}
|
|
2483
2577
|
};
|
|
2484
2578
|
};
|
|
2485
|
-
class
|
|
2486
|
-
|
|
2487
|
-
return
|
|
2579
|
+
class StorageHaloRunV1alpha1GroupApi extends BaseAPI {
|
|
2580
|
+
createstorageHaloRunV1alpha1Group(requestParameters = {}, options) {
|
|
2581
|
+
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).createstorageHaloRunV1alpha1Group(requestParameters.group, options).then((request) => request(this.axios, this.basePath));
|
|
2488
2582
|
}
|
|
2489
|
-
|
|
2490
|
-
return
|
|
2583
|
+
deletestorageHaloRunV1alpha1Group(requestParameters, options) {
|
|
2584
|
+
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).deletestorageHaloRunV1alpha1Group(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2491
2585
|
}
|
|
2492
|
-
|
|
2493
|
-
return
|
|
2586
|
+
getstorageHaloRunV1alpha1Group(requestParameters, options) {
|
|
2587
|
+
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).getstorageHaloRunV1alpha1Group(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2494
2588
|
}
|
|
2495
|
-
|
|
2496
|
-
return
|
|
2589
|
+
liststorageHaloRunV1alpha1Group(requestParameters = {}, options) {
|
|
2590
|
+
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).liststorageHaloRunV1alpha1Group(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2497
2591
|
}
|
|
2498
|
-
|
|
2499
|
-
return
|
|
2592
|
+
updatestorageHaloRunV1alpha1Group(requestParameters, options) {
|
|
2593
|
+
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).updatestorageHaloRunV1alpha1Group(requestParameters.name, requestParameters.group, options).then((request) => request(this.axios, this.basePath));
|
|
2500
2594
|
}
|
|
2501
2595
|
}
|
|
2502
|
-
|
|
2596
|
+
|
|
2597
|
+
const StorageHaloRunV1alpha1PolicyApiAxiosParamCreator = function(configuration) {
|
|
2503
2598
|
return {
|
|
2504
|
-
|
|
2505
|
-
const localVarPath = `/
|
|
2599
|
+
createstorageHaloRunV1alpha1Policy: async (policy, options = {}) => {
|
|
2600
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies`;
|
|
2506
2601
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2507
2602
|
let baseOptions;
|
|
2508
2603
|
if (configuration) {
|
|
@@ -2517,15 +2612,15 @@ const V1alpha1MenuApiAxiosParamCreator = function(configuration) {
|
|
|
2517
2612
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2518
2613
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2519
2614
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2520
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2615
|
+
localVarRequestOptions.data = serializeDataIfNeeded(policy, localVarRequestOptions, configuration);
|
|
2521
2616
|
return {
|
|
2522
2617
|
url: toPathString(localVarUrlObj),
|
|
2523
2618
|
options: localVarRequestOptions
|
|
2524
2619
|
};
|
|
2525
2620
|
},
|
|
2526
|
-
|
|
2527
|
-
assertParamExists("
|
|
2528
|
-
const localVarPath = `/
|
|
2621
|
+
deletestorageHaloRunV1alpha1Policy: async (name, options = {}) => {
|
|
2622
|
+
assertParamExists("deletestorageHaloRunV1alpha1Policy", "name", name);
|
|
2623
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2529
2624
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2530
2625
|
let baseOptions;
|
|
2531
2626
|
if (configuration) {
|
|
@@ -2544,9 +2639,9 @@ const V1alpha1MenuApiAxiosParamCreator = function(configuration) {
|
|
|
2544
2639
|
options: localVarRequestOptions
|
|
2545
2640
|
};
|
|
2546
2641
|
},
|
|
2547
|
-
|
|
2548
|
-
assertParamExists("
|
|
2549
|
-
const localVarPath = `/
|
|
2642
|
+
getstorageHaloRunV1alpha1Policy: async (name, options = {}) => {
|
|
2643
|
+
assertParamExists("getstorageHaloRunV1alpha1Policy", "name", name);
|
|
2644
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2550
2645
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2551
2646
|
let baseOptions;
|
|
2552
2647
|
if (configuration) {
|
|
@@ -2565,8 +2660,8 @@ const V1alpha1MenuApiAxiosParamCreator = function(configuration) {
|
|
|
2565
2660
|
options: localVarRequestOptions
|
|
2566
2661
|
};
|
|
2567
2662
|
},
|
|
2568
|
-
|
|
2569
|
-
const localVarPath = `/
|
|
2663
|
+
liststorageHaloRunV1alpha1Policy: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2664
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies`;
|
|
2570
2665
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2571
2666
|
let baseOptions;
|
|
2572
2667
|
if (configuration) {
|
|
@@ -2597,9 +2692,9 @@ const V1alpha1MenuApiAxiosParamCreator = function(configuration) {
|
|
|
2597
2692
|
options: localVarRequestOptions
|
|
2598
2693
|
};
|
|
2599
2694
|
},
|
|
2600
|
-
|
|
2601
|
-
assertParamExists("
|
|
2602
|
-
const localVarPath = `/
|
|
2695
|
+
updatestorageHaloRunV1alpha1Policy: async (name, policy, options = {}) => {
|
|
2696
|
+
assertParamExists("updatestorageHaloRunV1alpha1Policy", "name", name);
|
|
2697
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2603
2698
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2604
2699
|
let baseOptions;
|
|
2605
2700
|
if (configuration) {
|
|
@@ -2614,7 +2709,7 @@ const V1alpha1MenuApiAxiosParamCreator = function(configuration) {
|
|
|
2614
2709
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2615
2710
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2616
2711
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2617
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2712
|
+
localVarRequestOptions.data = serializeDataIfNeeded(policy, localVarRequestOptions, configuration);
|
|
2618
2713
|
return {
|
|
2619
2714
|
url: toPathString(localVarUrlObj),
|
|
2620
2715
|
options: localVarRequestOptions
|
|
@@ -2622,72 +2717,73 @@ const V1alpha1MenuApiAxiosParamCreator = function(configuration) {
|
|
|
2622
2717
|
}
|
|
2623
2718
|
};
|
|
2624
2719
|
};
|
|
2625
|
-
const
|
|
2626
|
-
const localVarAxiosParamCreator =
|
|
2720
|
+
const StorageHaloRunV1alpha1PolicyApiFp = function(configuration) {
|
|
2721
|
+
const localVarAxiosParamCreator = StorageHaloRunV1alpha1PolicyApiAxiosParamCreator(configuration);
|
|
2627
2722
|
return {
|
|
2628
|
-
async
|
|
2629
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2723
|
+
async createstorageHaloRunV1alpha1Policy(policy, options) {
|
|
2724
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Policy(policy, options);
|
|
2630
2725
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2631
2726
|
},
|
|
2632
|
-
async
|
|
2633
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2727
|
+
async deletestorageHaloRunV1alpha1Policy(name, options) {
|
|
2728
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1Policy(name, options);
|
|
2634
2729
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2635
2730
|
},
|
|
2636
|
-
async
|
|
2637
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2731
|
+
async getstorageHaloRunV1alpha1Policy(name, options) {
|
|
2732
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1Policy(name, options);
|
|
2638
2733
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2639
2734
|
},
|
|
2640
|
-
async
|
|
2641
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2735
|
+
async liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options) {
|
|
2736
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options);
|
|
2642
2737
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2643
2738
|
},
|
|
2644
|
-
async
|
|
2645
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2739
|
+
async updatestorageHaloRunV1alpha1Policy(name, policy, options) {
|
|
2740
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Policy(name, policy, options);
|
|
2646
2741
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2647
2742
|
}
|
|
2648
2743
|
};
|
|
2649
2744
|
};
|
|
2650
|
-
const
|
|
2651
|
-
const localVarFp =
|
|
2745
|
+
const StorageHaloRunV1alpha1PolicyApiFactory = function(configuration, basePath, axios) {
|
|
2746
|
+
const localVarFp = StorageHaloRunV1alpha1PolicyApiFp(configuration);
|
|
2652
2747
|
return {
|
|
2653
|
-
|
|
2654
|
-
return localVarFp.
|
|
2748
|
+
createstorageHaloRunV1alpha1Policy(policy, options) {
|
|
2749
|
+
return localVarFp.createstorageHaloRunV1alpha1Policy(policy, options).then((request) => request(axios, basePath));
|
|
2655
2750
|
},
|
|
2656
|
-
|
|
2657
|
-
return localVarFp.
|
|
2751
|
+
deletestorageHaloRunV1alpha1Policy(name, options) {
|
|
2752
|
+
return localVarFp.deletestorageHaloRunV1alpha1Policy(name, options).then((request) => request(axios, basePath));
|
|
2658
2753
|
},
|
|
2659
|
-
|
|
2660
|
-
return localVarFp.
|
|
2754
|
+
getstorageHaloRunV1alpha1Policy(name, options) {
|
|
2755
|
+
return localVarFp.getstorageHaloRunV1alpha1Policy(name, options).then((request) => request(axios, basePath));
|
|
2661
2756
|
},
|
|
2662
|
-
|
|
2663
|
-
return localVarFp.
|
|
2757
|
+
liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options) {
|
|
2758
|
+
return localVarFp.liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2664
2759
|
},
|
|
2665
|
-
|
|
2666
|
-
return localVarFp.
|
|
2760
|
+
updatestorageHaloRunV1alpha1Policy(name, policy, options) {
|
|
2761
|
+
return localVarFp.updatestorageHaloRunV1alpha1Policy(name, policy, options).then((request) => request(axios, basePath));
|
|
2667
2762
|
}
|
|
2668
2763
|
};
|
|
2669
2764
|
};
|
|
2670
|
-
class
|
|
2671
|
-
|
|
2672
|
-
return
|
|
2765
|
+
class StorageHaloRunV1alpha1PolicyApi extends BaseAPI {
|
|
2766
|
+
createstorageHaloRunV1alpha1Policy(requestParameters = {}, options) {
|
|
2767
|
+
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).createstorageHaloRunV1alpha1Policy(requestParameters.policy, options).then((request) => request(this.axios, this.basePath));
|
|
2673
2768
|
}
|
|
2674
|
-
|
|
2675
|
-
return
|
|
2769
|
+
deletestorageHaloRunV1alpha1Policy(requestParameters, options) {
|
|
2770
|
+
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).deletestorageHaloRunV1alpha1Policy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2676
2771
|
}
|
|
2677
|
-
|
|
2678
|
-
return
|
|
2772
|
+
getstorageHaloRunV1alpha1Policy(requestParameters, options) {
|
|
2773
|
+
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).getstorageHaloRunV1alpha1Policy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2679
2774
|
}
|
|
2680
|
-
|
|
2681
|
-
return
|
|
2775
|
+
liststorageHaloRunV1alpha1Policy(requestParameters = {}, options) {
|
|
2776
|
+
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).liststorageHaloRunV1alpha1Policy(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2682
2777
|
}
|
|
2683
|
-
|
|
2684
|
-
return
|
|
2778
|
+
updatestorageHaloRunV1alpha1Policy(requestParameters, options) {
|
|
2779
|
+
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).updatestorageHaloRunV1alpha1Policy(requestParameters.name, requestParameters.policy, options).then((request) => request(this.axios, this.basePath));
|
|
2685
2780
|
}
|
|
2686
2781
|
}
|
|
2687
|
-
|
|
2782
|
+
|
|
2783
|
+
const StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator = function(configuration) {
|
|
2688
2784
|
return {
|
|
2689
|
-
|
|
2690
|
-
const localVarPath = `/
|
|
2785
|
+
createstorageHaloRunV1alpha1PolicyTemplate: async (policyTemplate, options = {}) => {
|
|
2786
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates`;
|
|
2691
2787
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2692
2788
|
let baseOptions;
|
|
2693
2789
|
if (configuration) {
|
|
@@ -2702,15 +2798,15 @@ const V1alpha1MenuItemApiAxiosParamCreator = function(configuration) {
|
|
|
2702
2798
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2703
2799
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2704
2800
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2705
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2801
|
+
localVarRequestOptions.data = serializeDataIfNeeded(policyTemplate, localVarRequestOptions, configuration);
|
|
2706
2802
|
return {
|
|
2707
2803
|
url: toPathString(localVarUrlObj),
|
|
2708
2804
|
options: localVarRequestOptions
|
|
2709
2805
|
};
|
|
2710
2806
|
},
|
|
2711
|
-
|
|
2712
|
-
assertParamExists("
|
|
2713
|
-
const localVarPath = `/
|
|
2807
|
+
deletestorageHaloRunV1alpha1PolicyTemplate: async (name, options = {}) => {
|
|
2808
|
+
assertParamExists("deletestorageHaloRunV1alpha1PolicyTemplate", "name", name);
|
|
2809
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2714
2810
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2715
2811
|
let baseOptions;
|
|
2716
2812
|
if (configuration) {
|
|
@@ -2729,9 +2825,9 @@ const V1alpha1MenuItemApiAxiosParamCreator = function(configuration) {
|
|
|
2729
2825
|
options: localVarRequestOptions
|
|
2730
2826
|
};
|
|
2731
2827
|
},
|
|
2732
|
-
|
|
2733
|
-
assertParamExists("
|
|
2734
|
-
const localVarPath = `/
|
|
2828
|
+
getstorageHaloRunV1alpha1PolicyTemplate: async (name, options = {}) => {
|
|
2829
|
+
assertParamExists("getstorageHaloRunV1alpha1PolicyTemplate", "name", name);
|
|
2830
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2735
2831
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2736
2832
|
let baseOptions;
|
|
2737
2833
|
if (configuration) {
|
|
@@ -2750,8 +2846,8 @@ const V1alpha1MenuItemApiAxiosParamCreator = function(configuration) {
|
|
|
2750
2846
|
options: localVarRequestOptions
|
|
2751
2847
|
};
|
|
2752
2848
|
},
|
|
2753
|
-
|
|
2754
|
-
const localVarPath = `/
|
|
2849
|
+
liststorageHaloRunV1alpha1PolicyTemplate: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2850
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates`;
|
|
2755
2851
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2756
2852
|
let baseOptions;
|
|
2757
2853
|
if (configuration) {
|
|
@@ -2782,9 +2878,9 @@ const V1alpha1MenuItemApiAxiosParamCreator = function(configuration) {
|
|
|
2782
2878
|
options: localVarRequestOptions
|
|
2783
2879
|
};
|
|
2784
2880
|
},
|
|
2785
|
-
|
|
2786
|
-
assertParamExists("
|
|
2787
|
-
const localVarPath = `/
|
|
2881
|
+
updatestorageHaloRunV1alpha1PolicyTemplate: async (name, policyTemplate, options = {}) => {
|
|
2882
|
+
assertParamExists("updatestorageHaloRunV1alpha1PolicyTemplate", "name", name);
|
|
2883
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2788
2884
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2789
2885
|
let baseOptions;
|
|
2790
2886
|
if (configuration) {
|
|
@@ -2799,7 +2895,7 @@ const V1alpha1MenuItemApiAxiosParamCreator = function(configuration) {
|
|
|
2799
2895
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2800
2896
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2801
2897
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2802
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2898
|
+
localVarRequestOptions.data = serializeDataIfNeeded(policyTemplate, localVarRequestOptions, configuration);
|
|
2803
2899
|
return {
|
|
2804
2900
|
url: toPathString(localVarUrlObj),
|
|
2805
2901
|
options: localVarRequestOptions
|
|
@@ -2807,35 +2903,779 @@ const V1alpha1MenuItemApiAxiosParamCreator = function(configuration) {
|
|
|
2807
2903
|
}
|
|
2808
2904
|
};
|
|
2809
2905
|
};
|
|
2810
|
-
const
|
|
2811
|
-
const localVarAxiosParamCreator =
|
|
2906
|
+
const StorageHaloRunV1alpha1PolicyTemplateApiFp = function(configuration) {
|
|
2907
|
+
const localVarAxiosParamCreator = StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator(configuration);
|
|
2812
2908
|
return {
|
|
2813
|
-
async
|
|
2814
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2909
|
+
async createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options) {
|
|
2910
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options);
|
|
2815
2911
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2816
2912
|
},
|
|
2817
|
-
async
|
|
2818
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2913
|
+
async deletestorageHaloRunV1alpha1PolicyTemplate(name, options) {
|
|
2914
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1PolicyTemplate(name, options);
|
|
2819
2915
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2820
2916
|
},
|
|
2821
|
-
async
|
|
2822
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2917
|
+
async getstorageHaloRunV1alpha1PolicyTemplate(name, options) {
|
|
2918
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1PolicyTemplate(name, options);
|
|
2823
2919
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2824
2920
|
},
|
|
2825
|
-
async
|
|
2826
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2921
|
+
async liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options) {
|
|
2922
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options);
|
|
2827
2923
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2828
2924
|
},
|
|
2829
|
-
async
|
|
2830
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2925
|
+
async updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options) {
|
|
2926
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options);
|
|
2831
2927
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2832
2928
|
}
|
|
2833
2929
|
};
|
|
2834
2930
|
};
|
|
2835
|
-
const
|
|
2836
|
-
const localVarFp =
|
|
2931
|
+
const StorageHaloRunV1alpha1PolicyTemplateApiFactory = function(configuration, basePath, axios) {
|
|
2932
|
+
const localVarFp = StorageHaloRunV1alpha1PolicyTemplateApiFp(configuration);
|
|
2837
2933
|
return {
|
|
2838
|
-
|
|
2934
|
+
createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options) {
|
|
2935
|
+
return localVarFp.createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options).then((request) => request(axios, basePath));
|
|
2936
|
+
},
|
|
2937
|
+
deletestorageHaloRunV1alpha1PolicyTemplate(name, options) {
|
|
2938
|
+
return localVarFp.deletestorageHaloRunV1alpha1PolicyTemplate(name, options).then((request) => request(axios, basePath));
|
|
2939
|
+
},
|
|
2940
|
+
getstorageHaloRunV1alpha1PolicyTemplate(name, options) {
|
|
2941
|
+
return localVarFp.getstorageHaloRunV1alpha1PolicyTemplate(name, options).then((request) => request(axios, basePath));
|
|
2942
|
+
},
|
|
2943
|
+
liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options) {
|
|
2944
|
+
return localVarFp.liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2945
|
+
},
|
|
2946
|
+
updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options) {
|
|
2947
|
+
return localVarFp.updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options).then((request) => request(axios, basePath));
|
|
2948
|
+
}
|
|
2949
|
+
};
|
|
2950
|
+
};
|
|
2951
|
+
class StorageHaloRunV1alpha1PolicyTemplateApi extends BaseAPI {
|
|
2952
|
+
createstorageHaloRunV1alpha1PolicyTemplate(requestParameters = {}, options) {
|
|
2953
|
+
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).createstorageHaloRunV1alpha1PolicyTemplate(requestParameters.policyTemplate, options).then((request) => request(this.axios, this.basePath));
|
|
2954
|
+
}
|
|
2955
|
+
deletestorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
|
|
2956
|
+
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).deletestorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2957
|
+
}
|
|
2958
|
+
getstorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
|
|
2959
|
+
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).getstorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2960
|
+
}
|
|
2961
|
+
liststorageHaloRunV1alpha1PolicyTemplate(requestParameters = {}, options) {
|
|
2962
|
+
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).liststorageHaloRunV1alpha1PolicyTemplate(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2963
|
+
}
|
|
2964
|
+
updatestorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
|
|
2965
|
+
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).updatestorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, requestParameters.policyTemplate, options).then((request) => request(this.axios, this.basePath));
|
|
2966
|
+
}
|
|
2967
|
+
}
|
|
2968
|
+
|
|
2969
|
+
const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
2970
|
+
return {
|
|
2971
|
+
createthemeHaloRunV1alpha1Theme: async (theme, options = {}) => {
|
|
2972
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes`;
|
|
2973
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2974
|
+
let baseOptions;
|
|
2975
|
+
if (configuration) {
|
|
2976
|
+
baseOptions = configuration.baseOptions;
|
|
2977
|
+
}
|
|
2978
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2979
|
+
const localVarHeaderParameter = {};
|
|
2980
|
+
const localVarQueryParameter = {};
|
|
2981
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2982
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2983
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2984
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2985
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2986
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2987
|
+
localVarRequestOptions.data = serializeDataIfNeeded(theme, localVarRequestOptions, configuration);
|
|
2988
|
+
return {
|
|
2989
|
+
url: toPathString(localVarUrlObj),
|
|
2990
|
+
options: localVarRequestOptions
|
|
2991
|
+
};
|
|
2992
|
+
},
|
|
2993
|
+
deletethemeHaloRunV1alpha1Theme: async (name, options = {}) => {
|
|
2994
|
+
assertParamExists("deletethemeHaloRunV1alpha1Theme", "name", name);
|
|
2995
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2996
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2997
|
+
let baseOptions;
|
|
2998
|
+
if (configuration) {
|
|
2999
|
+
baseOptions = configuration.baseOptions;
|
|
3000
|
+
}
|
|
3001
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
3002
|
+
const localVarHeaderParameter = {};
|
|
3003
|
+
const localVarQueryParameter = {};
|
|
3004
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3005
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3006
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3007
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3008
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3009
|
+
return {
|
|
3010
|
+
url: toPathString(localVarUrlObj),
|
|
3011
|
+
options: localVarRequestOptions
|
|
3012
|
+
};
|
|
3013
|
+
},
|
|
3014
|
+
getthemeHaloRunV1alpha1Theme: async (name, options = {}) => {
|
|
3015
|
+
assertParamExists("getthemeHaloRunV1alpha1Theme", "name", name);
|
|
3016
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3017
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3018
|
+
let baseOptions;
|
|
3019
|
+
if (configuration) {
|
|
3020
|
+
baseOptions = configuration.baseOptions;
|
|
3021
|
+
}
|
|
3022
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3023
|
+
const localVarHeaderParameter = {};
|
|
3024
|
+
const localVarQueryParameter = {};
|
|
3025
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3026
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3027
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3028
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3029
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3030
|
+
return {
|
|
3031
|
+
url: toPathString(localVarUrlObj),
|
|
3032
|
+
options: localVarRequestOptions
|
|
3033
|
+
};
|
|
3034
|
+
},
|
|
3035
|
+
listthemeHaloRunV1alpha1Theme: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
3036
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes`;
|
|
3037
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3038
|
+
let baseOptions;
|
|
3039
|
+
if (configuration) {
|
|
3040
|
+
baseOptions = configuration.baseOptions;
|
|
3041
|
+
}
|
|
3042
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3043
|
+
const localVarHeaderParameter = {};
|
|
3044
|
+
const localVarQueryParameter = {};
|
|
3045
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3046
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3047
|
+
if (page !== void 0) {
|
|
3048
|
+
localVarQueryParameter["page"] = page;
|
|
3049
|
+
}
|
|
3050
|
+
if (size !== void 0) {
|
|
3051
|
+
localVarQueryParameter["size"] = size;
|
|
3052
|
+
}
|
|
3053
|
+
if (labelSelector) {
|
|
3054
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
3055
|
+
}
|
|
3056
|
+
if (fieldSelector) {
|
|
3057
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
3058
|
+
}
|
|
3059
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3060
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3061
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3062
|
+
return {
|
|
3063
|
+
url: toPathString(localVarUrlObj),
|
|
3064
|
+
options: localVarRequestOptions
|
|
3065
|
+
};
|
|
3066
|
+
},
|
|
3067
|
+
updatethemeHaloRunV1alpha1Theme: async (name, theme, options = {}) => {
|
|
3068
|
+
assertParamExists("updatethemeHaloRunV1alpha1Theme", "name", name);
|
|
3069
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3070
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3071
|
+
let baseOptions;
|
|
3072
|
+
if (configuration) {
|
|
3073
|
+
baseOptions = configuration.baseOptions;
|
|
3074
|
+
}
|
|
3075
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
3076
|
+
const localVarHeaderParameter = {};
|
|
3077
|
+
const localVarQueryParameter = {};
|
|
3078
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3079
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3080
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3081
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3082
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3083
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3084
|
+
localVarRequestOptions.data = serializeDataIfNeeded(theme, localVarRequestOptions, configuration);
|
|
3085
|
+
return {
|
|
3086
|
+
url: toPathString(localVarUrlObj),
|
|
3087
|
+
options: localVarRequestOptions
|
|
3088
|
+
};
|
|
3089
|
+
}
|
|
3090
|
+
};
|
|
3091
|
+
};
|
|
3092
|
+
const ThemeHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
3093
|
+
const localVarAxiosParamCreator = ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator(configuration);
|
|
3094
|
+
return {
|
|
3095
|
+
async createthemeHaloRunV1alpha1Theme(theme, options) {
|
|
3096
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createthemeHaloRunV1alpha1Theme(theme, options);
|
|
3097
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3098
|
+
},
|
|
3099
|
+
async deletethemeHaloRunV1alpha1Theme(name, options) {
|
|
3100
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletethemeHaloRunV1alpha1Theme(name, options);
|
|
3101
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3102
|
+
},
|
|
3103
|
+
async getthemeHaloRunV1alpha1Theme(name, options) {
|
|
3104
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getthemeHaloRunV1alpha1Theme(name, options);
|
|
3105
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3106
|
+
},
|
|
3107
|
+
async listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
3108
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options);
|
|
3109
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3110
|
+
},
|
|
3111
|
+
async updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
3112
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatethemeHaloRunV1alpha1Theme(name, theme, options);
|
|
3113
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3114
|
+
}
|
|
3115
|
+
};
|
|
3116
|
+
};
|
|
3117
|
+
const ThemeHaloRunV1alpha1ThemeApiFactory = function(configuration, basePath, axios) {
|
|
3118
|
+
const localVarFp = ThemeHaloRunV1alpha1ThemeApiFp(configuration);
|
|
3119
|
+
return {
|
|
3120
|
+
createthemeHaloRunV1alpha1Theme(theme, options) {
|
|
3121
|
+
return localVarFp.createthemeHaloRunV1alpha1Theme(theme, options).then((request) => request(axios, basePath));
|
|
3122
|
+
},
|
|
3123
|
+
deletethemeHaloRunV1alpha1Theme(name, options) {
|
|
3124
|
+
return localVarFp.deletethemeHaloRunV1alpha1Theme(name, options).then((request) => request(axios, basePath));
|
|
3125
|
+
},
|
|
3126
|
+
getthemeHaloRunV1alpha1Theme(name, options) {
|
|
3127
|
+
return localVarFp.getthemeHaloRunV1alpha1Theme(name, options).then((request) => request(axios, basePath));
|
|
3128
|
+
},
|
|
3129
|
+
listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
3130
|
+
return localVarFp.listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
3131
|
+
},
|
|
3132
|
+
updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
3133
|
+
return localVarFp.updatethemeHaloRunV1alpha1Theme(name, theme, options).then((request) => request(axios, basePath));
|
|
3134
|
+
}
|
|
3135
|
+
};
|
|
3136
|
+
};
|
|
3137
|
+
class ThemeHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
3138
|
+
createthemeHaloRunV1alpha1Theme(requestParameters = {}, options) {
|
|
3139
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).createthemeHaloRunV1alpha1Theme(requestParameters.theme, options).then((request) => request(this.axios, this.basePath));
|
|
3140
|
+
}
|
|
3141
|
+
deletethemeHaloRunV1alpha1Theme(requestParameters, options) {
|
|
3142
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).deletethemeHaloRunV1alpha1Theme(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3143
|
+
}
|
|
3144
|
+
getthemeHaloRunV1alpha1Theme(requestParameters, options) {
|
|
3145
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).getthemeHaloRunV1alpha1Theme(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3146
|
+
}
|
|
3147
|
+
listthemeHaloRunV1alpha1Theme(requestParameters = {}, options) {
|
|
3148
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).listthemeHaloRunV1alpha1Theme(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3149
|
+
}
|
|
3150
|
+
updatethemeHaloRunV1alpha1Theme(requestParameters, options) {
|
|
3151
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).updatethemeHaloRunV1alpha1Theme(requestParameters.name, requestParameters.theme, options).then((request) => request(this.axios, this.basePath));
|
|
3152
|
+
}
|
|
3153
|
+
}
|
|
3154
|
+
|
|
3155
|
+
const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
3156
|
+
return {
|
|
3157
|
+
createv1alpha1ConfigMap: async (configMap, options = {}) => {
|
|
3158
|
+
const localVarPath = `/api/v1alpha1/configmaps`;
|
|
3159
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3160
|
+
let baseOptions;
|
|
3161
|
+
if (configuration) {
|
|
3162
|
+
baseOptions = configuration.baseOptions;
|
|
3163
|
+
}
|
|
3164
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
3165
|
+
const localVarHeaderParameter = {};
|
|
3166
|
+
const localVarQueryParameter = {};
|
|
3167
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3168
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3169
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3170
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3171
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3172
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3173
|
+
localVarRequestOptions.data = serializeDataIfNeeded(configMap, localVarRequestOptions, configuration);
|
|
3174
|
+
return {
|
|
3175
|
+
url: toPathString(localVarUrlObj),
|
|
3176
|
+
options: localVarRequestOptions
|
|
3177
|
+
};
|
|
3178
|
+
},
|
|
3179
|
+
deletev1alpha1ConfigMap: async (name, options = {}) => {
|
|
3180
|
+
assertParamExists("deletev1alpha1ConfigMap", "name", name);
|
|
3181
|
+
const localVarPath = `/api/v1alpha1/configmaps/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3182
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3183
|
+
let baseOptions;
|
|
3184
|
+
if (configuration) {
|
|
3185
|
+
baseOptions = configuration.baseOptions;
|
|
3186
|
+
}
|
|
3187
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
3188
|
+
const localVarHeaderParameter = {};
|
|
3189
|
+
const localVarQueryParameter = {};
|
|
3190
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3191
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3192
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3193
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3194
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3195
|
+
return {
|
|
3196
|
+
url: toPathString(localVarUrlObj),
|
|
3197
|
+
options: localVarRequestOptions
|
|
3198
|
+
};
|
|
3199
|
+
},
|
|
3200
|
+
getv1alpha1ConfigMap: async (name, options = {}) => {
|
|
3201
|
+
assertParamExists("getv1alpha1ConfigMap", "name", name);
|
|
3202
|
+
const localVarPath = `/api/v1alpha1/configmaps/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3203
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3204
|
+
let baseOptions;
|
|
3205
|
+
if (configuration) {
|
|
3206
|
+
baseOptions = configuration.baseOptions;
|
|
3207
|
+
}
|
|
3208
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3209
|
+
const localVarHeaderParameter = {};
|
|
3210
|
+
const localVarQueryParameter = {};
|
|
3211
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3212
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3213
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3214
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3215
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3216
|
+
return {
|
|
3217
|
+
url: toPathString(localVarUrlObj),
|
|
3218
|
+
options: localVarRequestOptions
|
|
3219
|
+
};
|
|
3220
|
+
},
|
|
3221
|
+
listv1alpha1ConfigMap: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
3222
|
+
const localVarPath = `/api/v1alpha1/configmaps`;
|
|
3223
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3224
|
+
let baseOptions;
|
|
3225
|
+
if (configuration) {
|
|
3226
|
+
baseOptions = configuration.baseOptions;
|
|
3227
|
+
}
|
|
3228
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3229
|
+
const localVarHeaderParameter = {};
|
|
3230
|
+
const localVarQueryParameter = {};
|
|
3231
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3232
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3233
|
+
if (page !== void 0) {
|
|
3234
|
+
localVarQueryParameter["page"] = page;
|
|
3235
|
+
}
|
|
3236
|
+
if (size !== void 0) {
|
|
3237
|
+
localVarQueryParameter["size"] = size;
|
|
3238
|
+
}
|
|
3239
|
+
if (labelSelector) {
|
|
3240
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
3241
|
+
}
|
|
3242
|
+
if (fieldSelector) {
|
|
3243
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
3244
|
+
}
|
|
3245
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3246
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3247
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3248
|
+
return {
|
|
3249
|
+
url: toPathString(localVarUrlObj),
|
|
3250
|
+
options: localVarRequestOptions
|
|
3251
|
+
};
|
|
3252
|
+
},
|
|
3253
|
+
updatev1alpha1ConfigMap: async (name, configMap, options = {}) => {
|
|
3254
|
+
assertParamExists("updatev1alpha1ConfigMap", "name", name);
|
|
3255
|
+
const localVarPath = `/api/v1alpha1/configmaps/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3256
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3257
|
+
let baseOptions;
|
|
3258
|
+
if (configuration) {
|
|
3259
|
+
baseOptions = configuration.baseOptions;
|
|
3260
|
+
}
|
|
3261
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
3262
|
+
const localVarHeaderParameter = {};
|
|
3263
|
+
const localVarQueryParameter = {};
|
|
3264
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3265
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3266
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3267
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3268
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3269
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3270
|
+
localVarRequestOptions.data = serializeDataIfNeeded(configMap, localVarRequestOptions, configuration);
|
|
3271
|
+
return {
|
|
3272
|
+
url: toPathString(localVarUrlObj),
|
|
3273
|
+
options: localVarRequestOptions
|
|
3274
|
+
};
|
|
3275
|
+
}
|
|
3276
|
+
};
|
|
3277
|
+
};
|
|
3278
|
+
const V1alpha1ConfigMapApiFp = function(configuration) {
|
|
3279
|
+
const localVarAxiosParamCreator = V1alpha1ConfigMapApiAxiosParamCreator(configuration);
|
|
3280
|
+
return {
|
|
3281
|
+
async createv1alpha1ConfigMap(configMap, options) {
|
|
3282
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1ConfigMap(configMap, options);
|
|
3283
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3284
|
+
},
|
|
3285
|
+
async deletev1alpha1ConfigMap(name, options) {
|
|
3286
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletev1alpha1ConfigMap(name, options);
|
|
3287
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3288
|
+
},
|
|
3289
|
+
async getv1alpha1ConfigMap(name, options) {
|
|
3290
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1ConfigMap(name, options);
|
|
3291
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3292
|
+
},
|
|
3293
|
+
async listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options) {
|
|
3294
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options);
|
|
3295
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3296
|
+
},
|
|
3297
|
+
async updatev1alpha1ConfigMap(name, configMap, options) {
|
|
3298
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1ConfigMap(name, configMap, options);
|
|
3299
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3300
|
+
}
|
|
3301
|
+
};
|
|
3302
|
+
};
|
|
3303
|
+
const V1alpha1ConfigMapApiFactory = function(configuration, basePath, axios) {
|
|
3304
|
+
const localVarFp = V1alpha1ConfigMapApiFp(configuration);
|
|
3305
|
+
return {
|
|
3306
|
+
createv1alpha1ConfigMap(configMap, options) {
|
|
3307
|
+
return localVarFp.createv1alpha1ConfigMap(configMap, options).then((request) => request(axios, basePath));
|
|
3308
|
+
},
|
|
3309
|
+
deletev1alpha1ConfigMap(name, options) {
|
|
3310
|
+
return localVarFp.deletev1alpha1ConfigMap(name, options).then((request) => request(axios, basePath));
|
|
3311
|
+
},
|
|
3312
|
+
getv1alpha1ConfigMap(name, options) {
|
|
3313
|
+
return localVarFp.getv1alpha1ConfigMap(name, options).then((request) => request(axios, basePath));
|
|
3314
|
+
},
|
|
3315
|
+
listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options) {
|
|
3316
|
+
return localVarFp.listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
3317
|
+
},
|
|
3318
|
+
updatev1alpha1ConfigMap(name, configMap, options) {
|
|
3319
|
+
return localVarFp.updatev1alpha1ConfigMap(name, configMap, options).then((request) => request(axios, basePath));
|
|
3320
|
+
}
|
|
3321
|
+
};
|
|
3322
|
+
};
|
|
3323
|
+
class V1alpha1ConfigMapApi extends BaseAPI {
|
|
3324
|
+
createv1alpha1ConfigMap(requestParameters = {}, options) {
|
|
3325
|
+
return V1alpha1ConfigMapApiFp(this.configuration).createv1alpha1ConfigMap(requestParameters.configMap, options).then((request) => request(this.axios, this.basePath));
|
|
3326
|
+
}
|
|
3327
|
+
deletev1alpha1ConfigMap(requestParameters, options) {
|
|
3328
|
+
return V1alpha1ConfigMapApiFp(this.configuration).deletev1alpha1ConfigMap(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3329
|
+
}
|
|
3330
|
+
getv1alpha1ConfigMap(requestParameters, options) {
|
|
3331
|
+
return V1alpha1ConfigMapApiFp(this.configuration).getv1alpha1ConfigMap(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3332
|
+
}
|
|
3333
|
+
listv1alpha1ConfigMap(requestParameters = {}, options) {
|
|
3334
|
+
return V1alpha1ConfigMapApiFp(this.configuration).listv1alpha1ConfigMap(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3335
|
+
}
|
|
3336
|
+
updatev1alpha1ConfigMap(requestParameters, options) {
|
|
3337
|
+
return V1alpha1ConfigMapApiFp(this.configuration).updatev1alpha1ConfigMap(requestParameters.name, requestParameters.configMap, options).then((request) => request(this.axios, this.basePath));
|
|
3338
|
+
}
|
|
3339
|
+
}
|
|
3340
|
+
|
|
3341
|
+
const V1alpha1MenuApiAxiosParamCreator = function(configuration) {
|
|
3342
|
+
return {
|
|
3343
|
+
createv1alpha1Menu: async (menu, options = {}) => {
|
|
3344
|
+
const localVarPath = `/api/v1alpha1/menus`;
|
|
3345
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3346
|
+
let baseOptions;
|
|
3347
|
+
if (configuration) {
|
|
3348
|
+
baseOptions = configuration.baseOptions;
|
|
3349
|
+
}
|
|
3350
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
3351
|
+
const localVarHeaderParameter = {};
|
|
3352
|
+
const localVarQueryParameter = {};
|
|
3353
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3354
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3355
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3356
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3357
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3358
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3359
|
+
localVarRequestOptions.data = serializeDataIfNeeded(menu, localVarRequestOptions, configuration);
|
|
3360
|
+
return {
|
|
3361
|
+
url: toPathString(localVarUrlObj),
|
|
3362
|
+
options: localVarRequestOptions
|
|
3363
|
+
};
|
|
3364
|
+
},
|
|
3365
|
+
deletev1alpha1Menu: async (name, options = {}) => {
|
|
3366
|
+
assertParamExists("deletev1alpha1Menu", "name", name);
|
|
3367
|
+
const localVarPath = `/api/v1alpha1/menus/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3368
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3369
|
+
let baseOptions;
|
|
3370
|
+
if (configuration) {
|
|
3371
|
+
baseOptions = configuration.baseOptions;
|
|
3372
|
+
}
|
|
3373
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
3374
|
+
const localVarHeaderParameter = {};
|
|
3375
|
+
const localVarQueryParameter = {};
|
|
3376
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3377
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3378
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3379
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3380
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3381
|
+
return {
|
|
3382
|
+
url: toPathString(localVarUrlObj),
|
|
3383
|
+
options: localVarRequestOptions
|
|
3384
|
+
};
|
|
3385
|
+
},
|
|
3386
|
+
getv1alpha1Menu: async (name, options = {}) => {
|
|
3387
|
+
assertParamExists("getv1alpha1Menu", "name", name);
|
|
3388
|
+
const localVarPath = `/api/v1alpha1/menus/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3389
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3390
|
+
let baseOptions;
|
|
3391
|
+
if (configuration) {
|
|
3392
|
+
baseOptions = configuration.baseOptions;
|
|
3393
|
+
}
|
|
3394
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3395
|
+
const localVarHeaderParameter = {};
|
|
3396
|
+
const localVarQueryParameter = {};
|
|
3397
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3398
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3399
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3400
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3401
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3402
|
+
return {
|
|
3403
|
+
url: toPathString(localVarUrlObj),
|
|
3404
|
+
options: localVarRequestOptions
|
|
3405
|
+
};
|
|
3406
|
+
},
|
|
3407
|
+
listv1alpha1Menu: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
3408
|
+
const localVarPath = `/api/v1alpha1/menus`;
|
|
3409
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3410
|
+
let baseOptions;
|
|
3411
|
+
if (configuration) {
|
|
3412
|
+
baseOptions = configuration.baseOptions;
|
|
3413
|
+
}
|
|
3414
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3415
|
+
const localVarHeaderParameter = {};
|
|
3416
|
+
const localVarQueryParameter = {};
|
|
3417
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3418
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3419
|
+
if (page !== void 0) {
|
|
3420
|
+
localVarQueryParameter["page"] = page;
|
|
3421
|
+
}
|
|
3422
|
+
if (size !== void 0) {
|
|
3423
|
+
localVarQueryParameter["size"] = size;
|
|
3424
|
+
}
|
|
3425
|
+
if (labelSelector) {
|
|
3426
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
3427
|
+
}
|
|
3428
|
+
if (fieldSelector) {
|
|
3429
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
3430
|
+
}
|
|
3431
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3432
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3433
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3434
|
+
return {
|
|
3435
|
+
url: toPathString(localVarUrlObj),
|
|
3436
|
+
options: localVarRequestOptions
|
|
3437
|
+
};
|
|
3438
|
+
},
|
|
3439
|
+
updatev1alpha1Menu: async (name, menu, options = {}) => {
|
|
3440
|
+
assertParamExists("updatev1alpha1Menu", "name", name);
|
|
3441
|
+
const localVarPath = `/api/v1alpha1/menus/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3442
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3443
|
+
let baseOptions;
|
|
3444
|
+
if (configuration) {
|
|
3445
|
+
baseOptions = configuration.baseOptions;
|
|
3446
|
+
}
|
|
3447
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
3448
|
+
const localVarHeaderParameter = {};
|
|
3449
|
+
const localVarQueryParameter = {};
|
|
3450
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3451
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3452
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3453
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3454
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3455
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3456
|
+
localVarRequestOptions.data = serializeDataIfNeeded(menu, localVarRequestOptions, configuration);
|
|
3457
|
+
return {
|
|
3458
|
+
url: toPathString(localVarUrlObj),
|
|
3459
|
+
options: localVarRequestOptions
|
|
3460
|
+
};
|
|
3461
|
+
}
|
|
3462
|
+
};
|
|
3463
|
+
};
|
|
3464
|
+
const V1alpha1MenuApiFp = function(configuration) {
|
|
3465
|
+
const localVarAxiosParamCreator = V1alpha1MenuApiAxiosParamCreator(configuration);
|
|
3466
|
+
return {
|
|
3467
|
+
async createv1alpha1Menu(menu, options) {
|
|
3468
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1Menu(menu, options);
|
|
3469
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3470
|
+
},
|
|
3471
|
+
async deletev1alpha1Menu(name, options) {
|
|
3472
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletev1alpha1Menu(name, options);
|
|
3473
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3474
|
+
},
|
|
3475
|
+
async getv1alpha1Menu(name, options) {
|
|
3476
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1Menu(name, options);
|
|
3477
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3478
|
+
},
|
|
3479
|
+
async listv1alpha1Menu(page, size, labelSelector, fieldSelector, options) {
|
|
3480
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Menu(page, size, labelSelector, fieldSelector, options);
|
|
3481
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3482
|
+
},
|
|
3483
|
+
async updatev1alpha1Menu(name, menu, options) {
|
|
3484
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1Menu(name, menu, options);
|
|
3485
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3486
|
+
}
|
|
3487
|
+
};
|
|
3488
|
+
};
|
|
3489
|
+
const V1alpha1MenuApiFactory = function(configuration, basePath, axios) {
|
|
3490
|
+
const localVarFp = V1alpha1MenuApiFp(configuration);
|
|
3491
|
+
return {
|
|
3492
|
+
createv1alpha1Menu(menu, options) {
|
|
3493
|
+
return localVarFp.createv1alpha1Menu(menu, options).then((request) => request(axios, basePath));
|
|
3494
|
+
},
|
|
3495
|
+
deletev1alpha1Menu(name, options) {
|
|
3496
|
+
return localVarFp.deletev1alpha1Menu(name, options).then((request) => request(axios, basePath));
|
|
3497
|
+
},
|
|
3498
|
+
getv1alpha1Menu(name, options) {
|
|
3499
|
+
return localVarFp.getv1alpha1Menu(name, options).then((request) => request(axios, basePath));
|
|
3500
|
+
},
|
|
3501
|
+
listv1alpha1Menu(page, size, labelSelector, fieldSelector, options) {
|
|
3502
|
+
return localVarFp.listv1alpha1Menu(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
3503
|
+
},
|
|
3504
|
+
updatev1alpha1Menu(name, menu, options) {
|
|
3505
|
+
return localVarFp.updatev1alpha1Menu(name, menu, options).then((request) => request(axios, basePath));
|
|
3506
|
+
}
|
|
3507
|
+
};
|
|
3508
|
+
};
|
|
3509
|
+
class V1alpha1MenuApi extends BaseAPI {
|
|
3510
|
+
createv1alpha1Menu(requestParameters = {}, options) {
|
|
3511
|
+
return V1alpha1MenuApiFp(this.configuration).createv1alpha1Menu(requestParameters.menu, options).then((request) => request(this.axios, this.basePath));
|
|
3512
|
+
}
|
|
3513
|
+
deletev1alpha1Menu(requestParameters, options) {
|
|
3514
|
+
return V1alpha1MenuApiFp(this.configuration).deletev1alpha1Menu(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3515
|
+
}
|
|
3516
|
+
getv1alpha1Menu(requestParameters, options) {
|
|
3517
|
+
return V1alpha1MenuApiFp(this.configuration).getv1alpha1Menu(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3518
|
+
}
|
|
3519
|
+
listv1alpha1Menu(requestParameters = {}, options) {
|
|
3520
|
+
return V1alpha1MenuApiFp(this.configuration).listv1alpha1Menu(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3521
|
+
}
|
|
3522
|
+
updatev1alpha1Menu(requestParameters, options) {
|
|
3523
|
+
return V1alpha1MenuApiFp(this.configuration).updatev1alpha1Menu(requestParameters.name, requestParameters.menu, options).then((request) => request(this.axios, this.basePath));
|
|
3524
|
+
}
|
|
3525
|
+
}
|
|
3526
|
+
|
|
3527
|
+
const V1alpha1MenuItemApiAxiosParamCreator = function(configuration) {
|
|
3528
|
+
return {
|
|
3529
|
+
createv1alpha1MenuItem: async (menuItem, options = {}) => {
|
|
3530
|
+
const localVarPath = `/api/v1alpha1/menuitems`;
|
|
3531
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3532
|
+
let baseOptions;
|
|
3533
|
+
if (configuration) {
|
|
3534
|
+
baseOptions = configuration.baseOptions;
|
|
3535
|
+
}
|
|
3536
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
3537
|
+
const localVarHeaderParameter = {};
|
|
3538
|
+
const localVarQueryParameter = {};
|
|
3539
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3540
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3541
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3542
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3543
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3544
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3545
|
+
localVarRequestOptions.data = serializeDataIfNeeded(menuItem, localVarRequestOptions, configuration);
|
|
3546
|
+
return {
|
|
3547
|
+
url: toPathString(localVarUrlObj),
|
|
3548
|
+
options: localVarRequestOptions
|
|
3549
|
+
};
|
|
3550
|
+
},
|
|
3551
|
+
deletev1alpha1MenuItem: async (name, options = {}) => {
|
|
3552
|
+
assertParamExists("deletev1alpha1MenuItem", "name", name);
|
|
3553
|
+
const localVarPath = `/api/v1alpha1/menuitems/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3554
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3555
|
+
let baseOptions;
|
|
3556
|
+
if (configuration) {
|
|
3557
|
+
baseOptions = configuration.baseOptions;
|
|
3558
|
+
}
|
|
3559
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
3560
|
+
const localVarHeaderParameter = {};
|
|
3561
|
+
const localVarQueryParameter = {};
|
|
3562
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3563
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3564
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3565
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3566
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3567
|
+
return {
|
|
3568
|
+
url: toPathString(localVarUrlObj),
|
|
3569
|
+
options: localVarRequestOptions
|
|
3570
|
+
};
|
|
3571
|
+
},
|
|
3572
|
+
getv1alpha1MenuItem: async (name, options = {}) => {
|
|
3573
|
+
assertParamExists("getv1alpha1MenuItem", "name", name);
|
|
3574
|
+
const localVarPath = `/api/v1alpha1/menuitems/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3575
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3576
|
+
let baseOptions;
|
|
3577
|
+
if (configuration) {
|
|
3578
|
+
baseOptions = configuration.baseOptions;
|
|
3579
|
+
}
|
|
3580
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3581
|
+
const localVarHeaderParameter = {};
|
|
3582
|
+
const localVarQueryParameter = {};
|
|
3583
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3584
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3585
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3586
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3587
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3588
|
+
return {
|
|
3589
|
+
url: toPathString(localVarUrlObj),
|
|
3590
|
+
options: localVarRequestOptions
|
|
3591
|
+
};
|
|
3592
|
+
},
|
|
3593
|
+
listv1alpha1MenuItem: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
3594
|
+
const localVarPath = `/api/v1alpha1/menuitems`;
|
|
3595
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3596
|
+
let baseOptions;
|
|
3597
|
+
if (configuration) {
|
|
3598
|
+
baseOptions = configuration.baseOptions;
|
|
3599
|
+
}
|
|
3600
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3601
|
+
const localVarHeaderParameter = {};
|
|
3602
|
+
const localVarQueryParameter = {};
|
|
3603
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3604
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3605
|
+
if (page !== void 0) {
|
|
3606
|
+
localVarQueryParameter["page"] = page;
|
|
3607
|
+
}
|
|
3608
|
+
if (size !== void 0) {
|
|
3609
|
+
localVarQueryParameter["size"] = size;
|
|
3610
|
+
}
|
|
3611
|
+
if (labelSelector) {
|
|
3612
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
3613
|
+
}
|
|
3614
|
+
if (fieldSelector) {
|
|
3615
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
3616
|
+
}
|
|
3617
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3618
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3619
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3620
|
+
return {
|
|
3621
|
+
url: toPathString(localVarUrlObj),
|
|
3622
|
+
options: localVarRequestOptions
|
|
3623
|
+
};
|
|
3624
|
+
},
|
|
3625
|
+
updatev1alpha1MenuItem: async (name, menuItem, options = {}) => {
|
|
3626
|
+
assertParamExists("updatev1alpha1MenuItem", "name", name);
|
|
3627
|
+
const localVarPath = `/api/v1alpha1/menuitems/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3628
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3629
|
+
let baseOptions;
|
|
3630
|
+
if (configuration) {
|
|
3631
|
+
baseOptions = configuration.baseOptions;
|
|
3632
|
+
}
|
|
3633
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
3634
|
+
const localVarHeaderParameter = {};
|
|
3635
|
+
const localVarQueryParameter = {};
|
|
3636
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3637
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3638
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3639
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3640
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3641
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3642
|
+
localVarRequestOptions.data = serializeDataIfNeeded(menuItem, localVarRequestOptions, configuration);
|
|
3643
|
+
return {
|
|
3644
|
+
url: toPathString(localVarUrlObj),
|
|
3645
|
+
options: localVarRequestOptions
|
|
3646
|
+
};
|
|
3647
|
+
}
|
|
3648
|
+
};
|
|
3649
|
+
};
|
|
3650
|
+
const V1alpha1MenuItemApiFp = function(configuration) {
|
|
3651
|
+
const localVarAxiosParamCreator = V1alpha1MenuItemApiAxiosParamCreator(configuration);
|
|
3652
|
+
return {
|
|
3653
|
+
async createv1alpha1MenuItem(menuItem, options) {
|
|
3654
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1MenuItem(menuItem, options);
|
|
3655
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3656
|
+
},
|
|
3657
|
+
async deletev1alpha1MenuItem(name, options) {
|
|
3658
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletev1alpha1MenuItem(name, options);
|
|
3659
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3660
|
+
},
|
|
3661
|
+
async getv1alpha1MenuItem(name, options) {
|
|
3662
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1MenuItem(name, options);
|
|
3663
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3664
|
+
},
|
|
3665
|
+
async listv1alpha1MenuItem(page, size, labelSelector, fieldSelector, options) {
|
|
3666
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1MenuItem(page, size, labelSelector, fieldSelector, options);
|
|
3667
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3668
|
+
},
|
|
3669
|
+
async updatev1alpha1MenuItem(name, menuItem, options) {
|
|
3670
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1MenuItem(name, menuItem, options);
|
|
3671
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3672
|
+
}
|
|
3673
|
+
};
|
|
3674
|
+
};
|
|
3675
|
+
const V1alpha1MenuItemApiFactory = function(configuration, basePath, axios) {
|
|
3676
|
+
const localVarFp = V1alpha1MenuItemApiFp(configuration);
|
|
3677
|
+
return {
|
|
3678
|
+
createv1alpha1MenuItem(menuItem, options) {
|
|
2839
3679
|
return localVarFp.createv1alpha1MenuItem(menuItem, options).then((request) => request(axios, basePath));
|
|
2840
3680
|
},
|
|
2841
3681
|
deletev1alpha1MenuItem(name, options) {
|
|
@@ -2853,22 +3693,23 @@ const V1alpha1MenuItemApiFactory = function(configuration, basePath, axios) {
|
|
|
2853
3693
|
};
|
|
2854
3694
|
};
|
|
2855
3695
|
class V1alpha1MenuItemApi extends BaseAPI {
|
|
2856
|
-
createv1alpha1MenuItem(
|
|
2857
|
-
return V1alpha1MenuItemApiFp(this.configuration).createv1alpha1MenuItem(menuItem, options).then((request) => request(this.axios, this.basePath));
|
|
3696
|
+
createv1alpha1MenuItem(requestParameters = {}, options) {
|
|
3697
|
+
return V1alpha1MenuItemApiFp(this.configuration).createv1alpha1MenuItem(requestParameters.menuItem, options).then((request) => request(this.axios, this.basePath));
|
|
2858
3698
|
}
|
|
2859
|
-
deletev1alpha1MenuItem(
|
|
2860
|
-
return V1alpha1MenuItemApiFp(this.configuration).deletev1alpha1MenuItem(name, options).then((request) => request(this.axios, this.basePath));
|
|
3699
|
+
deletev1alpha1MenuItem(requestParameters, options) {
|
|
3700
|
+
return V1alpha1MenuItemApiFp(this.configuration).deletev1alpha1MenuItem(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2861
3701
|
}
|
|
2862
|
-
getv1alpha1MenuItem(
|
|
2863
|
-
return V1alpha1MenuItemApiFp(this.configuration).getv1alpha1MenuItem(name, options).then((request) => request(this.axios, this.basePath));
|
|
3702
|
+
getv1alpha1MenuItem(requestParameters, options) {
|
|
3703
|
+
return V1alpha1MenuItemApiFp(this.configuration).getv1alpha1MenuItem(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2864
3704
|
}
|
|
2865
|
-
listv1alpha1MenuItem(
|
|
2866
|
-
return V1alpha1MenuItemApiFp(this.configuration).listv1alpha1MenuItem(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3705
|
+
listv1alpha1MenuItem(requestParameters = {}, options) {
|
|
3706
|
+
return V1alpha1MenuItemApiFp(this.configuration).listv1alpha1MenuItem(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2867
3707
|
}
|
|
2868
|
-
updatev1alpha1MenuItem(
|
|
2869
|
-
return V1alpha1MenuItemApiFp(this.configuration).updatev1alpha1MenuItem(name, menuItem, options).then((request) => request(this.axios, this.basePath));
|
|
3708
|
+
updatev1alpha1MenuItem(requestParameters, options) {
|
|
3709
|
+
return V1alpha1MenuItemApiFp(this.configuration).updatev1alpha1MenuItem(requestParameters.name, requestParameters.menuItem, options).then((request) => request(this.axios, this.basePath));
|
|
2870
3710
|
}
|
|
2871
3711
|
}
|
|
3712
|
+
|
|
2872
3713
|
const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration) {
|
|
2873
3714
|
return {
|
|
2874
3715
|
createv1alpha1PersonalAccessToken: async (personalAccessToken, options = {}) => {
|
|
@@ -3038,22 +3879,23 @@ const V1alpha1PersonalAccessTokenApiFactory = function(configuration, basePath,
|
|
|
3038
3879
|
};
|
|
3039
3880
|
};
|
|
3040
3881
|
class V1alpha1PersonalAccessTokenApi extends BaseAPI {
|
|
3041
|
-
createv1alpha1PersonalAccessToken(
|
|
3042
|
-
return V1alpha1PersonalAccessTokenApiFp(this.configuration).createv1alpha1PersonalAccessToken(personalAccessToken, options).then((request) => request(this.axios, this.basePath));
|
|
3882
|
+
createv1alpha1PersonalAccessToken(requestParameters = {}, options) {
|
|
3883
|
+
return V1alpha1PersonalAccessTokenApiFp(this.configuration).createv1alpha1PersonalAccessToken(requestParameters.personalAccessToken, options).then((request) => request(this.axios, this.basePath));
|
|
3043
3884
|
}
|
|
3044
|
-
deletev1alpha1PersonalAccessToken(
|
|
3045
|
-
return V1alpha1PersonalAccessTokenApiFp(this.configuration).deletev1alpha1PersonalAccessToken(name, options).then((request) => request(this.axios, this.basePath));
|
|
3885
|
+
deletev1alpha1PersonalAccessToken(requestParameters, options) {
|
|
3886
|
+
return V1alpha1PersonalAccessTokenApiFp(this.configuration).deletev1alpha1PersonalAccessToken(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3046
3887
|
}
|
|
3047
|
-
getv1alpha1PersonalAccessToken(
|
|
3048
|
-
return V1alpha1PersonalAccessTokenApiFp(this.configuration).getv1alpha1PersonalAccessToken(name, options).then((request) => request(this.axios, this.basePath));
|
|
3888
|
+
getv1alpha1PersonalAccessToken(requestParameters, options) {
|
|
3889
|
+
return V1alpha1PersonalAccessTokenApiFp(this.configuration).getv1alpha1PersonalAccessToken(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3049
3890
|
}
|
|
3050
|
-
listv1alpha1PersonalAccessToken(
|
|
3051
|
-
return V1alpha1PersonalAccessTokenApiFp(this.configuration).listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3891
|
+
listv1alpha1PersonalAccessToken(requestParameters = {}, options) {
|
|
3892
|
+
return V1alpha1PersonalAccessTokenApiFp(this.configuration).listv1alpha1PersonalAccessToken(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3052
3893
|
}
|
|
3053
|
-
updatev1alpha1PersonalAccessToken(
|
|
3054
|
-
return V1alpha1PersonalAccessTokenApiFp(this.configuration).updatev1alpha1PersonalAccessToken(name, personalAccessToken, options).then((request) => request(this.axios, this.basePath));
|
|
3894
|
+
updatev1alpha1PersonalAccessToken(requestParameters, options) {
|
|
3895
|
+
return V1alpha1PersonalAccessTokenApiFp(this.configuration).updatev1alpha1PersonalAccessToken(requestParameters.name, requestParameters.personalAccessToken, options).then((request) => request(this.axios, this.basePath));
|
|
3055
3896
|
}
|
|
3056
3897
|
}
|
|
3898
|
+
|
|
3057
3899
|
const V1alpha1RoleApiAxiosParamCreator = function(configuration) {
|
|
3058
3900
|
return {
|
|
3059
3901
|
createv1alpha1Role: async (role, options = {}) => {
|
|
@@ -3223,22 +4065,23 @@ const V1alpha1RoleApiFactory = function(configuration, basePath, axios) {
|
|
|
3223
4065
|
};
|
|
3224
4066
|
};
|
|
3225
4067
|
class V1alpha1RoleApi extends BaseAPI {
|
|
3226
|
-
createv1alpha1Role(
|
|
3227
|
-
return V1alpha1RoleApiFp(this.configuration).createv1alpha1Role(role, options).then((request) => request(this.axios, this.basePath));
|
|
4068
|
+
createv1alpha1Role(requestParameters = {}, options) {
|
|
4069
|
+
return V1alpha1RoleApiFp(this.configuration).createv1alpha1Role(requestParameters.role, options).then((request) => request(this.axios, this.basePath));
|
|
3228
4070
|
}
|
|
3229
|
-
deletev1alpha1Role(
|
|
3230
|
-
return V1alpha1RoleApiFp(this.configuration).deletev1alpha1Role(name, options).then((request) => request(this.axios, this.basePath));
|
|
4071
|
+
deletev1alpha1Role(requestParameters, options) {
|
|
4072
|
+
return V1alpha1RoleApiFp(this.configuration).deletev1alpha1Role(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3231
4073
|
}
|
|
3232
|
-
getv1alpha1Role(
|
|
3233
|
-
return V1alpha1RoleApiFp(this.configuration).getv1alpha1Role(name, options).then((request) => request(this.axios, this.basePath));
|
|
4074
|
+
getv1alpha1Role(requestParameters, options) {
|
|
4075
|
+
return V1alpha1RoleApiFp(this.configuration).getv1alpha1Role(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3234
4076
|
}
|
|
3235
|
-
listv1alpha1Role(
|
|
3236
|
-
return V1alpha1RoleApiFp(this.configuration).listv1alpha1Role(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
4077
|
+
listv1alpha1Role(requestParameters = {}, options) {
|
|
4078
|
+
return V1alpha1RoleApiFp(this.configuration).listv1alpha1Role(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3237
4079
|
}
|
|
3238
|
-
updatev1alpha1Role(
|
|
3239
|
-
return V1alpha1RoleApiFp(this.configuration).updatev1alpha1Role(name, role, options).then((request) => request(this.axios, this.basePath));
|
|
4080
|
+
updatev1alpha1Role(requestParameters, options) {
|
|
4081
|
+
return V1alpha1RoleApiFp(this.configuration).updatev1alpha1Role(requestParameters.name, requestParameters.role, options).then((request) => request(this.axios, this.basePath));
|
|
3240
4082
|
}
|
|
3241
4083
|
}
|
|
4084
|
+
|
|
3242
4085
|
const V1alpha1RoleBindingApiAxiosParamCreator = function(configuration) {
|
|
3243
4086
|
return {
|
|
3244
4087
|
createv1alpha1RoleBinding: async (roleBinding, options = {}) => {
|
|
@@ -3408,22 +4251,23 @@ const V1alpha1RoleBindingApiFactory = function(configuration, basePath, axios) {
|
|
|
3408
4251
|
};
|
|
3409
4252
|
};
|
|
3410
4253
|
class V1alpha1RoleBindingApi extends BaseAPI {
|
|
3411
|
-
createv1alpha1RoleBinding(
|
|
3412
|
-
return V1alpha1RoleBindingApiFp(this.configuration).createv1alpha1RoleBinding(roleBinding, options).then((request) => request(this.axios, this.basePath));
|
|
4254
|
+
createv1alpha1RoleBinding(requestParameters = {}, options) {
|
|
4255
|
+
return V1alpha1RoleBindingApiFp(this.configuration).createv1alpha1RoleBinding(requestParameters.roleBinding, options).then((request) => request(this.axios, this.basePath));
|
|
3413
4256
|
}
|
|
3414
|
-
deletev1alpha1RoleBinding(
|
|
3415
|
-
return V1alpha1RoleBindingApiFp(this.configuration).deletev1alpha1RoleBinding(name, options).then((request) => request(this.axios, this.basePath));
|
|
4257
|
+
deletev1alpha1RoleBinding(requestParameters, options) {
|
|
4258
|
+
return V1alpha1RoleBindingApiFp(this.configuration).deletev1alpha1RoleBinding(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3416
4259
|
}
|
|
3417
|
-
getv1alpha1RoleBinding(
|
|
3418
|
-
return V1alpha1RoleBindingApiFp(this.configuration).getv1alpha1RoleBinding(name, options).then((request) => request(this.axios, this.basePath));
|
|
4260
|
+
getv1alpha1RoleBinding(requestParameters, options) {
|
|
4261
|
+
return V1alpha1RoleBindingApiFp(this.configuration).getv1alpha1RoleBinding(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3419
4262
|
}
|
|
3420
|
-
listv1alpha1RoleBinding(
|
|
3421
|
-
return V1alpha1RoleBindingApiFp(this.configuration).listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
4263
|
+
listv1alpha1RoleBinding(requestParameters = {}, options) {
|
|
4264
|
+
return V1alpha1RoleBindingApiFp(this.configuration).listv1alpha1RoleBinding(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3422
4265
|
}
|
|
3423
|
-
updatev1alpha1RoleBinding(
|
|
3424
|
-
return V1alpha1RoleBindingApiFp(this.configuration).updatev1alpha1RoleBinding(name, roleBinding, options).then((request) => request(this.axios, this.basePath));
|
|
4266
|
+
updatev1alpha1RoleBinding(requestParameters, options) {
|
|
4267
|
+
return V1alpha1RoleBindingApiFp(this.configuration).updatev1alpha1RoleBinding(requestParameters.name, requestParameters.roleBinding, options).then((request) => request(this.axios, this.basePath));
|
|
3425
4268
|
}
|
|
3426
4269
|
}
|
|
4270
|
+
|
|
3427
4271
|
const V1alpha1SettingApiAxiosParamCreator = function(configuration) {
|
|
3428
4272
|
return {
|
|
3429
4273
|
createv1alpha1Setting: async (setting, options = {}) => {
|
|
@@ -3593,22 +4437,23 @@ const V1alpha1SettingApiFactory = function(configuration, basePath, axios) {
|
|
|
3593
4437
|
};
|
|
3594
4438
|
};
|
|
3595
4439
|
class V1alpha1SettingApi extends BaseAPI {
|
|
3596
|
-
createv1alpha1Setting(
|
|
3597
|
-
return V1alpha1SettingApiFp(this.configuration).createv1alpha1Setting(setting, options).then((request) => request(this.axios, this.basePath));
|
|
4440
|
+
createv1alpha1Setting(requestParameters = {}, options) {
|
|
4441
|
+
return V1alpha1SettingApiFp(this.configuration).createv1alpha1Setting(requestParameters.setting, options).then((request) => request(this.axios, this.basePath));
|
|
3598
4442
|
}
|
|
3599
|
-
deletev1alpha1Setting(
|
|
3600
|
-
return V1alpha1SettingApiFp(this.configuration).deletev1alpha1Setting(name, options).then((request) => request(this.axios, this.basePath));
|
|
4443
|
+
deletev1alpha1Setting(requestParameters, options) {
|
|
4444
|
+
return V1alpha1SettingApiFp(this.configuration).deletev1alpha1Setting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3601
4445
|
}
|
|
3602
|
-
getv1alpha1Setting(
|
|
3603
|
-
return V1alpha1SettingApiFp(this.configuration).getv1alpha1Setting(name, options).then((request) => request(this.axios, this.basePath));
|
|
4446
|
+
getv1alpha1Setting(requestParameters, options) {
|
|
4447
|
+
return V1alpha1SettingApiFp(this.configuration).getv1alpha1Setting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3604
4448
|
}
|
|
3605
|
-
listv1alpha1Setting(
|
|
3606
|
-
return V1alpha1SettingApiFp(this.configuration).listv1alpha1Setting(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
4449
|
+
listv1alpha1Setting(requestParameters = {}, options) {
|
|
4450
|
+
return V1alpha1SettingApiFp(this.configuration).listv1alpha1Setting(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3607
4451
|
}
|
|
3608
|
-
updatev1alpha1Setting(
|
|
3609
|
-
return V1alpha1SettingApiFp(this.configuration).updatev1alpha1Setting(name, setting, options).then((request) => request(this.axios, this.basePath));
|
|
4452
|
+
updatev1alpha1Setting(requestParameters, options) {
|
|
4453
|
+
return V1alpha1SettingApiFp(this.configuration).updatev1alpha1Setting(requestParameters.name, requestParameters.setting, options).then((request) => request(this.axios, this.basePath));
|
|
3610
4454
|
}
|
|
3611
4455
|
}
|
|
4456
|
+
|
|
3612
4457
|
const V1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
3613
4458
|
return {
|
|
3614
4459
|
createv1alpha1User: async (user, options = {}) => {
|
|
@@ -3778,20 +4623,20 @@ const V1alpha1UserApiFactory = function(configuration, basePath, axios) {
|
|
|
3778
4623
|
};
|
|
3779
4624
|
};
|
|
3780
4625
|
class V1alpha1UserApi extends BaseAPI {
|
|
3781
|
-
createv1alpha1User(
|
|
3782
|
-
return V1alpha1UserApiFp(this.configuration).createv1alpha1User(user, options).then((request) => request(this.axios, this.basePath));
|
|
4626
|
+
createv1alpha1User(requestParameters = {}, options) {
|
|
4627
|
+
return V1alpha1UserApiFp(this.configuration).createv1alpha1User(requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|
|
3783
4628
|
}
|
|
3784
|
-
deletev1alpha1User(
|
|
3785
|
-
return V1alpha1UserApiFp(this.configuration).deletev1alpha1User(name, options).then((request) => request(this.axios, this.basePath));
|
|
4629
|
+
deletev1alpha1User(requestParameters, options) {
|
|
4630
|
+
return V1alpha1UserApiFp(this.configuration).deletev1alpha1User(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3786
4631
|
}
|
|
3787
|
-
getv1alpha1User(
|
|
3788
|
-
return V1alpha1UserApiFp(this.configuration).getv1alpha1User(name, options).then((request) => request(this.axios, this.basePath));
|
|
4632
|
+
getv1alpha1User(requestParameters, options) {
|
|
4633
|
+
return V1alpha1UserApiFp(this.configuration).getv1alpha1User(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3789
4634
|
}
|
|
3790
|
-
listv1alpha1User(
|
|
3791
|
-
return V1alpha1UserApiFp(this.configuration).listv1alpha1User(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
4635
|
+
listv1alpha1User(requestParameters = {}, options) {
|
|
4636
|
+
return V1alpha1UserApiFp(this.configuration).listv1alpha1User(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3792
4637
|
}
|
|
3793
|
-
updatev1alpha1User(
|
|
3794
|
-
return V1alpha1UserApiFp(this.configuration).updatev1alpha1User(name, user, options).then((request) => request(this.axios, this.basePath));
|
|
4638
|
+
updatev1alpha1User(requestParameters, options) {
|
|
4639
|
+
return V1alpha1UserApiFp(this.configuration).updatev1alpha1User(requestParameters.name, requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|
|
3795
4640
|
}
|
|
3796
4641
|
}
|
|
3797
4642
|
|
|
@@ -3811,4 +4656,25 @@ class Configuration {
|
|
|
3811
4656
|
}
|
|
3812
4657
|
}
|
|
3813
4658
|
|
|
3814
|
-
|
|
4659
|
+
const ConditionStatusEnum = {
|
|
4660
|
+
True: "TRUE",
|
|
4661
|
+
False: "FALSE",
|
|
4662
|
+
Unknown: "UNKNOWN"
|
|
4663
|
+
};
|
|
4664
|
+
|
|
4665
|
+
const PluginStatusPhaseEnum = {
|
|
4666
|
+
Created: "CREATED",
|
|
4667
|
+
Disabled: "DISABLED",
|
|
4668
|
+
Resolved: "RESOLVED",
|
|
4669
|
+
Started: "STARTED",
|
|
4670
|
+
Stopped: "STOPPED",
|
|
4671
|
+
Failed: "FAILED"
|
|
4672
|
+
};
|
|
4673
|
+
|
|
4674
|
+
const PostSpecVisibleEnum = {
|
|
4675
|
+
Public: "PUBLIC",
|
|
4676
|
+
Internal: "INTERNAL",
|
|
4677
|
+
Private: "PRIVATE"
|
|
4678
|
+
};
|
|
4679
|
+
|
|
4680
|
+
export { ApiHaloRunV1alpha1ContentApi, ApiHaloRunV1alpha1ContentApiAxiosParamCreator, ApiHaloRunV1alpha1ContentApiFactory, ApiHaloRunV1alpha1ContentApiFp, ApiHaloRunV1alpha1PluginApi, ApiHaloRunV1alpha1PluginApiAxiosParamCreator, ApiHaloRunV1alpha1PluginApiFactory, ApiHaloRunV1alpha1PluginApiFp, ApiHaloRunV1alpha1PostApi, ApiHaloRunV1alpha1PostApiAxiosParamCreator, ApiHaloRunV1alpha1PostApiFactory, ApiHaloRunV1alpha1PostApiFp, ApiHaloRunV1alpha1ThemeApi, ApiHaloRunV1alpha1ThemeApiAxiosParamCreator, ApiHaloRunV1alpha1ThemeApiFactory, ApiHaloRunV1alpha1ThemeApiFp, ApiHaloRunV1alpha1UserApi, ApiHaloRunV1alpha1UserApiAxiosParamCreator, ApiHaloRunV1alpha1UserApiFactory, ApiHaloRunV1alpha1UserApiFp, ConditionStatusEnum, Configuration, ContentHaloRunV1alpha1CategoryApi, ContentHaloRunV1alpha1CategoryApiAxiosParamCreator, ContentHaloRunV1alpha1CategoryApiFactory, ContentHaloRunV1alpha1CategoryApiFp, ContentHaloRunV1alpha1CommentApi, ContentHaloRunV1alpha1CommentApiAxiosParamCreator, ContentHaloRunV1alpha1CommentApiFactory, ContentHaloRunV1alpha1CommentApiFp, ContentHaloRunV1alpha1PostApi, ContentHaloRunV1alpha1PostApiAxiosParamCreator, ContentHaloRunV1alpha1PostApiFactory, ContentHaloRunV1alpha1PostApiFp, ContentHaloRunV1alpha1ReplyApi, ContentHaloRunV1alpha1ReplyApiAxiosParamCreator, ContentHaloRunV1alpha1ReplyApiFactory, ContentHaloRunV1alpha1ReplyApiFp, ContentHaloRunV1alpha1SnapshotApi, ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator, ContentHaloRunV1alpha1SnapshotApiFactory, ContentHaloRunV1alpha1SnapshotApiFp, ContentHaloRunV1alpha1TagApi, ContentHaloRunV1alpha1TagApiAxiosParamCreator, ContentHaloRunV1alpha1TagApiFactory, ContentHaloRunV1alpha1TagApiFp, PluginHaloRunV1alpha1PluginApi, PluginHaloRunV1alpha1PluginApiAxiosParamCreator, PluginHaloRunV1alpha1PluginApiFactory, PluginHaloRunV1alpha1PluginApiFp, PluginHaloRunV1alpha1ReverseProxyApi, PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator, PluginHaloRunV1alpha1ReverseProxyApiFactory, PluginHaloRunV1alpha1ReverseProxyApiFp, PluginStatusPhaseEnum, PostSpecVisibleEnum, StorageHaloRunV1alpha1AttachmentApi, StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator, StorageHaloRunV1alpha1AttachmentApiFactory, StorageHaloRunV1alpha1AttachmentApiFp, StorageHaloRunV1alpha1GroupApi, StorageHaloRunV1alpha1GroupApiAxiosParamCreator, StorageHaloRunV1alpha1GroupApiFactory, StorageHaloRunV1alpha1GroupApiFp, StorageHaloRunV1alpha1PolicyApi, StorageHaloRunV1alpha1PolicyApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyApiFactory, StorageHaloRunV1alpha1PolicyApiFp, StorageHaloRunV1alpha1PolicyTemplateApi, StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyTemplateApiFactory, StorageHaloRunV1alpha1PolicyTemplateApiFp, ThemeHaloRunV1alpha1ThemeApi, ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator, ThemeHaloRunV1alpha1ThemeApiFactory, ThemeHaloRunV1alpha1ThemeApiFp, V1alpha1ConfigMapApi, V1alpha1ConfigMapApiAxiosParamCreator, V1alpha1ConfigMapApiFactory, V1alpha1ConfigMapApiFp, V1alpha1MenuApi, V1alpha1MenuApiAxiosParamCreator, V1alpha1MenuApiFactory, V1alpha1MenuApiFp, V1alpha1MenuItemApi, V1alpha1MenuItemApiAxiosParamCreator, V1alpha1MenuItemApiFactory, V1alpha1MenuItemApiFp, V1alpha1PersonalAccessTokenApi, V1alpha1PersonalAccessTokenApiAxiosParamCreator, V1alpha1PersonalAccessTokenApiFactory, V1alpha1PersonalAccessTokenApiFp, V1alpha1RoleApi, V1alpha1RoleApiAxiosParamCreator, V1alpha1RoleApiFactory, V1alpha1RoleApiFp, V1alpha1RoleBindingApi, V1alpha1RoleBindingApiAxiosParamCreator, V1alpha1RoleBindingApiFactory, V1alpha1RoleBindingApiFp, V1alpha1SettingApi, V1alpha1SettingApiAxiosParamCreator, V1alpha1SettingApiFactory, V1alpha1SettingApiFp, V1alpha1UserApi, V1alpha1UserApiAxiosParamCreator, V1alpha1UserApiFactory, V1alpha1UserApiFp };
|