@halo-dev/api-client 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +132 -99
- package/dist/index.d.ts +220 -176
- package/dist/index.mjs +132 -99
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -385,7 +385,7 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
|
385
385
|
options: localVarRequestOptions
|
|
386
386
|
};
|
|
387
387
|
},
|
|
388
|
-
listcoreHaloRunV1alpha1Link: async (page, size,
|
|
388
|
+
listcoreHaloRunV1alpha1Link: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
389
389
|
const localVarPath = `/apis/core.halo.run/v1alpha1/links`;
|
|
390
390
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
391
391
|
let baseOptions;
|
|
@@ -403,8 +403,11 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
|
403
403
|
if (size !== void 0) {
|
|
404
404
|
localVarQueryParameter["size"] = size;
|
|
405
405
|
}
|
|
406
|
-
if (
|
|
407
|
-
localVarQueryParameter["
|
|
406
|
+
if (labelSelector) {
|
|
407
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
408
|
+
}
|
|
409
|
+
if (fieldSelector) {
|
|
410
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
408
411
|
}
|
|
409
412
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
410
413
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -454,8 +457,8 @@ const CoreHaloRunV1alpha1LinkApiFp = function(configuration) {
|
|
|
454
457
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getcoreHaloRunV1alpha1Link(name, options);
|
|
455
458
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
456
459
|
},
|
|
457
|
-
async listcoreHaloRunV1alpha1Link(page, size,
|
|
458
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1Link(page, size,
|
|
460
|
+
async listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
|
|
461
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options);
|
|
459
462
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
460
463
|
},
|
|
461
464
|
async updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
@@ -476,8 +479,8 @@ const CoreHaloRunV1alpha1LinkApiFactory = function(configuration, basePath, axio
|
|
|
476
479
|
getcoreHaloRunV1alpha1Link(name, options) {
|
|
477
480
|
return localVarFp.getcoreHaloRunV1alpha1Link(name, options).then((request) => request(axios, basePath));
|
|
478
481
|
},
|
|
479
|
-
listcoreHaloRunV1alpha1Link(page, size,
|
|
480
|
-
return localVarFp.listcoreHaloRunV1alpha1Link(page, size,
|
|
482
|
+
listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
|
|
483
|
+
return localVarFp.listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
481
484
|
},
|
|
482
485
|
updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
483
486
|
return localVarFp.updatecoreHaloRunV1alpha1Link(name, link, options).then((request) => request(axios, basePath));
|
|
@@ -494,8 +497,8 @@ class CoreHaloRunV1alpha1LinkApi extends BaseAPI {
|
|
|
494
497
|
getcoreHaloRunV1alpha1Link(name, options) {
|
|
495
498
|
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).getcoreHaloRunV1alpha1Link(name, options).then((request) => request(this.axios, this.basePath));
|
|
496
499
|
}
|
|
497
|
-
listcoreHaloRunV1alpha1Link(page, size,
|
|
498
|
-
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).listcoreHaloRunV1alpha1Link(page, size,
|
|
500
|
+
listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
|
|
501
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
499
502
|
}
|
|
500
503
|
updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
501
504
|
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).updatecoreHaloRunV1alpha1Link(name, link, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -567,7 +570,7 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
567
570
|
options: localVarRequestOptions
|
|
568
571
|
};
|
|
569
572
|
},
|
|
570
|
-
listcoreHaloRunV1alpha1LinkGroup: async (page, size,
|
|
573
|
+
listcoreHaloRunV1alpha1LinkGroup: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
571
574
|
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups`;
|
|
572
575
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
573
576
|
let baseOptions;
|
|
@@ -585,8 +588,11 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
585
588
|
if (size !== void 0) {
|
|
586
589
|
localVarQueryParameter["size"] = size;
|
|
587
590
|
}
|
|
588
|
-
if (
|
|
589
|
-
localVarQueryParameter["
|
|
591
|
+
if (labelSelector) {
|
|
592
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
593
|
+
}
|
|
594
|
+
if (fieldSelector) {
|
|
595
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
590
596
|
}
|
|
591
597
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
592
598
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -636,8 +642,8 @@ const CoreHaloRunV1alpha1LinkGroupApiFp = function(configuration) {
|
|
|
636
642
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getcoreHaloRunV1alpha1LinkGroup(name, options);
|
|
637
643
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
638
644
|
},
|
|
639
|
-
async listcoreHaloRunV1alpha1LinkGroup(page, size,
|
|
640
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1LinkGroup(page, size,
|
|
645
|
+
async listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
|
|
646
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options);
|
|
641
647
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
642
648
|
},
|
|
643
649
|
async updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
@@ -658,8 +664,8 @@ const CoreHaloRunV1alpha1LinkGroupApiFactory = function(configuration, basePath,
|
|
|
658
664
|
getcoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
659
665
|
return localVarFp.getcoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(axios, basePath));
|
|
660
666
|
},
|
|
661
|
-
listcoreHaloRunV1alpha1LinkGroup(page, size,
|
|
662
|
-
return localVarFp.listcoreHaloRunV1alpha1LinkGroup(page, size,
|
|
667
|
+
listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
|
|
668
|
+
return localVarFp.listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
663
669
|
},
|
|
664
670
|
updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
665
671
|
return localVarFp.updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options).then((request) => request(axios, basePath));
|
|
@@ -676,8 +682,8 @@ class CoreHaloRunV1alpha1LinkGroupApi extends BaseAPI {
|
|
|
676
682
|
getcoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
677
683
|
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).getcoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(this.axios, this.basePath));
|
|
678
684
|
}
|
|
679
|
-
listcoreHaloRunV1alpha1LinkGroup(page, size,
|
|
680
|
-
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).listcoreHaloRunV1alpha1LinkGroup(page, size,
|
|
685
|
+
listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
|
|
686
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
681
687
|
}
|
|
682
688
|
updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
683
689
|
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -749,7 +755,7 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
749
755
|
options: localVarRequestOptions
|
|
750
756
|
};
|
|
751
757
|
},
|
|
752
|
-
listpluginHaloRunV1alpha1Plugin: async (page, size,
|
|
758
|
+
listpluginHaloRunV1alpha1Plugin: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
753
759
|
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins`;
|
|
754
760
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
755
761
|
let baseOptions;
|
|
@@ -767,8 +773,11 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
767
773
|
if (size !== void 0) {
|
|
768
774
|
localVarQueryParameter["size"] = size;
|
|
769
775
|
}
|
|
770
|
-
if (
|
|
771
|
-
localVarQueryParameter["
|
|
776
|
+
if (labelSelector) {
|
|
777
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
778
|
+
}
|
|
779
|
+
if (fieldSelector) {
|
|
780
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
772
781
|
}
|
|
773
782
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
774
783
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -818,8 +827,8 @@ const PluginHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
818
827
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1Plugin(name, options);
|
|
819
828
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
820
829
|
},
|
|
821
|
-
async listpluginHaloRunV1alpha1Plugin(page, size,
|
|
822
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1Plugin(page, size,
|
|
830
|
+
async listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
|
|
831
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options);
|
|
823
832
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
824
833
|
},
|
|
825
834
|
async updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
|
|
@@ -840,8 +849,8 @@ const PluginHaloRunV1alpha1PluginApiFactory = function(configuration, basePath,
|
|
|
840
849
|
getpluginHaloRunV1alpha1Plugin(name, options) {
|
|
841
850
|
return localVarFp.getpluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
|
|
842
851
|
},
|
|
843
|
-
listpluginHaloRunV1alpha1Plugin(page, size,
|
|
844
|
-
return localVarFp.listpluginHaloRunV1alpha1Plugin(page, size,
|
|
852
|
+
listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
|
|
853
|
+
return localVarFp.listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
845
854
|
},
|
|
846
855
|
updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
|
|
847
856
|
return localVarFp.updatepluginHaloRunV1alpha1Plugin(name, plugin, options).then((request) => request(axios, basePath));
|
|
@@ -858,8 +867,8 @@ class PluginHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
858
867
|
getpluginHaloRunV1alpha1Plugin(name, options) {
|
|
859
868
|
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).getpluginHaloRunV1alpha1Plugin(name, options).then((request) => request(this.axios, this.basePath));
|
|
860
869
|
}
|
|
861
|
-
listpluginHaloRunV1alpha1Plugin(page, size,
|
|
862
|
-
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).listpluginHaloRunV1alpha1Plugin(page, size,
|
|
870
|
+
listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
|
|
871
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
863
872
|
}
|
|
864
873
|
updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
|
|
865
874
|
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).updatepluginHaloRunV1alpha1Plugin(name, plugin, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -931,7 +940,7 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
931
940
|
options: localVarRequestOptions
|
|
932
941
|
};
|
|
933
942
|
},
|
|
934
|
-
listpluginHaloRunV1alpha1ReverseProxy: async (page, size,
|
|
943
|
+
listpluginHaloRunV1alpha1ReverseProxy: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
935
944
|
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies`;
|
|
936
945
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
937
946
|
let baseOptions;
|
|
@@ -949,8 +958,11 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
949
958
|
if (size !== void 0) {
|
|
950
959
|
localVarQueryParameter["size"] = size;
|
|
951
960
|
}
|
|
952
|
-
if (
|
|
953
|
-
localVarQueryParameter["
|
|
961
|
+
if (labelSelector) {
|
|
962
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
963
|
+
}
|
|
964
|
+
if (fieldSelector) {
|
|
965
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
954
966
|
}
|
|
955
967
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
956
968
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1000,8 +1012,8 @@ const PluginHaloRunV1alpha1ReverseProxyApiFp = function(configuration) {
|
|
|
1000
1012
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1ReverseProxy(name, options);
|
|
1001
1013
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1002
1014
|
},
|
|
1003
|
-
async listpluginHaloRunV1alpha1ReverseProxy(page, size,
|
|
1004
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1ReverseProxy(page, size,
|
|
1015
|
+
async listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
|
|
1016
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options);
|
|
1005
1017
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1006
1018
|
},
|
|
1007
1019
|
async updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
|
|
@@ -1022,8 +1034,8 @@ const PluginHaloRunV1alpha1ReverseProxyApiFactory = function(configuration, base
|
|
|
1022
1034
|
getpluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
1023
1035
|
return localVarFp.getpluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
|
|
1024
1036
|
},
|
|
1025
|
-
listpluginHaloRunV1alpha1ReverseProxy(page, size,
|
|
1026
|
-
return localVarFp.listpluginHaloRunV1alpha1ReverseProxy(page, size,
|
|
1037
|
+
listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
|
|
1038
|
+
return localVarFp.listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1027
1039
|
},
|
|
1028
1040
|
updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
|
|
1029
1041
|
return localVarFp.updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options).then((request) => request(axios, basePath));
|
|
@@ -1040,8 +1052,8 @@ class PluginHaloRunV1alpha1ReverseProxyApi extends BaseAPI {
|
|
|
1040
1052
|
getpluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
1041
1053
|
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).getpluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(this.axios, this.basePath));
|
|
1042
1054
|
}
|
|
1043
|
-
listpluginHaloRunV1alpha1ReverseProxy(page, size,
|
|
1044
|
-
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).listpluginHaloRunV1alpha1ReverseProxy(page, size,
|
|
1055
|
+
listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
|
|
1056
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1045
1057
|
}
|
|
1046
1058
|
updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
|
|
1047
1059
|
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1113,7 +1125,7 @@ const RunHaloTemplateV1alpha1AppleApiAxiosParamCreator = function(configuration)
|
|
|
1113
1125
|
options: localVarRequestOptions
|
|
1114
1126
|
};
|
|
1115
1127
|
},
|
|
1116
|
-
listrunHaloTemplateV1alpha1Apple: async (page, size,
|
|
1128
|
+
listrunHaloTemplateV1alpha1Apple: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1117
1129
|
const localVarPath = `/apis/run.halo.template/v1alpha1/apples`;
|
|
1118
1130
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1119
1131
|
let baseOptions;
|
|
@@ -1131,8 +1143,11 @@ const RunHaloTemplateV1alpha1AppleApiAxiosParamCreator = function(configuration)
|
|
|
1131
1143
|
if (size !== void 0) {
|
|
1132
1144
|
localVarQueryParameter["size"] = size;
|
|
1133
1145
|
}
|
|
1134
|
-
if (
|
|
1135
|
-
localVarQueryParameter["
|
|
1146
|
+
if (labelSelector) {
|
|
1147
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1148
|
+
}
|
|
1149
|
+
if (fieldSelector) {
|
|
1150
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1136
1151
|
}
|
|
1137
1152
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1138
1153
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1182,8 +1197,8 @@ const RunHaloTemplateV1alpha1AppleApiFp = function(configuration) {
|
|
|
1182
1197
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getrunHaloTemplateV1alpha1Apple(name, options);
|
|
1183
1198
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1184
1199
|
},
|
|
1185
|
-
async listrunHaloTemplateV1alpha1Apple(page, size,
|
|
1186
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listrunHaloTemplateV1alpha1Apple(page, size,
|
|
1200
|
+
async listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options) {
|
|
1201
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options);
|
|
1187
1202
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1188
1203
|
},
|
|
1189
1204
|
async updaterunHaloTemplateV1alpha1Apple(name, apple, options) {
|
|
@@ -1204,8 +1219,8 @@ const RunHaloTemplateV1alpha1AppleApiFactory = function(configuration, basePath,
|
|
|
1204
1219
|
getrunHaloTemplateV1alpha1Apple(name, options) {
|
|
1205
1220
|
return localVarFp.getrunHaloTemplateV1alpha1Apple(name, options).then((request) => request(axios, basePath));
|
|
1206
1221
|
},
|
|
1207
|
-
listrunHaloTemplateV1alpha1Apple(page, size,
|
|
1208
|
-
return localVarFp.listrunHaloTemplateV1alpha1Apple(page, size,
|
|
1222
|
+
listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options) {
|
|
1223
|
+
return localVarFp.listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1209
1224
|
},
|
|
1210
1225
|
updaterunHaloTemplateV1alpha1Apple(name, apple, options) {
|
|
1211
1226
|
return localVarFp.updaterunHaloTemplateV1alpha1Apple(name, apple, options).then((request) => request(axios, basePath));
|
|
@@ -1222,8 +1237,8 @@ class RunHaloTemplateV1alpha1AppleApi extends BaseAPI {
|
|
|
1222
1237
|
getrunHaloTemplateV1alpha1Apple(name, options) {
|
|
1223
1238
|
return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).getrunHaloTemplateV1alpha1Apple(name, options).then((request) => request(this.axios, this.basePath));
|
|
1224
1239
|
}
|
|
1225
|
-
listrunHaloTemplateV1alpha1Apple(page, size,
|
|
1226
|
-
return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).listrunHaloTemplateV1alpha1Apple(page, size,
|
|
1240
|
+
listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options) {
|
|
1241
|
+
return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1227
1242
|
}
|
|
1228
1243
|
updaterunHaloTemplateV1alpha1Apple(name, apple, options) {
|
|
1229
1244
|
return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).updaterunHaloTemplateV1alpha1Apple(name, apple, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1295,7 +1310,7 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
1295
1310
|
options: localVarRequestOptions
|
|
1296
1311
|
};
|
|
1297
1312
|
},
|
|
1298
|
-
listv1alpha1ConfigMap: async (page, size,
|
|
1313
|
+
listv1alpha1ConfigMap: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1299
1314
|
const localVarPath = `/api/v1alpha1/configmaps`;
|
|
1300
1315
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1301
1316
|
let baseOptions;
|
|
@@ -1313,8 +1328,11 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
1313
1328
|
if (size !== void 0) {
|
|
1314
1329
|
localVarQueryParameter["size"] = size;
|
|
1315
1330
|
}
|
|
1316
|
-
if (
|
|
1317
|
-
localVarQueryParameter["
|
|
1331
|
+
if (labelSelector) {
|
|
1332
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1333
|
+
}
|
|
1334
|
+
if (fieldSelector) {
|
|
1335
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1318
1336
|
}
|
|
1319
1337
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1320
1338
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1364,8 +1382,8 @@ const V1alpha1ConfigMapApiFp = function(configuration) {
|
|
|
1364
1382
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1ConfigMap(name, options);
|
|
1365
1383
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1366
1384
|
},
|
|
1367
|
-
async listv1alpha1ConfigMap(page, size,
|
|
1368
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1ConfigMap(page, size,
|
|
1385
|
+
async listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options) {
|
|
1386
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options);
|
|
1369
1387
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1370
1388
|
},
|
|
1371
1389
|
async updatev1alpha1ConfigMap(name, configMap, options) {
|
|
@@ -1386,8 +1404,8 @@ const V1alpha1ConfigMapApiFactory = function(configuration, basePath, axios) {
|
|
|
1386
1404
|
getv1alpha1ConfigMap(name, options) {
|
|
1387
1405
|
return localVarFp.getv1alpha1ConfigMap(name, options).then((request) => request(axios, basePath));
|
|
1388
1406
|
},
|
|
1389
|
-
listv1alpha1ConfigMap(page, size,
|
|
1390
|
-
return localVarFp.listv1alpha1ConfigMap(page, size,
|
|
1407
|
+
listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options) {
|
|
1408
|
+
return localVarFp.listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1391
1409
|
},
|
|
1392
1410
|
updatev1alpha1ConfigMap(name, configMap, options) {
|
|
1393
1411
|
return localVarFp.updatev1alpha1ConfigMap(name, configMap, options).then((request) => request(axios, basePath));
|
|
@@ -1404,8 +1422,8 @@ class V1alpha1ConfigMapApi extends BaseAPI {
|
|
|
1404
1422
|
getv1alpha1ConfigMap(name, options) {
|
|
1405
1423
|
return V1alpha1ConfigMapApiFp(this.configuration).getv1alpha1ConfigMap(name, options).then((request) => request(this.axios, this.basePath));
|
|
1406
1424
|
}
|
|
1407
|
-
listv1alpha1ConfigMap(page, size,
|
|
1408
|
-
return V1alpha1ConfigMapApiFp(this.configuration).listv1alpha1ConfigMap(page, size,
|
|
1425
|
+
listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options) {
|
|
1426
|
+
return V1alpha1ConfigMapApiFp(this.configuration).listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1409
1427
|
}
|
|
1410
1428
|
updatev1alpha1ConfigMap(name, configMap, options) {
|
|
1411
1429
|
return V1alpha1ConfigMapApiFp(this.configuration).updatev1alpha1ConfigMap(name, configMap, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1477,7 +1495,7 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
1477
1495
|
options: localVarRequestOptions
|
|
1478
1496
|
};
|
|
1479
1497
|
},
|
|
1480
|
-
listv1alpha1PersonalAccessToken: async (page, size,
|
|
1498
|
+
listv1alpha1PersonalAccessToken: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1481
1499
|
const localVarPath = `/api/v1alpha1/personalaccesstokens`;
|
|
1482
1500
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1483
1501
|
let baseOptions;
|
|
@@ -1495,8 +1513,11 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
1495
1513
|
if (size !== void 0) {
|
|
1496
1514
|
localVarQueryParameter["size"] = size;
|
|
1497
1515
|
}
|
|
1498
|
-
if (
|
|
1499
|
-
localVarQueryParameter["
|
|
1516
|
+
if (labelSelector) {
|
|
1517
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1518
|
+
}
|
|
1519
|
+
if (fieldSelector) {
|
|
1520
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1500
1521
|
}
|
|
1501
1522
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1502
1523
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1546,8 +1567,8 @@ const V1alpha1PersonalAccessTokenApiFp = function(configuration) {
|
|
|
1546
1567
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1PersonalAccessToken(name, options);
|
|
1547
1568
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1548
1569
|
},
|
|
1549
|
-
async listv1alpha1PersonalAccessToken(page, size,
|
|
1550
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1PersonalAccessToken(page, size,
|
|
1570
|
+
async listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options) {
|
|
1571
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options);
|
|
1551
1572
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1552
1573
|
},
|
|
1553
1574
|
async updatev1alpha1PersonalAccessToken(name, personalAccessToken, options) {
|
|
@@ -1568,8 +1589,8 @@ const V1alpha1PersonalAccessTokenApiFactory = function(configuration, basePath,
|
|
|
1568
1589
|
getv1alpha1PersonalAccessToken(name, options) {
|
|
1569
1590
|
return localVarFp.getv1alpha1PersonalAccessToken(name, options).then((request) => request(axios, basePath));
|
|
1570
1591
|
},
|
|
1571
|
-
listv1alpha1PersonalAccessToken(page, size,
|
|
1572
|
-
return localVarFp.listv1alpha1PersonalAccessToken(page, size,
|
|
1592
|
+
listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options) {
|
|
1593
|
+
return localVarFp.listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1573
1594
|
},
|
|
1574
1595
|
updatev1alpha1PersonalAccessToken(name, personalAccessToken, options) {
|
|
1575
1596
|
return localVarFp.updatev1alpha1PersonalAccessToken(name, personalAccessToken, options).then((request) => request(axios, basePath));
|
|
@@ -1586,8 +1607,8 @@ class V1alpha1PersonalAccessTokenApi extends BaseAPI {
|
|
|
1586
1607
|
getv1alpha1PersonalAccessToken(name, options) {
|
|
1587
1608
|
return V1alpha1PersonalAccessTokenApiFp(this.configuration).getv1alpha1PersonalAccessToken(name, options).then((request) => request(this.axios, this.basePath));
|
|
1588
1609
|
}
|
|
1589
|
-
listv1alpha1PersonalAccessToken(page, size,
|
|
1590
|
-
return V1alpha1PersonalAccessTokenApiFp(this.configuration).listv1alpha1PersonalAccessToken(page, size,
|
|
1610
|
+
listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options) {
|
|
1611
|
+
return V1alpha1PersonalAccessTokenApiFp(this.configuration).listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1591
1612
|
}
|
|
1592
1613
|
updatev1alpha1PersonalAccessToken(name, personalAccessToken, options) {
|
|
1593
1614
|
return V1alpha1PersonalAccessTokenApiFp(this.configuration).updatev1alpha1PersonalAccessToken(name, personalAccessToken, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1659,7 +1680,7 @@ const V1alpha1RoleApiAxiosParamCreator = function(configuration) {
|
|
|
1659
1680
|
options: localVarRequestOptions
|
|
1660
1681
|
};
|
|
1661
1682
|
},
|
|
1662
|
-
listv1alpha1Role: async (page, size,
|
|
1683
|
+
listv1alpha1Role: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1663
1684
|
const localVarPath = `/api/v1alpha1/roles`;
|
|
1664
1685
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1665
1686
|
let baseOptions;
|
|
@@ -1677,8 +1698,11 @@ const V1alpha1RoleApiAxiosParamCreator = function(configuration) {
|
|
|
1677
1698
|
if (size !== void 0) {
|
|
1678
1699
|
localVarQueryParameter["size"] = size;
|
|
1679
1700
|
}
|
|
1680
|
-
if (
|
|
1681
|
-
localVarQueryParameter["
|
|
1701
|
+
if (labelSelector) {
|
|
1702
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1703
|
+
}
|
|
1704
|
+
if (fieldSelector) {
|
|
1705
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1682
1706
|
}
|
|
1683
1707
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1684
1708
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1728,8 +1752,8 @@ const V1alpha1RoleApiFp = function(configuration) {
|
|
|
1728
1752
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1Role(name, options);
|
|
1729
1753
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1730
1754
|
},
|
|
1731
|
-
async listv1alpha1Role(page, size,
|
|
1732
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Role(page, size,
|
|
1755
|
+
async listv1alpha1Role(page, size, labelSelector, fieldSelector, options) {
|
|
1756
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Role(page, size, labelSelector, fieldSelector, options);
|
|
1733
1757
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1734
1758
|
},
|
|
1735
1759
|
async updatev1alpha1Role(name, role, options) {
|
|
@@ -1750,8 +1774,8 @@ const V1alpha1RoleApiFactory = function(configuration, basePath, axios) {
|
|
|
1750
1774
|
getv1alpha1Role(name, options) {
|
|
1751
1775
|
return localVarFp.getv1alpha1Role(name, options).then((request) => request(axios, basePath));
|
|
1752
1776
|
},
|
|
1753
|
-
listv1alpha1Role(page, size,
|
|
1754
|
-
return localVarFp.listv1alpha1Role(page, size,
|
|
1777
|
+
listv1alpha1Role(page, size, labelSelector, fieldSelector, options) {
|
|
1778
|
+
return localVarFp.listv1alpha1Role(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1755
1779
|
},
|
|
1756
1780
|
updatev1alpha1Role(name, role, options) {
|
|
1757
1781
|
return localVarFp.updatev1alpha1Role(name, role, options).then((request) => request(axios, basePath));
|
|
@@ -1768,8 +1792,8 @@ class V1alpha1RoleApi extends BaseAPI {
|
|
|
1768
1792
|
getv1alpha1Role(name, options) {
|
|
1769
1793
|
return V1alpha1RoleApiFp(this.configuration).getv1alpha1Role(name, options).then((request) => request(this.axios, this.basePath));
|
|
1770
1794
|
}
|
|
1771
|
-
listv1alpha1Role(page, size,
|
|
1772
|
-
return V1alpha1RoleApiFp(this.configuration).listv1alpha1Role(page, size,
|
|
1795
|
+
listv1alpha1Role(page, size, labelSelector, fieldSelector, options) {
|
|
1796
|
+
return V1alpha1RoleApiFp(this.configuration).listv1alpha1Role(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1773
1797
|
}
|
|
1774
1798
|
updatev1alpha1Role(name, role, options) {
|
|
1775
1799
|
return V1alpha1RoleApiFp(this.configuration).updatev1alpha1Role(name, role, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1841,7 +1865,7 @@ const V1alpha1RoleBindingApiAxiosParamCreator = function(configuration) {
|
|
|
1841
1865
|
options: localVarRequestOptions
|
|
1842
1866
|
};
|
|
1843
1867
|
},
|
|
1844
|
-
listv1alpha1RoleBinding: async (page, size,
|
|
1868
|
+
listv1alpha1RoleBinding: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1845
1869
|
const localVarPath = `/api/v1alpha1/rolebindings`;
|
|
1846
1870
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1847
1871
|
let baseOptions;
|
|
@@ -1859,8 +1883,11 @@ const V1alpha1RoleBindingApiAxiosParamCreator = function(configuration) {
|
|
|
1859
1883
|
if (size !== void 0) {
|
|
1860
1884
|
localVarQueryParameter["size"] = size;
|
|
1861
1885
|
}
|
|
1862
|
-
if (
|
|
1863
|
-
localVarQueryParameter["
|
|
1886
|
+
if (labelSelector) {
|
|
1887
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1888
|
+
}
|
|
1889
|
+
if (fieldSelector) {
|
|
1890
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1864
1891
|
}
|
|
1865
1892
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1866
1893
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1910,8 +1937,8 @@ const V1alpha1RoleBindingApiFp = function(configuration) {
|
|
|
1910
1937
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1RoleBinding(name, options);
|
|
1911
1938
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1912
1939
|
},
|
|
1913
|
-
async listv1alpha1RoleBinding(page, size,
|
|
1914
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1RoleBinding(page, size,
|
|
1940
|
+
async listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options) {
|
|
1941
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options);
|
|
1915
1942
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1916
1943
|
},
|
|
1917
1944
|
async updatev1alpha1RoleBinding(name, roleBinding, options) {
|
|
@@ -1932,8 +1959,8 @@ const V1alpha1RoleBindingApiFactory = function(configuration, basePath, axios) {
|
|
|
1932
1959
|
getv1alpha1RoleBinding(name, options) {
|
|
1933
1960
|
return localVarFp.getv1alpha1RoleBinding(name, options).then((request) => request(axios, basePath));
|
|
1934
1961
|
},
|
|
1935
|
-
listv1alpha1RoleBinding(page, size,
|
|
1936
|
-
return localVarFp.listv1alpha1RoleBinding(page, size,
|
|
1962
|
+
listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options) {
|
|
1963
|
+
return localVarFp.listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1937
1964
|
},
|
|
1938
1965
|
updatev1alpha1RoleBinding(name, roleBinding, options) {
|
|
1939
1966
|
return localVarFp.updatev1alpha1RoleBinding(name, roleBinding, options).then((request) => request(axios, basePath));
|
|
@@ -1950,8 +1977,8 @@ class V1alpha1RoleBindingApi extends BaseAPI {
|
|
|
1950
1977
|
getv1alpha1RoleBinding(name, options) {
|
|
1951
1978
|
return V1alpha1RoleBindingApiFp(this.configuration).getv1alpha1RoleBinding(name, options).then((request) => request(this.axios, this.basePath));
|
|
1952
1979
|
}
|
|
1953
|
-
listv1alpha1RoleBinding(page, size,
|
|
1954
|
-
return V1alpha1RoleBindingApiFp(this.configuration).listv1alpha1RoleBinding(page, size,
|
|
1980
|
+
listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options) {
|
|
1981
|
+
return V1alpha1RoleBindingApiFp(this.configuration).listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1955
1982
|
}
|
|
1956
1983
|
updatev1alpha1RoleBinding(name, roleBinding, options) {
|
|
1957
1984
|
return V1alpha1RoleBindingApiFp(this.configuration).updatev1alpha1RoleBinding(name, roleBinding, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2023,7 +2050,7 @@ const V1alpha1SettingApiAxiosParamCreator = function(configuration) {
|
|
|
2023
2050
|
options: localVarRequestOptions
|
|
2024
2051
|
};
|
|
2025
2052
|
},
|
|
2026
|
-
listv1alpha1Setting: async (page, size,
|
|
2053
|
+
listv1alpha1Setting: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2027
2054
|
const localVarPath = `/api/v1alpha1/settings`;
|
|
2028
2055
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2029
2056
|
let baseOptions;
|
|
@@ -2041,8 +2068,11 @@ const V1alpha1SettingApiAxiosParamCreator = function(configuration) {
|
|
|
2041
2068
|
if (size !== void 0) {
|
|
2042
2069
|
localVarQueryParameter["size"] = size;
|
|
2043
2070
|
}
|
|
2044
|
-
if (
|
|
2045
|
-
localVarQueryParameter["
|
|
2071
|
+
if (labelSelector) {
|
|
2072
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2073
|
+
}
|
|
2074
|
+
if (fieldSelector) {
|
|
2075
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2046
2076
|
}
|
|
2047
2077
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2048
2078
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -2092,8 +2122,8 @@ const V1alpha1SettingApiFp = function(configuration) {
|
|
|
2092
2122
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1Setting(name, options);
|
|
2093
2123
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2094
2124
|
},
|
|
2095
|
-
async listv1alpha1Setting(page, size,
|
|
2096
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Setting(page, size,
|
|
2125
|
+
async listv1alpha1Setting(page, size, labelSelector, fieldSelector, options) {
|
|
2126
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Setting(page, size, labelSelector, fieldSelector, options);
|
|
2097
2127
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2098
2128
|
},
|
|
2099
2129
|
async updatev1alpha1Setting(name, setting, options) {
|
|
@@ -2114,8 +2144,8 @@ const V1alpha1SettingApiFactory = function(configuration, basePath, axios) {
|
|
|
2114
2144
|
getv1alpha1Setting(name, options) {
|
|
2115
2145
|
return localVarFp.getv1alpha1Setting(name, options).then((request) => request(axios, basePath));
|
|
2116
2146
|
},
|
|
2117
|
-
listv1alpha1Setting(page, size,
|
|
2118
|
-
return localVarFp.listv1alpha1Setting(page, size,
|
|
2147
|
+
listv1alpha1Setting(page, size, labelSelector, fieldSelector, options) {
|
|
2148
|
+
return localVarFp.listv1alpha1Setting(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2119
2149
|
},
|
|
2120
2150
|
updatev1alpha1Setting(name, setting, options) {
|
|
2121
2151
|
return localVarFp.updatev1alpha1Setting(name, setting, options).then((request) => request(axios, basePath));
|
|
@@ -2132,8 +2162,8 @@ class V1alpha1SettingApi extends BaseAPI {
|
|
|
2132
2162
|
getv1alpha1Setting(name, options) {
|
|
2133
2163
|
return V1alpha1SettingApiFp(this.configuration).getv1alpha1Setting(name, options).then((request) => request(this.axios, this.basePath));
|
|
2134
2164
|
}
|
|
2135
|
-
listv1alpha1Setting(page, size,
|
|
2136
|
-
return V1alpha1SettingApiFp(this.configuration).listv1alpha1Setting(page, size,
|
|
2165
|
+
listv1alpha1Setting(page, size, labelSelector, fieldSelector, options) {
|
|
2166
|
+
return V1alpha1SettingApiFp(this.configuration).listv1alpha1Setting(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2137
2167
|
}
|
|
2138
2168
|
updatev1alpha1Setting(name, setting, options) {
|
|
2139
2169
|
return V1alpha1SettingApiFp(this.configuration).updatev1alpha1Setting(name, setting, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2205,7 +2235,7 @@ const V1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
2205
2235
|
options: localVarRequestOptions
|
|
2206
2236
|
};
|
|
2207
2237
|
},
|
|
2208
|
-
listv1alpha1User: async (page, size,
|
|
2238
|
+
listv1alpha1User: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2209
2239
|
const localVarPath = `/api/v1alpha1/users`;
|
|
2210
2240
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2211
2241
|
let baseOptions;
|
|
@@ -2223,8 +2253,11 @@ const V1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
2223
2253
|
if (size !== void 0) {
|
|
2224
2254
|
localVarQueryParameter["size"] = size;
|
|
2225
2255
|
}
|
|
2226
|
-
if (
|
|
2227
|
-
localVarQueryParameter["
|
|
2256
|
+
if (labelSelector) {
|
|
2257
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2258
|
+
}
|
|
2259
|
+
if (fieldSelector) {
|
|
2260
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2228
2261
|
}
|
|
2229
2262
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2230
2263
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -2274,8 +2307,8 @@ const V1alpha1UserApiFp = function(configuration) {
|
|
|
2274
2307
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1User(name, options);
|
|
2275
2308
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2276
2309
|
},
|
|
2277
|
-
async listv1alpha1User(page, size,
|
|
2278
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1User(page, size,
|
|
2310
|
+
async listv1alpha1User(page, size, labelSelector, fieldSelector, options) {
|
|
2311
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1User(page, size, labelSelector, fieldSelector, options);
|
|
2279
2312
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2280
2313
|
},
|
|
2281
2314
|
async updatev1alpha1User(name, user, options) {
|
|
@@ -2296,8 +2329,8 @@ const V1alpha1UserApiFactory = function(configuration, basePath, axios) {
|
|
|
2296
2329
|
getv1alpha1User(name, options) {
|
|
2297
2330
|
return localVarFp.getv1alpha1User(name, options).then((request) => request(axios, basePath));
|
|
2298
2331
|
},
|
|
2299
|
-
listv1alpha1User(page, size,
|
|
2300
|
-
return localVarFp.listv1alpha1User(page, size,
|
|
2332
|
+
listv1alpha1User(page, size, labelSelector, fieldSelector, options) {
|
|
2333
|
+
return localVarFp.listv1alpha1User(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2301
2334
|
},
|
|
2302
2335
|
updatev1alpha1User(name, user, options) {
|
|
2303
2336
|
return localVarFp.updatev1alpha1User(name, user, options).then((request) => request(axios, basePath));
|
|
@@ -2314,8 +2347,8 @@ class V1alpha1UserApi extends BaseAPI {
|
|
|
2314
2347
|
getv1alpha1User(name, options) {
|
|
2315
2348
|
return V1alpha1UserApiFp(this.configuration).getv1alpha1User(name, options).then((request) => request(this.axios, this.basePath));
|
|
2316
2349
|
}
|
|
2317
|
-
listv1alpha1User(page, size,
|
|
2318
|
-
return V1alpha1UserApiFp(this.configuration).listv1alpha1User(page, size,
|
|
2350
|
+
listv1alpha1User(page, size, labelSelector, fieldSelector, options) {
|
|
2351
|
+
return V1alpha1UserApiFp(this.configuration).listv1alpha1User(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2319
2352
|
}
|
|
2320
2353
|
updatev1alpha1User(name, user, options) {
|
|
2321
2354
|
return V1alpha1UserApiFp(this.configuration).updatev1alpha1User(name, user, options).then((request) => request(this.axios, this.basePath));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@halo-dev/api-client",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "@halo-dev",
|
|
@@ -48,6 +48,6 @@
|
|
|
48
48
|
"prettier": "prettier --write './src/**/*.{js,jsx,ts,tsx,json,yml,yaml}'",
|
|
49
49
|
"typecheck": "tsc --noEmit",
|
|
50
50
|
"release": "bumpp",
|
|
51
|
-
"gen": "openapi-generator-cli generate -i http://localhost:8090/v3/api-docs/
|
|
51
|
+
"gen": "openapi-generator-cli generate -i http://localhost:8090/v3/api-docs/all-api -g typescript-axios -o ./src && pnpm lint && pnpm prettier"
|
|
52
52
|
}
|
|
53
53
|
}
|