@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.mjs
CHANGED
|
@@ -25,6 +25,17 @@ const assertParamExists = function(functionName, paramName, paramValue) {
|
|
|
25
25
|
throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
|
+
const setBasicAuthToObject = function(object, configuration) {
|
|
29
|
+
if (configuration && (configuration.username || configuration.password)) {
|
|
30
|
+
object["auth"] = { username: configuration.username, password: configuration.password };
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
const setBearerAuthToObject = async function(object, configuration) {
|
|
34
|
+
if (configuration && configuration.accessToken) {
|
|
35
|
+
const accessToken = typeof configuration.accessToken === "function" ? await configuration.accessToken() : await configuration.accessToken;
|
|
36
|
+
object["Authorization"] = "Bearer " + accessToken;
|
|
37
|
+
}
|
|
38
|
+
};
|
|
28
39
|
const setSearchParams = function(url, ...objects) {
|
|
29
40
|
const searchParams = new URLSearchParams(url.search);
|
|
30
41
|
for (const object of objects) {
|
|
@@ -64,6 +75,59 @@ const PluginStatusPhaseEnum = {
|
|
|
64
75
|
Stopped: "STOPPED",
|
|
65
76
|
Failed: "FAILED"
|
|
66
77
|
};
|
|
78
|
+
const ApiHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
79
|
+
return {
|
|
80
|
+
installPlugin: async (file, options = {}) => {
|
|
81
|
+
assertParamExists("installPlugin", "file", file);
|
|
82
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/plugins/install`;
|
|
83
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
84
|
+
let baseOptions;
|
|
85
|
+
if (configuration) {
|
|
86
|
+
baseOptions = configuration.baseOptions;
|
|
87
|
+
}
|
|
88
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
89
|
+
const localVarHeaderParameter = {};
|
|
90
|
+
const localVarQueryParameter = {};
|
|
91
|
+
const localVarFormParams = new (configuration && configuration.formDataCtor || FormData)();
|
|
92
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
93
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
94
|
+
if (file !== void 0) {
|
|
95
|
+
localVarFormParams.append("file", file);
|
|
96
|
+
}
|
|
97
|
+
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
98
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
99
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
100
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
101
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
102
|
+
return {
|
|
103
|
+
url: toPathString(localVarUrlObj),
|
|
104
|
+
options: localVarRequestOptions
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
const ApiHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
110
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1PluginApiAxiosParamCreator(configuration);
|
|
111
|
+
return {
|
|
112
|
+
async installPlugin(file, options) {
|
|
113
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
114
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
const ApiHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
|
|
119
|
+
const localVarFp = ApiHaloRunV1alpha1PluginApiFp(configuration);
|
|
120
|
+
return {
|
|
121
|
+
installPlugin(file, options) {
|
|
122
|
+
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
class ApiHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
127
|
+
installPlugin(file, options) {
|
|
128
|
+
return ApiHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(file, options).then((request) => request(this.axios, this.basePath));
|
|
129
|
+
}
|
|
130
|
+
}
|
|
67
131
|
const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
68
132
|
return {
|
|
69
133
|
changePassword: async (name, changePasswordRequest, options = {}) => {
|
|
@@ -78,6 +142,8 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
78
142
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
79
143
|
const localVarHeaderParameter = {};
|
|
80
144
|
const localVarQueryParameter = {};
|
|
145
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
146
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
81
147
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
82
148
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
83
149
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -98,6 +164,8 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
98
164
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
99
165
|
const localVarHeaderParameter = {};
|
|
100
166
|
const localVarQueryParameter = {};
|
|
167
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
168
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
101
169
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
102
170
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103
171
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -117,6 +185,8 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
117
185
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
118
186
|
const localVarHeaderParameter = {};
|
|
119
187
|
const localVarQueryParameter = {};
|
|
188
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
189
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
120
190
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
121
191
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
122
192
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -137,6 +207,8 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
137
207
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
138
208
|
const localVarHeaderParameter = {};
|
|
139
209
|
const localVarQueryParameter = {};
|
|
210
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
211
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
140
212
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
141
213
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
142
214
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -201,178 +273,6 @@ class ApiHaloRunV1alpha1UserApi extends BaseAPI {
|
|
|
201
273
|
return ApiHaloRunV1alpha1UserApiFp(this.configuration).grantPermission(name, grantRequest, options).then((request) => request(this.axios, this.basePath));
|
|
202
274
|
}
|
|
203
275
|
}
|
|
204
|
-
const AppleGuqingXyzV1alpha1AppleApiAxiosParamCreator = function(configuration) {
|
|
205
|
-
return {
|
|
206
|
-
createappleGuqingXyzV1alpha1Apple: async (apple, options = {}) => {
|
|
207
|
-
const localVarPath = `/apis/apple.guqing.xyz/v1alpha1/apples`;
|
|
208
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
209
|
-
let baseOptions;
|
|
210
|
-
if (configuration) {
|
|
211
|
-
baseOptions = configuration.baseOptions;
|
|
212
|
-
}
|
|
213
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
214
|
-
const localVarHeaderParameter = {};
|
|
215
|
-
const localVarQueryParameter = {};
|
|
216
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
217
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
218
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
219
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
220
|
-
localVarRequestOptions.data = serializeDataIfNeeded(apple, localVarRequestOptions, configuration);
|
|
221
|
-
return {
|
|
222
|
-
url: toPathString(localVarUrlObj),
|
|
223
|
-
options: localVarRequestOptions
|
|
224
|
-
};
|
|
225
|
-
},
|
|
226
|
-
deleteappleGuqingXyzV1alpha1Apple: async (name, options = {}) => {
|
|
227
|
-
assertParamExists("deleteappleGuqingXyzV1alpha1Apple", "name", name);
|
|
228
|
-
const localVarPath = `/apis/apple.guqing.xyz/v1alpha1/apples/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
229
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
230
|
-
let baseOptions;
|
|
231
|
-
if (configuration) {
|
|
232
|
-
baseOptions = configuration.baseOptions;
|
|
233
|
-
}
|
|
234
|
-
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
235
|
-
const localVarHeaderParameter = {};
|
|
236
|
-
const localVarQueryParameter = {};
|
|
237
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
238
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
239
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
240
|
-
return {
|
|
241
|
-
url: toPathString(localVarUrlObj),
|
|
242
|
-
options: localVarRequestOptions
|
|
243
|
-
};
|
|
244
|
-
},
|
|
245
|
-
getappleGuqingXyzV1alpha1Apple: async (name, options = {}) => {
|
|
246
|
-
assertParamExists("getappleGuqingXyzV1alpha1Apple", "name", name);
|
|
247
|
-
const localVarPath = `/apis/apple.guqing.xyz/v1alpha1/apples/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
248
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
249
|
-
let baseOptions;
|
|
250
|
-
if (configuration) {
|
|
251
|
-
baseOptions = configuration.baseOptions;
|
|
252
|
-
}
|
|
253
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
254
|
-
const localVarHeaderParameter = {};
|
|
255
|
-
const localVarQueryParameter = {};
|
|
256
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
257
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
258
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
259
|
-
return {
|
|
260
|
-
url: toPathString(localVarUrlObj),
|
|
261
|
-
options: localVarRequestOptions
|
|
262
|
-
};
|
|
263
|
-
},
|
|
264
|
-
listappleGuqingXyzV1alpha1Apple: async (page, size, sort, options = {}) => {
|
|
265
|
-
const localVarPath = `/apis/apple.guqing.xyz/v1alpha1/apples`;
|
|
266
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
267
|
-
let baseOptions;
|
|
268
|
-
if (configuration) {
|
|
269
|
-
baseOptions = configuration.baseOptions;
|
|
270
|
-
}
|
|
271
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
272
|
-
const localVarHeaderParameter = {};
|
|
273
|
-
const localVarQueryParameter = {};
|
|
274
|
-
if (page !== void 0) {
|
|
275
|
-
localVarQueryParameter["page"] = page;
|
|
276
|
-
}
|
|
277
|
-
if (size !== void 0) {
|
|
278
|
-
localVarQueryParameter["size"] = size;
|
|
279
|
-
}
|
|
280
|
-
if (sort !== void 0) {
|
|
281
|
-
localVarQueryParameter["sort"] = sort;
|
|
282
|
-
}
|
|
283
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
284
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
285
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
286
|
-
return {
|
|
287
|
-
url: toPathString(localVarUrlObj),
|
|
288
|
-
options: localVarRequestOptions
|
|
289
|
-
};
|
|
290
|
-
},
|
|
291
|
-
updateappleGuqingXyzV1alpha1Apple: async (name, apple, options = {}) => {
|
|
292
|
-
assertParamExists("updateappleGuqingXyzV1alpha1Apple", "name", name);
|
|
293
|
-
const localVarPath = `/apis/apple.guqing.xyz/v1alpha1/apples/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
294
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
295
|
-
let baseOptions;
|
|
296
|
-
if (configuration) {
|
|
297
|
-
baseOptions = configuration.baseOptions;
|
|
298
|
-
}
|
|
299
|
-
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
300
|
-
const localVarHeaderParameter = {};
|
|
301
|
-
const localVarQueryParameter = {};
|
|
302
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
303
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
304
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
305
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
306
|
-
localVarRequestOptions.data = serializeDataIfNeeded(apple, localVarRequestOptions, configuration);
|
|
307
|
-
return {
|
|
308
|
-
url: toPathString(localVarUrlObj),
|
|
309
|
-
options: localVarRequestOptions
|
|
310
|
-
};
|
|
311
|
-
}
|
|
312
|
-
};
|
|
313
|
-
};
|
|
314
|
-
const AppleGuqingXyzV1alpha1AppleApiFp = function(configuration) {
|
|
315
|
-
const localVarAxiosParamCreator = AppleGuqingXyzV1alpha1AppleApiAxiosParamCreator(configuration);
|
|
316
|
-
return {
|
|
317
|
-
async createappleGuqingXyzV1alpha1Apple(apple, options) {
|
|
318
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createappleGuqingXyzV1alpha1Apple(apple, options);
|
|
319
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
320
|
-
},
|
|
321
|
-
async deleteappleGuqingXyzV1alpha1Apple(name, options) {
|
|
322
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteappleGuqingXyzV1alpha1Apple(name, options);
|
|
323
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
324
|
-
},
|
|
325
|
-
async getappleGuqingXyzV1alpha1Apple(name, options) {
|
|
326
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getappleGuqingXyzV1alpha1Apple(name, options);
|
|
327
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
328
|
-
},
|
|
329
|
-
async listappleGuqingXyzV1alpha1Apple(page, size, sort, options) {
|
|
330
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listappleGuqingXyzV1alpha1Apple(page, size, sort, options);
|
|
331
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
332
|
-
},
|
|
333
|
-
async updateappleGuqingXyzV1alpha1Apple(name, apple, options) {
|
|
334
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateappleGuqingXyzV1alpha1Apple(name, apple, options);
|
|
335
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
336
|
-
}
|
|
337
|
-
};
|
|
338
|
-
};
|
|
339
|
-
const AppleGuqingXyzV1alpha1AppleApiFactory = function(configuration, basePath, axios) {
|
|
340
|
-
const localVarFp = AppleGuqingXyzV1alpha1AppleApiFp(configuration);
|
|
341
|
-
return {
|
|
342
|
-
createappleGuqingXyzV1alpha1Apple(apple, options) {
|
|
343
|
-
return localVarFp.createappleGuqingXyzV1alpha1Apple(apple, options).then((request) => request(axios, basePath));
|
|
344
|
-
},
|
|
345
|
-
deleteappleGuqingXyzV1alpha1Apple(name, options) {
|
|
346
|
-
return localVarFp.deleteappleGuqingXyzV1alpha1Apple(name, options).then((request) => request(axios, basePath));
|
|
347
|
-
},
|
|
348
|
-
getappleGuqingXyzV1alpha1Apple(name, options) {
|
|
349
|
-
return localVarFp.getappleGuqingXyzV1alpha1Apple(name, options).then((request) => request(axios, basePath));
|
|
350
|
-
},
|
|
351
|
-
listappleGuqingXyzV1alpha1Apple(page, size, sort, options) {
|
|
352
|
-
return localVarFp.listappleGuqingXyzV1alpha1Apple(page, size, sort, options).then((request) => request(axios, basePath));
|
|
353
|
-
},
|
|
354
|
-
updateappleGuqingXyzV1alpha1Apple(name, apple, options) {
|
|
355
|
-
return localVarFp.updateappleGuqingXyzV1alpha1Apple(name, apple, options).then((request) => request(axios, basePath));
|
|
356
|
-
}
|
|
357
|
-
};
|
|
358
|
-
};
|
|
359
|
-
class AppleGuqingXyzV1alpha1AppleApi extends BaseAPI {
|
|
360
|
-
createappleGuqingXyzV1alpha1Apple(apple, options) {
|
|
361
|
-
return AppleGuqingXyzV1alpha1AppleApiFp(this.configuration).createappleGuqingXyzV1alpha1Apple(apple, options).then((request) => request(this.axios, this.basePath));
|
|
362
|
-
}
|
|
363
|
-
deleteappleGuqingXyzV1alpha1Apple(name, options) {
|
|
364
|
-
return AppleGuqingXyzV1alpha1AppleApiFp(this.configuration).deleteappleGuqingXyzV1alpha1Apple(name, options).then((request) => request(this.axios, this.basePath));
|
|
365
|
-
}
|
|
366
|
-
getappleGuqingXyzV1alpha1Apple(name, options) {
|
|
367
|
-
return AppleGuqingXyzV1alpha1AppleApiFp(this.configuration).getappleGuqingXyzV1alpha1Apple(name, options).then((request) => request(this.axios, this.basePath));
|
|
368
|
-
}
|
|
369
|
-
listappleGuqingXyzV1alpha1Apple(page, size, sort, options) {
|
|
370
|
-
return AppleGuqingXyzV1alpha1AppleApiFp(this.configuration).listappleGuqingXyzV1alpha1Apple(page, size, sort, options).then((request) => request(this.axios, this.basePath));
|
|
371
|
-
}
|
|
372
|
-
updateappleGuqingXyzV1alpha1Apple(name, apple, options) {
|
|
373
|
-
return AppleGuqingXyzV1alpha1AppleApiFp(this.configuration).updateappleGuqingXyzV1alpha1Apple(name, apple, options).then((request) => request(this.axios, this.basePath));
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
276
|
const ApplesControllerApiAxiosParamCreator = function(configuration) {
|
|
377
277
|
return {
|
|
378
278
|
hello: async (options = {}) => {
|
|
@@ -385,6 +285,8 @@ const ApplesControllerApiAxiosParamCreator = function(configuration) {
|
|
|
385
285
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
386
286
|
const localVarHeaderParameter = {};
|
|
387
287
|
const localVarQueryParameter = {};
|
|
288
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
289
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
388
290
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
389
291
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
390
292
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -429,6 +331,8 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
|
429
331
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
430
332
|
const localVarHeaderParameter = {};
|
|
431
333
|
const localVarQueryParameter = {};
|
|
334
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
335
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
432
336
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
433
337
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
434
338
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -450,6 +354,8 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
|
450
354
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
451
355
|
const localVarHeaderParameter = {};
|
|
452
356
|
const localVarQueryParameter = {};
|
|
357
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
358
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
453
359
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
454
360
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
455
361
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -469,6 +375,8 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
|
469
375
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
470
376
|
const localVarHeaderParameter = {};
|
|
471
377
|
const localVarQueryParameter = {};
|
|
378
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
379
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
472
380
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
473
381
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
474
382
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -477,7 +385,7 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
|
477
385
|
options: localVarRequestOptions
|
|
478
386
|
};
|
|
479
387
|
},
|
|
480
|
-
listcoreHaloRunV1alpha1Link: async (page, size,
|
|
388
|
+
listcoreHaloRunV1alpha1Link: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
481
389
|
const localVarPath = `/apis/core.halo.run/v1alpha1/links`;
|
|
482
390
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
483
391
|
let baseOptions;
|
|
@@ -487,14 +395,19 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
|
487
395
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
488
396
|
const localVarHeaderParameter = {};
|
|
489
397
|
const localVarQueryParameter = {};
|
|
398
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
399
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
490
400
|
if (page !== void 0) {
|
|
491
401
|
localVarQueryParameter["page"] = page;
|
|
492
402
|
}
|
|
493
403
|
if (size !== void 0) {
|
|
494
404
|
localVarQueryParameter["size"] = size;
|
|
495
405
|
}
|
|
496
|
-
if (
|
|
497
|
-
localVarQueryParameter["
|
|
406
|
+
if (labelSelector) {
|
|
407
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
408
|
+
}
|
|
409
|
+
if (fieldSelector) {
|
|
410
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
498
411
|
}
|
|
499
412
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
500
413
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -515,6 +428,8 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
|
515
428
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
516
429
|
const localVarHeaderParameter = {};
|
|
517
430
|
const localVarQueryParameter = {};
|
|
431
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
432
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
518
433
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
519
434
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
520
435
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -542,8 +457,8 @@ const CoreHaloRunV1alpha1LinkApiFp = function(configuration) {
|
|
|
542
457
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getcoreHaloRunV1alpha1Link(name, options);
|
|
543
458
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
544
459
|
},
|
|
545
|
-
async listcoreHaloRunV1alpha1Link(page, size,
|
|
546
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1Link(page, size,
|
|
460
|
+
async listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
|
|
461
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options);
|
|
547
462
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
548
463
|
},
|
|
549
464
|
async updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
@@ -564,8 +479,8 @@ const CoreHaloRunV1alpha1LinkApiFactory = function(configuration, basePath, axio
|
|
|
564
479
|
getcoreHaloRunV1alpha1Link(name, options) {
|
|
565
480
|
return localVarFp.getcoreHaloRunV1alpha1Link(name, options).then((request) => request(axios, basePath));
|
|
566
481
|
},
|
|
567
|
-
listcoreHaloRunV1alpha1Link(page, size,
|
|
568
|
-
return localVarFp.listcoreHaloRunV1alpha1Link(page, size,
|
|
482
|
+
listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
|
|
483
|
+
return localVarFp.listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
569
484
|
},
|
|
570
485
|
updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
571
486
|
return localVarFp.updatecoreHaloRunV1alpha1Link(name, link, options).then((request) => request(axios, basePath));
|
|
@@ -582,8 +497,8 @@ class CoreHaloRunV1alpha1LinkApi extends BaseAPI {
|
|
|
582
497
|
getcoreHaloRunV1alpha1Link(name, options) {
|
|
583
498
|
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).getcoreHaloRunV1alpha1Link(name, options).then((request) => request(this.axios, this.basePath));
|
|
584
499
|
}
|
|
585
|
-
listcoreHaloRunV1alpha1Link(page, size,
|
|
586
|
-
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).listcoreHaloRunV1alpha1Link(page, size,
|
|
500
|
+
listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
|
|
501
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
587
502
|
}
|
|
588
503
|
updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
589
504
|
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).updatecoreHaloRunV1alpha1Link(name, link, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -601,6 +516,8 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
601
516
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
602
517
|
const localVarHeaderParameter = {};
|
|
603
518
|
const localVarQueryParameter = {};
|
|
519
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
520
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
604
521
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
605
522
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
606
523
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -622,6 +539,8 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
622
539
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
623
540
|
const localVarHeaderParameter = {};
|
|
624
541
|
const localVarQueryParameter = {};
|
|
542
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
543
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
625
544
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
626
545
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
627
546
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -641,6 +560,8 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
641
560
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
642
561
|
const localVarHeaderParameter = {};
|
|
643
562
|
const localVarQueryParameter = {};
|
|
563
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
564
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
644
565
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
645
566
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
646
567
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -649,7 +570,7 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
649
570
|
options: localVarRequestOptions
|
|
650
571
|
};
|
|
651
572
|
},
|
|
652
|
-
listcoreHaloRunV1alpha1LinkGroup: async (page, size,
|
|
573
|
+
listcoreHaloRunV1alpha1LinkGroup: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
653
574
|
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups`;
|
|
654
575
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
655
576
|
let baseOptions;
|
|
@@ -659,14 +580,19 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
659
580
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
660
581
|
const localVarHeaderParameter = {};
|
|
661
582
|
const localVarQueryParameter = {};
|
|
583
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
584
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
662
585
|
if (page !== void 0) {
|
|
663
586
|
localVarQueryParameter["page"] = page;
|
|
664
587
|
}
|
|
665
588
|
if (size !== void 0) {
|
|
666
589
|
localVarQueryParameter["size"] = size;
|
|
667
590
|
}
|
|
668
|
-
if (
|
|
669
|
-
localVarQueryParameter["
|
|
591
|
+
if (labelSelector) {
|
|
592
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
593
|
+
}
|
|
594
|
+
if (fieldSelector) {
|
|
595
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
670
596
|
}
|
|
671
597
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
672
598
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -687,6 +613,8 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
687
613
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
688
614
|
const localVarHeaderParameter = {};
|
|
689
615
|
const localVarQueryParameter = {};
|
|
616
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
617
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
690
618
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
691
619
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
692
620
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -714,8 +642,8 @@ const CoreHaloRunV1alpha1LinkGroupApiFp = function(configuration) {
|
|
|
714
642
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getcoreHaloRunV1alpha1LinkGroup(name, options);
|
|
715
643
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
716
644
|
},
|
|
717
|
-
async listcoreHaloRunV1alpha1LinkGroup(page, size,
|
|
718
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1LinkGroup(page, size,
|
|
645
|
+
async listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
|
|
646
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options);
|
|
719
647
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
720
648
|
},
|
|
721
649
|
async updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
@@ -736,8 +664,8 @@ const CoreHaloRunV1alpha1LinkGroupApiFactory = function(configuration, basePath,
|
|
|
736
664
|
getcoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
737
665
|
return localVarFp.getcoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(axios, basePath));
|
|
738
666
|
},
|
|
739
|
-
listcoreHaloRunV1alpha1LinkGroup(page, size,
|
|
740
|
-
return localVarFp.listcoreHaloRunV1alpha1LinkGroup(page, size,
|
|
667
|
+
listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
|
|
668
|
+
return localVarFp.listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
741
669
|
},
|
|
742
670
|
updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
743
671
|
return localVarFp.updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options).then((request) => request(axios, basePath));
|
|
@@ -754,8 +682,8 @@ class CoreHaloRunV1alpha1LinkGroupApi extends BaseAPI {
|
|
|
754
682
|
getcoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
755
683
|
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).getcoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(this.axios, this.basePath));
|
|
756
684
|
}
|
|
757
|
-
listcoreHaloRunV1alpha1LinkGroup(page, size,
|
|
758
|
-
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).listcoreHaloRunV1alpha1LinkGroup(page, size,
|
|
685
|
+
listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
|
|
686
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
759
687
|
}
|
|
760
688
|
updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
761
689
|
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -773,6 +701,8 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
773
701
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
774
702
|
const localVarHeaderParameter = {};
|
|
775
703
|
const localVarQueryParameter = {};
|
|
704
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
705
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
776
706
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
777
707
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
778
708
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -794,6 +724,8 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
794
724
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
795
725
|
const localVarHeaderParameter = {};
|
|
796
726
|
const localVarQueryParameter = {};
|
|
727
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
728
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
797
729
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
798
730
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
799
731
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -813,6 +745,8 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
813
745
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
814
746
|
const localVarHeaderParameter = {};
|
|
815
747
|
const localVarQueryParameter = {};
|
|
748
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
749
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
816
750
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
817
751
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
818
752
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -821,7 +755,7 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
821
755
|
options: localVarRequestOptions
|
|
822
756
|
};
|
|
823
757
|
},
|
|
824
|
-
listpluginHaloRunV1alpha1Plugin: async (page, size,
|
|
758
|
+
listpluginHaloRunV1alpha1Plugin: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
825
759
|
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins`;
|
|
826
760
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
827
761
|
let baseOptions;
|
|
@@ -831,14 +765,19 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
831
765
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
832
766
|
const localVarHeaderParameter = {};
|
|
833
767
|
const localVarQueryParameter = {};
|
|
768
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
769
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
834
770
|
if (page !== void 0) {
|
|
835
771
|
localVarQueryParameter["page"] = page;
|
|
836
772
|
}
|
|
837
773
|
if (size !== void 0) {
|
|
838
774
|
localVarQueryParameter["size"] = size;
|
|
839
775
|
}
|
|
840
|
-
if (
|
|
841
|
-
localVarQueryParameter["
|
|
776
|
+
if (labelSelector) {
|
|
777
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
778
|
+
}
|
|
779
|
+
if (fieldSelector) {
|
|
780
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
842
781
|
}
|
|
843
782
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
844
783
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -859,6 +798,8 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
859
798
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
860
799
|
const localVarHeaderParameter = {};
|
|
861
800
|
const localVarQueryParameter = {};
|
|
801
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
802
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
862
803
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
863
804
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
864
805
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -886,8 +827,8 @@ const PluginHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
886
827
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1Plugin(name, options);
|
|
887
828
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
888
829
|
},
|
|
889
|
-
async listpluginHaloRunV1alpha1Plugin(page, size,
|
|
890
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1Plugin(page, size,
|
|
830
|
+
async listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
|
|
831
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options);
|
|
891
832
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
892
833
|
},
|
|
893
834
|
async updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
|
|
@@ -908,8 +849,8 @@ const PluginHaloRunV1alpha1PluginApiFactory = function(configuration, basePath,
|
|
|
908
849
|
getpluginHaloRunV1alpha1Plugin(name, options) {
|
|
909
850
|
return localVarFp.getpluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
|
|
910
851
|
},
|
|
911
|
-
listpluginHaloRunV1alpha1Plugin(page, size,
|
|
912
|
-
return localVarFp.listpluginHaloRunV1alpha1Plugin(page, size,
|
|
852
|
+
listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
|
|
853
|
+
return localVarFp.listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
913
854
|
},
|
|
914
855
|
updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
|
|
915
856
|
return localVarFp.updatepluginHaloRunV1alpha1Plugin(name, plugin, options).then((request) => request(axios, basePath));
|
|
@@ -926,8 +867,8 @@ class PluginHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
926
867
|
getpluginHaloRunV1alpha1Plugin(name, options) {
|
|
927
868
|
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).getpluginHaloRunV1alpha1Plugin(name, options).then((request) => request(this.axios, this.basePath));
|
|
928
869
|
}
|
|
929
|
-
listpluginHaloRunV1alpha1Plugin(page, size,
|
|
930
|
-
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).listpluginHaloRunV1alpha1Plugin(page, size,
|
|
870
|
+
listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
|
|
871
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
931
872
|
}
|
|
932
873
|
updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
|
|
933
874
|
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).updatepluginHaloRunV1alpha1Plugin(name, plugin, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -945,6 +886,8 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
945
886
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
946
887
|
const localVarHeaderParameter = {};
|
|
947
888
|
const localVarQueryParameter = {};
|
|
889
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
890
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
948
891
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
949
892
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
950
893
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -966,6 +909,8 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
966
909
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
967
910
|
const localVarHeaderParameter = {};
|
|
968
911
|
const localVarQueryParameter = {};
|
|
912
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
913
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
969
914
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
970
915
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
971
916
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -985,6 +930,8 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
985
930
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
986
931
|
const localVarHeaderParameter = {};
|
|
987
932
|
const localVarQueryParameter = {};
|
|
933
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
934
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
988
935
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
989
936
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
990
937
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -993,7 +940,7 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
993
940
|
options: localVarRequestOptions
|
|
994
941
|
};
|
|
995
942
|
},
|
|
996
|
-
listpluginHaloRunV1alpha1ReverseProxy: async (page, size,
|
|
943
|
+
listpluginHaloRunV1alpha1ReverseProxy: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
997
944
|
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies`;
|
|
998
945
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
999
946
|
let baseOptions;
|
|
@@ -1003,14 +950,19 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
1003
950
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1004
951
|
const localVarHeaderParameter = {};
|
|
1005
952
|
const localVarQueryParameter = {};
|
|
953
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
954
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1006
955
|
if (page !== void 0) {
|
|
1007
956
|
localVarQueryParameter["page"] = page;
|
|
1008
957
|
}
|
|
1009
958
|
if (size !== void 0) {
|
|
1010
959
|
localVarQueryParameter["size"] = size;
|
|
1011
960
|
}
|
|
1012
|
-
if (
|
|
1013
|
-
localVarQueryParameter["
|
|
961
|
+
if (labelSelector) {
|
|
962
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
963
|
+
}
|
|
964
|
+
if (fieldSelector) {
|
|
965
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1014
966
|
}
|
|
1015
967
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1016
968
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1031,6 +983,8 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
1031
983
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1032
984
|
const localVarHeaderParameter = {};
|
|
1033
985
|
const localVarQueryParameter = {};
|
|
986
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
987
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1034
988
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1035
989
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1036
990
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1058,8 +1012,8 @@ const PluginHaloRunV1alpha1ReverseProxyApiFp = function(configuration) {
|
|
|
1058
1012
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1ReverseProxy(name, options);
|
|
1059
1013
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1060
1014
|
},
|
|
1061
|
-
async listpluginHaloRunV1alpha1ReverseProxy(page, size,
|
|
1062
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1ReverseProxy(page, size,
|
|
1015
|
+
async listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
|
|
1016
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options);
|
|
1063
1017
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1064
1018
|
},
|
|
1065
1019
|
async updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
|
|
@@ -1080,8 +1034,8 @@ const PluginHaloRunV1alpha1ReverseProxyApiFactory = function(configuration, base
|
|
|
1080
1034
|
getpluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
1081
1035
|
return localVarFp.getpluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
|
|
1082
1036
|
},
|
|
1083
|
-
listpluginHaloRunV1alpha1ReverseProxy(page, size,
|
|
1084
|
-
return localVarFp.listpluginHaloRunV1alpha1ReverseProxy(page, size,
|
|
1037
|
+
listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
|
|
1038
|
+
return localVarFp.listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1085
1039
|
},
|
|
1086
1040
|
updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
|
|
1087
1041
|
return localVarFp.updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options).then((request) => request(axios, basePath));
|
|
@@ -1098,13 +1052,198 @@ class PluginHaloRunV1alpha1ReverseProxyApi extends BaseAPI {
|
|
|
1098
1052
|
getpluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
1099
1053
|
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).getpluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(this.axios, this.basePath));
|
|
1100
1054
|
}
|
|
1101
|
-
listpluginHaloRunV1alpha1ReverseProxy(page, size,
|
|
1102
|
-
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).listpluginHaloRunV1alpha1ReverseProxy(page, size,
|
|
1055
|
+
listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
|
|
1056
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1103
1057
|
}
|
|
1104
1058
|
updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
|
|
1105
1059
|
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options).then((request) => request(this.axios, this.basePath));
|
|
1106
1060
|
}
|
|
1107
1061
|
}
|
|
1062
|
+
const RunHaloTemplateV1alpha1AppleApiAxiosParamCreator = function(configuration) {
|
|
1063
|
+
return {
|
|
1064
|
+
createrunHaloTemplateV1alpha1Apple: async (apple, options = {}) => {
|
|
1065
|
+
const localVarPath = `/apis/run.halo.template/v1alpha1/apples`;
|
|
1066
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1067
|
+
let baseOptions;
|
|
1068
|
+
if (configuration) {
|
|
1069
|
+
baseOptions = configuration.baseOptions;
|
|
1070
|
+
}
|
|
1071
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1072
|
+
const localVarHeaderParameter = {};
|
|
1073
|
+
const localVarQueryParameter = {};
|
|
1074
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1075
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1076
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1077
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1078
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1079
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1080
|
+
localVarRequestOptions.data = serializeDataIfNeeded(apple, localVarRequestOptions, configuration);
|
|
1081
|
+
return {
|
|
1082
|
+
url: toPathString(localVarUrlObj),
|
|
1083
|
+
options: localVarRequestOptions
|
|
1084
|
+
};
|
|
1085
|
+
},
|
|
1086
|
+
deleterunHaloTemplateV1alpha1Apple: async (name, options = {}) => {
|
|
1087
|
+
assertParamExists("deleterunHaloTemplateV1alpha1Apple", "name", name);
|
|
1088
|
+
const localVarPath = `/apis/run.halo.template/v1alpha1/apples/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1089
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1090
|
+
let baseOptions;
|
|
1091
|
+
if (configuration) {
|
|
1092
|
+
baseOptions = configuration.baseOptions;
|
|
1093
|
+
}
|
|
1094
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1095
|
+
const localVarHeaderParameter = {};
|
|
1096
|
+
const localVarQueryParameter = {};
|
|
1097
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1098
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1099
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1100
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1101
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1102
|
+
return {
|
|
1103
|
+
url: toPathString(localVarUrlObj),
|
|
1104
|
+
options: localVarRequestOptions
|
|
1105
|
+
};
|
|
1106
|
+
},
|
|
1107
|
+
getrunHaloTemplateV1alpha1Apple: async (name, options = {}) => {
|
|
1108
|
+
assertParamExists("getrunHaloTemplateV1alpha1Apple", "name", name);
|
|
1109
|
+
const localVarPath = `/apis/run.halo.template/v1alpha1/apples/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1110
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1111
|
+
let baseOptions;
|
|
1112
|
+
if (configuration) {
|
|
1113
|
+
baseOptions = configuration.baseOptions;
|
|
1114
|
+
}
|
|
1115
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1116
|
+
const localVarHeaderParameter = {};
|
|
1117
|
+
const localVarQueryParameter = {};
|
|
1118
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1119
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1120
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1121
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1122
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1123
|
+
return {
|
|
1124
|
+
url: toPathString(localVarUrlObj),
|
|
1125
|
+
options: localVarRequestOptions
|
|
1126
|
+
};
|
|
1127
|
+
},
|
|
1128
|
+
listrunHaloTemplateV1alpha1Apple: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1129
|
+
const localVarPath = `/apis/run.halo.template/v1alpha1/apples`;
|
|
1130
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1131
|
+
let baseOptions;
|
|
1132
|
+
if (configuration) {
|
|
1133
|
+
baseOptions = configuration.baseOptions;
|
|
1134
|
+
}
|
|
1135
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1136
|
+
const localVarHeaderParameter = {};
|
|
1137
|
+
const localVarQueryParameter = {};
|
|
1138
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1139
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1140
|
+
if (page !== void 0) {
|
|
1141
|
+
localVarQueryParameter["page"] = page;
|
|
1142
|
+
}
|
|
1143
|
+
if (size !== void 0) {
|
|
1144
|
+
localVarQueryParameter["size"] = size;
|
|
1145
|
+
}
|
|
1146
|
+
if (labelSelector) {
|
|
1147
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1148
|
+
}
|
|
1149
|
+
if (fieldSelector) {
|
|
1150
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1151
|
+
}
|
|
1152
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1153
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1154
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1155
|
+
return {
|
|
1156
|
+
url: toPathString(localVarUrlObj),
|
|
1157
|
+
options: localVarRequestOptions
|
|
1158
|
+
};
|
|
1159
|
+
},
|
|
1160
|
+
updaterunHaloTemplateV1alpha1Apple: async (name, apple, options = {}) => {
|
|
1161
|
+
assertParamExists("updaterunHaloTemplateV1alpha1Apple", "name", name);
|
|
1162
|
+
const localVarPath = `/apis/run.halo.template/v1alpha1/apples/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1163
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1164
|
+
let baseOptions;
|
|
1165
|
+
if (configuration) {
|
|
1166
|
+
baseOptions = configuration.baseOptions;
|
|
1167
|
+
}
|
|
1168
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1169
|
+
const localVarHeaderParameter = {};
|
|
1170
|
+
const localVarQueryParameter = {};
|
|
1171
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1172
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1173
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1174
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1175
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1176
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1177
|
+
localVarRequestOptions.data = serializeDataIfNeeded(apple, localVarRequestOptions, configuration);
|
|
1178
|
+
return {
|
|
1179
|
+
url: toPathString(localVarUrlObj),
|
|
1180
|
+
options: localVarRequestOptions
|
|
1181
|
+
};
|
|
1182
|
+
}
|
|
1183
|
+
};
|
|
1184
|
+
};
|
|
1185
|
+
const RunHaloTemplateV1alpha1AppleApiFp = function(configuration) {
|
|
1186
|
+
const localVarAxiosParamCreator = RunHaloTemplateV1alpha1AppleApiAxiosParamCreator(configuration);
|
|
1187
|
+
return {
|
|
1188
|
+
async createrunHaloTemplateV1alpha1Apple(apple, options) {
|
|
1189
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createrunHaloTemplateV1alpha1Apple(apple, options);
|
|
1190
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1191
|
+
},
|
|
1192
|
+
async deleterunHaloTemplateV1alpha1Apple(name, options) {
|
|
1193
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleterunHaloTemplateV1alpha1Apple(name, options);
|
|
1194
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1195
|
+
},
|
|
1196
|
+
async getrunHaloTemplateV1alpha1Apple(name, options) {
|
|
1197
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getrunHaloTemplateV1alpha1Apple(name, options);
|
|
1198
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1199
|
+
},
|
|
1200
|
+
async listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options) {
|
|
1201
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options);
|
|
1202
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1203
|
+
},
|
|
1204
|
+
async updaterunHaloTemplateV1alpha1Apple(name, apple, options) {
|
|
1205
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updaterunHaloTemplateV1alpha1Apple(name, apple, options);
|
|
1206
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1207
|
+
}
|
|
1208
|
+
};
|
|
1209
|
+
};
|
|
1210
|
+
const RunHaloTemplateV1alpha1AppleApiFactory = function(configuration, basePath, axios) {
|
|
1211
|
+
const localVarFp = RunHaloTemplateV1alpha1AppleApiFp(configuration);
|
|
1212
|
+
return {
|
|
1213
|
+
createrunHaloTemplateV1alpha1Apple(apple, options) {
|
|
1214
|
+
return localVarFp.createrunHaloTemplateV1alpha1Apple(apple, options).then((request) => request(axios, basePath));
|
|
1215
|
+
},
|
|
1216
|
+
deleterunHaloTemplateV1alpha1Apple(name, options) {
|
|
1217
|
+
return localVarFp.deleterunHaloTemplateV1alpha1Apple(name, options).then((request) => request(axios, basePath));
|
|
1218
|
+
},
|
|
1219
|
+
getrunHaloTemplateV1alpha1Apple(name, options) {
|
|
1220
|
+
return localVarFp.getrunHaloTemplateV1alpha1Apple(name, options).then((request) => request(axios, basePath));
|
|
1221
|
+
},
|
|
1222
|
+
listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options) {
|
|
1223
|
+
return localVarFp.listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1224
|
+
},
|
|
1225
|
+
updaterunHaloTemplateV1alpha1Apple(name, apple, options) {
|
|
1226
|
+
return localVarFp.updaterunHaloTemplateV1alpha1Apple(name, apple, options).then((request) => request(axios, basePath));
|
|
1227
|
+
}
|
|
1228
|
+
};
|
|
1229
|
+
};
|
|
1230
|
+
class RunHaloTemplateV1alpha1AppleApi extends BaseAPI {
|
|
1231
|
+
createrunHaloTemplateV1alpha1Apple(apple, options) {
|
|
1232
|
+
return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).createrunHaloTemplateV1alpha1Apple(apple, options).then((request) => request(this.axios, this.basePath));
|
|
1233
|
+
}
|
|
1234
|
+
deleterunHaloTemplateV1alpha1Apple(name, options) {
|
|
1235
|
+
return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).deleterunHaloTemplateV1alpha1Apple(name, options).then((request) => request(this.axios, this.basePath));
|
|
1236
|
+
}
|
|
1237
|
+
getrunHaloTemplateV1alpha1Apple(name, options) {
|
|
1238
|
+
return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).getrunHaloTemplateV1alpha1Apple(name, options).then((request) => request(this.axios, this.basePath));
|
|
1239
|
+
}
|
|
1240
|
+
listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options) {
|
|
1241
|
+
return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1242
|
+
}
|
|
1243
|
+
updaterunHaloTemplateV1alpha1Apple(name, apple, options) {
|
|
1244
|
+
return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).updaterunHaloTemplateV1alpha1Apple(name, apple, options).then((request) => request(this.axios, this.basePath));
|
|
1245
|
+
}
|
|
1246
|
+
}
|
|
1108
1247
|
const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
1109
1248
|
return {
|
|
1110
1249
|
createv1alpha1ConfigMap: async (configMap, options = {}) => {
|
|
@@ -1117,6 +1256,8 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
1117
1256
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1118
1257
|
const localVarHeaderParameter = {};
|
|
1119
1258
|
const localVarQueryParameter = {};
|
|
1259
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1260
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1120
1261
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1121
1262
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1122
1263
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1138,6 +1279,8 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
1138
1279
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1139
1280
|
const localVarHeaderParameter = {};
|
|
1140
1281
|
const localVarQueryParameter = {};
|
|
1282
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1283
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1141
1284
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1142
1285
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1143
1286
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1157,6 +1300,8 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
1157
1300
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1158
1301
|
const localVarHeaderParameter = {};
|
|
1159
1302
|
const localVarQueryParameter = {};
|
|
1303
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1304
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1160
1305
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1161
1306
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1162
1307
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1165,7 +1310,7 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
1165
1310
|
options: localVarRequestOptions
|
|
1166
1311
|
};
|
|
1167
1312
|
},
|
|
1168
|
-
listv1alpha1ConfigMap: async (page, size,
|
|
1313
|
+
listv1alpha1ConfigMap: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1169
1314
|
const localVarPath = `/api/v1alpha1/configmaps`;
|
|
1170
1315
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1171
1316
|
let baseOptions;
|
|
@@ -1175,14 +1320,19 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
1175
1320
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1176
1321
|
const localVarHeaderParameter = {};
|
|
1177
1322
|
const localVarQueryParameter = {};
|
|
1323
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1324
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1178
1325
|
if (page !== void 0) {
|
|
1179
1326
|
localVarQueryParameter["page"] = page;
|
|
1180
1327
|
}
|
|
1181
1328
|
if (size !== void 0) {
|
|
1182
1329
|
localVarQueryParameter["size"] = size;
|
|
1183
1330
|
}
|
|
1184
|
-
if (
|
|
1185
|
-
localVarQueryParameter["
|
|
1331
|
+
if (labelSelector) {
|
|
1332
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1333
|
+
}
|
|
1334
|
+
if (fieldSelector) {
|
|
1335
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1186
1336
|
}
|
|
1187
1337
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1188
1338
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1203,6 +1353,8 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
1203
1353
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1204
1354
|
const localVarHeaderParameter = {};
|
|
1205
1355
|
const localVarQueryParameter = {};
|
|
1356
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1357
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1206
1358
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1207
1359
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1208
1360
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1230,8 +1382,8 @@ const V1alpha1ConfigMapApiFp = function(configuration) {
|
|
|
1230
1382
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1ConfigMap(name, options);
|
|
1231
1383
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1232
1384
|
},
|
|
1233
|
-
async listv1alpha1ConfigMap(page, size,
|
|
1234
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1ConfigMap(page, size,
|
|
1385
|
+
async listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options) {
|
|
1386
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options);
|
|
1235
1387
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1236
1388
|
},
|
|
1237
1389
|
async updatev1alpha1ConfigMap(name, configMap, options) {
|
|
@@ -1252,8 +1404,8 @@ const V1alpha1ConfigMapApiFactory = function(configuration, basePath, axios) {
|
|
|
1252
1404
|
getv1alpha1ConfigMap(name, options) {
|
|
1253
1405
|
return localVarFp.getv1alpha1ConfigMap(name, options).then((request) => request(axios, basePath));
|
|
1254
1406
|
},
|
|
1255
|
-
listv1alpha1ConfigMap(page, size,
|
|
1256
|
-
return localVarFp.listv1alpha1ConfigMap(page, size,
|
|
1407
|
+
listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options) {
|
|
1408
|
+
return localVarFp.listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1257
1409
|
},
|
|
1258
1410
|
updatev1alpha1ConfigMap(name, configMap, options) {
|
|
1259
1411
|
return localVarFp.updatev1alpha1ConfigMap(name, configMap, options).then((request) => request(axios, basePath));
|
|
@@ -1270,8 +1422,8 @@ class V1alpha1ConfigMapApi extends BaseAPI {
|
|
|
1270
1422
|
getv1alpha1ConfigMap(name, options) {
|
|
1271
1423
|
return V1alpha1ConfigMapApiFp(this.configuration).getv1alpha1ConfigMap(name, options).then((request) => request(this.axios, this.basePath));
|
|
1272
1424
|
}
|
|
1273
|
-
listv1alpha1ConfigMap(page, size,
|
|
1274
|
-
return V1alpha1ConfigMapApiFp(this.configuration).listv1alpha1ConfigMap(page, size,
|
|
1425
|
+
listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options) {
|
|
1426
|
+
return V1alpha1ConfigMapApiFp(this.configuration).listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1275
1427
|
}
|
|
1276
1428
|
updatev1alpha1ConfigMap(name, configMap, options) {
|
|
1277
1429
|
return V1alpha1ConfigMapApiFp(this.configuration).updatev1alpha1ConfigMap(name, configMap, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1289,6 +1441,8 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
1289
1441
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1290
1442
|
const localVarHeaderParameter = {};
|
|
1291
1443
|
const localVarQueryParameter = {};
|
|
1444
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1445
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1292
1446
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1293
1447
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1294
1448
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1310,6 +1464,8 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
1310
1464
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1311
1465
|
const localVarHeaderParameter = {};
|
|
1312
1466
|
const localVarQueryParameter = {};
|
|
1467
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1468
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1313
1469
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1314
1470
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1315
1471
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1329,6 +1485,8 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
1329
1485
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1330
1486
|
const localVarHeaderParameter = {};
|
|
1331
1487
|
const localVarQueryParameter = {};
|
|
1488
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1489
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1332
1490
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1333
1491
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1334
1492
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1337,7 +1495,7 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
1337
1495
|
options: localVarRequestOptions
|
|
1338
1496
|
};
|
|
1339
1497
|
},
|
|
1340
|
-
listv1alpha1PersonalAccessToken: async (page, size,
|
|
1498
|
+
listv1alpha1PersonalAccessToken: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1341
1499
|
const localVarPath = `/api/v1alpha1/personalaccesstokens`;
|
|
1342
1500
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1343
1501
|
let baseOptions;
|
|
@@ -1347,14 +1505,19 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
1347
1505
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1348
1506
|
const localVarHeaderParameter = {};
|
|
1349
1507
|
const localVarQueryParameter = {};
|
|
1508
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1509
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1350
1510
|
if (page !== void 0) {
|
|
1351
1511
|
localVarQueryParameter["page"] = page;
|
|
1352
1512
|
}
|
|
1353
1513
|
if (size !== void 0) {
|
|
1354
1514
|
localVarQueryParameter["size"] = size;
|
|
1355
1515
|
}
|
|
1356
|
-
if (
|
|
1357
|
-
localVarQueryParameter["
|
|
1516
|
+
if (labelSelector) {
|
|
1517
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1518
|
+
}
|
|
1519
|
+
if (fieldSelector) {
|
|
1520
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1358
1521
|
}
|
|
1359
1522
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1360
1523
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1375,6 +1538,8 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
1375
1538
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1376
1539
|
const localVarHeaderParameter = {};
|
|
1377
1540
|
const localVarQueryParameter = {};
|
|
1541
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1542
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1378
1543
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1379
1544
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1380
1545
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1402,8 +1567,8 @@ const V1alpha1PersonalAccessTokenApiFp = function(configuration) {
|
|
|
1402
1567
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1PersonalAccessToken(name, options);
|
|
1403
1568
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1404
1569
|
},
|
|
1405
|
-
async listv1alpha1PersonalAccessToken(page, size,
|
|
1406
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1PersonalAccessToken(page, size,
|
|
1570
|
+
async listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options) {
|
|
1571
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options);
|
|
1407
1572
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1408
1573
|
},
|
|
1409
1574
|
async updatev1alpha1PersonalAccessToken(name, personalAccessToken, options) {
|
|
@@ -1424,8 +1589,8 @@ const V1alpha1PersonalAccessTokenApiFactory = function(configuration, basePath,
|
|
|
1424
1589
|
getv1alpha1PersonalAccessToken(name, options) {
|
|
1425
1590
|
return localVarFp.getv1alpha1PersonalAccessToken(name, options).then((request) => request(axios, basePath));
|
|
1426
1591
|
},
|
|
1427
|
-
listv1alpha1PersonalAccessToken(page, size,
|
|
1428
|
-
return localVarFp.listv1alpha1PersonalAccessToken(page, size,
|
|
1592
|
+
listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options) {
|
|
1593
|
+
return localVarFp.listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1429
1594
|
},
|
|
1430
1595
|
updatev1alpha1PersonalAccessToken(name, personalAccessToken, options) {
|
|
1431
1596
|
return localVarFp.updatev1alpha1PersonalAccessToken(name, personalAccessToken, options).then((request) => request(axios, basePath));
|
|
@@ -1442,8 +1607,8 @@ class V1alpha1PersonalAccessTokenApi extends BaseAPI {
|
|
|
1442
1607
|
getv1alpha1PersonalAccessToken(name, options) {
|
|
1443
1608
|
return V1alpha1PersonalAccessTokenApiFp(this.configuration).getv1alpha1PersonalAccessToken(name, options).then((request) => request(this.axios, this.basePath));
|
|
1444
1609
|
}
|
|
1445
|
-
listv1alpha1PersonalAccessToken(page, size,
|
|
1446
|
-
return V1alpha1PersonalAccessTokenApiFp(this.configuration).listv1alpha1PersonalAccessToken(page, size,
|
|
1610
|
+
listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options) {
|
|
1611
|
+
return V1alpha1PersonalAccessTokenApiFp(this.configuration).listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1447
1612
|
}
|
|
1448
1613
|
updatev1alpha1PersonalAccessToken(name, personalAccessToken, options) {
|
|
1449
1614
|
return V1alpha1PersonalAccessTokenApiFp(this.configuration).updatev1alpha1PersonalAccessToken(name, personalAccessToken, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1461,6 +1626,8 @@ const V1alpha1RoleApiAxiosParamCreator = function(configuration) {
|
|
|
1461
1626
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1462
1627
|
const localVarHeaderParameter = {};
|
|
1463
1628
|
const localVarQueryParameter = {};
|
|
1629
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1630
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1464
1631
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1465
1632
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1466
1633
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1482,6 +1649,8 @@ const V1alpha1RoleApiAxiosParamCreator = function(configuration) {
|
|
|
1482
1649
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1483
1650
|
const localVarHeaderParameter = {};
|
|
1484
1651
|
const localVarQueryParameter = {};
|
|
1652
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1653
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1485
1654
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1486
1655
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1487
1656
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1501,6 +1670,8 @@ const V1alpha1RoleApiAxiosParamCreator = function(configuration) {
|
|
|
1501
1670
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1502
1671
|
const localVarHeaderParameter = {};
|
|
1503
1672
|
const localVarQueryParameter = {};
|
|
1673
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1674
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1504
1675
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1505
1676
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1506
1677
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1509,7 +1680,7 @@ const V1alpha1RoleApiAxiosParamCreator = function(configuration) {
|
|
|
1509
1680
|
options: localVarRequestOptions
|
|
1510
1681
|
};
|
|
1511
1682
|
},
|
|
1512
|
-
listv1alpha1Role: async (page, size,
|
|
1683
|
+
listv1alpha1Role: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1513
1684
|
const localVarPath = `/api/v1alpha1/roles`;
|
|
1514
1685
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1515
1686
|
let baseOptions;
|
|
@@ -1519,14 +1690,19 @@ const V1alpha1RoleApiAxiosParamCreator = function(configuration) {
|
|
|
1519
1690
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1520
1691
|
const localVarHeaderParameter = {};
|
|
1521
1692
|
const localVarQueryParameter = {};
|
|
1693
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1694
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1522
1695
|
if (page !== void 0) {
|
|
1523
1696
|
localVarQueryParameter["page"] = page;
|
|
1524
1697
|
}
|
|
1525
1698
|
if (size !== void 0) {
|
|
1526
1699
|
localVarQueryParameter["size"] = size;
|
|
1527
1700
|
}
|
|
1528
|
-
if (
|
|
1529
|
-
localVarQueryParameter["
|
|
1701
|
+
if (labelSelector) {
|
|
1702
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1703
|
+
}
|
|
1704
|
+
if (fieldSelector) {
|
|
1705
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1530
1706
|
}
|
|
1531
1707
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1532
1708
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1547,6 +1723,8 @@ const V1alpha1RoleApiAxiosParamCreator = function(configuration) {
|
|
|
1547
1723
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1548
1724
|
const localVarHeaderParameter = {};
|
|
1549
1725
|
const localVarQueryParameter = {};
|
|
1726
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1727
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1550
1728
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1551
1729
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1552
1730
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1574,8 +1752,8 @@ const V1alpha1RoleApiFp = function(configuration) {
|
|
|
1574
1752
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1Role(name, options);
|
|
1575
1753
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1576
1754
|
},
|
|
1577
|
-
async listv1alpha1Role(page, size,
|
|
1578
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Role(page, size,
|
|
1755
|
+
async listv1alpha1Role(page, size, labelSelector, fieldSelector, options) {
|
|
1756
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Role(page, size, labelSelector, fieldSelector, options);
|
|
1579
1757
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1580
1758
|
},
|
|
1581
1759
|
async updatev1alpha1Role(name, role, options) {
|
|
@@ -1596,8 +1774,8 @@ const V1alpha1RoleApiFactory = function(configuration, basePath, axios) {
|
|
|
1596
1774
|
getv1alpha1Role(name, options) {
|
|
1597
1775
|
return localVarFp.getv1alpha1Role(name, options).then((request) => request(axios, basePath));
|
|
1598
1776
|
},
|
|
1599
|
-
listv1alpha1Role(page, size,
|
|
1600
|
-
return localVarFp.listv1alpha1Role(page, size,
|
|
1777
|
+
listv1alpha1Role(page, size, labelSelector, fieldSelector, options) {
|
|
1778
|
+
return localVarFp.listv1alpha1Role(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1601
1779
|
},
|
|
1602
1780
|
updatev1alpha1Role(name, role, options) {
|
|
1603
1781
|
return localVarFp.updatev1alpha1Role(name, role, options).then((request) => request(axios, basePath));
|
|
@@ -1614,8 +1792,8 @@ class V1alpha1RoleApi extends BaseAPI {
|
|
|
1614
1792
|
getv1alpha1Role(name, options) {
|
|
1615
1793
|
return V1alpha1RoleApiFp(this.configuration).getv1alpha1Role(name, options).then((request) => request(this.axios, this.basePath));
|
|
1616
1794
|
}
|
|
1617
|
-
listv1alpha1Role(page, size,
|
|
1618
|
-
return V1alpha1RoleApiFp(this.configuration).listv1alpha1Role(page, size,
|
|
1795
|
+
listv1alpha1Role(page, size, labelSelector, fieldSelector, options) {
|
|
1796
|
+
return V1alpha1RoleApiFp(this.configuration).listv1alpha1Role(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1619
1797
|
}
|
|
1620
1798
|
updatev1alpha1Role(name, role, options) {
|
|
1621
1799
|
return V1alpha1RoleApiFp(this.configuration).updatev1alpha1Role(name, role, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1633,6 +1811,8 @@ const V1alpha1RoleBindingApiAxiosParamCreator = function(configuration) {
|
|
|
1633
1811
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1634
1812
|
const localVarHeaderParameter = {};
|
|
1635
1813
|
const localVarQueryParameter = {};
|
|
1814
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1815
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1636
1816
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1637
1817
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1638
1818
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1654,6 +1834,8 @@ const V1alpha1RoleBindingApiAxiosParamCreator = function(configuration) {
|
|
|
1654
1834
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1655
1835
|
const localVarHeaderParameter = {};
|
|
1656
1836
|
const localVarQueryParameter = {};
|
|
1837
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1838
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1657
1839
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1658
1840
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1659
1841
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1673,6 +1855,8 @@ const V1alpha1RoleBindingApiAxiosParamCreator = function(configuration) {
|
|
|
1673
1855
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1674
1856
|
const localVarHeaderParameter = {};
|
|
1675
1857
|
const localVarQueryParameter = {};
|
|
1858
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1859
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1676
1860
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1677
1861
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1678
1862
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1681,7 +1865,7 @@ const V1alpha1RoleBindingApiAxiosParamCreator = function(configuration) {
|
|
|
1681
1865
|
options: localVarRequestOptions
|
|
1682
1866
|
};
|
|
1683
1867
|
},
|
|
1684
|
-
listv1alpha1RoleBinding: async (page, size,
|
|
1868
|
+
listv1alpha1RoleBinding: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1685
1869
|
const localVarPath = `/api/v1alpha1/rolebindings`;
|
|
1686
1870
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1687
1871
|
let baseOptions;
|
|
@@ -1691,14 +1875,19 @@ const V1alpha1RoleBindingApiAxiosParamCreator = function(configuration) {
|
|
|
1691
1875
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1692
1876
|
const localVarHeaderParameter = {};
|
|
1693
1877
|
const localVarQueryParameter = {};
|
|
1878
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1879
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1694
1880
|
if (page !== void 0) {
|
|
1695
1881
|
localVarQueryParameter["page"] = page;
|
|
1696
1882
|
}
|
|
1697
1883
|
if (size !== void 0) {
|
|
1698
1884
|
localVarQueryParameter["size"] = size;
|
|
1699
1885
|
}
|
|
1700
|
-
if (
|
|
1701
|
-
localVarQueryParameter["
|
|
1886
|
+
if (labelSelector) {
|
|
1887
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1888
|
+
}
|
|
1889
|
+
if (fieldSelector) {
|
|
1890
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1702
1891
|
}
|
|
1703
1892
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1704
1893
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1719,6 +1908,8 @@ const V1alpha1RoleBindingApiAxiosParamCreator = function(configuration) {
|
|
|
1719
1908
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1720
1909
|
const localVarHeaderParameter = {};
|
|
1721
1910
|
const localVarQueryParameter = {};
|
|
1911
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1912
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1722
1913
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1723
1914
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1724
1915
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1746,8 +1937,8 @@ const V1alpha1RoleBindingApiFp = function(configuration) {
|
|
|
1746
1937
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1RoleBinding(name, options);
|
|
1747
1938
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1748
1939
|
},
|
|
1749
|
-
async listv1alpha1RoleBinding(page, size,
|
|
1750
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1RoleBinding(page, size,
|
|
1940
|
+
async listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options) {
|
|
1941
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options);
|
|
1751
1942
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1752
1943
|
},
|
|
1753
1944
|
async updatev1alpha1RoleBinding(name, roleBinding, options) {
|
|
@@ -1768,8 +1959,8 @@ const V1alpha1RoleBindingApiFactory = function(configuration, basePath, axios) {
|
|
|
1768
1959
|
getv1alpha1RoleBinding(name, options) {
|
|
1769
1960
|
return localVarFp.getv1alpha1RoleBinding(name, options).then((request) => request(axios, basePath));
|
|
1770
1961
|
},
|
|
1771
|
-
listv1alpha1RoleBinding(page, size,
|
|
1772
|
-
return localVarFp.listv1alpha1RoleBinding(page, size,
|
|
1962
|
+
listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options) {
|
|
1963
|
+
return localVarFp.listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1773
1964
|
},
|
|
1774
1965
|
updatev1alpha1RoleBinding(name, roleBinding, options) {
|
|
1775
1966
|
return localVarFp.updatev1alpha1RoleBinding(name, roleBinding, options).then((request) => request(axios, basePath));
|
|
@@ -1786,8 +1977,8 @@ class V1alpha1RoleBindingApi extends BaseAPI {
|
|
|
1786
1977
|
getv1alpha1RoleBinding(name, options) {
|
|
1787
1978
|
return V1alpha1RoleBindingApiFp(this.configuration).getv1alpha1RoleBinding(name, options).then((request) => request(this.axios, this.basePath));
|
|
1788
1979
|
}
|
|
1789
|
-
listv1alpha1RoleBinding(page, size,
|
|
1790
|
-
return V1alpha1RoleBindingApiFp(this.configuration).listv1alpha1RoleBinding(page, size,
|
|
1980
|
+
listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options) {
|
|
1981
|
+
return V1alpha1RoleBindingApiFp(this.configuration).listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1791
1982
|
}
|
|
1792
1983
|
updatev1alpha1RoleBinding(name, roleBinding, options) {
|
|
1793
1984
|
return V1alpha1RoleBindingApiFp(this.configuration).updatev1alpha1RoleBinding(name, roleBinding, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1805,6 +1996,8 @@ const V1alpha1SettingApiAxiosParamCreator = function(configuration) {
|
|
|
1805
1996
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1806
1997
|
const localVarHeaderParameter = {};
|
|
1807
1998
|
const localVarQueryParameter = {};
|
|
1999
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2000
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1808
2001
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1809
2002
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1810
2003
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1826,6 +2019,8 @@ const V1alpha1SettingApiAxiosParamCreator = function(configuration) {
|
|
|
1826
2019
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1827
2020
|
const localVarHeaderParameter = {};
|
|
1828
2021
|
const localVarQueryParameter = {};
|
|
2022
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2023
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1829
2024
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1830
2025
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1831
2026
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1845,6 +2040,8 @@ const V1alpha1SettingApiAxiosParamCreator = function(configuration) {
|
|
|
1845
2040
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1846
2041
|
const localVarHeaderParameter = {};
|
|
1847
2042
|
const localVarQueryParameter = {};
|
|
2043
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2044
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1848
2045
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1849
2046
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1850
2047
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1853,7 +2050,7 @@ const V1alpha1SettingApiAxiosParamCreator = function(configuration) {
|
|
|
1853
2050
|
options: localVarRequestOptions
|
|
1854
2051
|
};
|
|
1855
2052
|
},
|
|
1856
|
-
listv1alpha1Setting: async (page, size,
|
|
2053
|
+
listv1alpha1Setting: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1857
2054
|
const localVarPath = `/api/v1alpha1/settings`;
|
|
1858
2055
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1859
2056
|
let baseOptions;
|
|
@@ -1863,14 +2060,19 @@ const V1alpha1SettingApiAxiosParamCreator = function(configuration) {
|
|
|
1863
2060
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1864
2061
|
const localVarHeaderParameter = {};
|
|
1865
2062
|
const localVarQueryParameter = {};
|
|
2063
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2064
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1866
2065
|
if (page !== void 0) {
|
|
1867
2066
|
localVarQueryParameter["page"] = page;
|
|
1868
2067
|
}
|
|
1869
2068
|
if (size !== void 0) {
|
|
1870
2069
|
localVarQueryParameter["size"] = size;
|
|
1871
2070
|
}
|
|
1872
|
-
if (
|
|
1873
|
-
localVarQueryParameter["
|
|
2071
|
+
if (labelSelector) {
|
|
2072
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2073
|
+
}
|
|
2074
|
+
if (fieldSelector) {
|
|
2075
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1874
2076
|
}
|
|
1875
2077
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1876
2078
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1891,6 +2093,8 @@ const V1alpha1SettingApiAxiosParamCreator = function(configuration) {
|
|
|
1891
2093
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1892
2094
|
const localVarHeaderParameter = {};
|
|
1893
2095
|
const localVarQueryParameter = {};
|
|
2096
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2097
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1894
2098
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1895
2099
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1896
2100
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1918,8 +2122,8 @@ const V1alpha1SettingApiFp = function(configuration) {
|
|
|
1918
2122
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1Setting(name, options);
|
|
1919
2123
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1920
2124
|
},
|
|
1921
|
-
async listv1alpha1Setting(page, size,
|
|
1922
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Setting(page, size,
|
|
2125
|
+
async listv1alpha1Setting(page, size, labelSelector, fieldSelector, options) {
|
|
2126
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Setting(page, size, labelSelector, fieldSelector, options);
|
|
1923
2127
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1924
2128
|
},
|
|
1925
2129
|
async updatev1alpha1Setting(name, setting, options) {
|
|
@@ -1940,8 +2144,8 @@ const V1alpha1SettingApiFactory = function(configuration, basePath, axios) {
|
|
|
1940
2144
|
getv1alpha1Setting(name, options) {
|
|
1941
2145
|
return localVarFp.getv1alpha1Setting(name, options).then((request) => request(axios, basePath));
|
|
1942
2146
|
},
|
|
1943
|
-
listv1alpha1Setting(page, size,
|
|
1944
|
-
return localVarFp.listv1alpha1Setting(page, size,
|
|
2147
|
+
listv1alpha1Setting(page, size, labelSelector, fieldSelector, options) {
|
|
2148
|
+
return localVarFp.listv1alpha1Setting(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1945
2149
|
},
|
|
1946
2150
|
updatev1alpha1Setting(name, setting, options) {
|
|
1947
2151
|
return localVarFp.updatev1alpha1Setting(name, setting, options).then((request) => request(axios, basePath));
|
|
@@ -1958,8 +2162,8 @@ class V1alpha1SettingApi extends BaseAPI {
|
|
|
1958
2162
|
getv1alpha1Setting(name, options) {
|
|
1959
2163
|
return V1alpha1SettingApiFp(this.configuration).getv1alpha1Setting(name, options).then((request) => request(this.axios, this.basePath));
|
|
1960
2164
|
}
|
|
1961
|
-
listv1alpha1Setting(page, size,
|
|
1962
|
-
return V1alpha1SettingApiFp(this.configuration).listv1alpha1Setting(page, size,
|
|
2165
|
+
listv1alpha1Setting(page, size, labelSelector, fieldSelector, options) {
|
|
2166
|
+
return V1alpha1SettingApiFp(this.configuration).listv1alpha1Setting(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1963
2167
|
}
|
|
1964
2168
|
updatev1alpha1Setting(name, setting, options) {
|
|
1965
2169
|
return V1alpha1SettingApiFp(this.configuration).updatev1alpha1Setting(name, setting, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1977,6 +2181,8 @@ const V1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
1977
2181
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1978
2182
|
const localVarHeaderParameter = {};
|
|
1979
2183
|
const localVarQueryParameter = {};
|
|
2184
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2185
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1980
2186
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1981
2187
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1982
2188
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1998,6 +2204,8 @@ const V1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
1998
2204
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1999
2205
|
const localVarHeaderParameter = {};
|
|
2000
2206
|
const localVarQueryParameter = {};
|
|
2207
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2208
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2001
2209
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2002
2210
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2003
2211
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -2017,6 +2225,8 @@ const V1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
2017
2225
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2018
2226
|
const localVarHeaderParameter = {};
|
|
2019
2227
|
const localVarQueryParameter = {};
|
|
2228
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2229
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2020
2230
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2021
2231
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2022
2232
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -2025,7 +2235,7 @@ const V1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
2025
2235
|
options: localVarRequestOptions
|
|
2026
2236
|
};
|
|
2027
2237
|
},
|
|
2028
|
-
listv1alpha1User: async (page, size,
|
|
2238
|
+
listv1alpha1User: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2029
2239
|
const localVarPath = `/api/v1alpha1/users`;
|
|
2030
2240
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2031
2241
|
let baseOptions;
|
|
@@ -2035,14 +2245,19 @@ const V1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
2035
2245
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2036
2246
|
const localVarHeaderParameter = {};
|
|
2037
2247
|
const localVarQueryParameter = {};
|
|
2248
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2249
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2038
2250
|
if (page !== void 0) {
|
|
2039
2251
|
localVarQueryParameter["page"] = page;
|
|
2040
2252
|
}
|
|
2041
2253
|
if (size !== void 0) {
|
|
2042
2254
|
localVarQueryParameter["size"] = size;
|
|
2043
2255
|
}
|
|
2044
|
-
if (
|
|
2045
|
-
localVarQueryParameter["
|
|
2256
|
+
if (labelSelector) {
|
|
2257
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2258
|
+
}
|
|
2259
|
+
if (fieldSelector) {
|
|
2260
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2046
2261
|
}
|
|
2047
2262
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2048
2263
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -2063,6 +2278,8 @@ const V1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
2063
2278
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
2064
2279
|
const localVarHeaderParameter = {};
|
|
2065
2280
|
const localVarQueryParameter = {};
|
|
2281
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2282
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2066
2283
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2067
2284
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2068
2285
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -2090,8 +2307,8 @@ const V1alpha1UserApiFp = function(configuration) {
|
|
|
2090
2307
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1User(name, options);
|
|
2091
2308
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2092
2309
|
},
|
|
2093
|
-
async listv1alpha1User(page, size,
|
|
2094
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1User(page, size,
|
|
2310
|
+
async listv1alpha1User(page, size, labelSelector, fieldSelector, options) {
|
|
2311
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1User(page, size, labelSelector, fieldSelector, options);
|
|
2095
2312
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2096
2313
|
},
|
|
2097
2314
|
async updatev1alpha1User(name, user, options) {
|
|
@@ -2112,8 +2329,8 @@ const V1alpha1UserApiFactory = function(configuration, basePath, axios) {
|
|
|
2112
2329
|
getv1alpha1User(name, options) {
|
|
2113
2330
|
return localVarFp.getv1alpha1User(name, options).then((request) => request(axios, basePath));
|
|
2114
2331
|
},
|
|
2115
|
-
listv1alpha1User(page, size,
|
|
2116
|
-
return localVarFp.listv1alpha1User(page, size,
|
|
2332
|
+
listv1alpha1User(page, size, labelSelector, fieldSelector, options) {
|
|
2333
|
+
return localVarFp.listv1alpha1User(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2117
2334
|
},
|
|
2118
2335
|
updatev1alpha1User(name, user, options) {
|
|
2119
2336
|
return localVarFp.updatev1alpha1User(name, user, options).then((request) => request(axios, basePath));
|
|
@@ -2130,8 +2347,8 @@ class V1alpha1UserApi extends BaseAPI {
|
|
|
2130
2347
|
getv1alpha1User(name, options) {
|
|
2131
2348
|
return V1alpha1UserApiFp(this.configuration).getv1alpha1User(name, options).then((request) => request(this.axios, this.basePath));
|
|
2132
2349
|
}
|
|
2133
|
-
listv1alpha1User(page, size,
|
|
2134
|
-
return V1alpha1UserApiFp(this.configuration).listv1alpha1User(page, size,
|
|
2350
|
+
listv1alpha1User(page, size, labelSelector, fieldSelector, options) {
|
|
2351
|
+
return V1alpha1UserApiFp(this.configuration).listv1alpha1User(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2135
2352
|
}
|
|
2136
2353
|
updatev1alpha1User(name, user, options) {
|
|
2137
2354
|
return V1alpha1UserApiFp(this.configuration).updatev1alpha1User(name, user, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2154,4 +2371,4 @@ class Configuration {
|
|
|
2154
2371
|
}
|
|
2155
2372
|
}
|
|
2156
2373
|
|
|
2157
|
-
export {
|
|
2374
|
+
export { ApiHaloRunV1alpha1PluginApi, ApiHaloRunV1alpha1PluginApiAxiosParamCreator, ApiHaloRunV1alpha1PluginApiFactory, ApiHaloRunV1alpha1PluginApiFp, ApiHaloRunV1alpha1UserApi, ApiHaloRunV1alpha1UserApiAxiosParamCreator, ApiHaloRunV1alpha1UserApiFactory, ApiHaloRunV1alpha1UserApiFp, ApplesControllerApi, ApplesControllerApiAxiosParamCreator, ApplesControllerApiFactory, ApplesControllerApiFp, Configuration, CoreHaloRunV1alpha1LinkApi, CoreHaloRunV1alpha1LinkApiAxiosParamCreator, CoreHaloRunV1alpha1LinkApiFactory, CoreHaloRunV1alpha1LinkApiFp, CoreHaloRunV1alpha1LinkGroupApi, CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator, CoreHaloRunV1alpha1LinkGroupApiFactory, CoreHaloRunV1alpha1LinkGroupApiFp, PluginHaloRunV1alpha1PluginApi, PluginHaloRunV1alpha1PluginApiAxiosParamCreator, PluginHaloRunV1alpha1PluginApiFactory, PluginHaloRunV1alpha1PluginApiFp, PluginHaloRunV1alpha1ReverseProxyApi, PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator, PluginHaloRunV1alpha1ReverseProxyApiFactory, PluginHaloRunV1alpha1ReverseProxyApiFp, PluginStatusPhaseEnum, RunHaloTemplateV1alpha1AppleApi, RunHaloTemplateV1alpha1AppleApiAxiosParamCreator, RunHaloTemplateV1alpha1AppleApiFactory, RunHaloTemplateV1alpha1AppleApiFp, V1alpha1ConfigMapApi, V1alpha1ConfigMapApiAxiosParamCreator, V1alpha1ConfigMapApiFactory, V1alpha1ConfigMapApiFp, V1alpha1PersonalAccessTokenApi, V1alpha1PersonalAccessTokenApiAxiosParamCreator, V1alpha1PersonalAccessTokenApiFactory, V1alpha1PersonalAccessTokenApiFp, V1alpha1RoleApi, V1alpha1RoleApiAxiosParamCreator, V1alpha1RoleApiFactory, V1alpha1RoleApiFp, V1alpha1RoleBindingApi, V1alpha1RoleBindingApiAxiosParamCreator, V1alpha1RoleBindingApiFactory, V1alpha1RoleBindingApiFp, V1alpha1SettingApi, V1alpha1SettingApiAxiosParamCreator, V1alpha1SettingApiFactory, V1alpha1SettingApiFp, V1alpha1UserApi, V1alpha1UserApiAxiosParamCreator, V1alpha1UserApiFactory, V1alpha1UserApiFp };
|