@halo-dev/api-client 0.0.3 → 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 +487 -266
- package/dist/index.d.ts +444 -350
- package/dist/index.mjs +480 -263
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -33,6 +33,17 @@ const assertParamExists = function(functionName, paramName, paramValue) {
|
|
|
33
33
|
throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
|
+
const setBasicAuthToObject = function(object, configuration) {
|
|
37
|
+
if (configuration && (configuration.username || configuration.password)) {
|
|
38
|
+
object["auth"] = { username: configuration.username, password: configuration.password };
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
const setBearerAuthToObject = async function(object, configuration) {
|
|
42
|
+
if (configuration && configuration.accessToken) {
|
|
43
|
+
const accessToken = typeof configuration.accessToken === "function" ? await configuration.accessToken() : await configuration.accessToken;
|
|
44
|
+
object["Authorization"] = "Bearer " + accessToken;
|
|
45
|
+
}
|
|
46
|
+
};
|
|
36
47
|
const setSearchParams = function(url, ...objects) {
|
|
37
48
|
const searchParams = new URLSearchParams(url.search);
|
|
38
49
|
for (const object of objects) {
|
|
@@ -72,6 +83,59 @@ const PluginStatusPhaseEnum = {
|
|
|
72
83
|
Stopped: "STOPPED",
|
|
73
84
|
Failed: "FAILED"
|
|
74
85
|
};
|
|
86
|
+
const ApiHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
87
|
+
return {
|
|
88
|
+
installPlugin: async (file, options = {}) => {
|
|
89
|
+
assertParamExists("installPlugin", "file", file);
|
|
90
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/plugins/install`;
|
|
91
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
92
|
+
let baseOptions;
|
|
93
|
+
if (configuration) {
|
|
94
|
+
baseOptions = configuration.baseOptions;
|
|
95
|
+
}
|
|
96
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
97
|
+
const localVarHeaderParameter = {};
|
|
98
|
+
const localVarQueryParameter = {};
|
|
99
|
+
const localVarFormParams = new (configuration && configuration.formDataCtor || FormData)();
|
|
100
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
101
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
102
|
+
if (file !== void 0) {
|
|
103
|
+
localVarFormParams.append("file", file);
|
|
104
|
+
}
|
|
105
|
+
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
106
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
107
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
108
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
109
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
110
|
+
return {
|
|
111
|
+
url: toPathString(localVarUrlObj),
|
|
112
|
+
options: localVarRequestOptions
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
const ApiHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
118
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1PluginApiAxiosParamCreator(configuration);
|
|
119
|
+
return {
|
|
120
|
+
async installPlugin(file, options) {
|
|
121
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
122
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
const ApiHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
|
|
127
|
+
const localVarFp = ApiHaloRunV1alpha1PluginApiFp(configuration);
|
|
128
|
+
return {
|
|
129
|
+
installPlugin(file, options) {
|
|
130
|
+
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
class ApiHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
135
|
+
installPlugin(file, options) {
|
|
136
|
+
return ApiHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(file, options).then((request) => request(this.axios, this.basePath));
|
|
137
|
+
}
|
|
138
|
+
}
|
|
75
139
|
const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
76
140
|
return {
|
|
77
141
|
changePassword: async (name, changePasswordRequest, options = {}) => {
|
|
@@ -86,6 +150,8 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
86
150
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
87
151
|
const localVarHeaderParameter = {};
|
|
88
152
|
const localVarQueryParameter = {};
|
|
153
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
154
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
89
155
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
90
156
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
91
157
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -106,6 +172,8 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
106
172
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
107
173
|
const localVarHeaderParameter = {};
|
|
108
174
|
const localVarQueryParameter = {};
|
|
175
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
176
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
109
177
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
110
178
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
111
179
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -125,6 +193,8 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
125
193
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
126
194
|
const localVarHeaderParameter = {};
|
|
127
195
|
const localVarQueryParameter = {};
|
|
196
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
197
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
128
198
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
129
199
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
130
200
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -145,6 +215,8 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
145
215
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
146
216
|
const localVarHeaderParameter = {};
|
|
147
217
|
const localVarQueryParameter = {};
|
|
218
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
219
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
148
220
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
149
221
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
150
222
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -209,178 +281,6 @@ class ApiHaloRunV1alpha1UserApi extends BaseAPI {
|
|
|
209
281
|
return ApiHaloRunV1alpha1UserApiFp(this.configuration).grantPermission(name, grantRequest, options).then((request) => request(this.axios, this.basePath));
|
|
210
282
|
}
|
|
211
283
|
}
|
|
212
|
-
const AppleGuqingXyzV1alpha1AppleApiAxiosParamCreator = function(configuration) {
|
|
213
|
-
return {
|
|
214
|
-
createappleGuqingXyzV1alpha1Apple: async (apple, options = {}) => {
|
|
215
|
-
const localVarPath = `/apis/apple.guqing.xyz/v1alpha1/apples`;
|
|
216
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
217
|
-
let baseOptions;
|
|
218
|
-
if (configuration) {
|
|
219
|
-
baseOptions = configuration.baseOptions;
|
|
220
|
-
}
|
|
221
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
222
|
-
const localVarHeaderParameter = {};
|
|
223
|
-
const localVarQueryParameter = {};
|
|
224
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
225
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
226
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
227
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
228
|
-
localVarRequestOptions.data = serializeDataIfNeeded(apple, localVarRequestOptions, configuration);
|
|
229
|
-
return {
|
|
230
|
-
url: toPathString(localVarUrlObj),
|
|
231
|
-
options: localVarRequestOptions
|
|
232
|
-
};
|
|
233
|
-
},
|
|
234
|
-
deleteappleGuqingXyzV1alpha1Apple: async (name, options = {}) => {
|
|
235
|
-
assertParamExists("deleteappleGuqingXyzV1alpha1Apple", "name", name);
|
|
236
|
-
const localVarPath = `/apis/apple.guqing.xyz/v1alpha1/apples/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
237
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
238
|
-
let baseOptions;
|
|
239
|
-
if (configuration) {
|
|
240
|
-
baseOptions = configuration.baseOptions;
|
|
241
|
-
}
|
|
242
|
-
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
243
|
-
const localVarHeaderParameter = {};
|
|
244
|
-
const localVarQueryParameter = {};
|
|
245
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
246
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
247
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
248
|
-
return {
|
|
249
|
-
url: toPathString(localVarUrlObj),
|
|
250
|
-
options: localVarRequestOptions
|
|
251
|
-
};
|
|
252
|
-
},
|
|
253
|
-
getappleGuqingXyzV1alpha1Apple: async (name, options = {}) => {
|
|
254
|
-
assertParamExists("getappleGuqingXyzV1alpha1Apple", "name", name);
|
|
255
|
-
const localVarPath = `/apis/apple.guqing.xyz/v1alpha1/apples/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
256
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
257
|
-
let baseOptions;
|
|
258
|
-
if (configuration) {
|
|
259
|
-
baseOptions = configuration.baseOptions;
|
|
260
|
-
}
|
|
261
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
262
|
-
const localVarHeaderParameter = {};
|
|
263
|
-
const localVarQueryParameter = {};
|
|
264
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
265
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
266
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
267
|
-
return {
|
|
268
|
-
url: toPathString(localVarUrlObj),
|
|
269
|
-
options: localVarRequestOptions
|
|
270
|
-
};
|
|
271
|
-
},
|
|
272
|
-
listappleGuqingXyzV1alpha1Apple: async (page, size, sort, options = {}) => {
|
|
273
|
-
const localVarPath = `/apis/apple.guqing.xyz/v1alpha1/apples`;
|
|
274
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
275
|
-
let baseOptions;
|
|
276
|
-
if (configuration) {
|
|
277
|
-
baseOptions = configuration.baseOptions;
|
|
278
|
-
}
|
|
279
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
280
|
-
const localVarHeaderParameter = {};
|
|
281
|
-
const localVarQueryParameter = {};
|
|
282
|
-
if (page !== void 0) {
|
|
283
|
-
localVarQueryParameter["page"] = page;
|
|
284
|
-
}
|
|
285
|
-
if (size !== void 0) {
|
|
286
|
-
localVarQueryParameter["size"] = size;
|
|
287
|
-
}
|
|
288
|
-
if (sort !== void 0) {
|
|
289
|
-
localVarQueryParameter["sort"] = sort;
|
|
290
|
-
}
|
|
291
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
292
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
293
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
294
|
-
return {
|
|
295
|
-
url: toPathString(localVarUrlObj),
|
|
296
|
-
options: localVarRequestOptions
|
|
297
|
-
};
|
|
298
|
-
},
|
|
299
|
-
updateappleGuqingXyzV1alpha1Apple: async (name, apple, options = {}) => {
|
|
300
|
-
assertParamExists("updateappleGuqingXyzV1alpha1Apple", "name", name);
|
|
301
|
-
const localVarPath = `/apis/apple.guqing.xyz/v1alpha1/apples/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
302
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
303
|
-
let baseOptions;
|
|
304
|
-
if (configuration) {
|
|
305
|
-
baseOptions = configuration.baseOptions;
|
|
306
|
-
}
|
|
307
|
-
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
308
|
-
const localVarHeaderParameter = {};
|
|
309
|
-
const localVarQueryParameter = {};
|
|
310
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
311
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
312
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
313
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
314
|
-
localVarRequestOptions.data = serializeDataIfNeeded(apple, localVarRequestOptions, configuration);
|
|
315
|
-
return {
|
|
316
|
-
url: toPathString(localVarUrlObj),
|
|
317
|
-
options: localVarRequestOptions
|
|
318
|
-
};
|
|
319
|
-
}
|
|
320
|
-
};
|
|
321
|
-
};
|
|
322
|
-
const AppleGuqingXyzV1alpha1AppleApiFp = function(configuration) {
|
|
323
|
-
const localVarAxiosParamCreator = AppleGuqingXyzV1alpha1AppleApiAxiosParamCreator(configuration);
|
|
324
|
-
return {
|
|
325
|
-
async createappleGuqingXyzV1alpha1Apple(apple, options) {
|
|
326
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createappleGuqingXyzV1alpha1Apple(apple, options);
|
|
327
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
328
|
-
},
|
|
329
|
-
async deleteappleGuqingXyzV1alpha1Apple(name, options) {
|
|
330
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteappleGuqingXyzV1alpha1Apple(name, options);
|
|
331
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
332
|
-
},
|
|
333
|
-
async getappleGuqingXyzV1alpha1Apple(name, options) {
|
|
334
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getappleGuqingXyzV1alpha1Apple(name, options);
|
|
335
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
336
|
-
},
|
|
337
|
-
async listappleGuqingXyzV1alpha1Apple(page, size, sort, options) {
|
|
338
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listappleGuqingXyzV1alpha1Apple(page, size, sort, options);
|
|
339
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
340
|
-
},
|
|
341
|
-
async updateappleGuqingXyzV1alpha1Apple(name, apple, options) {
|
|
342
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateappleGuqingXyzV1alpha1Apple(name, apple, options);
|
|
343
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
344
|
-
}
|
|
345
|
-
};
|
|
346
|
-
};
|
|
347
|
-
const AppleGuqingXyzV1alpha1AppleApiFactory = function(configuration, basePath, axios) {
|
|
348
|
-
const localVarFp = AppleGuqingXyzV1alpha1AppleApiFp(configuration);
|
|
349
|
-
return {
|
|
350
|
-
createappleGuqingXyzV1alpha1Apple(apple, options) {
|
|
351
|
-
return localVarFp.createappleGuqingXyzV1alpha1Apple(apple, options).then((request) => request(axios, basePath));
|
|
352
|
-
},
|
|
353
|
-
deleteappleGuqingXyzV1alpha1Apple(name, options) {
|
|
354
|
-
return localVarFp.deleteappleGuqingXyzV1alpha1Apple(name, options).then((request) => request(axios, basePath));
|
|
355
|
-
},
|
|
356
|
-
getappleGuqingXyzV1alpha1Apple(name, options) {
|
|
357
|
-
return localVarFp.getappleGuqingXyzV1alpha1Apple(name, options).then((request) => request(axios, basePath));
|
|
358
|
-
},
|
|
359
|
-
listappleGuqingXyzV1alpha1Apple(page, size, sort, options) {
|
|
360
|
-
return localVarFp.listappleGuqingXyzV1alpha1Apple(page, size, sort, options).then((request) => request(axios, basePath));
|
|
361
|
-
},
|
|
362
|
-
updateappleGuqingXyzV1alpha1Apple(name, apple, options) {
|
|
363
|
-
return localVarFp.updateappleGuqingXyzV1alpha1Apple(name, apple, options).then((request) => request(axios, basePath));
|
|
364
|
-
}
|
|
365
|
-
};
|
|
366
|
-
};
|
|
367
|
-
class AppleGuqingXyzV1alpha1AppleApi extends BaseAPI {
|
|
368
|
-
createappleGuqingXyzV1alpha1Apple(apple, options) {
|
|
369
|
-
return AppleGuqingXyzV1alpha1AppleApiFp(this.configuration).createappleGuqingXyzV1alpha1Apple(apple, options).then((request) => request(this.axios, this.basePath));
|
|
370
|
-
}
|
|
371
|
-
deleteappleGuqingXyzV1alpha1Apple(name, options) {
|
|
372
|
-
return AppleGuqingXyzV1alpha1AppleApiFp(this.configuration).deleteappleGuqingXyzV1alpha1Apple(name, options).then((request) => request(this.axios, this.basePath));
|
|
373
|
-
}
|
|
374
|
-
getappleGuqingXyzV1alpha1Apple(name, options) {
|
|
375
|
-
return AppleGuqingXyzV1alpha1AppleApiFp(this.configuration).getappleGuqingXyzV1alpha1Apple(name, options).then((request) => request(this.axios, this.basePath));
|
|
376
|
-
}
|
|
377
|
-
listappleGuqingXyzV1alpha1Apple(page, size, sort, options) {
|
|
378
|
-
return AppleGuqingXyzV1alpha1AppleApiFp(this.configuration).listappleGuqingXyzV1alpha1Apple(page, size, sort, options).then((request) => request(this.axios, this.basePath));
|
|
379
|
-
}
|
|
380
|
-
updateappleGuqingXyzV1alpha1Apple(name, apple, options) {
|
|
381
|
-
return AppleGuqingXyzV1alpha1AppleApiFp(this.configuration).updateappleGuqingXyzV1alpha1Apple(name, apple, options).then((request) => request(this.axios, this.basePath));
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
284
|
const ApplesControllerApiAxiosParamCreator = function(configuration) {
|
|
385
285
|
return {
|
|
386
286
|
hello: async (options = {}) => {
|
|
@@ -393,6 +293,8 @@ const ApplesControllerApiAxiosParamCreator = function(configuration) {
|
|
|
393
293
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
394
294
|
const localVarHeaderParameter = {};
|
|
395
295
|
const localVarQueryParameter = {};
|
|
296
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
297
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
396
298
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
397
299
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
398
300
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -437,6 +339,8 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
|
437
339
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
438
340
|
const localVarHeaderParameter = {};
|
|
439
341
|
const localVarQueryParameter = {};
|
|
342
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
343
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
440
344
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
441
345
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
442
346
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -458,6 +362,8 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
|
458
362
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
459
363
|
const localVarHeaderParameter = {};
|
|
460
364
|
const localVarQueryParameter = {};
|
|
365
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
366
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
461
367
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
462
368
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
463
369
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -477,6 +383,8 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
|
477
383
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
478
384
|
const localVarHeaderParameter = {};
|
|
479
385
|
const localVarQueryParameter = {};
|
|
386
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
387
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
480
388
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
481
389
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
482
390
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -485,7 +393,7 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
|
485
393
|
options: localVarRequestOptions
|
|
486
394
|
};
|
|
487
395
|
},
|
|
488
|
-
listcoreHaloRunV1alpha1Link: async (page, size,
|
|
396
|
+
listcoreHaloRunV1alpha1Link: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
489
397
|
const localVarPath = `/apis/core.halo.run/v1alpha1/links`;
|
|
490
398
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
491
399
|
let baseOptions;
|
|
@@ -495,14 +403,19 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
|
495
403
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
496
404
|
const localVarHeaderParameter = {};
|
|
497
405
|
const localVarQueryParameter = {};
|
|
406
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
407
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
498
408
|
if (page !== void 0) {
|
|
499
409
|
localVarQueryParameter["page"] = page;
|
|
500
410
|
}
|
|
501
411
|
if (size !== void 0) {
|
|
502
412
|
localVarQueryParameter["size"] = size;
|
|
503
413
|
}
|
|
504
|
-
if (
|
|
505
|
-
localVarQueryParameter["
|
|
414
|
+
if (labelSelector) {
|
|
415
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
416
|
+
}
|
|
417
|
+
if (fieldSelector) {
|
|
418
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
506
419
|
}
|
|
507
420
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
508
421
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -523,6 +436,8 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
|
523
436
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
524
437
|
const localVarHeaderParameter = {};
|
|
525
438
|
const localVarQueryParameter = {};
|
|
439
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
440
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
526
441
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
527
442
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
528
443
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -550,8 +465,8 @@ const CoreHaloRunV1alpha1LinkApiFp = function(configuration) {
|
|
|
550
465
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getcoreHaloRunV1alpha1Link(name, options);
|
|
551
466
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
552
467
|
},
|
|
553
|
-
async listcoreHaloRunV1alpha1Link(page, size,
|
|
554
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1Link(page, size,
|
|
468
|
+
async listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
|
|
469
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options);
|
|
555
470
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
556
471
|
},
|
|
557
472
|
async updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
@@ -572,8 +487,8 @@ const CoreHaloRunV1alpha1LinkApiFactory = function(configuration, basePath, axio
|
|
|
572
487
|
getcoreHaloRunV1alpha1Link(name, options) {
|
|
573
488
|
return localVarFp.getcoreHaloRunV1alpha1Link(name, options).then((request) => request(axios, basePath));
|
|
574
489
|
},
|
|
575
|
-
listcoreHaloRunV1alpha1Link(page, size,
|
|
576
|
-
return localVarFp.listcoreHaloRunV1alpha1Link(page, size,
|
|
490
|
+
listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
|
|
491
|
+
return localVarFp.listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
577
492
|
},
|
|
578
493
|
updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
579
494
|
return localVarFp.updatecoreHaloRunV1alpha1Link(name, link, options).then((request) => request(axios, basePath));
|
|
@@ -590,8 +505,8 @@ class CoreHaloRunV1alpha1LinkApi extends BaseAPI {
|
|
|
590
505
|
getcoreHaloRunV1alpha1Link(name, options) {
|
|
591
506
|
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).getcoreHaloRunV1alpha1Link(name, options).then((request) => request(this.axios, this.basePath));
|
|
592
507
|
}
|
|
593
|
-
listcoreHaloRunV1alpha1Link(page, size,
|
|
594
|
-
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).listcoreHaloRunV1alpha1Link(page, size,
|
|
508
|
+
listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
|
|
509
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
595
510
|
}
|
|
596
511
|
updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
597
512
|
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).updatecoreHaloRunV1alpha1Link(name, link, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -609,6 +524,8 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
609
524
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
610
525
|
const localVarHeaderParameter = {};
|
|
611
526
|
const localVarQueryParameter = {};
|
|
527
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
528
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
612
529
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
613
530
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
614
531
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -630,6 +547,8 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
630
547
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
631
548
|
const localVarHeaderParameter = {};
|
|
632
549
|
const localVarQueryParameter = {};
|
|
550
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
551
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
633
552
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
634
553
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
635
554
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -649,6 +568,8 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
649
568
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
650
569
|
const localVarHeaderParameter = {};
|
|
651
570
|
const localVarQueryParameter = {};
|
|
571
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
572
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
652
573
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
653
574
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
654
575
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -657,7 +578,7 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
657
578
|
options: localVarRequestOptions
|
|
658
579
|
};
|
|
659
580
|
},
|
|
660
|
-
listcoreHaloRunV1alpha1LinkGroup: async (page, size,
|
|
581
|
+
listcoreHaloRunV1alpha1LinkGroup: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
661
582
|
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups`;
|
|
662
583
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
663
584
|
let baseOptions;
|
|
@@ -667,14 +588,19 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
667
588
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
668
589
|
const localVarHeaderParameter = {};
|
|
669
590
|
const localVarQueryParameter = {};
|
|
591
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
592
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
670
593
|
if (page !== void 0) {
|
|
671
594
|
localVarQueryParameter["page"] = page;
|
|
672
595
|
}
|
|
673
596
|
if (size !== void 0) {
|
|
674
597
|
localVarQueryParameter["size"] = size;
|
|
675
598
|
}
|
|
676
|
-
if (
|
|
677
|
-
localVarQueryParameter["
|
|
599
|
+
if (labelSelector) {
|
|
600
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
601
|
+
}
|
|
602
|
+
if (fieldSelector) {
|
|
603
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
678
604
|
}
|
|
679
605
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
680
606
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -695,6 +621,8 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
695
621
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
696
622
|
const localVarHeaderParameter = {};
|
|
697
623
|
const localVarQueryParameter = {};
|
|
624
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
625
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
698
626
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
699
627
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
700
628
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -722,8 +650,8 @@ const CoreHaloRunV1alpha1LinkGroupApiFp = function(configuration) {
|
|
|
722
650
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getcoreHaloRunV1alpha1LinkGroup(name, options);
|
|
723
651
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
724
652
|
},
|
|
725
|
-
async listcoreHaloRunV1alpha1LinkGroup(page, size,
|
|
726
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1LinkGroup(page, size,
|
|
653
|
+
async listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
|
|
654
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options);
|
|
727
655
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
728
656
|
},
|
|
729
657
|
async updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
@@ -744,8 +672,8 @@ const CoreHaloRunV1alpha1LinkGroupApiFactory = function(configuration, basePath,
|
|
|
744
672
|
getcoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
745
673
|
return localVarFp.getcoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(axios, basePath));
|
|
746
674
|
},
|
|
747
|
-
listcoreHaloRunV1alpha1LinkGroup(page, size,
|
|
748
|
-
return localVarFp.listcoreHaloRunV1alpha1LinkGroup(page, size,
|
|
675
|
+
listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
|
|
676
|
+
return localVarFp.listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
749
677
|
},
|
|
750
678
|
updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
751
679
|
return localVarFp.updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options).then((request) => request(axios, basePath));
|
|
@@ -762,8 +690,8 @@ class CoreHaloRunV1alpha1LinkGroupApi extends BaseAPI {
|
|
|
762
690
|
getcoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
763
691
|
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).getcoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(this.axios, this.basePath));
|
|
764
692
|
}
|
|
765
|
-
listcoreHaloRunV1alpha1LinkGroup(page, size,
|
|
766
|
-
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).listcoreHaloRunV1alpha1LinkGroup(page, size,
|
|
693
|
+
listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
|
|
694
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
767
695
|
}
|
|
768
696
|
updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
769
697
|
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -781,6 +709,8 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
781
709
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
782
710
|
const localVarHeaderParameter = {};
|
|
783
711
|
const localVarQueryParameter = {};
|
|
712
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
713
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
784
714
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
785
715
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
786
716
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -802,6 +732,8 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
802
732
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
803
733
|
const localVarHeaderParameter = {};
|
|
804
734
|
const localVarQueryParameter = {};
|
|
735
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
736
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
805
737
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
806
738
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
807
739
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -821,6 +753,8 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
821
753
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
822
754
|
const localVarHeaderParameter = {};
|
|
823
755
|
const localVarQueryParameter = {};
|
|
756
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
757
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
824
758
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
825
759
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
826
760
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -829,7 +763,7 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
829
763
|
options: localVarRequestOptions
|
|
830
764
|
};
|
|
831
765
|
},
|
|
832
|
-
listpluginHaloRunV1alpha1Plugin: async (page, size,
|
|
766
|
+
listpluginHaloRunV1alpha1Plugin: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
833
767
|
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins`;
|
|
834
768
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
835
769
|
let baseOptions;
|
|
@@ -839,14 +773,19 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
839
773
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
840
774
|
const localVarHeaderParameter = {};
|
|
841
775
|
const localVarQueryParameter = {};
|
|
776
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
777
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
842
778
|
if (page !== void 0) {
|
|
843
779
|
localVarQueryParameter["page"] = page;
|
|
844
780
|
}
|
|
845
781
|
if (size !== void 0) {
|
|
846
782
|
localVarQueryParameter["size"] = size;
|
|
847
783
|
}
|
|
848
|
-
if (
|
|
849
|
-
localVarQueryParameter["
|
|
784
|
+
if (labelSelector) {
|
|
785
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
786
|
+
}
|
|
787
|
+
if (fieldSelector) {
|
|
788
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
850
789
|
}
|
|
851
790
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
852
791
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -867,6 +806,8 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
867
806
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
868
807
|
const localVarHeaderParameter = {};
|
|
869
808
|
const localVarQueryParameter = {};
|
|
809
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
810
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
870
811
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
871
812
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
872
813
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -894,8 +835,8 @@ const PluginHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
894
835
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1Plugin(name, options);
|
|
895
836
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
896
837
|
},
|
|
897
|
-
async listpluginHaloRunV1alpha1Plugin(page, size,
|
|
898
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1Plugin(page, size,
|
|
838
|
+
async listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
|
|
839
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options);
|
|
899
840
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
900
841
|
},
|
|
901
842
|
async updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
|
|
@@ -916,8 +857,8 @@ const PluginHaloRunV1alpha1PluginApiFactory = function(configuration, basePath,
|
|
|
916
857
|
getpluginHaloRunV1alpha1Plugin(name, options) {
|
|
917
858
|
return localVarFp.getpluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
|
|
918
859
|
},
|
|
919
|
-
listpluginHaloRunV1alpha1Plugin(page, size,
|
|
920
|
-
return localVarFp.listpluginHaloRunV1alpha1Plugin(page, size,
|
|
860
|
+
listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
|
|
861
|
+
return localVarFp.listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
921
862
|
},
|
|
922
863
|
updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
|
|
923
864
|
return localVarFp.updatepluginHaloRunV1alpha1Plugin(name, plugin, options).then((request) => request(axios, basePath));
|
|
@@ -934,8 +875,8 @@ class PluginHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
934
875
|
getpluginHaloRunV1alpha1Plugin(name, options) {
|
|
935
876
|
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).getpluginHaloRunV1alpha1Plugin(name, options).then((request) => request(this.axios, this.basePath));
|
|
936
877
|
}
|
|
937
|
-
listpluginHaloRunV1alpha1Plugin(page, size,
|
|
938
|
-
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).listpluginHaloRunV1alpha1Plugin(page, size,
|
|
878
|
+
listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
|
|
879
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
939
880
|
}
|
|
940
881
|
updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
|
|
941
882
|
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).updatepluginHaloRunV1alpha1Plugin(name, plugin, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -953,6 +894,8 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
953
894
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
954
895
|
const localVarHeaderParameter = {};
|
|
955
896
|
const localVarQueryParameter = {};
|
|
897
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
898
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
956
899
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
957
900
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
958
901
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -974,6 +917,8 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
974
917
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
975
918
|
const localVarHeaderParameter = {};
|
|
976
919
|
const localVarQueryParameter = {};
|
|
920
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
921
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
977
922
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
978
923
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
979
924
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -993,6 +938,8 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
993
938
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
994
939
|
const localVarHeaderParameter = {};
|
|
995
940
|
const localVarQueryParameter = {};
|
|
941
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
942
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
996
943
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
997
944
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
998
945
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1001,7 +948,7 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
1001
948
|
options: localVarRequestOptions
|
|
1002
949
|
};
|
|
1003
950
|
},
|
|
1004
|
-
listpluginHaloRunV1alpha1ReverseProxy: async (page, size,
|
|
951
|
+
listpluginHaloRunV1alpha1ReverseProxy: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1005
952
|
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies`;
|
|
1006
953
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1007
954
|
let baseOptions;
|
|
@@ -1011,14 +958,19 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
1011
958
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1012
959
|
const localVarHeaderParameter = {};
|
|
1013
960
|
const localVarQueryParameter = {};
|
|
961
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
962
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1014
963
|
if (page !== void 0) {
|
|
1015
964
|
localVarQueryParameter["page"] = page;
|
|
1016
965
|
}
|
|
1017
966
|
if (size !== void 0) {
|
|
1018
967
|
localVarQueryParameter["size"] = size;
|
|
1019
968
|
}
|
|
1020
|
-
if (
|
|
1021
|
-
localVarQueryParameter["
|
|
969
|
+
if (labelSelector) {
|
|
970
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
971
|
+
}
|
|
972
|
+
if (fieldSelector) {
|
|
973
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1022
974
|
}
|
|
1023
975
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1024
976
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1039,6 +991,8 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
1039
991
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1040
992
|
const localVarHeaderParameter = {};
|
|
1041
993
|
const localVarQueryParameter = {};
|
|
994
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
995
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1042
996
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1043
997
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1044
998
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1066,8 +1020,8 @@ const PluginHaloRunV1alpha1ReverseProxyApiFp = function(configuration) {
|
|
|
1066
1020
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1ReverseProxy(name, options);
|
|
1067
1021
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1068
1022
|
},
|
|
1069
|
-
async listpluginHaloRunV1alpha1ReverseProxy(page, size,
|
|
1070
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1ReverseProxy(page, size,
|
|
1023
|
+
async listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
|
|
1024
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options);
|
|
1071
1025
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1072
1026
|
},
|
|
1073
1027
|
async updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
|
|
@@ -1088,8 +1042,8 @@ const PluginHaloRunV1alpha1ReverseProxyApiFactory = function(configuration, base
|
|
|
1088
1042
|
getpluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
1089
1043
|
return localVarFp.getpluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
|
|
1090
1044
|
},
|
|
1091
|
-
listpluginHaloRunV1alpha1ReverseProxy(page, size,
|
|
1092
|
-
return localVarFp.listpluginHaloRunV1alpha1ReverseProxy(page, size,
|
|
1045
|
+
listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
|
|
1046
|
+
return localVarFp.listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1093
1047
|
},
|
|
1094
1048
|
updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
|
|
1095
1049
|
return localVarFp.updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options).then((request) => request(axios, basePath));
|
|
@@ -1106,13 +1060,198 @@ class PluginHaloRunV1alpha1ReverseProxyApi extends BaseAPI {
|
|
|
1106
1060
|
getpluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
1107
1061
|
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).getpluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(this.axios, this.basePath));
|
|
1108
1062
|
}
|
|
1109
|
-
listpluginHaloRunV1alpha1ReverseProxy(page, size,
|
|
1110
|
-
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).listpluginHaloRunV1alpha1ReverseProxy(page, size,
|
|
1063
|
+
listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
|
|
1064
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1111
1065
|
}
|
|
1112
1066
|
updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
|
|
1113
1067
|
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options).then((request) => request(this.axios, this.basePath));
|
|
1114
1068
|
}
|
|
1115
1069
|
}
|
|
1070
|
+
const RunHaloTemplateV1alpha1AppleApiAxiosParamCreator = function(configuration) {
|
|
1071
|
+
return {
|
|
1072
|
+
createrunHaloTemplateV1alpha1Apple: async (apple, options = {}) => {
|
|
1073
|
+
const localVarPath = `/apis/run.halo.template/v1alpha1/apples`;
|
|
1074
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1075
|
+
let baseOptions;
|
|
1076
|
+
if (configuration) {
|
|
1077
|
+
baseOptions = configuration.baseOptions;
|
|
1078
|
+
}
|
|
1079
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1080
|
+
const localVarHeaderParameter = {};
|
|
1081
|
+
const localVarQueryParameter = {};
|
|
1082
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1083
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1084
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1085
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1086
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1087
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1088
|
+
localVarRequestOptions.data = serializeDataIfNeeded(apple, localVarRequestOptions, configuration);
|
|
1089
|
+
return {
|
|
1090
|
+
url: toPathString(localVarUrlObj),
|
|
1091
|
+
options: localVarRequestOptions
|
|
1092
|
+
};
|
|
1093
|
+
},
|
|
1094
|
+
deleterunHaloTemplateV1alpha1Apple: async (name, options = {}) => {
|
|
1095
|
+
assertParamExists("deleterunHaloTemplateV1alpha1Apple", "name", name);
|
|
1096
|
+
const localVarPath = `/apis/run.halo.template/v1alpha1/apples/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1097
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1098
|
+
let baseOptions;
|
|
1099
|
+
if (configuration) {
|
|
1100
|
+
baseOptions = configuration.baseOptions;
|
|
1101
|
+
}
|
|
1102
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1103
|
+
const localVarHeaderParameter = {};
|
|
1104
|
+
const localVarQueryParameter = {};
|
|
1105
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1106
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1107
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1108
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1109
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1110
|
+
return {
|
|
1111
|
+
url: toPathString(localVarUrlObj),
|
|
1112
|
+
options: localVarRequestOptions
|
|
1113
|
+
};
|
|
1114
|
+
},
|
|
1115
|
+
getrunHaloTemplateV1alpha1Apple: async (name, options = {}) => {
|
|
1116
|
+
assertParamExists("getrunHaloTemplateV1alpha1Apple", "name", name);
|
|
1117
|
+
const localVarPath = `/apis/run.halo.template/v1alpha1/apples/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1118
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1119
|
+
let baseOptions;
|
|
1120
|
+
if (configuration) {
|
|
1121
|
+
baseOptions = configuration.baseOptions;
|
|
1122
|
+
}
|
|
1123
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1124
|
+
const localVarHeaderParameter = {};
|
|
1125
|
+
const localVarQueryParameter = {};
|
|
1126
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1127
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1128
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1129
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1130
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1131
|
+
return {
|
|
1132
|
+
url: toPathString(localVarUrlObj),
|
|
1133
|
+
options: localVarRequestOptions
|
|
1134
|
+
};
|
|
1135
|
+
},
|
|
1136
|
+
listrunHaloTemplateV1alpha1Apple: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1137
|
+
const localVarPath = `/apis/run.halo.template/v1alpha1/apples`;
|
|
1138
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1139
|
+
let baseOptions;
|
|
1140
|
+
if (configuration) {
|
|
1141
|
+
baseOptions = configuration.baseOptions;
|
|
1142
|
+
}
|
|
1143
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1144
|
+
const localVarHeaderParameter = {};
|
|
1145
|
+
const localVarQueryParameter = {};
|
|
1146
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1147
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1148
|
+
if (page !== void 0) {
|
|
1149
|
+
localVarQueryParameter["page"] = page;
|
|
1150
|
+
}
|
|
1151
|
+
if (size !== void 0) {
|
|
1152
|
+
localVarQueryParameter["size"] = size;
|
|
1153
|
+
}
|
|
1154
|
+
if (labelSelector) {
|
|
1155
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1156
|
+
}
|
|
1157
|
+
if (fieldSelector) {
|
|
1158
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1159
|
+
}
|
|
1160
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1161
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1162
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1163
|
+
return {
|
|
1164
|
+
url: toPathString(localVarUrlObj),
|
|
1165
|
+
options: localVarRequestOptions
|
|
1166
|
+
};
|
|
1167
|
+
},
|
|
1168
|
+
updaterunHaloTemplateV1alpha1Apple: async (name, apple, options = {}) => {
|
|
1169
|
+
assertParamExists("updaterunHaloTemplateV1alpha1Apple", "name", name);
|
|
1170
|
+
const localVarPath = `/apis/run.halo.template/v1alpha1/apples/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1171
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1172
|
+
let baseOptions;
|
|
1173
|
+
if (configuration) {
|
|
1174
|
+
baseOptions = configuration.baseOptions;
|
|
1175
|
+
}
|
|
1176
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1177
|
+
const localVarHeaderParameter = {};
|
|
1178
|
+
const localVarQueryParameter = {};
|
|
1179
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1180
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1181
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1182
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1183
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1184
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1185
|
+
localVarRequestOptions.data = serializeDataIfNeeded(apple, localVarRequestOptions, configuration);
|
|
1186
|
+
return {
|
|
1187
|
+
url: toPathString(localVarUrlObj),
|
|
1188
|
+
options: localVarRequestOptions
|
|
1189
|
+
};
|
|
1190
|
+
}
|
|
1191
|
+
};
|
|
1192
|
+
};
|
|
1193
|
+
const RunHaloTemplateV1alpha1AppleApiFp = function(configuration) {
|
|
1194
|
+
const localVarAxiosParamCreator = RunHaloTemplateV1alpha1AppleApiAxiosParamCreator(configuration);
|
|
1195
|
+
return {
|
|
1196
|
+
async createrunHaloTemplateV1alpha1Apple(apple, options) {
|
|
1197
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createrunHaloTemplateV1alpha1Apple(apple, options);
|
|
1198
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1199
|
+
},
|
|
1200
|
+
async deleterunHaloTemplateV1alpha1Apple(name, options) {
|
|
1201
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleterunHaloTemplateV1alpha1Apple(name, options);
|
|
1202
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1203
|
+
},
|
|
1204
|
+
async getrunHaloTemplateV1alpha1Apple(name, options) {
|
|
1205
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getrunHaloTemplateV1alpha1Apple(name, options);
|
|
1206
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1207
|
+
},
|
|
1208
|
+
async listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options) {
|
|
1209
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options);
|
|
1210
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1211
|
+
},
|
|
1212
|
+
async updaterunHaloTemplateV1alpha1Apple(name, apple, options) {
|
|
1213
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updaterunHaloTemplateV1alpha1Apple(name, apple, options);
|
|
1214
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1215
|
+
}
|
|
1216
|
+
};
|
|
1217
|
+
};
|
|
1218
|
+
const RunHaloTemplateV1alpha1AppleApiFactory = function(configuration, basePath, axios) {
|
|
1219
|
+
const localVarFp = RunHaloTemplateV1alpha1AppleApiFp(configuration);
|
|
1220
|
+
return {
|
|
1221
|
+
createrunHaloTemplateV1alpha1Apple(apple, options) {
|
|
1222
|
+
return localVarFp.createrunHaloTemplateV1alpha1Apple(apple, options).then((request) => request(axios, basePath));
|
|
1223
|
+
},
|
|
1224
|
+
deleterunHaloTemplateV1alpha1Apple(name, options) {
|
|
1225
|
+
return localVarFp.deleterunHaloTemplateV1alpha1Apple(name, options).then((request) => request(axios, basePath));
|
|
1226
|
+
},
|
|
1227
|
+
getrunHaloTemplateV1alpha1Apple(name, options) {
|
|
1228
|
+
return localVarFp.getrunHaloTemplateV1alpha1Apple(name, options).then((request) => request(axios, basePath));
|
|
1229
|
+
},
|
|
1230
|
+
listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options) {
|
|
1231
|
+
return localVarFp.listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1232
|
+
},
|
|
1233
|
+
updaterunHaloTemplateV1alpha1Apple(name, apple, options) {
|
|
1234
|
+
return localVarFp.updaterunHaloTemplateV1alpha1Apple(name, apple, options).then((request) => request(axios, basePath));
|
|
1235
|
+
}
|
|
1236
|
+
};
|
|
1237
|
+
};
|
|
1238
|
+
class RunHaloTemplateV1alpha1AppleApi extends BaseAPI {
|
|
1239
|
+
createrunHaloTemplateV1alpha1Apple(apple, options) {
|
|
1240
|
+
return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).createrunHaloTemplateV1alpha1Apple(apple, options).then((request) => request(this.axios, this.basePath));
|
|
1241
|
+
}
|
|
1242
|
+
deleterunHaloTemplateV1alpha1Apple(name, options) {
|
|
1243
|
+
return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).deleterunHaloTemplateV1alpha1Apple(name, options).then((request) => request(this.axios, this.basePath));
|
|
1244
|
+
}
|
|
1245
|
+
getrunHaloTemplateV1alpha1Apple(name, options) {
|
|
1246
|
+
return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).getrunHaloTemplateV1alpha1Apple(name, options).then((request) => request(this.axios, this.basePath));
|
|
1247
|
+
}
|
|
1248
|
+
listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options) {
|
|
1249
|
+
return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1250
|
+
}
|
|
1251
|
+
updaterunHaloTemplateV1alpha1Apple(name, apple, options) {
|
|
1252
|
+
return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).updaterunHaloTemplateV1alpha1Apple(name, apple, options).then((request) => request(this.axios, this.basePath));
|
|
1253
|
+
}
|
|
1254
|
+
}
|
|
1116
1255
|
const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
1117
1256
|
return {
|
|
1118
1257
|
createv1alpha1ConfigMap: async (configMap, options = {}) => {
|
|
@@ -1125,6 +1264,8 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
1125
1264
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1126
1265
|
const localVarHeaderParameter = {};
|
|
1127
1266
|
const localVarQueryParameter = {};
|
|
1267
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1268
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1128
1269
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1129
1270
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1130
1271
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1146,6 +1287,8 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
1146
1287
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1147
1288
|
const localVarHeaderParameter = {};
|
|
1148
1289
|
const localVarQueryParameter = {};
|
|
1290
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1291
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1149
1292
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1150
1293
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1151
1294
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1165,6 +1308,8 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
1165
1308
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1166
1309
|
const localVarHeaderParameter = {};
|
|
1167
1310
|
const localVarQueryParameter = {};
|
|
1311
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1312
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1168
1313
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1169
1314
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1170
1315
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1173,7 +1318,7 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
1173
1318
|
options: localVarRequestOptions
|
|
1174
1319
|
};
|
|
1175
1320
|
},
|
|
1176
|
-
listv1alpha1ConfigMap: async (page, size,
|
|
1321
|
+
listv1alpha1ConfigMap: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1177
1322
|
const localVarPath = `/api/v1alpha1/configmaps`;
|
|
1178
1323
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1179
1324
|
let baseOptions;
|
|
@@ -1183,14 +1328,19 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
1183
1328
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1184
1329
|
const localVarHeaderParameter = {};
|
|
1185
1330
|
const localVarQueryParameter = {};
|
|
1331
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1332
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1186
1333
|
if (page !== void 0) {
|
|
1187
1334
|
localVarQueryParameter["page"] = page;
|
|
1188
1335
|
}
|
|
1189
1336
|
if (size !== void 0) {
|
|
1190
1337
|
localVarQueryParameter["size"] = size;
|
|
1191
1338
|
}
|
|
1192
|
-
if (
|
|
1193
|
-
localVarQueryParameter["
|
|
1339
|
+
if (labelSelector) {
|
|
1340
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1341
|
+
}
|
|
1342
|
+
if (fieldSelector) {
|
|
1343
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1194
1344
|
}
|
|
1195
1345
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1196
1346
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1211,6 +1361,8 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
1211
1361
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1212
1362
|
const localVarHeaderParameter = {};
|
|
1213
1363
|
const localVarQueryParameter = {};
|
|
1364
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1365
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1214
1366
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1215
1367
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1216
1368
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1238,8 +1390,8 @@ const V1alpha1ConfigMapApiFp = function(configuration) {
|
|
|
1238
1390
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1ConfigMap(name, options);
|
|
1239
1391
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1240
1392
|
},
|
|
1241
|
-
async listv1alpha1ConfigMap(page, size,
|
|
1242
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1ConfigMap(page, size,
|
|
1393
|
+
async listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options) {
|
|
1394
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options);
|
|
1243
1395
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1244
1396
|
},
|
|
1245
1397
|
async updatev1alpha1ConfigMap(name, configMap, options) {
|
|
@@ -1260,8 +1412,8 @@ const V1alpha1ConfigMapApiFactory = function(configuration, basePath, axios) {
|
|
|
1260
1412
|
getv1alpha1ConfigMap(name, options) {
|
|
1261
1413
|
return localVarFp.getv1alpha1ConfigMap(name, options).then((request) => request(axios, basePath));
|
|
1262
1414
|
},
|
|
1263
|
-
listv1alpha1ConfigMap(page, size,
|
|
1264
|
-
return localVarFp.listv1alpha1ConfigMap(page, size,
|
|
1415
|
+
listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options) {
|
|
1416
|
+
return localVarFp.listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1265
1417
|
},
|
|
1266
1418
|
updatev1alpha1ConfigMap(name, configMap, options) {
|
|
1267
1419
|
return localVarFp.updatev1alpha1ConfigMap(name, configMap, options).then((request) => request(axios, basePath));
|
|
@@ -1278,8 +1430,8 @@ class V1alpha1ConfigMapApi extends BaseAPI {
|
|
|
1278
1430
|
getv1alpha1ConfigMap(name, options) {
|
|
1279
1431
|
return V1alpha1ConfigMapApiFp(this.configuration).getv1alpha1ConfigMap(name, options).then((request) => request(this.axios, this.basePath));
|
|
1280
1432
|
}
|
|
1281
|
-
listv1alpha1ConfigMap(page, size,
|
|
1282
|
-
return V1alpha1ConfigMapApiFp(this.configuration).listv1alpha1ConfigMap(page, size,
|
|
1433
|
+
listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options) {
|
|
1434
|
+
return V1alpha1ConfigMapApiFp(this.configuration).listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1283
1435
|
}
|
|
1284
1436
|
updatev1alpha1ConfigMap(name, configMap, options) {
|
|
1285
1437
|
return V1alpha1ConfigMapApiFp(this.configuration).updatev1alpha1ConfigMap(name, configMap, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1297,6 +1449,8 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
1297
1449
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1298
1450
|
const localVarHeaderParameter = {};
|
|
1299
1451
|
const localVarQueryParameter = {};
|
|
1452
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1453
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1300
1454
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1301
1455
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1302
1456
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1318,6 +1472,8 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
1318
1472
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1319
1473
|
const localVarHeaderParameter = {};
|
|
1320
1474
|
const localVarQueryParameter = {};
|
|
1475
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1476
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1321
1477
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1322
1478
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1323
1479
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1337,6 +1493,8 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
1337
1493
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1338
1494
|
const localVarHeaderParameter = {};
|
|
1339
1495
|
const localVarQueryParameter = {};
|
|
1496
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1497
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1340
1498
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1341
1499
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1342
1500
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1345,7 +1503,7 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
1345
1503
|
options: localVarRequestOptions
|
|
1346
1504
|
};
|
|
1347
1505
|
},
|
|
1348
|
-
listv1alpha1PersonalAccessToken: async (page, size,
|
|
1506
|
+
listv1alpha1PersonalAccessToken: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1349
1507
|
const localVarPath = `/api/v1alpha1/personalaccesstokens`;
|
|
1350
1508
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1351
1509
|
let baseOptions;
|
|
@@ -1355,14 +1513,19 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
1355
1513
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1356
1514
|
const localVarHeaderParameter = {};
|
|
1357
1515
|
const localVarQueryParameter = {};
|
|
1516
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1517
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1358
1518
|
if (page !== void 0) {
|
|
1359
1519
|
localVarQueryParameter["page"] = page;
|
|
1360
1520
|
}
|
|
1361
1521
|
if (size !== void 0) {
|
|
1362
1522
|
localVarQueryParameter["size"] = size;
|
|
1363
1523
|
}
|
|
1364
|
-
if (
|
|
1365
|
-
localVarQueryParameter["
|
|
1524
|
+
if (labelSelector) {
|
|
1525
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1526
|
+
}
|
|
1527
|
+
if (fieldSelector) {
|
|
1528
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1366
1529
|
}
|
|
1367
1530
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1368
1531
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1383,6 +1546,8 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
1383
1546
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1384
1547
|
const localVarHeaderParameter = {};
|
|
1385
1548
|
const localVarQueryParameter = {};
|
|
1549
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1550
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1386
1551
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1387
1552
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1388
1553
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1410,8 +1575,8 @@ const V1alpha1PersonalAccessTokenApiFp = function(configuration) {
|
|
|
1410
1575
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1PersonalAccessToken(name, options);
|
|
1411
1576
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1412
1577
|
},
|
|
1413
|
-
async listv1alpha1PersonalAccessToken(page, size,
|
|
1414
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1PersonalAccessToken(page, size,
|
|
1578
|
+
async listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options) {
|
|
1579
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options);
|
|
1415
1580
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1416
1581
|
},
|
|
1417
1582
|
async updatev1alpha1PersonalAccessToken(name, personalAccessToken, options) {
|
|
@@ -1432,8 +1597,8 @@ const V1alpha1PersonalAccessTokenApiFactory = function(configuration, basePath,
|
|
|
1432
1597
|
getv1alpha1PersonalAccessToken(name, options) {
|
|
1433
1598
|
return localVarFp.getv1alpha1PersonalAccessToken(name, options).then((request) => request(axios, basePath));
|
|
1434
1599
|
},
|
|
1435
|
-
listv1alpha1PersonalAccessToken(page, size,
|
|
1436
|
-
return localVarFp.listv1alpha1PersonalAccessToken(page, size,
|
|
1600
|
+
listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options) {
|
|
1601
|
+
return localVarFp.listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1437
1602
|
},
|
|
1438
1603
|
updatev1alpha1PersonalAccessToken(name, personalAccessToken, options) {
|
|
1439
1604
|
return localVarFp.updatev1alpha1PersonalAccessToken(name, personalAccessToken, options).then((request) => request(axios, basePath));
|
|
@@ -1450,8 +1615,8 @@ class V1alpha1PersonalAccessTokenApi extends BaseAPI {
|
|
|
1450
1615
|
getv1alpha1PersonalAccessToken(name, options) {
|
|
1451
1616
|
return V1alpha1PersonalAccessTokenApiFp(this.configuration).getv1alpha1PersonalAccessToken(name, options).then((request) => request(this.axios, this.basePath));
|
|
1452
1617
|
}
|
|
1453
|
-
listv1alpha1PersonalAccessToken(page, size,
|
|
1454
|
-
return V1alpha1PersonalAccessTokenApiFp(this.configuration).listv1alpha1PersonalAccessToken(page, size,
|
|
1618
|
+
listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options) {
|
|
1619
|
+
return V1alpha1PersonalAccessTokenApiFp(this.configuration).listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1455
1620
|
}
|
|
1456
1621
|
updatev1alpha1PersonalAccessToken(name, personalAccessToken, options) {
|
|
1457
1622
|
return V1alpha1PersonalAccessTokenApiFp(this.configuration).updatev1alpha1PersonalAccessToken(name, personalAccessToken, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1469,6 +1634,8 @@ const V1alpha1RoleApiAxiosParamCreator = function(configuration) {
|
|
|
1469
1634
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1470
1635
|
const localVarHeaderParameter = {};
|
|
1471
1636
|
const localVarQueryParameter = {};
|
|
1637
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1638
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1472
1639
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1473
1640
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1474
1641
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1490,6 +1657,8 @@ const V1alpha1RoleApiAxiosParamCreator = function(configuration) {
|
|
|
1490
1657
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1491
1658
|
const localVarHeaderParameter = {};
|
|
1492
1659
|
const localVarQueryParameter = {};
|
|
1660
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1661
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1493
1662
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1494
1663
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1495
1664
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1509,6 +1678,8 @@ const V1alpha1RoleApiAxiosParamCreator = function(configuration) {
|
|
|
1509
1678
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1510
1679
|
const localVarHeaderParameter = {};
|
|
1511
1680
|
const localVarQueryParameter = {};
|
|
1681
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1682
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1512
1683
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1513
1684
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1514
1685
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1517,7 +1688,7 @@ const V1alpha1RoleApiAxiosParamCreator = function(configuration) {
|
|
|
1517
1688
|
options: localVarRequestOptions
|
|
1518
1689
|
};
|
|
1519
1690
|
},
|
|
1520
|
-
listv1alpha1Role: async (page, size,
|
|
1691
|
+
listv1alpha1Role: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1521
1692
|
const localVarPath = `/api/v1alpha1/roles`;
|
|
1522
1693
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1523
1694
|
let baseOptions;
|
|
@@ -1527,14 +1698,19 @@ const V1alpha1RoleApiAxiosParamCreator = function(configuration) {
|
|
|
1527
1698
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1528
1699
|
const localVarHeaderParameter = {};
|
|
1529
1700
|
const localVarQueryParameter = {};
|
|
1701
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1702
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1530
1703
|
if (page !== void 0) {
|
|
1531
1704
|
localVarQueryParameter["page"] = page;
|
|
1532
1705
|
}
|
|
1533
1706
|
if (size !== void 0) {
|
|
1534
1707
|
localVarQueryParameter["size"] = size;
|
|
1535
1708
|
}
|
|
1536
|
-
if (
|
|
1537
|
-
localVarQueryParameter["
|
|
1709
|
+
if (labelSelector) {
|
|
1710
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1711
|
+
}
|
|
1712
|
+
if (fieldSelector) {
|
|
1713
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1538
1714
|
}
|
|
1539
1715
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1540
1716
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1555,6 +1731,8 @@ const V1alpha1RoleApiAxiosParamCreator = function(configuration) {
|
|
|
1555
1731
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1556
1732
|
const localVarHeaderParameter = {};
|
|
1557
1733
|
const localVarQueryParameter = {};
|
|
1734
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1735
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1558
1736
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1559
1737
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1560
1738
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1582,8 +1760,8 @@ const V1alpha1RoleApiFp = function(configuration) {
|
|
|
1582
1760
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1Role(name, options);
|
|
1583
1761
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1584
1762
|
},
|
|
1585
|
-
async listv1alpha1Role(page, size,
|
|
1586
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Role(page, size,
|
|
1763
|
+
async listv1alpha1Role(page, size, labelSelector, fieldSelector, options) {
|
|
1764
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Role(page, size, labelSelector, fieldSelector, options);
|
|
1587
1765
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1588
1766
|
},
|
|
1589
1767
|
async updatev1alpha1Role(name, role, options) {
|
|
@@ -1604,8 +1782,8 @@ const V1alpha1RoleApiFactory = function(configuration, basePath, axios) {
|
|
|
1604
1782
|
getv1alpha1Role(name, options) {
|
|
1605
1783
|
return localVarFp.getv1alpha1Role(name, options).then((request) => request(axios, basePath));
|
|
1606
1784
|
},
|
|
1607
|
-
listv1alpha1Role(page, size,
|
|
1608
|
-
return localVarFp.listv1alpha1Role(page, size,
|
|
1785
|
+
listv1alpha1Role(page, size, labelSelector, fieldSelector, options) {
|
|
1786
|
+
return localVarFp.listv1alpha1Role(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1609
1787
|
},
|
|
1610
1788
|
updatev1alpha1Role(name, role, options) {
|
|
1611
1789
|
return localVarFp.updatev1alpha1Role(name, role, options).then((request) => request(axios, basePath));
|
|
@@ -1622,8 +1800,8 @@ class V1alpha1RoleApi extends BaseAPI {
|
|
|
1622
1800
|
getv1alpha1Role(name, options) {
|
|
1623
1801
|
return V1alpha1RoleApiFp(this.configuration).getv1alpha1Role(name, options).then((request) => request(this.axios, this.basePath));
|
|
1624
1802
|
}
|
|
1625
|
-
listv1alpha1Role(page, size,
|
|
1626
|
-
return V1alpha1RoleApiFp(this.configuration).listv1alpha1Role(page, size,
|
|
1803
|
+
listv1alpha1Role(page, size, labelSelector, fieldSelector, options) {
|
|
1804
|
+
return V1alpha1RoleApiFp(this.configuration).listv1alpha1Role(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1627
1805
|
}
|
|
1628
1806
|
updatev1alpha1Role(name, role, options) {
|
|
1629
1807
|
return V1alpha1RoleApiFp(this.configuration).updatev1alpha1Role(name, role, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1641,6 +1819,8 @@ const V1alpha1RoleBindingApiAxiosParamCreator = function(configuration) {
|
|
|
1641
1819
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1642
1820
|
const localVarHeaderParameter = {};
|
|
1643
1821
|
const localVarQueryParameter = {};
|
|
1822
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1823
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1644
1824
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1645
1825
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1646
1826
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1662,6 +1842,8 @@ const V1alpha1RoleBindingApiAxiosParamCreator = function(configuration) {
|
|
|
1662
1842
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1663
1843
|
const localVarHeaderParameter = {};
|
|
1664
1844
|
const localVarQueryParameter = {};
|
|
1845
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1846
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1665
1847
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1666
1848
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1667
1849
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1681,6 +1863,8 @@ const V1alpha1RoleBindingApiAxiosParamCreator = function(configuration) {
|
|
|
1681
1863
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1682
1864
|
const localVarHeaderParameter = {};
|
|
1683
1865
|
const localVarQueryParameter = {};
|
|
1866
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1867
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1684
1868
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1685
1869
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1686
1870
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1689,7 +1873,7 @@ const V1alpha1RoleBindingApiAxiosParamCreator = function(configuration) {
|
|
|
1689
1873
|
options: localVarRequestOptions
|
|
1690
1874
|
};
|
|
1691
1875
|
},
|
|
1692
|
-
listv1alpha1RoleBinding: async (page, size,
|
|
1876
|
+
listv1alpha1RoleBinding: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1693
1877
|
const localVarPath = `/api/v1alpha1/rolebindings`;
|
|
1694
1878
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1695
1879
|
let baseOptions;
|
|
@@ -1699,14 +1883,19 @@ const V1alpha1RoleBindingApiAxiosParamCreator = function(configuration) {
|
|
|
1699
1883
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1700
1884
|
const localVarHeaderParameter = {};
|
|
1701
1885
|
const localVarQueryParameter = {};
|
|
1886
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1887
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1702
1888
|
if (page !== void 0) {
|
|
1703
1889
|
localVarQueryParameter["page"] = page;
|
|
1704
1890
|
}
|
|
1705
1891
|
if (size !== void 0) {
|
|
1706
1892
|
localVarQueryParameter["size"] = size;
|
|
1707
1893
|
}
|
|
1708
|
-
if (
|
|
1709
|
-
localVarQueryParameter["
|
|
1894
|
+
if (labelSelector) {
|
|
1895
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1896
|
+
}
|
|
1897
|
+
if (fieldSelector) {
|
|
1898
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1710
1899
|
}
|
|
1711
1900
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1712
1901
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1727,6 +1916,8 @@ const V1alpha1RoleBindingApiAxiosParamCreator = function(configuration) {
|
|
|
1727
1916
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1728
1917
|
const localVarHeaderParameter = {};
|
|
1729
1918
|
const localVarQueryParameter = {};
|
|
1919
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1920
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1730
1921
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1731
1922
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1732
1923
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1754,8 +1945,8 @@ const V1alpha1RoleBindingApiFp = function(configuration) {
|
|
|
1754
1945
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1RoleBinding(name, options);
|
|
1755
1946
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1756
1947
|
},
|
|
1757
|
-
async listv1alpha1RoleBinding(page, size,
|
|
1758
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1RoleBinding(page, size,
|
|
1948
|
+
async listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options) {
|
|
1949
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options);
|
|
1759
1950
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1760
1951
|
},
|
|
1761
1952
|
async updatev1alpha1RoleBinding(name, roleBinding, options) {
|
|
@@ -1776,8 +1967,8 @@ const V1alpha1RoleBindingApiFactory = function(configuration, basePath, axios) {
|
|
|
1776
1967
|
getv1alpha1RoleBinding(name, options) {
|
|
1777
1968
|
return localVarFp.getv1alpha1RoleBinding(name, options).then((request) => request(axios, basePath));
|
|
1778
1969
|
},
|
|
1779
|
-
listv1alpha1RoleBinding(page, size,
|
|
1780
|
-
return localVarFp.listv1alpha1RoleBinding(page, size,
|
|
1970
|
+
listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options) {
|
|
1971
|
+
return localVarFp.listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1781
1972
|
},
|
|
1782
1973
|
updatev1alpha1RoleBinding(name, roleBinding, options) {
|
|
1783
1974
|
return localVarFp.updatev1alpha1RoleBinding(name, roleBinding, options).then((request) => request(axios, basePath));
|
|
@@ -1794,8 +1985,8 @@ class V1alpha1RoleBindingApi extends BaseAPI {
|
|
|
1794
1985
|
getv1alpha1RoleBinding(name, options) {
|
|
1795
1986
|
return V1alpha1RoleBindingApiFp(this.configuration).getv1alpha1RoleBinding(name, options).then((request) => request(this.axios, this.basePath));
|
|
1796
1987
|
}
|
|
1797
|
-
listv1alpha1RoleBinding(page, size,
|
|
1798
|
-
return V1alpha1RoleBindingApiFp(this.configuration).listv1alpha1RoleBinding(page, size,
|
|
1988
|
+
listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options) {
|
|
1989
|
+
return V1alpha1RoleBindingApiFp(this.configuration).listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1799
1990
|
}
|
|
1800
1991
|
updatev1alpha1RoleBinding(name, roleBinding, options) {
|
|
1801
1992
|
return V1alpha1RoleBindingApiFp(this.configuration).updatev1alpha1RoleBinding(name, roleBinding, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1813,6 +2004,8 @@ const V1alpha1SettingApiAxiosParamCreator = function(configuration) {
|
|
|
1813
2004
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1814
2005
|
const localVarHeaderParameter = {};
|
|
1815
2006
|
const localVarQueryParameter = {};
|
|
2007
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2008
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1816
2009
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1817
2010
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1818
2011
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1834,6 +2027,8 @@ const V1alpha1SettingApiAxiosParamCreator = function(configuration) {
|
|
|
1834
2027
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1835
2028
|
const localVarHeaderParameter = {};
|
|
1836
2029
|
const localVarQueryParameter = {};
|
|
2030
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2031
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1837
2032
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1838
2033
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1839
2034
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1853,6 +2048,8 @@ const V1alpha1SettingApiAxiosParamCreator = function(configuration) {
|
|
|
1853
2048
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1854
2049
|
const localVarHeaderParameter = {};
|
|
1855
2050
|
const localVarQueryParameter = {};
|
|
2051
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2052
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1856
2053
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1857
2054
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1858
2055
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1861,7 +2058,7 @@ const V1alpha1SettingApiAxiosParamCreator = function(configuration) {
|
|
|
1861
2058
|
options: localVarRequestOptions
|
|
1862
2059
|
};
|
|
1863
2060
|
},
|
|
1864
|
-
listv1alpha1Setting: async (page, size,
|
|
2061
|
+
listv1alpha1Setting: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1865
2062
|
const localVarPath = `/api/v1alpha1/settings`;
|
|
1866
2063
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1867
2064
|
let baseOptions;
|
|
@@ -1871,14 +2068,19 @@ const V1alpha1SettingApiAxiosParamCreator = function(configuration) {
|
|
|
1871
2068
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1872
2069
|
const localVarHeaderParameter = {};
|
|
1873
2070
|
const localVarQueryParameter = {};
|
|
2071
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2072
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1874
2073
|
if (page !== void 0) {
|
|
1875
2074
|
localVarQueryParameter["page"] = page;
|
|
1876
2075
|
}
|
|
1877
2076
|
if (size !== void 0) {
|
|
1878
2077
|
localVarQueryParameter["size"] = size;
|
|
1879
2078
|
}
|
|
1880
|
-
if (
|
|
1881
|
-
localVarQueryParameter["
|
|
2079
|
+
if (labelSelector) {
|
|
2080
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2081
|
+
}
|
|
2082
|
+
if (fieldSelector) {
|
|
2083
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1882
2084
|
}
|
|
1883
2085
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1884
2086
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1899,6 +2101,8 @@ const V1alpha1SettingApiAxiosParamCreator = function(configuration) {
|
|
|
1899
2101
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1900
2102
|
const localVarHeaderParameter = {};
|
|
1901
2103
|
const localVarQueryParameter = {};
|
|
2104
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2105
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1902
2106
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1903
2107
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1904
2108
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1926,8 +2130,8 @@ const V1alpha1SettingApiFp = function(configuration) {
|
|
|
1926
2130
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1Setting(name, options);
|
|
1927
2131
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1928
2132
|
},
|
|
1929
|
-
async listv1alpha1Setting(page, size,
|
|
1930
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Setting(page, size,
|
|
2133
|
+
async listv1alpha1Setting(page, size, labelSelector, fieldSelector, options) {
|
|
2134
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Setting(page, size, labelSelector, fieldSelector, options);
|
|
1931
2135
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1932
2136
|
},
|
|
1933
2137
|
async updatev1alpha1Setting(name, setting, options) {
|
|
@@ -1948,8 +2152,8 @@ const V1alpha1SettingApiFactory = function(configuration, basePath, axios) {
|
|
|
1948
2152
|
getv1alpha1Setting(name, options) {
|
|
1949
2153
|
return localVarFp.getv1alpha1Setting(name, options).then((request) => request(axios, basePath));
|
|
1950
2154
|
},
|
|
1951
|
-
listv1alpha1Setting(page, size,
|
|
1952
|
-
return localVarFp.listv1alpha1Setting(page, size,
|
|
2155
|
+
listv1alpha1Setting(page, size, labelSelector, fieldSelector, options) {
|
|
2156
|
+
return localVarFp.listv1alpha1Setting(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1953
2157
|
},
|
|
1954
2158
|
updatev1alpha1Setting(name, setting, options) {
|
|
1955
2159
|
return localVarFp.updatev1alpha1Setting(name, setting, options).then((request) => request(axios, basePath));
|
|
@@ -1966,8 +2170,8 @@ class V1alpha1SettingApi extends BaseAPI {
|
|
|
1966
2170
|
getv1alpha1Setting(name, options) {
|
|
1967
2171
|
return V1alpha1SettingApiFp(this.configuration).getv1alpha1Setting(name, options).then((request) => request(this.axios, this.basePath));
|
|
1968
2172
|
}
|
|
1969
|
-
listv1alpha1Setting(page, size,
|
|
1970
|
-
return V1alpha1SettingApiFp(this.configuration).listv1alpha1Setting(page, size,
|
|
2173
|
+
listv1alpha1Setting(page, size, labelSelector, fieldSelector, options) {
|
|
2174
|
+
return V1alpha1SettingApiFp(this.configuration).listv1alpha1Setting(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1971
2175
|
}
|
|
1972
2176
|
updatev1alpha1Setting(name, setting, options) {
|
|
1973
2177
|
return V1alpha1SettingApiFp(this.configuration).updatev1alpha1Setting(name, setting, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1985,6 +2189,8 @@ const V1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
1985
2189
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1986
2190
|
const localVarHeaderParameter = {};
|
|
1987
2191
|
const localVarQueryParameter = {};
|
|
2192
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2193
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1988
2194
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1989
2195
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1990
2196
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -2006,6 +2212,8 @@ const V1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
2006
2212
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
2007
2213
|
const localVarHeaderParameter = {};
|
|
2008
2214
|
const localVarQueryParameter = {};
|
|
2215
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2216
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2009
2217
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2010
2218
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2011
2219
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -2025,6 +2233,8 @@ const V1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
2025
2233
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2026
2234
|
const localVarHeaderParameter = {};
|
|
2027
2235
|
const localVarQueryParameter = {};
|
|
2236
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2237
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2028
2238
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2029
2239
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2030
2240
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -2033,7 +2243,7 @@ const V1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
2033
2243
|
options: localVarRequestOptions
|
|
2034
2244
|
};
|
|
2035
2245
|
},
|
|
2036
|
-
listv1alpha1User: async (page, size,
|
|
2246
|
+
listv1alpha1User: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2037
2247
|
const localVarPath = `/api/v1alpha1/users`;
|
|
2038
2248
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2039
2249
|
let baseOptions;
|
|
@@ -2043,14 +2253,19 @@ const V1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
2043
2253
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2044
2254
|
const localVarHeaderParameter = {};
|
|
2045
2255
|
const localVarQueryParameter = {};
|
|
2256
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2257
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2046
2258
|
if (page !== void 0) {
|
|
2047
2259
|
localVarQueryParameter["page"] = page;
|
|
2048
2260
|
}
|
|
2049
2261
|
if (size !== void 0) {
|
|
2050
2262
|
localVarQueryParameter["size"] = size;
|
|
2051
2263
|
}
|
|
2052
|
-
if (
|
|
2053
|
-
localVarQueryParameter["
|
|
2264
|
+
if (labelSelector) {
|
|
2265
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2266
|
+
}
|
|
2267
|
+
if (fieldSelector) {
|
|
2268
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2054
2269
|
}
|
|
2055
2270
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2056
2271
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -2071,6 +2286,8 @@ const V1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
2071
2286
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
2072
2287
|
const localVarHeaderParameter = {};
|
|
2073
2288
|
const localVarQueryParameter = {};
|
|
2289
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2290
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2074
2291
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2075
2292
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2076
2293
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -2098,8 +2315,8 @@ const V1alpha1UserApiFp = function(configuration) {
|
|
|
2098
2315
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1User(name, options);
|
|
2099
2316
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2100
2317
|
},
|
|
2101
|
-
async listv1alpha1User(page, size,
|
|
2102
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1User(page, size,
|
|
2318
|
+
async listv1alpha1User(page, size, labelSelector, fieldSelector, options) {
|
|
2319
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1User(page, size, labelSelector, fieldSelector, options);
|
|
2103
2320
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2104
2321
|
},
|
|
2105
2322
|
async updatev1alpha1User(name, user, options) {
|
|
@@ -2120,8 +2337,8 @@ const V1alpha1UserApiFactory = function(configuration, basePath, axios) {
|
|
|
2120
2337
|
getv1alpha1User(name, options) {
|
|
2121
2338
|
return localVarFp.getv1alpha1User(name, options).then((request) => request(axios, basePath));
|
|
2122
2339
|
},
|
|
2123
|
-
listv1alpha1User(page, size,
|
|
2124
|
-
return localVarFp.listv1alpha1User(page, size,
|
|
2340
|
+
listv1alpha1User(page, size, labelSelector, fieldSelector, options) {
|
|
2341
|
+
return localVarFp.listv1alpha1User(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2125
2342
|
},
|
|
2126
2343
|
updatev1alpha1User(name, user, options) {
|
|
2127
2344
|
return localVarFp.updatev1alpha1User(name, user, options).then((request) => request(axios, basePath));
|
|
@@ -2138,8 +2355,8 @@ class V1alpha1UserApi extends BaseAPI {
|
|
|
2138
2355
|
getv1alpha1User(name, options) {
|
|
2139
2356
|
return V1alpha1UserApiFp(this.configuration).getv1alpha1User(name, options).then((request) => request(this.axios, this.basePath));
|
|
2140
2357
|
}
|
|
2141
|
-
listv1alpha1User(page, size,
|
|
2142
|
-
return V1alpha1UserApiFp(this.configuration).listv1alpha1User(page, size,
|
|
2358
|
+
listv1alpha1User(page, size, labelSelector, fieldSelector, options) {
|
|
2359
|
+
return V1alpha1UserApiFp(this.configuration).listv1alpha1User(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2143
2360
|
}
|
|
2144
2361
|
updatev1alpha1User(name, user, options) {
|
|
2145
2362
|
return V1alpha1UserApiFp(this.configuration).updatev1alpha1User(name, user, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2162,14 +2379,14 @@ class Configuration {
|
|
|
2162
2379
|
}
|
|
2163
2380
|
}
|
|
2164
2381
|
|
|
2382
|
+
exports.ApiHaloRunV1alpha1PluginApi = ApiHaloRunV1alpha1PluginApi;
|
|
2383
|
+
exports.ApiHaloRunV1alpha1PluginApiAxiosParamCreator = ApiHaloRunV1alpha1PluginApiAxiosParamCreator;
|
|
2384
|
+
exports.ApiHaloRunV1alpha1PluginApiFactory = ApiHaloRunV1alpha1PluginApiFactory;
|
|
2385
|
+
exports.ApiHaloRunV1alpha1PluginApiFp = ApiHaloRunV1alpha1PluginApiFp;
|
|
2165
2386
|
exports.ApiHaloRunV1alpha1UserApi = ApiHaloRunV1alpha1UserApi;
|
|
2166
2387
|
exports.ApiHaloRunV1alpha1UserApiAxiosParamCreator = ApiHaloRunV1alpha1UserApiAxiosParamCreator;
|
|
2167
2388
|
exports.ApiHaloRunV1alpha1UserApiFactory = ApiHaloRunV1alpha1UserApiFactory;
|
|
2168
2389
|
exports.ApiHaloRunV1alpha1UserApiFp = ApiHaloRunV1alpha1UserApiFp;
|
|
2169
|
-
exports.AppleGuqingXyzV1alpha1AppleApi = AppleGuqingXyzV1alpha1AppleApi;
|
|
2170
|
-
exports.AppleGuqingXyzV1alpha1AppleApiAxiosParamCreator = AppleGuqingXyzV1alpha1AppleApiAxiosParamCreator;
|
|
2171
|
-
exports.AppleGuqingXyzV1alpha1AppleApiFactory = AppleGuqingXyzV1alpha1AppleApiFactory;
|
|
2172
|
-
exports.AppleGuqingXyzV1alpha1AppleApiFp = AppleGuqingXyzV1alpha1AppleApiFp;
|
|
2173
2390
|
exports.ApplesControllerApi = ApplesControllerApi;
|
|
2174
2391
|
exports.ApplesControllerApiAxiosParamCreator = ApplesControllerApiAxiosParamCreator;
|
|
2175
2392
|
exports.ApplesControllerApiFactory = ApplesControllerApiFactory;
|
|
@@ -2192,6 +2409,10 @@ exports.PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = PluginHaloRunV1a
|
|
|
2192
2409
|
exports.PluginHaloRunV1alpha1ReverseProxyApiFactory = PluginHaloRunV1alpha1ReverseProxyApiFactory;
|
|
2193
2410
|
exports.PluginHaloRunV1alpha1ReverseProxyApiFp = PluginHaloRunV1alpha1ReverseProxyApiFp;
|
|
2194
2411
|
exports.PluginStatusPhaseEnum = PluginStatusPhaseEnum;
|
|
2412
|
+
exports.RunHaloTemplateV1alpha1AppleApi = RunHaloTemplateV1alpha1AppleApi;
|
|
2413
|
+
exports.RunHaloTemplateV1alpha1AppleApiAxiosParamCreator = RunHaloTemplateV1alpha1AppleApiAxiosParamCreator;
|
|
2414
|
+
exports.RunHaloTemplateV1alpha1AppleApiFactory = RunHaloTemplateV1alpha1AppleApiFactory;
|
|
2415
|
+
exports.RunHaloTemplateV1alpha1AppleApiFp = RunHaloTemplateV1alpha1AppleApiFp;
|
|
2195
2416
|
exports.V1alpha1ConfigMapApi = V1alpha1ConfigMapApi;
|
|
2196
2417
|
exports.V1alpha1ConfigMapApiAxiosParamCreator = V1alpha1ConfigMapApiAxiosParamCreator;
|
|
2197
2418
|
exports.V1alpha1ConfigMapApiFactory = V1alpha1ConfigMapApiFactory;
|