@halo-dev/api-client 0.0.4 → 0.0.7
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 +1106 -280
- package/dist/index.d.ts +1294 -265
- package/dist/index.mjs +1087 -277
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -33,6 +33,17 @@ const assertParamExists = function(functionName, paramName, paramValue) {
|
|
|
33
33
|
throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
|
+
const setBasicAuthToObject = function(object, configuration) {
|
|
37
|
+
if (configuration && (configuration.username || configuration.password)) {
|
|
38
|
+
object["auth"] = { username: configuration.username, password: configuration.password };
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
const setBearerAuthToObject = async function(object, configuration) {
|
|
42
|
+
if (configuration && configuration.accessToken) {
|
|
43
|
+
const accessToken = typeof configuration.accessToken === "function" ? await configuration.accessToken() : await configuration.accessToken;
|
|
44
|
+
object["Authorization"] = "Bearer " + accessToken;
|
|
45
|
+
}
|
|
46
|
+
};
|
|
36
47
|
const setSearchParams = function(url, ...objects) {
|
|
37
48
|
const searchParams = new URLSearchParams(url.search);
|
|
38
49
|
for (const object of objects) {
|
|
@@ -72,29 +83,87 @@ const PluginStatusPhaseEnum = {
|
|
|
72
83
|
Stopped: "STOPPED",
|
|
73
84
|
Failed: "FAILED"
|
|
74
85
|
};
|
|
75
|
-
const
|
|
86
|
+
const ApiHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
76
87
|
return {
|
|
77
|
-
|
|
78
|
-
|
|
88
|
+
installPlugin: async (file, options = {}) => {
|
|
89
|
+
assertParamExists("installPlugin", "file", file);
|
|
90
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/plugins/install`;
|
|
79
91
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
80
92
|
let baseOptions;
|
|
81
93
|
if (configuration) {
|
|
82
94
|
baseOptions = configuration.baseOptions;
|
|
83
95
|
}
|
|
84
|
-
const localVarRequestOptions = { method: "
|
|
96
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
97
|
+
const localVarHeaderParameter = {};
|
|
98
|
+
const localVarQueryParameter = {};
|
|
99
|
+
const localVarFormParams = new (configuration && configuration.formDataCtor || FormData)();
|
|
100
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
101
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
102
|
+
if (file !== void 0) {
|
|
103
|
+
localVarFormParams.append("file", file);
|
|
104
|
+
}
|
|
105
|
+
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
106
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
107
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
108
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
109
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
110
|
+
return {
|
|
111
|
+
url: toPathString(localVarUrlObj),
|
|
112
|
+
options: localVarRequestOptions
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
const ApiHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
118
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1PluginApiAxiosParamCreator(configuration);
|
|
119
|
+
return {
|
|
120
|
+
async installPlugin(file, options) {
|
|
121
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
122
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
const ApiHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
|
|
127
|
+
const localVarFp = ApiHaloRunV1alpha1PluginApiFp(configuration);
|
|
128
|
+
return {
|
|
129
|
+
installPlugin(file, options) {
|
|
130
|
+
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
class ApiHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
135
|
+
installPlugin(file, options) {
|
|
136
|
+
return ApiHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(file, options).then((request) => request(this.axios, this.basePath));
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
140
|
+
return {
|
|
141
|
+
changePassword: async (name, changePasswordRequest, options = {}) => {
|
|
142
|
+
assertParamExists("changePassword", "name", name);
|
|
143
|
+
assertParamExists("changePassword", "changePasswordRequest", changePasswordRequest);
|
|
144
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/users/{name}/password`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
145
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
146
|
+
let baseOptions;
|
|
147
|
+
if (configuration) {
|
|
148
|
+
baseOptions = configuration.baseOptions;
|
|
149
|
+
}
|
|
150
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
85
151
|
const localVarHeaderParameter = {};
|
|
86
152
|
const localVarQueryParameter = {};
|
|
153
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
154
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
155
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
87
156
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
88
157
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
89
158
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
159
|
+
localVarRequestOptions.data = serializeDataIfNeeded(changePasswordRequest, localVarRequestOptions, configuration);
|
|
90
160
|
return {
|
|
91
161
|
url: toPathString(localVarUrlObj),
|
|
92
162
|
options: localVarRequestOptions
|
|
93
163
|
};
|
|
94
164
|
},
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
const localVarPath = `/actuator/health/{*path}`.replace(`{${"*path"}}`, encodeURIComponent(String(path)));
|
|
165
|
+
getCurrentUserDetail: async (options = {}) => {
|
|
166
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/users/-`;
|
|
98
167
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
99
168
|
let baseOptions;
|
|
100
169
|
if (configuration) {
|
|
@@ -103,6 +172,8 @@ const ActuatorApiAxiosParamCreator = function(configuration) {
|
|
|
103
172
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
104
173
|
const localVarHeaderParameter = {};
|
|
105
174
|
const localVarQueryParameter = {};
|
|
175
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
176
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
106
177
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
107
178
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
108
179
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -111,8 +182,9 @@ const ActuatorApiAxiosParamCreator = function(configuration) {
|
|
|
111
182
|
options: localVarRequestOptions
|
|
112
183
|
};
|
|
113
184
|
},
|
|
114
|
-
|
|
115
|
-
|
|
185
|
+
getPermissions: async (name, options = {}) => {
|
|
186
|
+
assertParamExists("getPermissions", "name", name);
|
|
187
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/users/{name}/permissions`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
116
188
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
117
189
|
let baseOptions;
|
|
118
190
|
if (configuration) {
|
|
@@ -121,9 +193,35 @@ const ActuatorApiAxiosParamCreator = function(configuration) {
|
|
|
121
193
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
122
194
|
const localVarHeaderParameter = {};
|
|
123
195
|
const localVarQueryParameter = {};
|
|
196
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
197
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
198
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
199
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
200
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
201
|
+
return {
|
|
202
|
+
url: toPathString(localVarUrlObj),
|
|
203
|
+
options: localVarRequestOptions
|
|
204
|
+
};
|
|
205
|
+
},
|
|
206
|
+
grantPermission: async (name, grantRequest, options = {}) => {
|
|
207
|
+
assertParamExists("grantPermission", "name", name);
|
|
208
|
+
assertParamExists("grantPermission", "grantRequest", grantRequest);
|
|
209
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/users/{name}/permissions`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
210
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
211
|
+
let baseOptions;
|
|
212
|
+
if (configuration) {
|
|
213
|
+
baseOptions = configuration.baseOptions;
|
|
214
|
+
}
|
|
215
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
216
|
+
const localVarHeaderParameter = {};
|
|
217
|
+
const localVarQueryParameter = {};
|
|
218
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
219
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
220
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
124
221
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
125
222
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
126
223
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
224
|
+
localVarRequestOptions.data = serializeDataIfNeeded(grantRequest, localVarRequestOptions, configuration);
|
|
127
225
|
return {
|
|
128
226
|
url: toPathString(localVarUrlObj),
|
|
129
227
|
options: localVarRequestOptions
|
|
@@ -131,53 +229,663 @@ const ActuatorApiAxiosParamCreator = function(configuration) {
|
|
|
131
229
|
}
|
|
132
230
|
};
|
|
133
231
|
};
|
|
134
|
-
const
|
|
135
|
-
const localVarAxiosParamCreator =
|
|
232
|
+
const ApiHaloRunV1alpha1UserApiFp = function(configuration) {
|
|
233
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1UserApiAxiosParamCreator(configuration);
|
|
136
234
|
return {
|
|
137
|
-
async
|
|
138
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
235
|
+
async changePassword(name, changePasswordRequest, options) {
|
|
236
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.changePassword(name, changePasswordRequest, options);
|
|
237
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
238
|
+
},
|
|
239
|
+
async getCurrentUserDetail(options) {
|
|
240
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCurrentUserDetail(options);
|
|
241
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
242
|
+
},
|
|
243
|
+
async getPermissions(name, options) {
|
|
244
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPermissions(name, options);
|
|
139
245
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
140
246
|
},
|
|
141
|
-
async
|
|
142
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
247
|
+
async grantPermission(name, grantRequest, options) {
|
|
248
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.grantPermission(name, grantRequest, options);
|
|
143
249
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
250
|
+
}
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
const ApiHaloRunV1alpha1UserApiFactory = function(configuration, basePath, axios) {
|
|
254
|
+
const localVarFp = ApiHaloRunV1alpha1UserApiFp(configuration);
|
|
255
|
+
return {
|
|
256
|
+
changePassword(name, changePasswordRequest, options) {
|
|
257
|
+
return localVarFp.changePassword(name, changePasswordRequest, options).then((request) => request(axios, basePath));
|
|
258
|
+
},
|
|
259
|
+
getCurrentUserDetail(options) {
|
|
260
|
+
return localVarFp.getCurrentUserDetail(options).then((request) => request(axios, basePath));
|
|
144
261
|
},
|
|
145
|
-
|
|
146
|
-
|
|
262
|
+
getPermissions(name, options) {
|
|
263
|
+
return localVarFp.getPermissions(name, options).then((request) => request(axios, basePath));
|
|
264
|
+
},
|
|
265
|
+
grantPermission(name, grantRequest, options) {
|
|
266
|
+
return localVarFp.grantPermission(name, grantRequest, options).then((request) => request(axios, basePath));
|
|
267
|
+
}
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
class ApiHaloRunV1alpha1UserApi extends BaseAPI {
|
|
271
|
+
changePassword(name, changePasswordRequest, options) {
|
|
272
|
+
return ApiHaloRunV1alpha1UserApiFp(this.configuration).changePassword(name, changePasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
273
|
+
}
|
|
274
|
+
getCurrentUserDetail(options) {
|
|
275
|
+
return ApiHaloRunV1alpha1UserApiFp(this.configuration).getCurrentUserDetail(options).then((request) => request(this.axios, this.basePath));
|
|
276
|
+
}
|
|
277
|
+
getPermissions(name, options) {
|
|
278
|
+
return ApiHaloRunV1alpha1UserApiFp(this.configuration).getPermissions(name, options).then((request) => request(this.axios, this.basePath));
|
|
279
|
+
}
|
|
280
|
+
grantPermission(name, grantRequest, options) {
|
|
281
|
+
return ApiHaloRunV1alpha1UserApiFp(this.configuration).grantPermission(name, grantRequest, options).then((request) => request(this.axios, this.basePath));
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
const ApplesControllerApiAxiosParamCreator = function(configuration) {
|
|
285
|
+
return {
|
|
286
|
+
hello: async (options = {}) => {
|
|
287
|
+
const localVarPath = `/apis/plugin.api.halo.run/v1alpha1/plugins/PluginTemplate/apples`;
|
|
288
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
289
|
+
let baseOptions;
|
|
290
|
+
if (configuration) {
|
|
291
|
+
baseOptions = configuration.baseOptions;
|
|
292
|
+
}
|
|
293
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
294
|
+
const localVarHeaderParameter = {};
|
|
295
|
+
const localVarQueryParameter = {};
|
|
296
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
297
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
298
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
299
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
300
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
301
|
+
return {
|
|
302
|
+
url: toPathString(localVarUrlObj),
|
|
303
|
+
options: localVarRequestOptions
|
|
304
|
+
};
|
|
305
|
+
}
|
|
306
|
+
};
|
|
307
|
+
};
|
|
308
|
+
const ApplesControllerApiFp = function(configuration) {
|
|
309
|
+
const localVarAxiosParamCreator = ApplesControllerApiAxiosParamCreator(configuration);
|
|
310
|
+
return {
|
|
311
|
+
async hello(options) {
|
|
312
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.hello(options);
|
|
147
313
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
148
314
|
}
|
|
149
315
|
};
|
|
150
316
|
};
|
|
151
|
-
const
|
|
152
|
-
const localVarFp =
|
|
317
|
+
const ApplesControllerApiFactory = function(configuration, basePath, axios) {
|
|
318
|
+
const localVarFp = ApplesControllerApiFp(configuration);
|
|
319
|
+
return {
|
|
320
|
+
hello(options) {
|
|
321
|
+
return localVarFp.hello(options).then((request) => request(axios, basePath));
|
|
322
|
+
}
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
|
+
class ApplesControllerApi extends BaseAPI {
|
|
326
|
+
hello(options) {
|
|
327
|
+
return ApplesControllerApiFp(this.configuration).hello(options).then((request) => request(this.axios, this.basePath));
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
153
331
|
return {
|
|
154
|
-
|
|
155
|
-
|
|
332
|
+
createcoreHaloRunV1alpha1Link: async (link, options = {}) => {
|
|
333
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/links`;
|
|
334
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
335
|
+
let baseOptions;
|
|
336
|
+
if (configuration) {
|
|
337
|
+
baseOptions = configuration.baseOptions;
|
|
338
|
+
}
|
|
339
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
340
|
+
const localVarHeaderParameter = {};
|
|
341
|
+
const localVarQueryParameter = {};
|
|
342
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
343
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
344
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
345
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
346
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
347
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
348
|
+
localVarRequestOptions.data = serializeDataIfNeeded(link, localVarRequestOptions, configuration);
|
|
349
|
+
return {
|
|
350
|
+
url: toPathString(localVarUrlObj),
|
|
351
|
+
options: localVarRequestOptions
|
|
352
|
+
};
|
|
353
|
+
},
|
|
354
|
+
deletecoreHaloRunV1alpha1Link: async (name, options = {}) => {
|
|
355
|
+
assertParamExists("deletecoreHaloRunV1alpha1Link", "name", name);
|
|
356
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
357
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
358
|
+
let baseOptions;
|
|
359
|
+
if (configuration) {
|
|
360
|
+
baseOptions = configuration.baseOptions;
|
|
361
|
+
}
|
|
362
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
363
|
+
const localVarHeaderParameter = {};
|
|
364
|
+
const localVarQueryParameter = {};
|
|
365
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
366
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
367
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
368
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
369
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
370
|
+
return {
|
|
371
|
+
url: toPathString(localVarUrlObj),
|
|
372
|
+
options: localVarRequestOptions
|
|
373
|
+
};
|
|
374
|
+
},
|
|
375
|
+
getcoreHaloRunV1alpha1Link: async (name, options = {}) => {
|
|
376
|
+
assertParamExists("getcoreHaloRunV1alpha1Link", "name", name);
|
|
377
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
378
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
379
|
+
let baseOptions;
|
|
380
|
+
if (configuration) {
|
|
381
|
+
baseOptions = configuration.baseOptions;
|
|
382
|
+
}
|
|
383
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
384
|
+
const localVarHeaderParameter = {};
|
|
385
|
+
const localVarQueryParameter = {};
|
|
386
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
387
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
388
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
389
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
390
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
391
|
+
return {
|
|
392
|
+
url: toPathString(localVarUrlObj),
|
|
393
|
+
options: localVarRequestOptions
|
|
394
|
+
};
|
|
395
|
+
},
|
|
396
|
+
listcoreHaloRunV1alpha1Link: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
397
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/links`;
|
|
398
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
399
|
+
let baseOptions;
|
|
400
|
+
if (configuration) {
|
|
401
|
+
baseOptions = configuration.baseOptions;
|
|
402
|
+
}
|
|
403
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
404
|
+
const localVarHeaderParameter = {};
|
|
405
|
+
const localVarQueryParameter = {};
|
|
406
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
407
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
408
|
+
if (page !== void 0) {
|
|
409
|
+
localVarQueryParameter["page"] = page;
|
|
410
|
+
}
|
|
411
|
+
if (size !== void 0) {
|
|
412
|
+
localVarQueryParameter["size"] = size;
|
|
413
|
+
}
|
|
414
|
+
if (labelSelector) {
|
|
415
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
416
|
+
}
|
|
417
|
+
if (fieldSelector) {
|
|
418
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
419
|
+
}
|
|
420
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
421
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
422
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
423
|
+
return {
|
|
424
|
+
url: toPathString(localVarUrlObj),
|
|
425
|
+
options: localVarRequestOptions
|
|
426
|
+
};
|
|
427
|
+
},
|
|
428
|
+
updatecoreHaloRunV1alpha1Link: async (name, link, options = {}) => {
|
|
429
|
+
assertParamExists("updatecoreHaloRunV1alpha1Link", "name", name);
|
|
430
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
431
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
432
|
+
let baseOptions;
|
|
433
|
+
if (configuration) {
|
|
434
|
+
baseOptions = configuration.baseOptions;
|
|
435
|
+
}
|
|
436
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
437
|
+
const localVarHeaderParameter = {};
|
|
438
|
+
const localVarQueryParameter = {};
|
|
439
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
440
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
441
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
442
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
443
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
444
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
445
|
+
localVarRequestOptions.data = serializeDataIfNeeded(link, localVarRequestOptions, configuration);
|
|
446
|
+
return {
|
|
447
|
+
url: toPathString(localVarUrlObj),
|
|
448
|
+
options: localVarRequestOptions
|
|
449
|
+
};
|
|
450
|
+
}
|
|
451
|
+
};
|
|
452
|
+
};
|
|
453
|
+
const CoreHaloRunV1alpha1LinkApiFp = function(configuration) {
|
|
454
|
+
const localVarAxiosParamCreator = CoreHaloRunV1alpha1LinkApiAxiosParamCreator(configuration);
|
|
455
|
+
return {
|
|
456
|
+
async createcoreHaloRunV1alpha1Link(link, options) {
|
|
457
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcoreHaloRunV1alpha1Link(link, options);
|
|
458
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
459
|
+
},
|
|
460
|
+
async deletecoreHaloRunV1alpha1Link(name, options) {
|
|
461
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecoreHaloRunV1alpha1Link(name, options);
|
|
462
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
463
|
+
},
|
|
464
|
+
async getcoreHaloRunV1alpha1Link(name, options) {
|
|
465
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getcoreHaloRunV1alpha1Link(name, options);
|
|
466
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
467
|
+
},
|
|
468
|
+
async listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
|
|
469
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options);
|
|
470
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
471
|
+
},
|
|
472
|
+
async updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
473
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecoreHaloRunV1alpha1Link(name, link, options);
|
|
474
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
475
|
+
}
|
|
476
|
+
};
|
|
477
|
+
};
|
|
478
|
+
const CoreHaloRunV1alpha1LinkApiFactory = function(configuration, basePath, axios) {
|
|
479
|
+
const localVarFp = CoreHaloRunV1alpha1LinkApiFp(configuration);
|
|
480
|
+
return {
|
|
481
|
+
createcoreHaloRunV1alpha1Link(link, options) {
|
|
482
|
+
return localVarFp.createcoreHaloRunV1alpha1Link(link, options).then((request) => request(axios, basePath));
|
|
483
|
+
},
|
|
484
|
+
deletecoreHaloRunV1alpha1Link(name, options) {
|
|
485
|
+
return localVarFp.deletecoreHaloRunV1alpha1Link(name, options).then((request) => request(axios, basePath));
|
|
486
|
+
},
|
|
487
|
+
getcoreHaloRunV1alpha1Link(name, options) {
|
|
488
|
+
return localVarFp.getcoreHaloRunV1alpha1Link(name, options).then((request) => request(axios, basePath));
|
|
489
|
+
},
|
|
490
|
+
listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
|
|
491
|
+
return localVarFp.listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
492
|
+
},
|
|
493
|
+
updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
494
|
+
return localVarFp.updatecoreHaloRunV1alpha1Link(name, link, options).then((request) => request(axios, basePath));
|
|
495
|
+
}
|
|
496
|
+
};
|
|
497
|
+
};
|
|
498
|
+
class CoreHaloRunV1alpha1LinkApi extends BaseAPI {
|
|
499
|
+
createcoreHaloRunV1alpha1Link(link, options) {
|
|
500
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).createcoreHaloRunV1alpha1Link(link, options).then((request) => request(this.axios, this.basePath));
|
|
501
|
+
}
|
|
502
|
+
deletecoreHaloRunV1alpha1Link(name, options) {
|
|
503
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).deletecoreHaloRunV1alpha1Link(name, options).then((request) => request(this.axios, this.basePath));
|
|
504
|
+
}
|
|
505
|
+
getcoreHaloRunV1alpha1Link(name, options) {
|
|
506
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).getcoreHaloRunV1alpha1Link(name, options).then((request) => request(this.axios, this.basePath));
|
|
507
|
+
}
|
|
508
|
+
listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
|
|
509
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
510
|
+
}
|
|
511
|
+
updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
512
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).updatecoreHaloRunV1alpha1Link(name, link, options).then((request) => request(this.axios, this.basePath));
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration) {
|
|
516
|
+
return {
|
|
517
|
+
createcoreHaloRunV1alpha1LinkGroup: async (linkGroup, options = {}) => {
|
|
518
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups`;
|
|
519
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
520
|
+
let baseOptions;
|
|
521
|
+
if (configuration) {
|
|
522
|
+
baseOptions = configuration.baseOptions;
|
|
523
|
+
}
|
|
524
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
525
|
+
const localVarHeaderParameter = {};
|
|
526
|
+
const localVarQueryParameter = {};
|
|
527
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
528
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
529
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
530
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
531
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
532
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
533
|
+
localVarRequestOptions.data = serializeDataIfNeeded(linkGroup, localVarRequestOptions, configuration);
|
|
534
|
+
return {
|
|
535
|
+
url: toPathString(localVarUrlObj),
|
|
536
|
+
options: localVarRequestOptions
|
|
537
|
+
};
|
|
538
|
+
},
|
|
539
|
+
deletecoreHaloRunV1alpha1LinkGroup: async (name, options = {}) => {
|
|
540
|
+
assertParamExists("deletecoreHaloRunV1alpha1LinkGroup", "name", name);
|
|
541
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
542
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
543
|
+
let baseOptions;
|
|
544
|
+
if (configuration) {
|
|
545
|
+
baseOptions = configuration.baseOptions;
|
|
546
|
+
}
|
|
547
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
548
|
+
const localVarHeaderParameter = {};
|
|
549
|
+
const localVarQueryParameter = {};
|
|
550
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
551
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
552
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
553
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
554
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
555
|
+
return {
|
|
556
|
+
url: toPathString(localVarUrlObj),
|
|
557
|
+
options: localVarRequestOptions
|
|
558
|
+
};
|
|
559
|
+
},
|
|
560
|
+
getcoreHaloRunV1alpha1LinkGroup: async (name, options = {}) => {
|
|
561
|
+
assertParamExists("getcoreHaloRunV1alpha1LinkGroup", "name", name);
|
|
562
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
563
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
564
|
+
let baseOptions;
|
|
565
|
+
if (configuration) {
|
|
566
|
+
baseOptions = configuration.baseOptions;
|
|
567
|
+
}
|
|
568
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
569
|
+
const localVarHeaderParameter = {};
|
|
570
|
+
const localVarQueryParameter = {};
|
|
571
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
572
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
573
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
574
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
575
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
576
|
+
return {
|
|
577
|
+
url: toPathString(localVarUrlObj),
|
|
578
|
+
options: localVarRequestOptions
|
|
579
|
+
};
|
|
580
|
+
},
|
|
581
|
+
listcoreHaloRunV1alpha1LinkGroup: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
582
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups`;
|
|
583
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
584
|
+
let baseOptions;
|
|
585
|
+
if (configuration) {
|
|
586
|
+
baseOptions = configuration.baseOptions;
|
|
587
|
+
}
|
|
588
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
589
|
+
const localVarHeaderParameter = {};
|
|
590
|
+
const localVarQueryParameter = {};
|
|
591
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
592
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
593
|
+
if (page !== void 0) {
|
|
594
|
+
localVarQueryParameter["page"] = page;
|
|
595
|
+
}
|
|
596
|
+
if (size !== void 0) {
|
|
597
|
+
localVarQueryParameter["size"] = size;
|
|
598
|
+
}
|
|
599
|
+
if (labelSelector) {
|
|
600
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
601
|
+
}
|
|
602
|
+
if (fieldSelector) {
|
|
603
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
604
|
+
}
|
|
605
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
606
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
607
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
608
|
+
return {
|
|
609
|
+
url: toPathString(localVarUrlObj),
|
|
610
|
+
options: localVarRequestOptions
|
|
611
|
+
};
|
|
612
|
+
},
|
|
613
|
+
updatecoreHaloRunV1alpha1LinkGroup: async (name, linkGroup, options = {}) => {
|
|
614
|
+
assertParamExists("updatecoreHaloRunV1alpha1LinkGroup", "name", name);
|
|
615
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
616
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
617
|
+
let baseOptions;
|
|
618
|
+
if (configuration) {
|
|
619
|
+
baseOptions = configuration.baseOptions;
|
|
620
|
+
}
|
|
621
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
622
|
+
const localVarHeaderParameter = {};
|
|
623
|
+
const localVarQueryParameter = {};
|
|
624
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
625
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
626
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
627
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
628
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
629
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
630
|
+
localVarRequestOptions.data = serializeDataIfNeeded(linkGroup, localVarRequestOptions, configuration);
|
|
631
|
+
return {
|
|
632
|
+
url: toPathString(localVarUrlObj),
|
|
633
|
+
options: localVarRequestOptions
|
|
634
|
+
};
|
|
635
|
+
}
|
|
636
|
+
};
|
|
637
|
+
};
|
|
638
|
+
const CoreHaloRunV1alpha1LinkGroupApiFp = function(configuration) {
|
|
639
|
+
const localVarAxiosParamCreator = CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator(configuration);
|
|
640
|
+
return {
|
|
641
|
+
async createcoreHaloRunV1alpha1LinkGroup(linkGroup, options) {
|
|
642
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcoreHaloRunV1alpha1LinkGroup(linkGroup, options);
|
|
643
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
644
|
+
},
|
|
645
|
+
async deletecoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
646
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecoreHaloRunV1alpha1LinkGroup(name, options);
|
|
647
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
648
|
+
},
|
|
649
|
+
async getcoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
650
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getcoreHaloRunV1alpha1LinkGroup(name, options);
|
|
651
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
652
|
+
},
|
|
653
|
+
async listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
|
|
654
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options);
|
|
655
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
656
|
+
},
|
|
657
|
+
async updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
658
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options);
|
|
659
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
660
|
+
}
|
|
661
|
+
};
|
|
662
|
+
};
|
|
663
|
+
const CoreHaloRunV1alpha1LinkGroupApiFactory = function(configuration, basePath, axios) {
|
|
664
|
+
const localVarFp = CoreHaloRunV1alpha1LinkGroupApiFp(configuration);
|
|
665
|
+
return {
|
|
666
|
+
createcoreHaloRunV1alpha1LinkGroup(linkGroup, options) {
|
|
667
|
+
return localVarFp.createcoreHaloRunV1alpha1LinkGroup(linkGroup, options).then((request) => request(axios, basePath));
|
|
668
|
+
},
|
|
669
|
+
deletecoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
670
|
+
return localVarFp.deletecoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(axios, basePath));
|
|
671
|
+
},
|
|
672
|
+
getcoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
673
|
+
return localVarFp.getcoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(axios, basePath));
|
|
674
|
+
},
|
|
675
|
+
listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
|
|
676
|
+
return localVarFp.listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
677
|
+
},
|
|
678
|
+
updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
679
|
+
return localVarFp.updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options).then((request) => request(axios, basePath));
|
|
680
|
+
}
|
|
681
|
+
};
|
|
682
|
+
};
|
|
683
|
+
class CoreHaloRunV1alpha1LinkGroupApi extends BaseAPI {
|
|
684
|
+
createcoreHaloRunV1alpha1LinkGroup(linkGroup, options) {
|
|
685
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).createcoreHaloRunV1alpha1LinkGroup(linkGroup, options).then((request) => request(this.axios, this.basePath));
|
|
686
|
+
}
|
|
687
|
+
deletecoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
688
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).deletecoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(this.axios, this.basePath));
|
|
689
|
+
}
|
|
690
|
+
getcoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
691
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).getcoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(this.axios, this.basePath));
|
|
692
|
+
}
|
|
693
|
+
listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
|
|
694
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
695
|
+
}
|
|
696
|
+
updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
697
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options).then((request) => request(this.axios, this.basePath));
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
701
|
+
return {
|
|
702
|
+
createpluginHaloRunV1alpha1Plugin: async (plugin, options = {}) => {
|
|
703
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins`;
|
|
704
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
705
|
+
let baseOptions;
|
|
706
|
+
if (configuration) {
|
|
707
|
+
baseOptions = configuration.baseOptions;
|
|
708
|
+
}
|
|
709
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
710
|
+
const localVarHeaderParameter = {};
|
|
711
|
+
const localVarQueryParameter = {};
|
|
712
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
713
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
714
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
715
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
716
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
717
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
718
|
+
localVarRequestOptions.data = serializeDataIfNeeded(plugin, localVarRequestOptions, configuration);
|
|
719
|
+
return {
|
|
720
|
+
url: toPathString(localVarUrlObj),
|
|
721
|
+
options: localVarRequestOptions
|
|
722
|
+
};
|
|
723
|
+
},
|
|
724
|
+
deletepluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
|
|
725
|
+
assertParamExists("deletepluginHaloRunV1alpha1Plugin", "name", name);
|
|
726
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
727
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
728
|
+
let baseOptions;
|
|
729
|
+
if (configuration) {
|
|
730
|
+
baseOptions = configuration.baseOptions;
|
|
731
|
+
}
|
|
732
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
733
|
+
const localVarHeaderParameter = {};
|
|
734
|
+
const localVarQueryParameter = {};
|
|
735
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
736
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
737
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
738
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
739
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
740
|
+
return {
|
|
741
|
+
url: toPathString(localVarUrlObj),
|
|
742
|
+
options: localVarRequestOptions
|
|
743
|
+
};
|
|
744
|
+
},
|
|
745
|
+
getpluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
|
|
746
|
+
assertParamExists("getpluginHaloRunV1alpha1Plugin", "name", name);
|
|
747
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
748
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
749
|
+
let baseOptions;
|
|
750
|
+
if (configuration) {
|
|
751
|
+
baseOptions = configuration.baseOptions;
|
|
752
|
+
}
|
|
753
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
754
|
+
const localVarHeaderParameter = {};
|
|
755
|
+
const localVarQueryParameter = {};
|
|
756
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
757
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
758
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
759
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
760
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
761
|
+
return {
|
|
762
|
+
url: toPathString(localVarUrlObj),
|
|
763
|
+
options: localVarRequestOptions
|
|
764
|
+
};
|
|
765
|
+
},
|
|
766
|
+
listpluginHaloRunV1alpha1Plugin: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
767
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins`;
|
|
768
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
769
|
+
let baseOptions;
|
|
770
|
+
if (configuration) {
|
|
771
|
+
baseOptions = configuration.baseOptions;
|
|
772
|
+
}
|
|
773
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
774
|
+
const localVarHeaderParameter = {};
|
|
775
|
+
const localVarQueryParameter = {};
|
|
776
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
777
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
778
|
+
if (page !== void 0) {
|
|
779
|
+
localVarQueryParameter["page"] = page;
|
|
780
|
+
}
|
|
781
|
+
if (size !== void 0) {
|
|
782
|
+
localVarQueryParameter["size"] = size;
|
|
783
|
+
}
|
|
784
|
+
if (labelSelector) {
|
|
785
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
786
|
+
}
|
|
787
|
+
if (fieldSelector) {
|
|
788
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
789
|
+
}
|
|
790
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
791
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
792
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
793
|
+
return {
|
|
794
|
+
url: toPathString(localVarUrlObj),
|
|
795
|
+
options: localVarRequestOptions
|
|
796
|
+
};
|
|
797
|
+
},
|
|
798
|
+
updatepluginHaloRunV1alpha1Plugin: async (name, plugin, options = {}) => {
|
|
799
|
+
assertParamExists("updatepluginHaloRunV1alpha1Plugin", "name", name);
|
|
800
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
801
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
802
|
+
let baseOptions;
|
|
803
|
+
if (configuration) {
|
|
804
|
+
baseOptions = configuration.baseOptions;
|
|
805
|
+
}
|
|
806
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
807
|
+
const localVarHeaderParameter = {};
|
|
808
|
+
const localVarQueryParameter = {};
|
|
809
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
810
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
811
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
812
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
813
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
814
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
815
|
+
localVarRequestOptions.data = serializeDataIfNeeded(plugin, localVarRequestOptions, configuration);
|
|
816
|
+
return {
|
|
817
|
+
url: toPathString(localVarUrlObj),
|
|
818
|
+
options: localVarRequestOptions
|
|
819
|
+
};
|
|
820
|
+
}
|
|
821
|
+
};
|
|
822
|
+
};
|
|
823
|
+
const PluginHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
824
|
+
const localVarAxiosParamCreator = PluginHaloRunV1alpha1PluginApiAxiosParamCreator(configuration);
|
|
825
|
+
return {
|
|
826
|
+
async createpluginHaloRunV1alpha1Plugin(plugin, options) {
|
|
827
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1Plugin(plugin, options);
|
|
828
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
829
|
+
},
|
|
830
|
+
async deletepluginHaloRunV1alpha1Plugin(name, options) {
|
|
831
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletepluginHaloRunV1alpha1Plugin(name, options);
|
|
832
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
833
|
+
},
|
|
834
|
+
async getpluginHaloRunV1alpha1Plugin(name, options) {
|
|
835
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1Plugin(name, options);
|
|
836
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
837
|
+
},
|
|
838
|
+
async listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
|
|
839
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options);
|
|
840
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
841
|
+
},
|
|
842
|
+
async updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
|
|
843
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1Plugin(name, plugin, options);
|
|
844
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
845
|
+
}
|
|
846
|
+
};
|
|
847
|
+
};
|
|
848
|
+
const PluginHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
|
|
849
|
+
const localVarFp = PluginHaloRunV1alpha1PluginApiFp(configuration);
|
|
850
|
+
return {
|
|
851
|
+
createpluginHaloRunV1alpha1Plugin(plugin, options) {
|
|
852
|
+
return localVarFp.createpluginHaloRunV1alpha1Plugin(plugin, options).then((request) => request(axios, basePath));
|
|
853
|
+
},
|
|
854
|
+
deletepluginHaloRunV1alpha1Plugin(name, options) {
|
|
855
|
+
return localVarFp.deletepluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
|
|
156
856
|
},
|
|
157
|
-
|
|
158
|
-
return localVarFp.
|
|
857
|
+
getpluginHaloRunV1alpha1Plugin(name, options) {
|
|
858
|
+
return localVarFp.getpluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
|
|
159
859
|
},
|
|
160
|
-
|
|
161
|
-
return localVarFp.
|
|
860
|
+
listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
|
|
861
|
+
return localVarFp.listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
862
|
+
},
|
|
863
|
+
updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
|
|
864
|
+
return localVarFp.updatepluginHaloRunV1alpha1Plugin(name, plugin, options).then((request) => request(axios, basePath));
|
|
162
865
|
}
|
|
163
866
|
};
|
|
164
867
|
};
|
|
165
|
-
class
|
|
166
|
-
|
|
167
|
-
return
|
|
868
|
+
class PluginHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
869
|
+
createpluginHaloRunV1alpha1Plugin(plugin, options) {
|
|
870
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).createpluginHaloRunV1alpha1Plugin(plugin, options).then((request) => request(this.axios, this.basePath));
|
|
168
871
|
}
|
|
169
|
-
|
|
170
|
-
return
|
|
872
|
+
deletepluginHaloRunV1alpha1Plugin(name, options) {
|
|
873
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).deletepluginHaloRunV1alpha1Plugin(name, options).then((request) => request(this.axios, this.basePath));
|
|
874
|
+
}
|
|
875
|
+
getpluginHaloRunV1alpha1Plugin(name, options) {
|
|
876
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).getpluginHaloRunV1alpha1Plugin(name, options).then((request) => request(this.axios, this.basePath));
|
|
877
|
+
}
|
|
878
|
+
listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
|
|
879
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
171
880
|
}
|
|
172
|
-
|
|
173
|
-
return
|
|
881
|
+
updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
|
|
882
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).updatepluginHaloRunV1alpha1Plugin(name, plugin, options).then((request) => request(this.axios, this.basePath));
|
|
174
883
|
}
|
|
175
884
|
}
|
|
176
|
-
const
|
|
885
|
+
const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configuration) {
|
|
177
886
|
return {
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
const localVarPath = `/apis/api.halo.run/v1alpha1/plugins/install`;
|
|
887
|
+
createpluginHaloRunV1alpha1ReverseProxy: async (reverseProxy, options = {}) => {
|
|
888
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies`;
|
|
181
889
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
182
890
|
let baseOptions;
|
|
183
891
|
if (configuration) {
|
|
@@ -186,70 +894,42 @@ const ApiHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
|
186
894
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
187
895
|
const localVarHeaderParameter = {};
|
|
188
896
|
const localVarQueryParameter = {};
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
}
|
|
193
|
-
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
897
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
898
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
899
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
194
900
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
195
901
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
196
902
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
197
|
-
localVarRequestOptions.data =
|
|
903
|
+
localVarRequestOptions.data = serializeDataIfNeeded(reverseProxy, localVarRequestOptions, configuration);
|
|
198
904
|
return {
|
|
199
905
|
url: toPathString(localVarUrlObj),
|
|
200
906
|
options: localVarRequestOptions
|
|
201
907
|
};
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
const
|
|
206
|
-
const localVarAxiosParamCreator = ApiHaloRunV1alpha1PluginApiAxiosParamCreator(configuration);
|
|
207
|
-
return {
|
|
208
|
-
async installPlugin(file, options) {
|
|
209
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
210
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
211
|
-
}
|
|
212
|
-
};
|
|
213
|
-
};
|
|
214
|
-
const ApiHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
|
|
215
|
-
const localVarFp = ApiHaloRunV1alpha1PluginApiFp(configuration);
|
|
216
|
-
return {
|
|
217
|
-
installPlugin(file, options) {
|
|
218
|
-
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
219
|
-
}
|
|
220
|
-
};
|
|
221
|
-
};
|
|
222
|
-
class ApiHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
223
|
-
installPlugin(file, options) {
|
|
224
|
-
return ApiHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(file, options).then((request) => request(this.axios, this.basePath));
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
228
|
-
return {
|
|
229
|
-
changePassword: async (name, changePasswordRequest, options = {}) => {
|
|
230
|
-
assertParamExists("changePassword", "name", name);
|
|
231
|
-
assertParamExists("changePassword", "changePasswordRequest", changePasswordRequest);
|
|
232
|
-
const localVarPath = `/apis/api.halo.run/v1alpha1/users/{name}/password`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
908
|
+
},
|
|
909
|
+
deletepluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
|
|
910
|
+
assertParamExists("deletepluginHaloRunV1alpha1ReverseProxy", "name", name);
|
|
911
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
233
912
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
234
913
|
let baseOptions;
|
|
235
914
|
if (configuration) {
|
|
236
915
|
baseOptions = configuration.baseOptions;
|
|
237
916
|
}
|
|
238
|
-
const localVarRequestOptions = { method: "
|
|
917
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
239
918
|
const localVarHeaderParameter = {};
|
|
240
919
|
const localVarQueryParameter = {};
|
|
241
|
-
|
|
920
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
921
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
242
922
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
243
923
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
244
924
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
245
|
-
localVarRequestOptions.data = serializeDataIfNeeded(changePasswordRequest, localVarRequestOptions, configuration);
|
|
246
925
|
return {
|
|
247
926
|
url: toPathString(localVarUrlObj),
|
|
248
927
|
options: localVarRequestOptions
|
|
249
928
|
};
|
|
250
929
|
},
|
|
251
|
-
|
|
252
|
-
|
|
930
|
+
getpluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
|
|
931
|
+
assertParamExists("getpluginHaloRunV1alpha1ReverseProxy", "name", name);
|
|
932
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
253
933
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
254
934
|
let baseOptions;
|
|
255
935
|
if (configuration) {
|
|
@@ -258,6 +938,8 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
258
938
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
259
939
|
const localVarHeaderParameter = {};
|
|
260
940
|
const localVarQueryParameter = {};
|
|
941
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
942
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
261
943
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
262
944
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
263
945
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -266,9 +948,8 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
266
948
|
options: localVarRequestOptions
|
|
267
949
|
};
|
|
268
950
|
},
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
const localVarPath = `/apis/api.halo.run/v1alpha1/users/{name}/permissions`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
951
|
+
listpluginHaloRunV1alpha1ReverseProxy: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
952
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies`;
|
|
272
953
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
273
954
|
let baseOptions;
|
|
274
955
|
if (configuration) {
|
|
@@ -277,6 +958,20 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
277
958
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
278
959
|
const localVarHeaderParameter = {};
|
|
279
960
|
const localVarQueryParameter = {};
|
|
961
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
962
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
963
|
+
if (page !== void 0) {
|
|
964
|
+
localVarQueryParameter["page"] = page;
|
|
965
|
+
}
|
|
966
|
+
if (size !== void 0) {
|
|
967
|
+
localVarQueryParameter["size"] = size;
|
|
968
|
+
}
|
|
969
|
+
if (labelSelector) {
|
|
970
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
971
|
+
}
|
|
972
|
+
if (fieldSelector) {
|
|
973
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
974
|
+
}
|
|
280
975
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
281
976
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
282
977
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -285,23 +980,24 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
285
980
|
options: localVarRequestOptions
|
|
286
981
|
};
|
|
287
982
|
},
|
|
288
|
-
|
|
289
|
-
assertParamExists("
|
|
290
|
-
|
|
291
|
-
const localVarPath = `/apis/api.halo.run/v1alpha1/users/{name}/permissions`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
983
|
+
updatepluginHaloRunV1alpha1ReverseProxy: async (name, reverseProxy, options = {}) => {
|
|
984
|
+
assertParamExists("updatepluginHaloRunV1alpha1ReverseProxy", "name", name);
|
|
985
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
292
986
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
293
987
|
let baseOptions;
|
|
294
988
|
if (configuration) {
|
|
295
989
|
baseOptions = configuration.baseOptions;
|
|
296
990
|
}
|
|
297
|
-
const localVarRequestOptions = { method: "
|
|
991
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
298
992
|
const localVarHeaderParameter = {};
|
|
299
993
|
const localVarQueryParameter = {};
|
|
994
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
995
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
300
996
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
301
997
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
302
998
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
303
999
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
304
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1000
|
+
localVarRequestOptions.data = serializeDataIfNeeded(reverseProxy, localVarRequestOptions, configuration);
|
|
305
1001
|
return {
|
|
306
1002
|
url: toPathString(localVarUrlObj),
|
|
307
1003
|
options: localVarRequestOptions
|
|
@@ -309,62 +1005,72 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
309
1005
|
}
|
|
310
1006
|
};
|
|
311
1007
|
};
|
|
312
|
-
const
|
|
313
|
-
const localVarAxiosParamCreator =
|
|
1008
|
+
const PluginHaloRunV1alpha1ReverseProxyApiFp = function(configuration) {
|
|
1009
|
+
const localVarAxiosParamCreator = PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator(configuration);
|
|
314
1010
|
return {
|
|
315
|
-
async
|
|
316
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1011
|
+
async createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
|
|
1012
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options);
|
|
317
1013
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
318
1014
|
},
|
|
319
|
-
async
|
|
320
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1015
|
+
async deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
1016
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletepluginHaloRunV1alpha1ReverseProxy(name, options);
|
|
321
1017
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
322
1018
|
},
|
|
323
|
-
async
|
|
324
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1019
|
+
async getpluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
1020
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1ReverseProxy(name, options);
|
|
325
1021
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
326
1022
|
},
|
|
327
|
-
async
|
|
328
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1023
|
+
async listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
|
|
1024
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options);
|
|
1025
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1026
|
+
},
|
|
1027
|
+
async updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
|
|
1028
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options);
|
|
329
1029
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
330
1030
|
}
|
|
331
1031
|
};
|
|
332
1032
|
};
|
|
333
|
-
const
|
|
334
|
-
const localVarFp =
|
|
1033
|
+
const PluginHaloRunV1alpha1ReverseProxyApiFactory = function(configuration, basePath, axios) {
|
|
1034
|
+
const localVarFp = PluginHaloRunV1alpha1ReverseProxyApiFp(configuration);
|
|
335
1035
|
return {
|
|
336
|
-
|
|
337
|
-
return localVarFp.
|
|
1036
|
+
createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
|
|
1037
|
+
return localVarFp.createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options).then((request) => request(axios, basePath));
|
|
338
1038
|
},
|
|
339
|
-
|
|
340
|
-
return localVarFp.
|
|
1039
|
+
deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
1040
|
+
return localVarFp.deletepluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
|
|
341
1041
|
},
|
|
342
|
-
|
|
343
|
-
return localVarFp.
|
|
1042
|
+
getpluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
1043
|
+
return localVarFp.getpluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
|
|
344
1044
|
},
|
|
345
|
-
|
|
346
|
-
return localVarFp.
|
|
1045
|
+
listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
|
|
1046
|
+
return localVarFp.listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1047
|
+
},
|
|
1048
|
+
updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
|
|
1049
|
+
return localVarFp.updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options).then((request) => request(axios, basePath));
|
|
347
1050
|
}
|
|
348
1051
|
};
|
|
349
1052
|
};
|
|
350
|
-
class
|
|
351
|
-
|
|
352
|
-
return
|
|
1053
|
+
class PluginHaloRunV1alpha1ReverseProxyApi extends BaseAPI {
|
|
1054
|
+
createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
|
|
1055
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options).then((request) => request(this.axios, this.basePath));
|
|
353
1056
|
}
|
|
354
|
-
|
|
355
|
-
return
|
|
1057
|
+
deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
1058
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).deletepluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(this.axios, this.basePath));
|
|
356
1059
|
}
|
|
357
|
-
|
|
358
|
-
return
|
|
1060
|
+
getpluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
1061
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).getpluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(this.axios, this.basePath));
|
|
359
1062
|
}
|
|
360
|
-
|
|
361
|
-
return
|
|
1063
|
+
listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
|
|
1064
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1065
|
+
}
|
|
1066
|
+
updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
|
|
1067
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options).then((request) => request(this.axios, this.basePath));
|
|
362
1068
|
}
|
|
363
1069
|
}
|
|
364
|
-
const
|
|
1070
|
+
const RunHaloTemplateV1alpha1AppleApiAxiosParamCreator = function(configuration) {
|
|
365
1071
|
return {
|
|
366
|
-
|
|
367
|
-
const localVarPath = `/apis/
|
|
1072
|
+
createrunHaloTemplateV1alpha1Apple: async (apple, options = {}) => {
|
|
1073
|
+
const localVarPath = `/apis/run.halo.template/v1alpha1/apples`;
|
|
368
1074
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
369
1075
|
let baseOptions;
|
|
370
1076
|
if (configuration) {
|
|
@@ -373,19 +1079,21 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
373
1079
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
374
1080
|
const localVarHeaderParameter = {};
|
|
375
1081
|
const localVarQueryParameter = {};
|
|
1082
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1083
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
376
1084
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
377
1085
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
378
1086
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
379
1087
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
380
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1088
|
+
localVarRequestOptions.data = serializeDataIfNeeded(apple, localVarRequestOptions, configuration);
|
|
381
1089
|
return {
|
|
382
1090
|
url: toPathString(localVarUrlObj),
|
|
383
1091
|
options: localVarRequestOptions
|
|
384
1092
|
};
|
|
385
1093
|
},
|
|
386
|
-
|
|
387
|
-
assertParamExists("
|
|
388
|
-
const localVarPath = `/apis/
|
|
1094
|
+
deleterunHaloTemplateV1alpha1Apple: async (name, options = {}) => {
|
|
1095
|
+
assertParamExists("deleterunHaloTemplateV1alpha1Apple", "name", name);
|
|
1096
|
+
const localVarPath = `/apis/run.halo.template/v1alpha1/apples/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
389
1097
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
390
1098
|
let baseOptions;
|
|
391
1099
|
if (configuration) {
|
|
@@ -394,6 +1102,8 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
394
1102
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
395
1103
|
const localVarHeaderParameter = {};
|
|
396
1104
|
const localVarQueryParameter = {};
|
|
1105
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1106
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
397
1107
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
398
1108
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
399
1109
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -402,9 +1112,9 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
402
1112
|
options: localVarRequestOptions
|
|
403
1113
|
};
|
|
404
1114
|
},
|
|
405
|
-
|
|
406
|
-
assertParamExists("
|
|
407
|
-
const localVarPath = `/apis/
|
|
1115
|
+
getrunHaloTemplateV1alpha1Apple: async (name, options = {}) => {
|
|
1116
|
+
assertParamExists("getrunHaloTemplateV1alpha1Apple", "name", name);
|
|
1117
|
+
const localVarPath = `/apis/run.halo.template/v1alpha1/apples/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
408
1118
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
409
1119
|
let baseOptions;
|
|
410
1120
|
if (configuration) {
|
|
@@ -413,6 +1123,8 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
413
1123
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
414
1124
|
const localVarHeaderParameter = {};
|
|
415
1125
|
const localVarQueryParameter = {};
|
|
1126
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1127
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
416
1128
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
417
1129
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
418
1130
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -421,8 +1133,8 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
421
1133
|
options: localVarRequestOptions
|
|
422
1134
|
};
|
|
423
1135
|
},
|
|
424
|
-
|
|
425
|
-
const localVarPath = `/apis/
|
|
1136
|
+
listrunHaloTemplateV1alpha1Apple: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1137
|
+
const localVarPath = `/apis/run.halo.template/v1alpha1/apples`;
|
|
426
1138
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
427
1139
|
let baseOptions;
|
|
428
1140
|
if (configuration) {
|
|
@@ -431,14 +1143,19 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
431
1143
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
432
1144
|
const localVarHeaderParameter = {};
|
|
433
1145
|
const localVarQueryParameter = {};
|
|
1146
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1147
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
434
1148
|
if (page !== void 0) {
|
|
435
1149
|
localVarQueryParameter["page"] = page;
|
|
436
1150
|
}
|
|
437
1151
|
if (size !== void 0) {
|
|
438
1152
|
localVarQueryParameter["size"] = size;
|
|
439
1153
|
}
|
|
440
|
-
if (
|
|
441
|
-
localVarQueryParameter["
|
|
1154
|
+
if (labelSelector) {
|
|
1155
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1156
|
+
}
|
|
1157
|
+
if (fieldSelector) {
|
|
1158
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
442
1159
|
}
|
|
443
1160
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
444
1161
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -448,9 +1165,9 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
448
1165
|
options: localVarRequestOptions
|
|
449
1166
|
};
|
|
450
1167
|
},
|
|
451
|
-
|
|
452
|
-
assertParamExists("
|
|
453
|
-
const localVarPath = `/apis/
|
|
1168
|
+
updaterunHaloTemplateV1alpha1Apple: async (name, apple, options = {}) => {
|
|
1169
|
+
assertParamExists("updaterunHaloTemplateV1alpha1Apple", "name", name);
|
|
1170
|
+
const localVarPath = `/apis/run.halo.template/v1alpha1/apples/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
454
1171
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
455
1172
|
let baseOptions;
|
|
456
1173
|
if (configuration) {
|
|
@@ -459,11 +1176,13 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
459
1176
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
460
1177
|
const localVarHeaderParameter = {};
|
|
461
1178
|
const localVarQueryParameter = {};
|
|
1179
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1180
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
462
1181
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
463
1182
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
464
1183
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
465
1184
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
466
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1185
|
+
localVarRequestOptions.data = serializeDataIfNeeded(apple, localVarRequestOptions, configuration);
|
|
467
1186
|
return {
|
|
468
1187
|
url: toPathString(localVarUrlObj),
|
|
469
1188
|
options: localVarRequestOptions
|
|
@@ -471,72 +1190,72 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
471
1190
|
}
|
|
472
1191
|
};
|
|
473
1192
|
};
|
|
474
|
-
const
|
|
475
|
-
const localVarAxiosParamCreator =
|
|
1193
|
+
const RunHaloTemplateV1alpha1AppleApiFp = function(configuration) {
|
|
1194
|
+
const localVarAxiosParamCreator = RunHaloTemplateV1alpha1AppleApiAxiosParamCreator(configuration);
|
|
476
1195
|
return {
|
|
477
|
-
async
|
|
478
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1196
|
+
async createrunHaloTemplateV1alpha1Apple(apple, options) {
|
|
1197
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createrunHaloTemplateV1alpha1Apple(apple, options);
|
|
479
1198
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
480
1199
|
},
|
|
481
|
-
async
|
|
482
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1200
|
+
async deleterunHaloTemplateV1alpha1Apple(name, options) {
|
|
1201
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleterunHaloTemplateV1alpha1Apple(name, options);
|
|
483
1202
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
484
1203
|
},
|
|
485
|
-
async
|
|
486
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1204
|
+
async getrunHaloTemplateV1alpha1Apple(name, options) {
|
|
1205
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getrunHaloTemplateV1alpha1Apple(name, options);
|
|
487
1206
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
488
1207
|
},
|
|
489
|
-
async
|
|
490
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1208
|
+
async listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options) {
|
|
1209
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options);
|
|
491
1210
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
492
1211
|
},
|
|
493
|
-
async
|
|
494
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1212
|
+
async updaterunHaloTemplateV1alpha1Apple(name, apple, options) {
|
|
1213
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updaterunHaloTemplateV1alpha1Apple(name, apple, options);
|
|
495
1214
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
496
1215
|
}
|
|
497
1216
|
};
|
|
498
1217
|
};
|
|
499
|
-
const
|
|
500
|
-
const localVarFp =
|
|
1218
|
+
const RunHaloTemplateV1alpha1AppleApiFactory = function(configuration, basePath, axios) {
|
|
1219
|
+
const localVarFp = RunHaloTemplateV1alpha1AppleApiFp(configuration);
|
|
501
1220
|
return {
|
|
502
|
-
|
|
503
|
-
return localVarFp.
|
|
1221
|
+
createrunHaloTemplateV1alpha1Apple(apple, options) {
|
|
1222
|
+
return localVarFp.createrunHaloTemplateV1alpha1Apple(apple, options).then((request) => request(axios, basePath));
|
|
504
1223
|
},
|
|
505
|
-
|
|
506
|
-
return localVarFp.
|
|
1224
|
+
deleterunHaloTemplateV1alpha1Apple(name, options) {
|
|
1225
|
+
return localVarFp.deleterunHaloTemplateV1alpha1Apple(name, options).then((request) => request(axios, basePath));
|
|
507
1226
|
},
|
|
508
|
-
|
|
509
|
-
return localVarFp.
|
|
1227
|
+
getrunHaloTemplateV1alpha1Apple(name, options) {
|
|
1228
|
+
return localVarFp.getrunHaloTemplateV1alpha1Apple(name, options).then((request) => request(axios, basePath));
|
|
510
1229
|
},
|
|
511
|
-
|
|
512
|
-
return localVarFp.
|
|
1230
|
+
listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options) {
|
|
1231
|
+
return localVarFp.listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
513
1232
|
},
|
|
514
|
-
|
|
515
|
-
return localVarFp.
|
|
1233
|
+
updaterunHaloTemplateV1alpha1Apple(name, apple, options) {
|
|
1234
|
+
return localVarFp.updaterunHaloTemplateV1alpha1Apple(name, apple, options).then((request) => request(axios, basePath));
|
|
516
1235
|
}
|
|
517
1236
|
};
|
|
518
1237
|
};
|
|
519
|
-
class
|
|
520
|
-
|
|
521
|
-
return
|
|
1238
|
+
class RunHaloTemplateV1alpha1AppleApi extends BaseAPI {
|
|
1239
|
+
createrunHaloTemplateV1alpha1Apple(apple, options) {
|
|
1240
|
+
return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).createrunHaloTemplateV1alpha1Apple(apple, options).then((request) => request(this.axios, this.basePath));
|
|
522
1241
|
}
|
|
523
|
-
|
|
524
|
-
return
|
|
1242
|
+
deleterunHaloTemplateV1alpha1Apple(name, options) {
|
|
1243
|
+
return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).deleterunHaloTemplateV1alpha1Apple(name, options).then((request) => request(this.axios, this.basePath));
|
|
525
1244
|
}
|
|
526
|
-
|
|
527
|
-
return
|
|
1245
|
+
getrunHaloTemplateV1alpha1Apple(name, options) {
|
|
1246
|
+
return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).getrunHaloTemplateV1alpha1Apple(name, options).then((request) => request(this.axios, this.basePath));
|
|
528
1247
|
}
|
|
529
|
-
|
|
530
|
-
return
|
|
1248
|
+
listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options) {
|
|
1249
|
+
return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
531
1250
|
}
|
|
532
|
-
|
|
533
|
-
return
|
|
1251
|
+
updaterunHaloTemplateV1alpha1Apple(name, apple, options) {
|
|
1252
|
+
return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).updaterunHaloTemplateV1alpha1Apple(name, apple, options).then((request) => request(this.axios, this.basePath));
|
|
534
1253
|
}
|
|
535
1254
|
}
|
|
536
|
-
const
|
|
1255
|
+
const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
537
1256
|
return {
|
|
538
|
-
|
|
539
|
-
const localVarPath = `/apis/
|
|
1257
|
+
createthemeHaloRunV1alpha1Theme: async (theme, options = {}) => {
|
|
1258
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes`;
|
|
540
1259
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
541
1260
|
let baseOptions;
|
|
542
1261
|
if (configuration) {
|
|
@@ -545,19 +1264,21 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
545
1264
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
546
1265
|
const localVarHeaderParameter = {};
|
|
547
1266
|
const localVarQueryParameter = {};
|
|
1267
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1268
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
548
1269
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
549
1270
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
550
1271
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
551
1272
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
552
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1273
|
+
localVarRequestOptions.data = serializeDataIfNeeded(theme, localVarRequestOptions, configuration);
|
|
553
1274
|
return {
|
|
554
1275
|
url: toPathString(localVarUrlObj),
|
|
555
1276
|
options: localVarRequestOptions
|
|
556
1277
|
};
|
|
557
1278
|
},
|
|
558
|
-
|
|
559
|
-
assertParamExists("
|
|
560
|
-
const localVarPath = `/apis/
|
|
1279
|
+
deletethemeHaloRunV1alpha1Theme: async (name, options = {}) => {
|
|
1280
|
+
assertParamExists("deletethemeHaloRunV1alpha1Theme", "name", name);
|
|
1281
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
561
1282
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
562
1283
|
let baseOptions;
|
|
563
1284
|
if (configuration) {
|
|
@@ -566,6 +1287,8 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
566
1287
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
567
1288
|
const localVarHeaderParameter = {};
|
|
568
1289
|
const localVarQueryParameter = {};
|
|
1290
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1291
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
569
1292
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
570
1293
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
571
1294
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -574,9 +1297,9 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
574
1297
|
options: localVarRequestOptions
|
|
575
1298
|
};
|
|
576
1299
|
},
|
|
577
|
-
|
|
578
|
-
assertParamExists("
|
|
579
|
-
const localVarPath = `/apis/
|
|
1300
|
+
getthemeHaloRunV1alpha1Theme: async (name, options = {}) => {
|
|
1301
|
+
assertParamExists("getthemeHaloRunV1alpha1Theme", "name", name);
|
|
1302
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
580
1303
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
581
1304
|
let baseOptions;
|
|
582
1305
|
if (configuration) {
|
|
@@ -585,6 +1308,8 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
585
1308
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
586
1309
|
const localVarHeaderParameter = {};
|
|
587
1310
|
const localVarQueryParameter = {};
|
|
1311
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1312
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
588
1313
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
589
1314
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
590
1315
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -593,8 +1318,8 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
593
1318
|
options: localVarRequestOptions
|
|
594
1319
|
};
|
|
595
1320
|
},
|
|
596
|
-
|
|
597
|
-
const localVarPath = `/apis/
|
|
1321
|
+
listthemeHaloRunV1alpha1Theme: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1322
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes`;
|
|
598
1323
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
599
1324
|
let baseOptions;
|
|
600
1325
|
if (configuration) {
|
|
@@ -603,14 +1328,19 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
603
1328
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
604
1329
|
const localVarHeaderParameter = {};
|
|
605
1330
|
const localVarQueryParameter = {};
|
|
1331
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1332
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
606
1333
|
if (page !== void 0) {
|
|
607
1334
|
localVarQueryParameter["page"] = page;
|
|
608
1335
|
}
|
|
609
1336
|
if (size !== void 0) {
|
|
610
1337
|
localVarQueryParameter["size"] = size;
|
|
611
1338
|
}
|
|
612
|
-
if (
|
|
613
|
-
localVarQueryParameter["
|
|
1339
|
+
if (labelSelector) {
|
|
1340
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1341
|
+
}
|
|
1342
|
+
if (fieldSelector) {
|
|
1343
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
614
1344
|
}
|
|
615
1345
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
616
1346
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -620,9 +1350,9 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
620
1350
|
options: localVarRequestOptions
|
|
621
1351
|
};
|
|
622
1352
|
},
|
|
623
|
-
|
|
624
|
-
assertParamExists("
|
|
625
|
-
const localVarPath = `/apis/
|
|
1353
|
+
updatethemeHaloRunV1alpha1Theme: async (name, theme, options = {}) => {
|
|
1354
|
+
assertParamExists("updatethemeHaloRunV1alpha1Theme", "name", name);
|
|
1355
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
626
1356
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
627
1357
|
let baseOptions;
|
|
628
1358
|
if (configuration) {
|
|
@@ -631,11 +1361,13 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
631
1361
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
632
1362
|
const localVarHeaderParameter = {};
|
|
633
1363
|
const localVarQueryParameter = {};
|
|
1364
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1365
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
634
1366
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
635
1367
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
636
1368
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
637
1369
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
638
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1370
|
+
localVarRequestOptions.data = serializeDataIfNeeded(theme, localVarRequestOptions, configuration);
|
|
639
1371
|
return {
|
|
640
1372
|
url: toPathString(localVarUrlObj),
|
|
641
1373
|
options: localVarRequestOptions
|
|
@@ -643,66 +1375,66 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
643
1375
|
}
|
|
644
1376
|
};
|
|
645
1377
|
};
|
|
646
|
-
const
|
|
647
|
-
const localVarAxiosParamCreator =
|
|
1378
|
+
const ThemeHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
1379
|
+
const localVarAxiosParamCreator = ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator(configuration);
|
|
648
1380
|
return {
|
|
649
|
-
async
|
|
650
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1381
|
+
async createthemeHaloRunV1alpha1Theme(theme, options) {
|
|
1382
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createthemeHaloRunV1alpha1Theme(theme, options);
|
|
651
1383
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
652
1384
|
},
|
|
653
|
-
async
|
|
654
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1385
|
+
async deletethemeHaloRunV1alpha1Theme(name, options) {
|
|
1386
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletethemeHaloRunV1alpha1Theme(name, options);
|
|
655
1387
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
656
1388
|
},
|
|
657
|
-
async
|
|
658
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1389
|
+
async getthemeHaloRunV1alpha1Theme(name, options) {
|
|
1390
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getthemeHaloRunV1alpha1Theme(name, options);
|
|
659
1391
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
660
1392
|
},
|
|
661
|
-
async
|
|
662
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1393
|
+
async listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
1394
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options);
|
|
663
1395
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
664
1396
|
},
|
|
665
|
-
async
|
|
666
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1397
|
+
async updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
1398
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatethemeHaloRunV1alpha1Theme(name, theme, options);
|
|
667
1399
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
668
1400
|
}
|
|
669
1401
|
};
|
|
670
1402
|
};
|
|
671
|
-
const
|
|
672
|
-
const localVarFp =
|
|
1403
|
+
const ThemeHaloRunV1alpha1ThemeApiFactory = function(configuration, basePath, axios) {
|
|
1404
|
+
const localVarFp = ThemeHaloRunV1alpha1ThemeApiFp(configuration);
|
|
673
1405
|
return {
|
|
674
|
-
|
|
675
|
-
return localVarFp.
|
|
1406
|
+
createthemeHaloRunV1alpha1Theme(theme, options) {
|
|
1407
|
+
return localVarFp.createthemeHaloRunV1alpha1Theme(theme, options).then((request) => request(axios, basePath));
|
|
676
1408
|
},
|
|
677
|
-
|
|
678
|
-
return localVarFp.
|
|
1409
|
+
deletethemeHaloRunV1alpha1Theme(name, options) {
|
|
1410
|
+
return localVarFp.deletethemeHaloRunV1alpha1Theme(name, options).then((request) => request(axios, basePath));
|
|
679
1411
|
},
|
|
680
|
-
|
|
681
|
-
return localVarFp.
|
|
1412
|
+
getthemeHaloRunV1alpha1Theme(name, options) {
|
|
1413
|
+
return localVarFp.getthemeHaloRunV1alpha1Theme(name, options).then((request) => request(axios, basePath));
|
|
682
1414
|
},
|
|
683
|
-
|
|
684
|
-
return localVarFp.
|
|
1415
|
+
listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
1416
|
+
return localVarFp.listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
685
1417
|
},
|
|
686
|
-
|
|
687
|
-
return localVarFp.
|
|
1418
|
+
updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
1419
|
+
return localVarFp.updatethemeHaloRunV1alpha1Theme(name, theme, options).then((request) => request(axios, basePath));
|
|
688
1420
|
}
|
|
689
1421
|
};
|
|
690
1422
|
};
|
|
691
|
-
class
|
|
692
|
-
|
|
693
|
-
return
|
|
1423
|
+
class ThemeHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
1424
|
+
createthemeHaloRunV1alpha1Theme(theme, options) {
|
|
1425
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).createthemeHaloRunV1alpha1Theme(theme, options).then((request) => request(this.axios, this.basePath));
|
|
694
1426
|
}
|
|
695
|
-
|
|
696
|
-
return
|
|
1427
|
+
deletethemeHaloRunV1alpha1Theme(name, options) {
|
|
1428
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).deletethemeHaloRunV1alpha1Theme(name, options).then((request) => request(this.axios, this.basePath));
|
|
697
1429
|
}
|
|
698
|
-
|
|
699
|
-
return
|
|
1430
|
+
getthemeHaloRunV1alpha1Theme(name, options) {
|
|
1431
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).getthemeHaloRunV1alpha1Theme(name, options).then((request) => request(this.axios, this.basePath));
|
|
700
1432
|
}
|
|
701
|
-
|
|
702
|
-
return
|
|
1433
|
+
listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
1434
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
703
1435
|
}
|
|
704
|
-
|
|
705
|
-
return
|
|
1436
|
+
updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
1437
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).updatethemeHaloRunV1alpha1Theme(name, theme, options).then((request) => request(this.axios, this.basePath));
|
|
706
1438
|
}
|
|
707
1439
|
}
|
|
708
1440
|
const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
@@ -717,6 +1449,8 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
717
1449
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
718
1450
|
const localVarHeaderParameter = {};
|
|
719
1451
|
const localVarQueryParameter = {};
|
|
1452
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1453
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
720
1454
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
721
1455
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
722
1456
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -738,6 +1472,8 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
738
1472
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
739
1473
|
const localVarHeaderParameter = {};
|
|
740
1474
|
const localVarQueryParameter = {};
|
|
1475
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1476
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
741
1477
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
742
1478
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
743
1479
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -757,6 +1493,8 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
757
1493
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
758
1494
|
const localVarHeaderParameter = {};
|
|
759
1495
|
const localVarQueryParameter = {};
|
|
1496
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1497
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
760
1498
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
761
1499
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
762
1500
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -765,7 +1503,7 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
765
1503
|
options: localVarRequestOptions
|
|
766
1504
|
};
|
|
767
1505
|
},
|
|
768
|
-
listv1alpha1ConfigMap: async (page, size,
|
|
1506
|
+
listv1alpha1ConfigMap: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
769
1507
|
const localVarPath = `/api/v1alpha1/configmaps`;
|
|
770
1508
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
771
1509
|
let baseOptions;
|
|
@@ -775,14 +1513,19 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
775
1513
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
776
1514
|
const localVarHeaderParameter = {};
|
|
777
1515
|
const localVarQueryParameter = {};
|
|
1516
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1517
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
778
1518
|
if (page !== void 0) {
|
|
779
1519
|
localVarQueryParameter["page"] = page;
|
|
780
1520
|
}
|
|
781
1521
|
if (size !== void 0) {
|
|
782
1522
|
localVarQueryParameter["size"] = size;
|
|
783
1523
|
}
|
|
784
|
-
if (
|
|
785
|
-
localVarQueryParameter["
|
|
1524
|
+
if (labelSelector) {
|
|
1525
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1526
|
+
}
|
|
1527
|
+
if (fieldSelector) {
|
|
1528
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
786
1529
|
}
|
|
787
1530
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
788
1531
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -803,6 +1546,8 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
803
1546
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
804
1547
|
const localVarHeaderParameter = {};
|
|
805
1548
|
const localVarQueryParameter = {};
|
|
1549
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1550
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
806
1551
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
807
1552
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
808
1553
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -830,8 +1575,8 @@ const V1alpha1ConfigMapApiFp = function(configuration) {
|
|
|
830
1575
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1ConfigMap(name, options);
|
|
831
1576
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
832
1577
|
},
|
|
833
|
-
async listv1alpha1ConfigMap(page, size,
|
|
834
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1ConfigMap(page, size,
|
|
1578
|
+
async listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options) {
|
|
1579
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options);
|
|
835
1580
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
836
1581
|
},
|
|
837
1582
|
async updatev1alpha1ConfigMap(name, configMap, options) {
|
|
@@ -852,8 +1597,8 @@ const V1alpha1ConfigMapApiFactory = function(configuration, basePath, axios) {
|
|
|
852
1597
|
getv1alpha1ConfigMap(name, options) {
|
|
853
1598
|
return localVarFp.getv1alpha1ConfigMap(name, options).then((request) => request(axios, basePath));
|
|
854
1599
|
},
|
|
855
|
-
listv1alpha1ConfigMap(page, size,
|
|
856
|
-
return localVarFp.listv1alpha1ConfigMap(page, size,
|
|
1600
|
+
listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options) {
|
|
1601
|
+
return localVarFp.listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
857
1602
|
},
|
|
858
1603
|
updatev1alpha1ConfigMap(name, configMap, options) {
|
|
859
1604
|
return localVarFp.updatev1alpha1ConfigMap(name, configMap, options).then((request) => request(axios, basePath));
|
|
@@ -870,8 +1615,8 @@ class V1alpha1ConfigMapApi extends BaseAPI {
|
|
|
870
1615
|
getv1alpha1ConfigMap(name, options) {
|
|
871
1616
|
return V1alpha1ConfigMapApiFp(this.configuration).getv1alpha1ConfigMap(name, options).then((request) => request(this.axios, this.basePath));
|
|
872
1617
|
}
|
|
873
|
-
listv1alpha1ConfigMap(page, size,
|
|
874
|
-
return V1alpha1ConfigMapApiFp(this.configuration).listv1alpha1ConfigMap(page, size,
|
|
1618
|
+
listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options) {
|
|
1619
|
+
return V1alpha1ConfigMapApiFp(this.configuration).listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
875
1620
|
}
|
|
876
1621
|
updatev1alpha1ConfigMap(name, configMap, options) {
|
|
877
1622
|
return V1alpha1ConfigMapApiFp(this.configuration).updatev1alpha1ConfigMap(name, configMap, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -889,6 +1634,8 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
889
1634
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
890
1635
|
const localVarHeaderParameter = {};
|
|
891
1636
|
const localVarQueryParameter = {};
|
|
1637
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1638
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
892
1639
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
893
1640
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
894
1641
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -910,6 +1657,8 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
910
1657
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
911
1658
|
const localVarHeaderParameter = {};
|
|
912
1659
|
const localVarQueryParameter = {};
|
|
1660
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1661
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
913
1662
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
914
1663
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
915
1664
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -929,6 +1678,8 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
929
1678
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
930
1679
|
const localVarHeaderParameter = {};
|
|
931
1680
|
const localVarQueryParameter = {};
|
|
1681
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1682
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
932
1683
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
933
1684
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
934
1685
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -937,7 +1688,7 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
937
1688
|
options: localVarRequestOptions
|
|
938
1689
|
};
|
|
939
1690
|
},
|
|
940
|
-
listv1alpha1PersonalAccessToken: async (page, size,
|
|
1691
|
+
listv1alpha1PersonalAccessToken: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
941
1692
|
const localVarPath = `/api/v1alpha1/personalaccesstokens`;
|
|
942
1693
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
943
1694
|
let baseOptions;
|
|
@@ -947,14 +1698,19 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
947
1698
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
948
1699
|
const localVarHeaderParameter = {};
|
|
949
1700
|
const localVarQueryParameter = {};
|
|
1701
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1702
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
950
1703
|
if (page !== void 0) {
|
|
951
1704
|
localVarQueryParameter["page"] = page;
|
|
952
1705
|
}
|
|
953
1706
|
if (size !== void 0) {
|
|
954
1707
|
localVarQueryParameter["size"] = size;
|
|
955
1708
|
}
|
|
956
|
-
if (
|
|
957
|
-
localVarQueryParameter["
|
|
1709
|
+
if (labelSelector) {
|
|
1710
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1711
|
+
}
|
|
1712
|
+
if (fieldSelector) {
|
|
1713
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
958
1714
|
}
|
|
959
1715
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
960
1716
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -975,6 +1731,8 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
975
1731
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
976
1732
|
const localVarHeaderParameter = {};
|
|
977
1733
|
const localVarQueryParameter = {};
|
|
1734
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1735
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
978
1736
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
979
1737
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
980
1738
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1002,8 +1760,8 @@ const V1alpha1PersonalAccessTokenApiFp = function(configuration) {
|
|
|
1002
1760
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1PersonalAccessToken(name, options);
|
|
1003
1761
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1004
1762
|
},
|
|
1005
|
-
async listv1alpha1PersonalAccessToken(page, size,
|
|
1006
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1PersonalAccessToken(page, size,
|
|
1763
|
+
async listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options) {
|
|
1764
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options);
|
|
1007
1765
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1008
1766
|
},
|
|
1009
1767
|
async updatev1alpha1PersonalAccessToken(name, personalAccessToken, options) {
|
|
@@ -1024,8 +1782,8 @@ const V1alpha1PersonalAccessTokenApiFactory = function(configuration, basePath,
|
|
|
1024
1782
|
getv1alpha1PersonalAccessToken(name, options) {
|
|
1025
1783
|
return localVarFp.getv1alpha1PersonalAccessToken(name, options).then((request) => request(axios, basePath));
|
|
1026
1784
|
},
|
|
1027
|
-
listv1alpha1PersonalAccessToken(page, size,
|
|
1028
|
-
return localVarFp.listv1alpha1PersonalAccessToken(page, size,
|
|
1785
|
+
listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options) {
|
|
1786
|
+
return localVarFp.listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1029
1787
|
},
|
|
1030
1788
|
updatev1alpha1PersonalAccessToken(name, personalAccessToken, options) {
|
|
1031
1789
|
return localVarFp.updatev1alpha1PersonalAccessToken(name, personalAccessToken, options).then((request) => request(axios, basePath));
|
|
@@ -1042,8 +1800,8 @@ class V1alpha1PersonalAccessTokenApi extends BaseAPI {
|
|
|
1042
1800
|
getv1alpha1PersonalAccessToken(name, options) {
|
|
1043
1801
|
return V1alpha1PersonalAccessTokenApiFp(this.configuration).getv1alpha1PersonalAccessToken(name, options).then((request) => request(this.axios, this.basePath));
|
|
1044
1802
|
}
|
|
1045
|
-
listv1alpha1PersonalAccessToken(page, size,
|
|
1046
|
-
return V1alpha1PersonalAccessTokenApiFp(this.configuration).listv1alpha1PersonalAccessToken(page, size,
|
|
1803
|
+
listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options) {
|
|
1804
|
+
return V1alpha1PersonalAccessTokenApiFp(this.configuration).listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1047
1805
|
}
|
|
1048
1806
|
updatev1alpha1PersonalAccessToken(name, personalAccessToken, options) {
|
|
1049
1807
|
return V1alpha1PersonalAccessTokenApiFp(this.configuration).updatev1alpha1PersonalAccessToken(name, personalAccessToken, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1061,6 +1819,8 @@ const V1alpha1RoleApiAxiosParamCreator = function(configuration) {
|
|
|
1061
1819
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1062
1820
|
const localVarHeaderParameter = {};
|
|
1063
1821
|
const localVarQueryParameter = {};
|
|
1822
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1823
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1064
1824
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1065
1825
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1066
1826
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1082,6 +1842,8 @@ const V1alpha1RoleApiAxiosParamCreator = function(configuration) {
|
|
|
1082
1842
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1083
1843
|
const localVarHeaderParameter = {};
|
|
1084
1844
|
const localVarQueryParameter = {};
|
|
1845
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1846
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1085
1847
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1086
1848
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1087
1849
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1101,6 +1863,8 @@ const V1alpha1RoleApiAxiosParamCreator = function(configuration) {
|
|
|
1101
1863
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1102
1864
|
const localVarHeaderParameter = {};
|
|
1103
1865
|
const localVarQueryParameter = {};
|
|
1866
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1867
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1104
1868
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1105
1869
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1106
1870
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1109,7 +1873,7 @@ const V1alpha1RoleApiAxiosParamCreator = function(configuration) {
|
|
|
1109
1873
|
options: localVarRequestOptions
|
|
1110
1874
|
};
|
|
1111
1875
|
},
|
|
1112
|
-
listv1alpha1Role: async (page, size,
|
|
1876
|
+
listv1alpha1Role: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1113
1877
|
const localVarPath = `/api/v1alpha1/roles`;
|
|
1114
1878
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1115
1879
|
let baseOptions;
|
|
@@ -1119,14 +1883,19 @@ const V1alpha1RoleApiAxiosParamCreator = function(configuration) {
|
|
|
1119
1883
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1120
1884
|
const localVarHeaderParameter = {};
|
|
1121
1885
|
const localVarQueryParameter = {};
|
|
1886
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1887
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1122
1888
|
if (page !== void 0) {
|
|
1123
1889
|
localVarQueryParameter["page"] = page;
|
|
1124
1890
|
}
|
|
1125
1891
|
if (size !== void 0) {
|
|
1126
1892
|
localVarQueryParameter["size"] = size;
|
|
1127
1893
|
}
|
|
1128
|
-
if (
|
|
1129
|
-
localVarQueryParameter["
|
|
1894
|
+
if (labelSelector) {
|
|
1895
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1896
|
+
}
|
|
1897
|
+
if (fieldSelector) {
|
|
1898
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1130
1899
|
}
|
|
1131
1900
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1132
1901
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1147,6 +1916,8 @@ const V1alpha1RoleApiAxiosParamCreator = function(configuration) {
|
|
|
1147
1916
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1148
1917
|
const localVarHeaderParameter = {};
|
|
1149
1918
|
const localVarQueryParameter = {};
|
|
1919
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1920
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1150
1921
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1151
1922
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1152
1923
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1174,8 +1945,8 @@ const V1alpha1RoleApiFp = function(configuration) {
|
|
|
1174
1945
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1Role(name, options);
|
|
1175
1946
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1176
1947
|
},
|
|
1177
|
-
async listv1alpha1Role(page, size,
|
|
1178
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Role(page, size,
|
|
1948
|
+
async listv1alpha1Role(page, size, labelSelector, fieldSelector, options) {
|
|
1949
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Role(page, size, labelSelector, fieldSelector, options);
|
|
1179
1950
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1180
1951
|
},
|
|
1181
1952
|
async updatev1alpha1Role(name, role, options) {
|
|
@@ -1196,8 +1967,8 @@ const V1alpha1RoleApiFactory = function(configuration, basePath, axios) {
|
|
|
1196
1967
|
getv1alpha1Role(name, options) {
|
|
1197
1968
|
return localVarFp.getv1alpha1Role(name, options).then((request) => request(axios, basePath));
|
|
1198
1969
|
},
|
|
1199
|
-
listv1alpha1Role(page, size,
|
|
1200
|
-
return localVarFp.listv1alpha1Role(page, size,
|
|
1970
|
+
listv1alpha1Role(page, size, labelSelector, fieldSelector, options) {
|
|
1971
|
+
return localVarFp.listv1alpha1Role(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1201
1972
|
},
|
|
1202
1973
|
updatev1alpha1Role(name, role, options) {
|
|
1203
1974
|
return localVarFp.updatev1alpha1Role(name, role, options).then((request) => request(axios, basePath));
|
|
@@ -1214,8 +1985,8 @@ class V1alpha1RoleApi extends BaseAPI {
|
|
|
1214
1985
|
getv1alpha1Role(name, options) {
|
|
1215
1986
|
return V1alpha1RoleApiFp(this.configuration).getv1alpha1Role(name, options).then((request) => request(this.axios, this.basePath));
|
|
1216
1987
|
}
|
|
1217
|
-
listv1alpha1Role(page, size,
|
|
1218
|
-
return V1alpha1RoleApiFp(this.configuration).listv1alpha1Role(page, size,
|
|
1988
|
+
listv1alpha1Role(page, size, labelSelector, fieldSelector, options) {
|
|
1989
|
+
return V1alpha1RoleApiFp(this.configuration).listv1alpha1Role(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1219
1990
|
}
|
|
1220
1991
|
updatev1alpha1Role(name, role, options) {
|
|
1221
1992
|
return V1alpha1RoleApiFp(this.configuration).updatev1alpha1Role(name, role, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1233,6 +2004,8 @@ const V1alpha1RoleBindingApiAxiosParamCreator = function(configuration) {
|
|
|
1233
2004
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1234
2005
|
const localVarHeaderParameter = {};
|
|
1235
2006
|
const localVarQueryParameter = {};
|
|
2007
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2008
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1236
2009
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1237
2010
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1238
2011
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1254,6 +2027,8 @@ const V1alpha1RoleBindingApiAxiosParamCreator = function(configuration) {
|
|
|
1254
2027
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1255
2028
|
const localVarHeaderParameter = {};
|
|
1256
2029
|
const localVarQueryParameter = {};
|
|
2030
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2031
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1257
2032
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1258
2033
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1259
2034
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1273,6 +2048,8 @@ const V1alpha1RoleBindingApiAxiosParamCreator = function(configuration) {
|
|
|
1273
2048
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1274
2049
|
const localVarHeaderParameter = {};
|
|
1275
2050
|
const localVarQueryParameter = {};
|
|
2051
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2052
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1276
2053
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1277
2054
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1278
2055
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1281,7 +2058,7 @@ const V1alpha1RoleBindingApiAxiosParamCreator = function(configuration) {
|
|
|
1281
2058
|
options: localVarRequestOptions
|
|
1282
2059
|
};
|
|
1283
2060
|
},
|
|
1284
|
-
listv1alpha1RoleBinding: async (page, size,
|
|
2061
|
+
listv1alpha1RoleBinding: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1285
2062
|
const localVarPath = `/api/v1alpha1/rolebindings`;
|
|
1286
2063
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1287
2064
|
let baseOptions;
|
|
@@ -1291,14 +2068,19 @@ const V1alpha1RoleBindingApiAxiosParamCreator = function(configuration) {
|
|
|
1291
2068
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1292
2069
|
const localVarHeaderParameter = {};
|
|
1293
2070
|
const localVarQueryParameter = {};
|
|
2071
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2072
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1294
2073
|
if (page !== void 0) {
|
|
1295
2074
|
localVarQueryParameter["page"] = page;
|
|
1296
2075
|
}
|
|
1297
2076
|
if (size !== void 0) {
|
|
1298
2077
|
localVarQueryParameter["size"] = size;
|
|
1299
2078
|
}
|
|
1300
|
-
if (
|
|
1301
|
-
localVarQueryParameter["
|
|
2079
|
+
if (labelSelector) {
|
|
2080
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2081
|
+
}
|
|
2082
|
+
if (fieldSelector) {
|
|
2083
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1302
2084
|
}
|
|
1303
2085
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1304
2086
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1319,6 +2101,8 @@ const V1alpha1RoleBindingApiAxiosParamCreator = function(configuration) {
|
|
|
1319
2101
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1320
2102
|
const localVarHeaderParameter = {};
|
|
1321
2103
|
const localVarQueryParameter = {};
|
|
2104
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2105
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1322
2106
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1323
2107
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1324
2108
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1346,8 +2130,8 @@ const V1alpha1RoleBindingApiFp = function(configuration) {
|
|
|
1346
2130
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1RoleBinding(name, options);
|
|
1347
2131
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1348
2132
|
},
|
|
1349
|
-
async listv1alpha1RoleBinding(page, size,
|
|
1350
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1RoleBinding(page, size,
|
|
2133
|
+
async listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options) {
|
|
2134
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options);
|
|
1351
2135
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1352
2136
|
},
|
|
1353
2137
|
async updatev1alpha1RoleBinding(name, roleBinding, options) {
|
|
@@ -1368,8 +2152,8 @@ const V1alpha1RoleBindingApiFactory = function(configuration, basePath, axios) {
|
|
|
1368
2152
|
getv1alpha1RoleBinding(name, options) {
|
|
1369
2153
|
return localVarFp.getv1alpha1RoleBinding(name, options).then((request) => request(axios, basePath));
|
|
1370
2154
|
},
|
|
1371
|
-
listv1alpha1RoleBinding(page, size,
|
|
1372
|
-
return localVarFp.listv1alpha1RoleBinding(page, size,
|
|
2155
|
+
listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options) {
|
|
2156
|
+
return localVarFp.listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1373
2157
|
},
|
|
1374
2158
|
updatev1alpha1RoleBinding(name, roleBinding, options) {
|
|
1375
2159
|
return localVarFp.updatev1alpha1RoleBinding(name, roleBinding, options).then((request) => request(axios, basePath));
|
|
@@ -1386,8 +2170,8 @@ class V1alpha1RoleBindingApi extends BaseAPI {
|
|
|
1386
2170
|
getv1alpha1RoleBinding(name, options) {
|
|
1387
2171
|
return V1alpha1RoleBindingApiFp(this.configuration).getv1alpha1RoleBinding(name, options).then((request) => request(this.axios, this.basePath));
|
|
1388
2172
|
}
|
|
1389
|
-
listv1alpha1RoleBinding(page, size,
|
|
1390
|
-
return V1alpha1RoleBindingApiFp(this.configuration).listv1alpha1RoleBinding(page, size,
|
|
2173
|
+
listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options) {
|
|
2174
|
+
return V1alpha1RoleBindingApiFp(this.configuration).listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1391
2175
|
}
|
|
1392
2176
|
updatev1alpha1RoleBinding(name, roleBinding, options) {
|
|
1393
2177
|
return V1alpha1RoleBindingApiFp(this.configuration).updatev1alpha1RoleBinding(name, roleBinding, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1405,6 +2189,8 @@ const V1alpha1SettingApiAxiosParamCreator = function(configuration) {
|
|
|
1405
2189
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1406
2190
|
const localVarHeaderParameter = {};
|
|
1407
2191
|
const localVarQueryParameter = {};
|
|
2192
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2193
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1408
2194
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1409
2195
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1410
2196
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1426,6 +2212,8 @@ const V1alpha1SettingApiAxiosParamCreator = function(configuration) {
|
|
|
1426
2212
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1427
2213
|
const localVarHeaderParameter = {};
|
|
1428
2214
|
const localVarQueryParameter = {};
|
|
2215
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2216
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1429
2217
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1430
2218
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1431
2219
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1445,6 +2233,8 @@ const V1alpha1SettingApiAxiosParamCreator = function(configuration) {
|
|
|
1445
2233
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1446
2234
|
const localVarHeaderParameter = {};
|
|
1447
2235
|
const localVarQueryParameter = {};
|
|
2236
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2237
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1448
2238
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1449
2239
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1450
2240
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1453,7 +2243,7 @@ const V1alpha1SettingApiAxiosParamCreator = function(configuration) {
|
|
|
1453
2243
|
options: localVarRequestOptions
|
|
1454
2244
|
};
|
|
1455
2245
|
},
|
|
1456
|
-
listv1alpha1Setting: async (page, size,
|
|
2246
|
+
listv1alpha1Setting: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1457
2247
|
const localVarPath = `/api/v1alpha1/settings`;
|
|
1458
2248
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1459
2249
|
let baseOptions;
|
|
@@ -1463,14 +2253,19 @@ const V1alpha1SettingApiAxiosParamCreator = function(configuration) {
|
|
|
1463
2253
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1464
2254
|
const localVarHeaderParameter = {};
|
|
1465
2255
|
const localVarQueryParameter = {};
|
|
2256
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2257
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1466
2258
|
if (page !== void 0) {
|
|
1467
2259
|
localVarQueryParameter["page"] = page;
|
|
1468
2260
|
}
|
|
1469
2261
|
if (size !== void 0) {
|
|
1470
2262
|
localVarQueryParameter["size"] = size;
|
|
1471
2263
|
}
|
|
1472
|
-
if (
|
|
1473
|
-
localVarQueryParameter["
|
|
2264
|
+
if (labelSelector) {
|
|
2265
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2266
|
+
}
|
|
2267
|
+
if (fieldSelector) {
|
|
2268
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1474
2269
|
}
|
|
1475
2270
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1476
2271
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1491,6 +2286,8 @@ const V1alpha1SettingApiAxiosParamCreator = function(configuration) {
|
|
|
1491
2286
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1492
2287
|
const localVarHeaderParameter = {};
|
|
1493
2288
|
const localVarQueryParameter = {};
|
|
2289
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2290
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1494
2291
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1495
2292
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1496
2293
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1518,8 +2315,8 @@ const V1alpha1SettingApiFp = function(configuration) {
|
|
|
1518
2315
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1Setting(name, options);
|
|
1519
2316
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1520
2317
|
},
|
|
1521
|
-
async listv1alpha1Setting(page, size,
|
|
1522
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Setting(page, size,
|
|
2318
|
+
async listv1alpha1Setting(page, size, labelSelector, fieldSelector, options) {
|
|
2319
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Setting(page, size, labelSelector, fieldSelector, options);
|
|
1523
2320
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1524
2321
|
},
|
|
1525
2322
|
async updatev1alpha1Setting(name, setting, options) {
|
|
@@ -1540,8 +2337,8 @@ const V1alpha1SettingApiFactory = function(configuration, basePath, axios) {
|
|
|
1540
2337
|
getv1alpha1Setting(name, options) {
|
|
1541
2338
|
return localVarFp.getv1alpha1Setting(name, options).then((request) => request(axios, basePath));
|
|
1542
2339
|
},
|
|
1543
|
-
listv1alpha1Setting(page, size,
|
|
1544
|
-
return localVarFp.listv1alpha1Setting(page, size,
|
|
2340
|
+
listv1alpha1Setting(page, size, labelSelector, fieldSelector, options) {
|
|
2341
|
+
return localVarFp.listv1alpha1Setting(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1545
2342
|
},
|
|
1546
2343
|
updatev1alpha1Setting(name, setting, options) {
|
|
1547
2344
|
return localVarFp.updatev1alpha1Setting(name, setting, options).then((request) => request(axios, basePath));
|
|
@@ -1558,8 +2355,8 @@ class V1alpha1SettingApi extends BaseAPI {
|
|
|
1558
2355
|
getv1alpha1Setting(name, options) {
|
|
1559
2356
|
return V1alpha1SettingApiFp(this.configuration).getv1alpha1Setting(name, options).then((request) => request(this.axios, this.basePath));
|
|
1560
2357
|
}
|
|
1561
|
-
listv1alpha1Setting(page, size,
|
|
1562
|
-
return V1alpha1SettingApiFp(this.configuration).listv1alpha1Setting(page, size,
|
|
2358
|
+
listv1alpha1Setting(page, size, labelSelector, fieldSelector, options) {
|
|
2359
|
+
return V1alpha1SettingApiFp(this.configuration).listv1alpha1Setting(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1563
2360
|
}
|
|
1564
2361
|
updatev1alpha1Setting(name, setting, options) {
|
|
1565
2362
|
return V1alpha1SettingApiFp(this.configuration).updatev1alpha1Setting(name, setting, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1577,6 +2374,8 @@ const V1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
1577
2374
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1578
2375
|
const localVarHeaderParameter = {};
|
|
1579
2376
|
const localVarQueryParameter = {};
|
|
2377
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2378
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1580
2379
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1581
2380
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1582
2381
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1598,6 +2397,8 @@ const V1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
1598
2397
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1599
2398
|
const localVarHeaderParameter = {};
|
|
1600
2399
|
const localVarQueryParameter = {};
|
|
2400
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2401
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1601
2402
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1602
2403
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1603
2404
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1617,6 +2418,8 @@ const V1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
1617
2418
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1618
2419
|
const localVarHeaderParameter = {};
|
|
1619
2420
|
const localVarQueryParameter = {};
|
|
2421
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2422
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1620
2423
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1621
2424
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1622
2425
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1625,7 +2428,7 @@ const V1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
1625
2428
|
options: localVarRequestOptions
|
|
1626
2429
|
};
|
|
1627
2430
|
},
|
|
1628
|
-
listv1alpha1User: async (page, size,
|
|
2431
|
+
listv1alpha1User: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1629
2432
|
const localVarPath = `/api/v1alpha1/users`;
|
|
1630
2433
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1631
2434
|
let baseOptions;
|
|
@@ -1635,14 +2438,19 @@ const V1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
1635
2438
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1636
2439
|
const localVarHeaderParameter = {};
|
|
1637
2440
|
const localVarQueryParameter = {};
|
|
2441
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2442
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1638
2443
|
if (page !== void 0) {
|
|
1639
2444
|
localVarQueryParameter["page"] = page;
|
|
1640
2445
|
}
|
|
1641
2446
|
if (size !== void 0) {
|
|
1642
2447
|
localVarQueryParameter["size"] = size;
|
|
1643
2448
|
}
|
|
1644
|
-
if (
|
|
1645
|
-
localVarQueryParameter["
|
|
2449
|
+
if (labelSelector) {
|
|
2450
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2451
|
+
}
|
|
2452
|
+
if (fieldSelector) {
|
|
2453
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1646
2454
|
}
|
|
1647
2455
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1648
2456
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1663,6 +2471,8 @@ const V1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
1663
2471
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1664
2472
|
const localVarHeaderParameter = {};
|
|
1665
2473
|
const localVarQueryParameter = {};
|
|
2474
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2475
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1666
2476
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1667
2477
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1668
2478
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1690,8 +2500,8 @@ const V1alpha1UserApiFp = function(configuration) {
|
|
|
1690
2500
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1User(name, options);
|
|
1691
2501
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1692
2502
|
},
|
|
1693
|
-
async listv1alpha1User(page, size,
|
|
1694
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1User(page, size,
|
|
2503
|
+
async listv1alpha1User(page, size, labelSelector, fieldSelector, options) {
|
|
2504
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1User(page, size, labelSelector, fieldSelector, options);
|
|
1695
2505
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1696
2506
|
},
|
|
1697
2507
|
async updatev1alpha1User(name, user, options) {
|
|
@@ -1712,8 +2522,8 @@ const V1alpha1UserApiFactory = function(configuration, basePath, axios) {
|
|
|
1712
2522
|
getv1alpha1User(name, options) {
|
|
1713
2523
|
return localVarFp.getv1alpha1User(name, options).then((request) => request(axios, basePath));
|
|
1714
2524
|
},
|
|
1715
|
-
listv1alpha1User(page, size,
|
|
1716
|
-
return localVarFp.listv1alpha1User(page, size,
|
|
2525
|
+
listv1alpha1User(page, size, labelSelector, fieldSelector, options) {
|
|
2526
|
+
return localVarFp.listv1alpha1User(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1717
2527
|
},
|
|
1718
2528
|
updatev1alpha1User(name, user, options) {
|
|
1719
2529
|
return localVarFp.updatev1alpha1User(name, user, options).then((request) => request(axios, basePath));
|
|
@@ -1730,8 +2540,8 @@ class V1alpha1UserApi extends BaseAPI {
|
|
|
1730
2540
|
getv1alpha1User(name, options) {
|
|
1731
2541
|
return V1alpha1UserApiFp(this.configuration).getv1alpha1User(name, options).then((request) => request(this.axios, this.basePath));
|
|
1732
2542
|
}
|
|
1733
|
-
listv1alpha1User(page, size,
|
|
1734
|
-
return V1alpha1UserApiFp(this.configuration).listv1alpha1User(page, size,
|
|
2543
|
+
listv1alpha1User(page, size, labelSelector, fieldSelector, options) {
|
|
2544
|
+
return V1alpha1UserApiFp(this.configuration).listv1alpha1User(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1735
2545
|
}
|
|
1736
2546
|
updatev1alpha1User(name, user, options) {
|
|
1737
2547
|
return V1alpha1UserApiFp(this.configuration).updatev1alpha1User(name, user, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1754,10 +2564,6 @@ class Configuration {
|
|
|
1754
2564
|
}
|
|
1755
2565
|
}
|
|
1756
2566
|
|
|
1757
|
-
exports.ActuatorApi = ActuatorApi;
|
|
1758
|
-
exports.ActuatorApiAxiosParamCreator = ActuatorApiAxiosParamCreator;
|
|
1759
|
-
exports.ActuatorApiFactory = ActuatorApiFactory;
|
|
1760
|
-
exports.ActuatorApiFp = ActuatorApiFp;
|
|
1761
2567
|
exports.ApiHaloRunV1alpha1PluginApi = ApiHaloRunV1alpha1PluginApi;
|
|
1762
2568
|
exports.ApiHaloRunV1alpha1PluginApiAxiosParamCreator = ApiHaloRunV1alpha1PluginApiAxiosParamCreator;
|
|
1763
2569
|
exports.ApiHaloRunV1alpha1PluginApiFactory = ApiHaloRunV1alpha1PluginApiFactory;
|
|
@@ -1766,7 +2572,19 @@ exports.ApiHaloRunV1alpha1UserApi = ApiHaloRunV1alpha1UserApi;
|
|
|
1766
2572
|
exports.ApiHaloRunV1alpha1UserApiAxiosParamCreator = ApiHaloRunV1alpha1UserApiAxiosParamCreator;
|
|
1767
2573
|
exports.ApiHaloRunV1alpha1UserApiFactory = ApiHaloRunV1alpha1UserApiFactory;
|
|
1768
2574
|
exports.ApiHaloRunV1alpha1UserApiFp = ApiHaloRunV1alpha1UserApiFp;
|
|
2575
|
+
exports.ApplesControllerApi = ApplesControllerApi;
|
|
2576
|
+
exports.ApplesControllerApiAxiosParamCreator = ApplesControllerApiAxiosParamCreator;
|
|
2577
|
+
exports.ApplesControllerApiFactory = ApplesControllerApiFactory;
|
|
2578
|
+
exports.ApplesControllerApiFp = ApplesControllerApiFp;
|
|
1769
2579
|
exports.Configuration = Configuration;
|
|
2580
|
+
exports.CoreHaloRunV1alpha1LinkApi = CoreHaloRunV1alpha1LinkApi;
|
|
2581
|
+
exports.CoreHaloRunV1alpha1LinkApiAxiosParamCreator = CoreHaloRunV1alpha1LinkApiAxiosParamCreator;
|
|
2582
|
+
exports.CoreHaloRunV1alpha1LinkApiFactory = CoreHaloRunV1alpha1LinkApiFactory;
|
|
2583
|
+
exports.CoreHaloRunV1alpha1LinkApiFp = CoreHaloRunV1alpha1LinkApiFp;
|
|
2584
|
+
exports.CoreHaloRunV1alpha1LinkGroupApi = CoreHaloRunV1alpha1LinkGroupApi;
|
|
2585
|
+
exports.CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator;
|
|
2586
|
+
exports.CoreHaloRunV1alpha1LinkGroupApiFactory = CoreHaloRunV1alpha1LinkGroupApiFactory;
|
|
2587
|
+
exports.CoreHaloRunV1alpha1LinkGroupApiFp = CoreHaloRunV1alpha1LinkGroupApiFp;
|
|
1770
2588
|
exports.PluginHaloRunV1alpha1PluginApi = PluginHaloRunV1alpha1PluginApi;
|
|
1771
2589
|
exports.PluginHaloRunV1alpha1PluginApiAxiosParamCreator = PluginHaloRunV1alpha1PluginApiAxiosParamCreator;
|
|
1772
2590
|
exports.PluginHaloRunV1alpha1PluginApiFactory = PluginHaloRunV1alpha1PluginApiFactory;
|
|
@@ -1776,6 +2594,14 @@ exports.PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = PluginHaloRunV1a
|
|
|
1776
2594
|
exports.PluginHaloRunV1alpha1ReverseProxyApiFactory = PluginHaloRunV1alpha1ReverseProxyApiFactory;
|
|
1777
2595
|
exports.PluginHaloRunV1alpha1ReverseProxyApiFp = PluginHaloRunV1alpha1ReverseProxyApiFp;
|
|
1778
2596
|
exports.PluginStatusPhaseEnum = PluginStatusPhaseEnum;
|
|
2597
|
+
exports.RunHaloTemplateV1alpha1AppleApi = RunHaloTemplateV1alpha1AppleApi;
|
|
2598
|
+
exports.RunHaloTemplateV1alpha1AppleApiAxiosParamCreator = RunHaloTemplateV1alpha1AppleApiAxiosParamCreator;
|
|
2599
|
+
exports.RunHaloTemplateV1alpha1AppleApiFactory = RunHaloTemplateV1alpha1AppleApiFactory;
|
|
2600
|
+
exports.RunHaloTemplateV1alpha1AppleApiFp = RunHaloTemplateV1alpha1AppleApiFp;
|
|
2601
|
+
exports.ThemeHaloRunV1alpha1ThemeApi = ThemeHaloRunV1alpha1ThemeApi;
|
|
2602
|
+
exports.ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator;
|
|
2603
|
+
exports.ThemeHaloRunV1alpha1ThemeApiFactory = ThemeHaloRunV1alpha1ThemeApiFactory;
|
|
2604
|
+
exports.ThemeHaloRunV1alpha1ThemeApiFp = ThemeHaloRunV1alpha1ThemeApiFp;
|
|
1779
2605
|
exports.V1alpha1ConfigMapApi = V1alpha1ConfigMapApi;
|
|
1780
2606
|
exports.V1alpha1ConfigMapApiAxiosParamCreator = V1alpha1ConfigMapApiAxiosParamCreator;
|
|
1781
2607
|
exports.V1alpha1ConfigMapApiFactory = V1alpha1ConfigMapApiFactory;
|