@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.mjs
CHANGED
|
@@ -25,6 +25,17 @@ const assertParamExists = function(functionName, paramName, paramValue) {
|
|
|
25
25
|
throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
|
+
const setBasicAuthToObject = function(object, configuration) {
|
|
29
|
+
if (configuration && (configuration.username || configuration.password)) {
|
|
30
|
+
object["auth"] = { username: configuration.username, password: configuration.password };
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
const setBearerAuthToObject = async function(object, configuration) {
|
|
34
|
+
if (configuration && configuration.accessToken) {
|
|
35
|
+
const accessToken = typeof configuration.accessToken === "function" ? await configuration.accessToken() : await configuration.accessToken;
|
|
36
|
+
object["Authorization"] = "Bearer " + accessToken;
|
|
37
|
+
}
|
|
38
|
+
};
|
|
28
39
|
const setSearchParams = function(url, ...objects) {
|
|
29
40
|
const searchParams = new URLSearchParams(url.search);
|
|
30
41
|
for (const object of objects) {
|
|
@@ -64,29 +75,87 @@ const PluginStatusPhaseEnum = {
|
|
|
64
75
|
Stopped: "STOPPED",
|
|
65
76
|
Failed: "FAILED"
|
|
66
77
|
};
|
|
67
|
-
const
|
|
78
|
+
const ApiHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
68
79
|
return {
|
|
69
|
-
|
|
70
|
-
|
|
80
|
+
installPlugin: async (file, options = {}) => {
|
|
81
|
+
assertParamExists("installPlugin", "file", file);
|
|
82
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/plugins/install`;
|
|
71
83
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
72
84
|
let baseOptions;
|
|
73
85
|
if (configuration) {
|
|
74
86
|
baseOptions = configuration.baseOptions;
|
|
75
87
|
}
|
|
76
|
-
const localVarRequestOptions = { method: "
|
|
88
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
89
|
+
const localVarHeaderParameter = {};
|
|
90
|
+
const localVarQueryParameter = {};
|
|
91
|
+
const localVarFormParams = new (configuration && configuration.formDataCtor || FormData)();
|
|
92
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
93
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
94
|
+
if (file !== void 0) {
|
|
95
|
+
localVarFormParams.append("file", file);
|
|
96
|
+
}
|
|
97
|
+
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
98
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
99
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
100
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
101
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
102
|
+
return {
|
|
103
|
+
url: toPathString(localVarUrlObj),
|
|
104
|
+
options: localVarRequestOptions
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
const ApiHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
110
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1PluginApiAxiosParamCreator(configuration);
|
|
111
|
+
return {
|
|
112
|
+
async installPlugin(file, options) {
|
|
113
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
114
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
const ApiHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
|
|
119
|
+
const localVarFp = ApiHaloRunV1alpha1PluginApiFp(configuration);
|
|
120
|
+
return {
|
|
121
|
+
installPlugin(file, options) {
|
|
122
|
+
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
class ApiHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
127
|
+
installPlugin(file, options) {
|
|
128
|
+
return ApiHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(file, options).then((request) => request(this.axios, this.basePath));
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
132
|
+
return {
|
|
133
|
+
changePassword: async (name, changePasswordRequest, options = {}) => {
|
|
134
|
+
assertParamExists("changePassword", "name", name);
|
|
135
|
+
assertParamExists("changePassword", "changePasswordRequest", changePasswordRequest);
|
|
136
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/users/{name}/password`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
137
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
138
|
+
let baseOptions;
|
|
139
|
+
if (configuration) {
|
|
140
|
+
baseOptions = configuration.baseOptions;
|
|
141
|
+
}
|
|
142
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
77
143
|
const localVarHeaderParameter = {};
|
|
78
144
|
const localVarQueryParameter = {};
|
|
145
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
146
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
147
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
79
148
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
80
149
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
81
150
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
151
|
+
localVarRequestOptions.data = serializeDataIfNeeded(changePasswordRequest, localVarRequestOptions, configuration);
|
|
82
152
|
return {
|
|
83
153
|
url: toPathString(localVarUrlObj),
|
|
84
154
|
options: localVarRequestOptions
|
|
85
155
|
};
|
|
86
156
|
},
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
const localVarPath = `/actuator/health/{*path}`.replace(`{${"*path"}}`, encodeURIComponent(String(path)));
|
|
157
|
+
getCurrentUserDetail: async (options = {}) => {
|
|
158
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/users/-`;
|
|
90
159
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
91
160
|
let baseOptions;
|
|
92
161
|
if (configuration) {
|
|
@@ -95,6 +164,8 @@ const ActuatorApiAxiosParamCreator = function(configuration) {
|
|
|
95
164
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
96
165
|
const localVarHeaderParameter = {};
|
|
97
166
|
const localVarQueryParameter = {};
|
|
167
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
168
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
98
169
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
99
170
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
100
171
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -103,8 +174,9 @@ const ActuatorApiAxiosParamCreator = function(configuration) {
|
|
|
103
174
|
options: localVarRequestOptions
|
|
104
175
|
};
|
|
105
176
|
},
|
|
106
|
-
|
|
107
|
-
|
|
177
|
+
getPermissions: async (name, options = {}) => {
|
|
178
|
+
assertParamExists("getPermissions", "name", name);
|
|
179
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/users/{name}/permissions`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
108
180
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
109
181
|
let baseOptions;
|
|
110
182
|
if (configuration) {
|
|
@@ -113,9 +185,35 @@ const ActuatorApiAxiosParamCreator = function(configuration) {
|
|
|
113
185
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
114
186
|
const localVarHeaderParameter = {};
|
|
115
187
|
const localVarQueryParameter = {};
|
|
188
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
189
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
190
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
191
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
192
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
193
|
+
return {
|
|
194
|
+
url: toPathString(localVarUrlObj),
|
|
195
|
+
options: localVarRequestOptions
|
|
196
|
+
};
|
|
197
|
+
},
|
|
198
|
+
grantPermission: async (name, grantRequest, options = {}) => {
|
|
199
|
+
assertParamExists("grantPermission", "name", name);
|
|
200
|
+
assertParamExists("grantPermission", "grantRequest", grantRequest);
|
|
201
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/users/{name}/permissions`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
202
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
203
|
+
let baseOptions;
|
|
204
|
+
if (configuration) {
|
|
205
|
+
baseOptions = configuration.baseOptions;
|
|
206
|
+
}
|
|
207
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
208
|
+
const localVarHeaderParameter = {};
|
|
209
|
+
const localVarQueryParameter = {};
|
|
210
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
211
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
212
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
116
213
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
117
214
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
118
215
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
216
|
+
localVarRequestOptions.data = serializeDataIfNeeded(grantRequest, localVarRequestOptions, configuration);
|
|
119
217
|
return {
|
|
120
218
|
url: toPathString(localVarUrlObj),
|
|
121
219
|
options: localVarRequestOptions
|
|
@@ -123,53 +221,663 @@ const ActuatorApiAxiosParamCreator = function(configuration) {
|
|
|
123
221
|
}
|
|
124
222
|
};
|
|
125
223
|
};
|
|
126
|
-
const
|
|
127
|
-
const localVarAxiosParamCreator =
|
|
224
|
+
const ApiHaloRunV1alpha1UserApiFp = function(configuration) {
|
|
225
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1UserApiAxiosParamCreator(configuration);
|
|
128
226
|
return {
|
|
129
|
-
async
|
|
130
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
227
|
+
async changePassword(name, changePasswordRequest, options) {
|
|
228
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.changePassword(name, changePasswordRequest, options);
|
|
229
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
230
|
+
},
|
|
231
|
+
async getCurrentUserDetail(options) {
|
|
232
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCurrentUserDetail(options);
|
|
233
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
234
|
+
},
|
|
235
|
+
async getPermissions(name, options) {
|
|
236
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPermissions(name, options);
|
|
131
237
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
132
238
|
},
|
|
133
|
-
async
|
|
134
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
239
|
+
async grantPermission(name, grantRequest, options) {
|
|
240
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.grantPermission(name, grantRequest, options);
|
|
135
241
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
242
|
+
}
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
const ApiHaloRunV1alpha1UserApiFactory = function(configuration, basePath, axios) {
|
|
246
|
+
const localVarFp = ApiHaloRunV1alpha1UserApiFp(configuration);
|
|
247
|
+
return {
|
|
248
|
+
changePassword(name, changePasswordRequest, options) {
|
|
249
|
+
return localVarFp.changePassword(name, changePasswordRequest, options).then((request) => request(axios, basePath));
|
|
250
|
+
},
|
|
251
|
+
getCurrentUserDetail(options) {
|
|
252
|
+
return localVarFp.getCurrentUserDetail(options).then((request) => request(axios, basePath));
|
|
136
253
|
},
|
|
137
|
-
|
|
138
|
-
|
|
254
|
+
getPermissions(name, options) {
|
|
255
|
+
return localVarFp.getPermissions(name, options).then((request) => request(axios, basePath));
|
|
256
|
+
},
|
|
257
|
+
grantPermission(name, grantRequest, options) {
|
|
258
|
+
return localVarFp.grantPermission(name, grantRequest, options).then((request) => request(axios, basePath));
|
|
259
|
+
}
|
|
260
|
+
};
|
|
261
|
+
};
|
|
262
|
+
class ApiHaloRunV1alpha1UserApi extends BaseAPI {
|
|
263
|
+
changePassword(name, changePasswordRequest, options) {
|
|
264
|
+
return ApiHaloRunV1alpha1UserApiFp(this.configuration).changePassword(name, changePasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
265
|
+
}
|
|
266
|
+
getCurrentUserDetail(options) {
|
|
267
|
+
return ApiHaloRunV1alpha1UserApiFp(this.configuration).getCurrentUserDetail(options).then((request) => request(this.axios, this.basePath));
|
|
268
|
+
}
|
|
269
|
+
getPermissions(name, options) {
|
|
270
|
+
return ApiHaloRunV1alpha1UserApiFp(this.configuration).getPermissions(name, options).then((request) => request(this.axios, this.basePath));
|
|
271
|
+
}
|
|
272
|
+
grantPermission(name, grantRequest, options) {
|
|
273
|
+
return ApiHaloRunV1alpha1UserApiFp(this.configuration).grantPermission(name, grantRequest, options).then((request) => request(this.axios, this.basePath));
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
const ApplesControllerApiAxiosParamCreator = function(configuration) {
|
|
277
|
+
return {
|
|
278
|
+
hello: async (options = {}) => {
|
|
279
|
+
const localVarPath = `/apis/plugin.api.halo.run/v1alpha1/plugins/PluginTemplate/apples`;
|
|
280
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
281
|
+
let baseOptions;
|
|
282
|
+
if (configuration) {
|
|
283
|
+
baseOptions = configuration.baseOptions;
|
|
284
|
+
}
|
|
285
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
286
|
+
const localVarHeaderParameter = {};
|
|
287
|
+
const localVarQueryParameter = {};
|
|
288
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
289
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
290
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
291
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
292
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
293
|
+
return {
|
|
294
|
+
url: toPathString(localVarUrlObj),
|
|
295
|
+
options: localVarRequestOptions
|
|
296
|
+
};
|
|
297
|
+
}
|
|
298
|
+
};
|
|
299
|
+
};
|
|
300
|
+
const ApplesControllerApiFp = function(configuration) {
|
|
301
|
+
const localVarAxiosParamCreator = ApplesControllerApiAxiosParamCreator(configuration);
|
|
302
|
+
return {
|
|
303
|
+
async hello(options) {
|
|
304
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.hello(options);
|
|
139
305
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
140
306
|
}
|
|
141
307
|
};
|
|
142
308
|
};
|
|
143
|
-
const
|
|
144
|
-
const localVarFp =
|
|
309
|
+
const ApplesControllerApiFactory = function(configuration, basePath, axios) {
|
|
310
|
+
const localVarFp = ApplesControllerApiFp(configuration);
|
|
311
|
+
return {
|
|
312
|
+
hello(options) {
|
|
313
|
+
return localVarFp.hello(options).then((request) => request(axios, basePath));
|
|
314
|
+
}
|
|
315
|
+
};
|
|
316
|
+
};
|
|
317
|
+
class ApplesControllerApi extends BaseAPI {
|
|
318
|
+
hello(options) {
|
|
319
|
+
return ApplesControllerApiFp(this.configuration).hello(options).then((request) => request(this.axios, this.basePath));
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
145
323
|
return {
|
|
146
|
-
|
|
147
|
-
|
|
324
|
+
createcoreHaloRunV1alpha1Link: async (link, options = {}) => {
|
|
325
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/links`;
|
|
326
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
327
|
+
let baseOptions;
|
|
328
|
+
if (configuration) {
|
|
329
|
+
baseOptions = configuration.baseOptions;
|
|
330
|
+
}
|
|
331
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
332
|
+
const localVarHeaderParameter = {};
|
|
333
|
+
const localVarQueryParameter = {};
|
|
334
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
335
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
336
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
337
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
338
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
339
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
340
|
+
localVarRequestOptions.data = serializeDataIfNeeded(link, localVarRequestOptions, configuration);
|
|
341
|
+
return {
|
|
342
|
+
url: toPathString(localVarUrlObj),
|
|
343
|
+
options: localVarRequestOptions
|
|
344
|
+
};
|
|
345
|
+
},
|
|
346
|
+
deletecoreHaloRunV1alpha1Link: async (name, options = {}) => {
|
|
347
|
+
assertParamExists("deletecoreHaloRunV1alpha1Link", "name", name);
|
|
348
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
349
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
350
|
+
let baseOptions;
|
|
351
|
+
if (configuration) {
|
|
352
|
+
baseOptions = configuration.baseOptions;
|
|
353
|
+
}
|
|
354
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
355
|
+
const localVarHeaderParameter = {};
|
|
356
|
+
const localVarQueryParameter = {};
|
|
357
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
358
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
359
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
360
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
361
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
362
|
+
return {
|
|
363
|
+
url: toPathString(localVarUrlObj),
|
|
364
|
+
options: localVarRequestOptions
|
|
365
|
+
};
|
|
366
|
+
},
|
|
367
|
+
getcoreHaloRunV1alpha1Link: async (name, options = {}) => {
|
|
368
|
+
assertParamExists("getcoreHaloRunV1alpha1Link", "name", name);
|
|
369
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
370
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
371
|
+
let baseOptions;
|
|
372
|
+
if (configuration) {
|
|
373
|
+
baseOptions = configuration.baseOptions;
|
|
374
|
+
}
|
|
375
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
376
|
+
const localVarHeaderParameter = {};
|
|
377
|
+
const localVarQueryParameter = {};
|
|
378
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
379
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
380
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
381
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
382
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
383
|
+
return {
|
|
384
|
+
url: toPathString(localVarUrlObj),
|
|
385
|
+
options: localVarRequestOptions
|
|
386
|
+
};
|
|
387
|
+
},
|
|
388
|
+
listcoreHaloRunV1alpha1Link: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
389
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/links`;
|
|
390
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
391
|
+
let baseOptions;
|
|
392
|
+
if (configuration) {
|
|
393
|
+
baseOptions = configuration.baseOptions;
|
|
394
|
+
}
|
|
395
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
396
|
+
const localVarHeaderParameter = {};
|
|
397
|
+
const localVarQueryParameter = {};
|
|
398
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
399
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
400
|
+
if (page !== void 0) {
|
|
401
|
+
localVarQueryParameter["page"] = page;
|
|
402
|
+
}
|
|
403
|
+
if (size !== void 0) {
|
|
404
|
+
localVarQueryParameter["size"] = size;
|
|
405
|
+
}
|
|
406
|
+
if (labelSelector) {
|
|
407
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
408
|
+
}
|
|
409
|
+
if (fieldSelector) {
|
|
410
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
411
|
+
}
|
|
412
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
413
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
414
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
415
|
+
return {
|
|
416
|
+
url: toPathString(localVarUrlObj),
|
|
417
|
+
options: localVarRequestOptions
|
|
418
|
+
};
|
|
419
|
+
},
|
|
420
|
+
updatecoreHaloRunV1alpha1Link: async (name, link, options = {}) => {
|
|
421
|
+
assertParamExists("updatecoreHaloRunV1alpha1Link", "name", name);
|
|
422
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
423
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
424
|
+
let baseOptions;
|
|
425
|
+
if (configuration) {
|
|
426
|
+
baseOptions = configuration.baseOptions;
|
|
427
|
+
}
|
|
428
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
429
|
+
const localVarHeaderParameter = {};
|
|
430
|
+
const localVarQueryParameter = {};
|
|
431
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
432
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
433
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
434
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
435
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
436
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
437
|
+
localVarRequestOptions.data = serializeDataIfNeeded(link, localVarRequestOptions, configuration);
|
|
438
|
+
return {
|
|
439
|
+
url: toPathString(localVarUrlObj),
|
|
440
|
+
options: localVarRequestOptions
|
|
441
|
+
};
|
|
442
|
+
}
|
|
443
|
+
};
|
|
444
|
+
};
|
|
445
|
+
const CoreHaloRunV1alpha1LinkApiFp = function(configuration) {
|
|
446
|
+
const localVarAxiosParamCreator = CoreHaloRunV1alpha1LinkApiAxiosParamCreator(configuration);
|
|
447
|
+
return {
|
|
448
|
+
async createcoreHaloRunV1alpha1Link(link, options) {
|
|
449
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcoreHaloRunV1alpha1Link(link, options);
|
|
450
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
451
|
+
},
|
|
452
|
+
async deletecoreHaloRunV1alpha1Link(name, options) {
|
|
453
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecoreHaloRunV1alpha1Link(name, options);
|
|
454
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
455
|
+
},
|
|
456
|
+
async getcoreHaloRunV1alpha1Link(name, options) {
|
|
457
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getcoreHaloRunV1alpha1Link(name, options);
|
|
458
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
459
|
+
},
|
|
460
|
+
async listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
|
|
461
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options);
|
|
462
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
463
|
+
},
|
|
464
|
+
async updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
465
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecoreHaloRunV1alpha1Link(name, link, options);
|
|
466
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
467
|
+
}
|
|
468
|
+
};
|
|
469
|
+
};
|
|
470
|
+
const CoreHaloRunV1alpha1LinkApiFactory = function(configuration, basePath, axios) {
|
|
471
|
+
const localVarFp = CoreHaloRunV1alpha1LinkApiFp(configuration);
|
|
472
|
+
return {
|
|
473
|
+
createcoreHaloRunV1alpha1Link(link, options) {
|
|
474
|
+
return localVarFp.createcoreHaloRunV1alpha1Link(link, options).then((request) => request(axios, basePath));
|
|
475
|
+
},
|
|
476
|
+
deletecoreHaloRunV1alpha1Link(name, options) {
|
|
477
|
+
return localVarFp.deletecoreHaloRunV1alpha1Link(name, options).then((request) => request(axios, basePath));
|
|
478
|
+
},
|
|
479
|
+
getcoreHaloRunV1alpha1Link(name, options) {
|
|
480
|
+
return localVarFp.getcoreHaloRunV1alpha1Link(name, options).then((request) => request(axios, basePath));
|
|
481
|
+
},
|
|
482
|
+
listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
|
|
483
|
+
return localVarFp.listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
484
|
+
},
|
|
485
|
+
updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
486
|
+
return localVarFp.updatecoreHaloRunV1alpha1Link(name, link, options).then((request) => request(axios, basePath));
|
|
487
|
+
}
|
|
488
|
+
};
|
|
489
|
+
};
|
|
490
|
+
class CoreHaloRunV1alpha1LinkApi extends BaseAPI {
|
|
491
|
+
createcoreHaloRunV1alpha1Link(link, options) {
|
|
492
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).createcoreHaloRunV1alpha1Link(link, options).then((request) => request(this.axios, this.basePath));
|
|
493
|
+
}
|
|
494
|
+
deletecoreHaloRunV1alpha1Link(name, options) {
|
|
495
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).deletecoreHaloRunV1alpha1Link(name, options).then((request) => request(this.axios, this.basePath));
|
|
496
|
+
}
|
|
497
|
+
getcoreHaloRunV1alpha1Link(name, options) {
|
|
498
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).getcoreHaloRunV1alpha1Link(name, options).then((request) => request(this.axios, this.basePath));
|
|
499
|
+
}
|
|
500
|
+
listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
|
|
501
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
502
|
+
}
|
|
503
|
+
updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
504
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).updatecoreHaloRunV1alpha1Link(name, link, options).then((request) => request(this.axios, this.basePath));
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration) {
|
|
508
|
+
return {
|
|
509
|
+
createcoreHaloRunV1alpha1LinkGroup: async (linkGroup, options = {}) => {
|
|
510
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups`;
|
|
511
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
512
|
+
let baseOptions;
|
|
513
|
+
if (configuration) {
|
|
514
|
+
baseOptions = configuration.baseOptions;
|
|
515
|
+
}
|
|
516
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
517
|
+
const localVarHeaderParameter = {};
|
|
518
|
+
const localVarQueryParameter = {};
|
|
519
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
520
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
521
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
522
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
523
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
524
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
525
|
+
localVarRequestOptions.data = serializeDataIfNeeded(linkGroup, localVarRequestOptions, configuration);
|
|
526
|
+
return {
|
|
527
|
+
url: toPathString(localVarUrlObj),
|
|
528
|
+
options: localVarRequestOptions
|
|
529
|
+
};
|
|
530
|
+
},
|
|
531
|
+
deletecoreHaloRunV1alpha1LinkGroup: async (name, options = {}) => {
|
|
532
|
+
assertParamExists("deletecoreHaloRunV1alpha1LinkGroup", "name", name);
|
|
533
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
534
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
535
|
+
let baseOptions;
|
|
536
|
+
if (configuration) {
|
|
537
|
+
baseOptions = configuration.baseOptions;
|
|
538
|
+
}
|
|
539
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
540
|
+
const localVarHeaderParameter = {};
|
|
541
|
+
const localVarQueryParameter = {};
|
|
542
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
543
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
544
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
545
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
546
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
547
|
+
return {
|
|
548
|
+
url: toPathString(localVarUrlObj),
|
|
549
|
+
options: localVarRequestOptions
|
|
550
|
+
};
|
|
551
|
+
},
|
|
552
|
+
getcoreHaloRunV1alpha1LinkGroup: async (name, options = {}) => {
|
|
553
|
+
assertParamExists("getcoreHaloRunV1alpha1LinkGroup", "name", name);
|
|
554
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
555
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
556
|
+
let baseOptions;
|
|
557
|
+
if (configuration) {
|
|
558
|
+
baseOptions = configuration.baseOptions;
|
|
559
|
+
}
|
|
560
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
561
|
+
const localVarHeaderParameter = {};
|
|
562
|
+
const localVarQueryParameter = {};
|
|
563
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
564
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
565
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
566
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
567
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
568
|
+
return {
|
|
569
|
+
url: toPathString(localVarUrlObj),
|
|
570
|
+
options: localVarRequestOptions
|
|
571
|
+
};
|
|
572
|
+
},
|
|
573
|
+
listcoreHaloRunV1alpha1LinkGroup: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
574
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups`;
|
|
575
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
576
|
+
let baseOptions;
|
|
577
|
+
if (configuration) {
|
|
578
|
+
baseOptions = configuration.baseOptions;
|
|
579
|
+
}
|
|
580
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
581
|
+
const localVarHeaderParameter = {};
|
|
582
|
+
const localVarQueryParameter = {};
|
|
583
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
584
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
585
|
+
if (page !== void 0) {
|
|
586
|
+
localVarQueryParameter["page"] = page;
|
|
587
|
+
}
|
|
588
|
+
if (size !== void 0) {
|
|
589
|
+
localVarQueryParameter["size"] = size;
|
|
590
|
+
}
|
|
591
|
+
if (labelSelector) {
|
|
592
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
593
|
+
}
|
|
594
|
+
if (fieldSelector) {
|
|
595
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
596
|
+
}
|
|
597
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
598
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
599
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
600
|
+
return {
|
|
601
|
+
url: toPathString(localVarUrlObj),
|
|
602
|
+
options: localVarRequestOptions
|
|
603
|
+
};
|
|
604
|
+
},
|
|
605
|
+
updatecoreHaloRunV1alpha1LinkGroup: async (name, linkGroup, options = {}) => {
|
|
606
|
+
assertParamExists("updatecoreHaloRunV1alpha1LinkGroup", "name", name);
|
|
607
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
608
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
609
|
+
let baseOptions;
|
|
610
|
+
if (configuration) {
|
|
611
|
+
baseOptions = configuration.baseOptions;
|
|
612
|
+
}
|
|
613
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
614
|
+
const localVarHeaderParameter = {};
|
|
615
|
+
const localVarQueryParameter = {};
|
|
616
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
617
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
618
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
619
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
620
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
621
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
622
|
+
localVarRequestOptions.data = serializeDataIfNeeded(linkGroup, localVarRequestOptions, configuration);
|
|
623
|
+
return {
|
|
624
|
+
url: toPathString(localVarUrlObj),
|
|
625
|
+
options: localVarRequestOptions
|
|
626
|
+
};
|
|
627
|
+
}
|
|
628
|
+
};
|
|
629
|
+
};
|
|
630
|
+
const CoreHaloRunV1alpha1LinkGroupApiFp = function(configuration) {
|
|
631
|
+
const localVarAxiosParamCreator = CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator(configuration);
|
|
632
|
+
return {
|
|
633
|
+
async createcoreHaloRunV1alpha1LinkGroup(linkGroup, options) {
|
|
634
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcoreHaloRunV1alpha1LinkGroup(linkGroup, options);
|
|
635
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
636
|
+
},
|
|
637
|
+
async deletecoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
638
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecoreHaloRunV1alpha1LinkGroup(name, options);
|
|
639
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
640
|
+
},
|
|
641
|
+
async getcoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
642
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getcoreHaloRunV1alpha1LinkGroup(name, options);
|
|
643
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
644
|
+
},
|
|
645
|
+
async listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
|
|
646
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options);
|
|
647
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
648
|
+
},
|
|
649
|
+
async updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
650
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options);
|
|
651
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
652
|
+
}
|
|
653
|
+
};
|
|
654
|
+
};
|
|
655
|
+
const CoreHaloRunV1alpha1LinkGroupApiFactory = function(configuration, basePath, axios) {
|
|
656
|
+
const localVarFp = CoreHaloRunV1alpha1LinkGroupApiFp(configuration);
|
|
657
|
+
return {
|
|
658
|
+
createcoreHaloRunV1alpha1LinkGroup(linkGroup, options) {
|
|
659
|
+
return localVarFp.createcoreHaloRunV1alpha1LinkGroup(linkGroup, options).then((request) => request(axios, basePath));
|
|
660
|
+
},
|
|
661
|
+
deletecoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
662
|
+
return localVarFp.deletecoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(axios, basePath));
|
|
663
|
+
},
|
|
664
|
+
getcoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
665
|
+
return localVarFp.getcoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(axios, basePath));
|
|
666
|
+
},
|
|
667
|
+
listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
|
|
668
|
+
return localVarFp.listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
669
|
+
},
|
|
670
|
+
updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
671
|
+
return localVarFp.updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options).then((request) => request(axios, basePath));
|
|
672
|
+
}
|
|
673
|
+
};
|
|
674
|
+
};
|
|
675
|
+
class CoreHaloRunV1alpha1LinkGroupApi extends BaseAPI {
|
|
676
|
+
createcoreHaloRunV1alpha1LinkGroup(linkGroup, options) {
|
|
677
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).createcoreHaloRunV1alpha1LinkGroup(linkGroup, options).then((request) => request(this.axios, this.basePath));
|
|
678
|
+
}
|
|
679
|
+
deletecoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
680
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).deletecoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(this.axios, this.basePath));
|
|
681
|
+
}
|
|
682
|
+
getcoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
683
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).getcoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(this.axios, this.basePath));
|
|
684
|
+
}
|
|
685
|
+
listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
|
|
686
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
687
|
+
}
|
|
688
|
+
updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
689
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options).then((request) => request(this.axios, this.basePath));
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
693
|
+
return {
|
|
694
|
+
createpluginHaloRunV1alpha1Plugin: async (plugin, options = {}) => {
|
|
695
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins`;
|
|
696
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
697
|
+
let baseOptions;
|
|
698
|
+
if (configuration) {
|
|
699
|
+
baseOptions = configuration.baseOptions;
|
|
700
|
+
}
|
|
701
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
702
|
+
const localVarHeaderParameter = {};
|
|
703
|
+
const localVarQueryParameter = {};
|
|
704
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
705
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
706
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
707
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
708
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
709
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
710
|
+
localVarRequestOptions.data = serializeDataIfNeeded(plugin, localVarRequestOptions, configuration);
|
|
711
|
+
return {
|
|
712
|
+
url: toPathString(localVarUrlObj),
|
|
713
|
+
options: localVarRequestOptions
|
|
714
|
+
};
|
|
715
|
+
},
|
|
716
|
+
deletepluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
|
|
717
|
+
assertParamExists("deletepluginHaloRunV1alpha1Plugin", "name", name);
|
|
718
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
719
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
720
|
+
let baseOptions;
|
|
721
|
+
if (configuration) {
|
|
722
|
+
baseOptions = configuration.baseOptions;
|
|
723
|
+
}
|
|
724
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
725
|
+
const localVarHeaderParameter = {};
|
|
726
|
+
const localVarQueryParameter = {};
|
|
727
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
728
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
729
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
730
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
731
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
732
|
+
return {
|
|
733
|
+
url: toPathString(localVarUrlObj),
|
|
734
|
+
options: localVarRequestOptions
|
|
735
|
+
};
|
|
736
|
+
},
|
|
737
|
+
getpluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
|
|
738
|
+
assertParamExists("getpluginHaloRunV1alpha1Plugin", "name", name);
|
|
739
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
740
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
741
|
+
let baseOptions;
|
|
742
|
+
if (configuration) {
|
|
743
|
+
baseOptions = configuration.baseOptions;
|
|
744
|
+
}
|
|
745
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
746
|
+
const localVarHeaderParameter = {};
|
|
747
|
+
const localVarQueryParameter = {};
|
|
748
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
749
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
750
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
751
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
752
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
753
|
+
return {
|
|
754
|
+
url: toPathString(localVarUrlObj),
|
|
755
|
+
options: localVarRequestOptions
|
|
756
|
+
};
|
|
757
|
+
},
|
|
758
|
+
listpluginHaloRunV1alpha1Plugin: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
759
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins`;
|
|
760
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
761
|
+
let baseOptions;
|
|
762
|
+
if (configuration) {
|
|
763
|
+
baseOptions = configuration.baseOptions;
|
|
764
|
+
}
|
|
765
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
766
|
+
const localVarHeaderParameter = {};
|
|
767
|
+
const localVarQueryParameter = {};
|
|
768
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
769
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
770
|
+
if (page !== void 0) {
|
|
771
|
+
localVarQueryParameter["page"] = page;
|
|
772
|
+
}
|
|
773
|
+
if (size !== void 0) {
|
|
774
|
+
localVarQueryParameter["size"] = size;
|
|
775
|
+
}
|
|
776
|
+
if (labelSelector) {
|
|
777
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
778
|
+
}
|
|
779
|
+
if (fieldSelector) {
|
|
780
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
781
|
+
}
|
|
782
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
783
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
784
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
785
|
+
return {
|
|
786
|
+
url: toPathString(localVarUrlObj),
|
|
787
|
+
options: localVarRequestOptions
|
|
788
|
+
};
|
|
789
|
+
},
|
|
790
|
+
updatepluginHaloRunV1alpha1Plugin: async (name, plugin, options = {}) => {
|
|
791
|
+
assertParamExists("updatepluginHaloRunV1alpha1Plugin", "name", name);
|
|
792
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
793
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
794
|
+
let baseOptions;
|
|
795
|
+
if (configuration) {
|
|
796
|
+
baseOptions = configuration.baseOptions;
|
|
797
|
+
}
|
|
798
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
799
|
+
const localVarHeaderParameter = {};
|
|
800
|
+
const localVarQueryParameter = {};
|
|
801
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
802
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
803
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
804
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
805
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
806
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
807
|
+
localVarRequestOptions.data = serializeDataIfNeeded(plugin, localVarRequestOptions, configuration);
|
|
808
|
+
return {
|
|
809
|
+
url: toPathString(localVarUrlObj),
|
|
810
|
+
options: localVarRequestOptions
|
|
811
|
+
};
|
|
812
|
+
}
|
|
813
|
+
};
|
|
814
|
+
};
|
|
815
|
+
const PluginHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
816
|
+
const localVarAxiosParamCreator = PluginHaloRunV1alpha1PluginApiAxiosParamCreator(configuration);
|
|
817
|
+
return {
|
|
818
|
+
async createpluginHaloRunV1alpha1Plugin(plugin, options) {
|
|
819
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1Plugin(plugin, options);
|
|
820
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
821
|
+
},
|
|
822
|
+
async deletepluginHaloRunV1alpha1Plugin(name, options) {
|
|
823
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletepluginHaloRunV1alpha1Plugin(name, options);
|
|
824
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
825
|
+
},
|
|
826
|
+
async getpluginHaloRunV1alpha1Plugin(name, options) {
|
|
827
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1Plugin(name, options);
|
|
828
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
829
|
+
},
|
|
830
|
+
async listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
|
|
831
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options);
|
|
832
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
833
|
+
},
|
|
834
|
+
async updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
|
|
835
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1Plugin(name, plugin, options);
|
|
836
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
837
|
+
}
|
|
838
|
+
};
|
|
839
|
+
};
|
|
840
|
+
const PluginHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
|
|
841
|
+
const localVarFp = PluginHaloRunV1alpha1PluginApiFp(configuration);
|
|
842
|
+
return {
|
|
843
|
+
createpluginHaloRunV1alpha1Plugin(plugin, options) {
|
|
844
|
+
return localVarFp.createpluginHaloRunV1alpha1Plugin(plugin, options).then((request) => request(axios, basePath));
|
|
845
|
+
},
|
|
846
|
+
deletepluginHaloRunV1alpha1Plugin(name, options) {
|
|
847
|
+
return localVarFp.deletepluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
|
|
148
848
|
},
|
|
149
|
-
|
|
150
|
-
return localVarFp.
|
|
849
|
+
getpluginHaloRunV1alpha1Plugin(name, options) {
|
|
850
|
+
return localVarFp.getpluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
|
|
151
851
|
},
|
|
152
|
-
|
|
153
|
-
return localVarFp.
|
|
852
|
+
listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
|
|
853
|
+
return localVarFp.listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
854
|
+
},
|
|
855
|
+
updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
|
|
856
|
+
return localVarFp.updatepluginHaloRunV1alpha1Plugin(name, plugin, options).then((request) => request(axios, basePath));
|
|
154
857
|
}
|
|
155
858
|
};
|
|
156
859
|
};
|
|
157
|
-
class
|
|
158
|
-
|
|
159
|
-
return
|
|
860
|
+
class PluginHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
861
|
+
createpluginHaloRunV1alpha1Plugin(plugin, options) {
|
|
862
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).createpluginHaloRunV1alpha1Plugin(plugin, options).then((request) => request(this.axios, this.basePath));
|
|
160
863
|
}
|
|
161
|
-
|
|
162
|
-
return
|
|
864
|
+
deletepluginHaloRunV1alpha1Plugin(name, options) {
|
|
865
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).deletepluginHaloRunV1alpha1Plugin(name, options).then((request) => request(this.axios, this.basePath));
|
|
866
|
+
}
|
|
867
|
+
getpluginHaloRunV1alpha1Plugin(name, options) {
|
|
868
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).getpluginHaloRunV1alpha1Plugin(name, options).then((request) => request(this.axios, this.basePath));
|
|
869
|
+
}
|
|
870
|
+
listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
|
|
871
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
163
872
|
}
|
|
164
|
-
|
|
165
|
-
return
|
|
873
|
+
updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
|
|
874
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).updatepluginHaloRunV1alpha1Plugin(name, plugin, options).then((request) => request(this.axios, this.basePath));
|
|
166
875
|
}
|
|
167
876
|
}
|
|
168
|
-
const
|
|
877
|
+
const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configuration) {
|
|
169
878
|
return {
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
const localVarPath = `/apis/api.halo.run/v1alpha1/plugins/install`;
|
|
879
|
+
createpluginHaloRunV1alpha1ReverseProxy: async (reverseProxy, options = {}) => {
|
|
880
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies`;
|
|
173
881
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
174
882
|
let baseOptions;
|
|
175
883
|
if (configuration) {
|
|
@@ -178,70 +886,42 @@ const ApiHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
|
178
886
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
179
887
|
const localVarHeaderParameter = {};
|
|
180
888
|
const localVarQueryParameter = {};
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
}
|
|
185
|
-
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
889
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
890
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
891
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
186
892
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
187
893
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
188
894
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
189
|
-
localVarRequestOptions.data =
|
|
895
|
+
localVarRequestOptions.data = serializeDataIfNeeded(reverseProxy, localVarRequestOptions, configuration);
|
|
190
896
|
return {
|
|
191
897
|
url: toPathString(localVarUrlObj),
|
|
192
898
|
options: localVarRequestOptions
|
|
193
899
|
};
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
const
|
|
198
|
-
const localVarAxiosParamCreator = ApiHaloRunV1alpha1PluginApiAxiosParamCreator(configuration);
|
|
199
|
-
return {
|
|
200
|
-
async installPlugin(file, options) {
|
|
201
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
202
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
203
|
-
}
|
|
204
|
-
};
|
|
205
|
-
};
|
|
206
|
-
const ApiHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
|
|
207
|
-
const localVarFp = ApiHaloRunV1alpha1PluginApiFp(configuration);
|
|
208
|
-
return {
|
|
209
|
-
installPlugin(file, options) {
|
|
210
|
-
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
211
|
-
}
|
|
212
|
-
};
|
|
213
|
-
};
|
|
214
|
-
class ApiHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
215
|
-
installPlugin(file, options) {
|
|
216
|
-
return ApiHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(file, options).then((request) => request(this.axios, this.basePath));
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
220
|
-
return {
|
|
221
|
-
changePassword: async (name, changePasswordRequest, options = {}) => {
|
|
222
|
-
assertParamExists("changePassword", "name", name);
|
|
223
|
-
assertParamExists("changePassword", "changePasswordRequest", changePasswordRequest);
|
|
224
|
-
const localVarPath = `/apis/api.halo.run/v1alpha1/users/{name}/password`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
900
|
+
},
|
|
901
|
+
deletepluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
|
|
902
|
+
assertParamExists("deletepluginHaloRunV1alpha1ReverseProxy", "name", name);
|
|
903
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
225
904
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
226
905
|
let baseOptions;
|
|
227
906
|
if (configuration) {
|
|
228
907
|
baseOptions = configuration.baseOptions;
|
|
229
908
|
}
|
|
230
|
-
const localVarRequestOptions = { method: "
|
|
909
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
231
910
|
const localVarHeaderParameter = {};
|
|
232
911
|
const localVarQueryParameter = {};
|
|
233
|
-
|
|
912
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
913
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
234
914
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
235
915
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
236
916
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
237
|
-
localVarRequestOptions.data = serializeDataIfNeeded(changePasswordRequest, localVarRequestOptions, configuration);
|
|
238
917
|
return {
|
|
239
918
|
url: toPathString(localVarUrlObj),
|
|
240
919
|
options: localVarRequestOptions
|
|
241
920
|
};
|
|
242
921
|
},
|
|
243
|
-
|
|
244
|
-
|
|
922
|
+
getpluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
|
|
923
|
+
assertParamExists("getpluginHaloRunV1alpha1ReverseProxy", "name", name);
|
|
924
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
245
925
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
246
926
|
let baseOptions;
|
|
247
927
|
if (configuration) {
|
|
@@ -250,6 +930,8 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
250
930
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
251
931
|
const localVarHeaderParameter = {};
|
|
252
932
|
const localVarQueryParameter = {};
|
|
933
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
934
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
253
935
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
254
936
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
255
937
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -258,9 +940,8 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
258
940
|
options: localVarRequestOptions
|
|
259
941
|
};
|
|
260
942
|
},
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
const localVarPath = `/apis/api.halo.run/v1alpha1/users/{name}/permissions`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
943
|
+
listpluginHaloRunV1alpha1ReverseProxy: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
944
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies`;
|
|
264
945
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
265
946
|
let baseOptions;
|
|
266
947
|
if (configuration) {
|
|
@@ -269,6 +950,20 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
269
950
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
270
951
|
const localVarHeaderParameter = {};
|
|
271
952
|
const localVarQueryParameter = {};
|
|
953
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
954
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
955
|
+
if (page !== void 0) {
|
|
956
|
+
localVarQueryParameter["page"] = page;
|
|
957
|
+
}
|
|
958
|
+
if (size !== void 0) {
|
|
959
|
+
localVarQueryParameter["size"] = size;
|
|
960
|
+
}
|
|
961
|
+
if (labelSelector) {
|
|
962
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
963
|
+
}
|
|
964
|
+
if (fieldSelector) {
|
|
965
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
966
|
+
}
|
|
272
967
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
273
968
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
274
969
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -277,23 +972,24 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
277
972
|
options: localVarRequestOptions
|
|
278
973
|
};
|
|
279
974
|
},
|
|
280
|
-
|
|
281
|
-
assertParamExists("
|
|
282
|
-
|
|
283
|
-
const localVarPath = `/apis/api.halo.run/v1alpha1/users/{name}/permissions`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
975
|
+
updatepluginHaloRunV1alpha1ReverseProxy: async (name, reverseProxy, options = {}) => {
|
|
976
|
+
assertParamExists("updatepluginHaloRunV1alpha1ReverseProxy", "name", name);
|
|
977
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
284
978
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
285
979
|
let baseOptions;
|
|
286
980
|
if (configuration) {
|
|
287
981
|
baseOptions = configuration.baseOptions;
|
|
288
982
|
}
|
|
289
|
-
const localVarRequestOptions = { method: "
|
|
983
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
290
984
|
const localVarHeaderParameter = {};
|
|
291
985
|
const localVarQueryParameter = {};
|
|
986
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
987
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
292
988
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
293
989
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
294
990
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
295
991
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
296
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
992
|
+
localVarRequestOptions.data = serializeDataIfNeeded(reverseProxy, localVarRequestOptions, configuration);
|
|
297
993
|
return {
|
|
298
994
|
url: toPathString(localVarUrlObj),
|
|
299
995
|
options: localVarRequestOptions
|
|
@@ -301,62 +997,72 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
301
997
|
}
|
|
302
998
|
};
|
|
303
999
|
};
|
|
304
|
-
const
|
|
305
|
-
const localVarAxiosParamCreator =
|
|
1000
|
+
const PluginHaloRunV1alpha1ReverseProxyApiFp = function(configuration) {
|
|
1001
|
+
const localVarAxiosParamCreator = PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator(configuration);
|
|
306
1002
|
return {
|
|
307
|
-
async
|
|
308
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1003
|
+
async createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
|
|
1004
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options);
|
|
309
1005
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
310
1006
|
},
|
|
311
|
-
async
|
|
312
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1007
|
+
async deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
1008
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletepluginHaloRunV1alpha1ReverseProxy(name, options);
|
|
313
1009
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
314
1010
|
},
|
|
315
|
-
async
|
|
316
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1011
|
+
async getpluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
1012
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1ReverseProxy(name, options);
|
|
317
1013
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
318
1014
|
},
|
|
319
|
-
async
|
|
320
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1015
|
+
async listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
|
|
1016
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options);
|
|
1017
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1018
|
+
},
|
|
1019
|
+
async updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
|
|
1020
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options);
|
|
321
1021
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
322
1022
|
}
|
|
323
1023
|
};
|
|
324
1024
|
};
|
|
325
|
-
const
|
|
326
|
-
const localVarFp =
|
|
1025
|
+
const PluginHaloRunV1alpha1ReverseProxyApiFactory = function(configuration, basePath, axios) {
|
|
1026
|
+
const localVarFp = PluginHaloRunV1alpha1ReverseProxyApiFp(configuration);
|
|
327
1027
|
return {
|
|
328
|
-
|
|
329
|
-
return localVarFp.
|
|
1028
|
+
createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
|
|
1029
|
+
return localVarFp.createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options).then((request) => request(axios, basePath));
|
|
330
1030
|
},
|
|
331
|
-
|
|
332
|
-
return localVarFp.
|
|
1031
|
+
deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
1032
|
+
return localVarFp.deletepluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
|
|
333
1033
|
},
|
|
334
|
-
|
|
335
|
-
return localVarFp.
|
|
1034
|
+
getpluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
1035
|
+
return localVarFp.getpluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
|
|
336
1036
|
},
|
|
337
|
-
|
|
338
|
-
return localVarFp.
|
|
1037
|
+
listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
|
|
1038
|
+
return localVarFp.listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1039
|
+
},
|
|
1040
|
+
updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
|
|
1041
|
+
return localVarFp.updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options).then((request) => request(axios, basePath));
|
|
339
1042
|
}
|
|
340
1043
|
};
|
|
341
1044
|
};
|
|
342
|
-
class
|
|
343
|
-
|
|
344
|
-
return
|
|
1045
|
+
class PluginHaloRunV1alpha1ReverseProxyApi extends BaseAPI {
|
|
1046
|
+
createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
|
|
1047
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options).then((request) => request(this.axios, this.basePath));
|
|
345
1048
|
}
|
|
346
|
-
|
|
347
|
-
return
|
|
1049
|
+
deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
1050
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).deletepluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(this.axios, this.basePath));
|
|
348
1051
|
}
|
|
349
|
-
|
|
350
|
-
return
|
|
1052
|
+
getpluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
1053
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).getpluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(this.axios, this.basePath));
|
|
351
1054
|
}
|
|
352
|
-
|
|
353
|
-
return
|
|
1055
|
+
listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
|
|
1056
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1057
|
+
}
|
|
1058
|
+
updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
|
|
1059
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options).then((request) => request(this.axios, this.basePath));
|
|
354
1060
|
}
|
|
355
1061
|
}
|
|
356
|
-
const
|
|
1062
|
+
const RunHaloTemplateV1alpha1AppleApiAxiosParamCreator = function(configuration) {
|
|
357
1063
|
return {
|
|
358
|
-
|
|
359
|
-
const localVarPath = `/apis/
|
|
1064
|
+
createrunHaloTemplateV1alpha1Apple: async (apple, options = {}) => {
|
|
1065
|
+
const localVarPath = `/apis/run.halo.template/v1alpha1/apples`;
|
|
360
1066
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
361
1067
|
let baseOptions;
|
|
362
1068
|
if (configuration) {
|
|
@@ -365,19 +1071,21 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
365
1071
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
366
1072
|
const localVarHeaderParameter = {};
|
|
367
1073
|
const localVarQueryParameter = {};
|
|
1074
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1075
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
368
1076
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
369
1077
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
370
1078
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
371
1079
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
372
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1080
|
+
localVarRequestOptions.data = serializeDataIfNeeded(apple, localVarRequestOptions, configuration);
|
|
373
1081
|
return {
|
|
374
1082
|
url: toPathString(localVarUrlObj),
|
|
375
1083
|
options: localVarRequestOptions
|
|
376
1084
|
};
|
|
377
1085
|
},
|
|
378
|
-
|
|
379
|
-
assertParamExists("
|
|
380
|
-
const localVarPath = `/apis/
|
|
1086
|
+
deleterunHaloTemplateV1alpha1Apple: async (name, options = {}) => {
|
|
1087
|
+
assertParamExists("deleterunHaloTemplateV1alpha1Apple", "name", name);
|
|
1088
|
+
const localVarPath = `/apis/run.halo.template/v1alpha1/apples/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
381
1089
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
382
1090
|
let baseOptions;
|
|
383
1091
|
if (configuration) {
|
|
@@ -386,6 +1094,8 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
386
1094
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
387
1095
|
const localVarHeaderParameter = {};
|
|
388
1096
|
const localVarQueryParameter = {};
|
|
1097
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1098
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
389
1099
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
390
1100
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
391
1101
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -394,9 +1104,9 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
394
1104
|
options: localVarRequestOptions
|
|
395
1105
|
};
|
|
396
1106
|
},
|
|
397
|
-
|
|
398
|
-
assertParamExists("
|
|
399
|
-
const localVarPath = `/apis/
|
|
1107
|
+
getrunHaloTemplateV1alpha1Apple: async (name, options = {}) => {
|
|
1108
|
+
assertParamExists("getrunHaloTemplateV1alpha1Apple", "name", name);
|
|
1109
|
+
const localVarPath = `/apis/run.halo.template/v1alpha1/apples/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
400
1110
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
401
1111
|
let baseOptions;
|
|
402
1112
|
if (configuration) {
|
|
@@ -405,6 +1115,8 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
405
1115
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
406
1116
|
const localVarHeaderParameter = {};
|
|
407
1117
|
const localVarQueryParameter = {};
|
|
1118
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1119
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
408
1120
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
409
1121
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
410
1122
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -413,8 +1125,8 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
413
1125
|
options: localVarRequestOptions
|
|
414
1126
|
};
|
|
415
1127
|
},
|
|
416
|
-
|
|
417
|
-
const localVarPath = `/apis/
|
|
1128
|
+
listrunHaloTemplateV1alpha1Apple: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1129
|
+
const localVarPath = `/apis/run.halo.template/v1alpha1/apples`;
|
|
418
1130
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
419
1131
|
let baseOptions;
|
|
420
1132
|
if (configuration) {
|
|
@@ -423,14 +1135,19 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
423
1135
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
424
1136
|
const localVarHeaderParameter = {};
|
|
425
1137
|
const localVarQueryParameter = {};
|
|
1138
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1139
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
426
1140
|
if (page !== void 0) {
|
|
427
1141
|
localVarQueryParameter["page"] = page;
|
|
428
1142
|
}
|
|
429
1143
|
if (size !== void 0) {
|
|
430
1144
|
localVarQueryParameter["size"] = size;
|
|
431
1145
|
}
|
|
432
|
-
if (
|
|
433
|
-
localVarQueryParameter["
|
|
1146
|
+
if (labelSelector) {
|
|
1147
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1148
|
+
}
|
|
1149
|
+
if (fieldSelector) {
|
|
1150
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
434
1151
|
}
|
|
435
1152
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
436
1153
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -440,9 +1157,9 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
440
1157
|
options: localVarRequestOptions
|
|
441
1158
|
};
|
|
442
1159
|
},
|
|
443
|
-
|
|
444
|
-
assertParamExists("
|
|
445
|
-
const localVarPath = `/apis/
|
|
1160
|
+
updaterunHaloTemplateV1alpha1Apple: async (name, apple, options = {}) => {
|
|
1161
|
+
assertParamExists("updaterunHaloTemplateV1alpha1Apple", "name", name);
|
|
1162
|
+
const localVarPath = `/apis/run.halo.template/v1alpha1/apples/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
446
1163
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
447
1164
|
let baseOptions;
|
|
448
1165
|
if (configuration) {
|
|
@@ -451,11 +1168,13 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
451
1168
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
452
1169
|
const localVarHeaderParameter = {};
|
|
453
1170
|
const localVarQueryParameter = {};
|
|
1171
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1172
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
454
1173
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
455
1174
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
456
1175
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
457
1176
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
458
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1177
|
+
localVarRequestOptions.data = serializeDataIfNeeded(apple, localVarRequestOptions, configuration);
|
|
459
1178
|
return {
|
|
460
1179
|
url: toPathString(localVarUrlObj),
|
|
461
1180
|
options: localVarRequestOptions
|
|
@@ -463,72 +1182,72 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
463
1182
|
}
|
|
464
1183
|
};
|
|
465
1184
|
};
|
|
466
|
-
const
|
|
467
|
-
const localVarAxiosParamCreator =
|
|
1185
|
+
const RunHaloTemplateV1alpha1AppleApiFp = function(configuration) {
|
|
1186
|
+
const localVarAxiosParamCreator = RunHaloTemplateV1alpha1AppleApiAxiosParamCreator(configuration);
|
|
468
1187
|
return {
|
|
469
|
-
async
|
|
470
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1188
|
+
async createrunHaloTemplateV1alpha1Apple(apple, options) {
|
|
1189
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createrunHaloTemplateV1alpha1Apple(apple, options);
|
|
471
1190
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
472
1191
|
},
|
|
473
|
-
async
|
|
474
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1192
|
+
async deleterunHaloTemplateV1alpha1Apple(name, options) {
|
|
1193
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleterunHaloTemplateV1alpha1Apple(name, options);
|
|
475
1194
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
476
1195
|
},
|
|
477
|
-
async
|
|
478
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1196
|
+
async getrunHaloTemplateV1alpha1Apple(name, options) {
|
|
1197
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getrunHaloTemplateV1alpha1Apple(name, options);
|
|
479
1198
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
480
1199
|
},
|
|
481
|
-
async
|
|
482
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1200
|
+
async listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options) {
|
|
1201
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options);
|
|
483
1202
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
484
1203
|
},
|
|
485
|
-
async
|
|
486
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1204
|
+
async updaterunHaloTemplateV1alpha1Apple(name, apple, options) {
|
|
1205
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updaterunHaloTemplateV1alpha1Apple(name, apple, options);
|
|
487
1206
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
488
1207
|
}
|
|
489
1208
|
};
|
|
490
1209
|
};
|
|
491
|
-
const
|
|
492
|
-
const localVarFp =
|
|
1210
|
+
const RunHaloTemplateV1alpha1AppleApiFactory = function(configuration, basePath, axios) {
|
|
1211
|
+
const localVarFp = RunHaloTemplateV1alpha1AppleApiFp(configuration);
|
|
493
1212
|
return {
|
|
494
|
-
|
|
495
|
-
return localVarFp.
|
|
1213
|
+
createrunHaloTemplateV1alpha1Apple(apple, options) {
|
|
1214
|
+
return localVarFp.createrunHaloTemplateV1alpha1Apple(apple, options).then((request) => request(axios, basePath));
|
|
496
1215
|
},
|
|
497
|
-
|
|
498
|
-
return localVarFp.
|
|
1216
|
+
deleterunHaloTemplateV1alpha1Apple(name, options) {
|
|
1217
|
+
return localVarFp.deleterunHaloTemplateV1alpha1Apple(name, options).then((request) => request(axios, basePath));
|
|
499
1218
|
},
|
|
500
|
-
|
|
501
|
-
return localVarFp.
|
|
1219
|
+
getrunHaloTemplateV1alpha1Apple(name, options) {
|
|
1220
|
+
return localVarFp.getrunHaloTemplateV1alpha1Apple(name, options).then((request) => request(axios, basePath));
|
|
502
1221
|
},
|
|
503
|
-
|
|
504
|
-
return localVarFp.
|
|
1222
|
+
listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options) {
|
|
1223
|
+
return localVarFp.listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
505
1224
|
},
|
|
506
|
-
|
|
507
|
-
return localVarFp.
|
|
1225
|
+
updaterunHaloTemplateV1alpha1Apple(name, apple, options) {
|
|
1226
|
+
return localVarFp.updaterunHaloTemplateV1alpha1Apple(name, apple, options).then((request) => request(axios, basePath));
|
|
508
1227
|
}
|
|
509
1228
|
};
|
|
510
1229
|
};
|
|
511
|
-
class
|
|
512
|
-
|
|
513
|
-
return
|
|
1230
|
+
class RunHaloTemplateV1alpha1AppleApi extends BaseAPI {
|
|
1231
|
+
createrunHaloTemplateV1alpha1Apple(apple, options) {
|
|
1232
|
+
return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).createrunHaloTemplateV1alpha1Apple(apple, options).then((request) => request(this.axios, this.basePath));
|
|
514
1233
|
}
|
|
515
|
-
|
|
516
|
-
return
|
|
1234
|
+
deleterunHaloTemplateV1alpha1Apple(name, options) {
|
|
1235
|
+
return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).deleterunHaloTemplateV1alpha1Apple(name, options).then((request) => request(this.axios, this.basePath));
|
|
517
1236
|
}
|
|
518
|
-
|
|
519
|
-
return
|
|
1237
|
+
getrunHaloTemplateV1alpha1Apple(name, options) {
|
|
1238
|
+
return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).getrunHaloTemplateV1alpha1Apple(name, options).then((request) => request(this.axios, this.basePath));
|
|
520
1239
|
}
|
|
521
|
-
|
|
522
|
-
return
|
|
1240
|
+
listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options) {
|
|
1241
|
+
return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
523
1242
|
}
|
|
524
|
-
|
|
525
|
-
return
|
|
1243
|
+
updaterunHaloTemplateV1alpha1Apple(name, apple, options) {
|
|
1244
|
+
return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).updaterunHaloTemplateV1alpha1Apple(name, apple, options).then((request) => request(this.axios, this.basePath));
|
|
526
1245
|
}
|
|
527
1246
|
}
|
|
528
|
-
const
|
|
1247
|
+
const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
529
1248
|
return {
|
|
530
|
-
|
|
531
|
-
const localVarPath = `/apis/
|
|
1249
|
+
createthemeHaloRunV1alpha1Theme: async (theme, options = {}) => {
|
|
1250
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes`;
|
|
532
1251
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
533
1252
|
let baseOptions;
|
|
534
1253
|
if (configuration) {
|
|
@@ -537,19 +1256,21 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
537
1256
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
538
1257
|
const localVarHeaderParameter = {};
|
|
539
1258
|
const localVarQueryParameter = {};
|
|
1259
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1260
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
540
1261
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
541
1262
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
542
1263
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
543
1264
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
544
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1265
|
+
localVarRequestOptions.data = serializeDataIfNeeded(theme, localVarRequestOptions, configuration);
|
|
545
1266
|
return {
|
|
546
1267
|
url: toPathString(localVarUrlObj),
|
|
547
1268
|
options: localVarRequestOptions
|
|
548
1269
|
};
|
|
549
1270
|
},
|
|
550
|
-
|
|
551
|
-
assertParamExists("
|
|
552
|
-
const localVarPath = `/apis/
|
|
1271
|
+
deletethemeHaloRunV1alpha1Theme: async (name, options = {}) => {
|
|
1272
|
+
assertParamExists("deletethemeHaloRunV1alpha1Theme", "name", name);
|
|
1273
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
553
1274
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
554
1275
|
let baseOptions;
|
|
555
1276
|
if (configuration) {
|
|
@@ -558,6 +1279,8 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
558
1279
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
559
1280
|
const localVarHeaderParameter = {};
|
|
560
1281
|
const localVarQueryParameter = {};
|
|
1282
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1283
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
561
1284
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
562
1285
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
563
1286
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -566,9 +1289,9 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
566
1289
|
options: localVarRequestOptions
|
|
567
1290
|
};
|
|
568
1291
|
},
|
|
569
|
-
|
|
570
|
-
assertParamExists("
|
|
571
|
-
const localVarPath = `/apis/
|
|
1292
|
+
getthemeHaloRunV1alpha1Theme: async (name, options = {}) => {
|
|
1293
|
+
assertParamExists("getthemeHaloRunV1alpha1Theme", "name", name);
|
|
1294
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
572
1295
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
573
1296
|
let baseOptions;
|
|
574
1297
|
if (configuration) {
|
|
@@ -577,6 +1300,8 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
577
1300
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
578
1301
|
const localVarHeaderParameter = {};
|
|
579
1302
|
const localVarQueryParameter = {};
|
|
1303
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1304
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
580
1305
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
581
1306
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
582
1307
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -585,8 +1310,8 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
585
1310
|
options: localVarRequestOptions
|
|
586
1311
|
};
|
|
587
1312
|
},
|
|
588
|
-
|
|
589
|
-
const localVarPath = `/apis/
|
|
1313
|
+
listthemeHaloRunV1alpha1Theme: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1314
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes`;
|
|
590
1315
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
591
1316
|
let baseOptions;
|
|
592
1317
|
if (configuration) {
|
|
@@ -595,14 +1320,19 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
595
1320
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
596
1321
|
const localVarHeaderParameter = {};
|
|
597
1322
|
const localVarQueryParameter = {};
|
|
1323
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1324
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
598
1325
|
if (page !== void 0) {
|
|
599
1326
|
localVarQueryParameter["page"] = page;
|
|
600
1327
|
}
|
|
601
1328
|
if (size !== void 0) {
|
|
602
1329
|
localVarQueryParameter["size"] = size;
|
|
603
1330
|
}
|
|
604
|
-
if (
|
|
605
|
-
localVarQueryParameter["
|
|
1331
|
+
if (labelSelector) {
|
|
1332
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1333
|
+
}
|
|
1334
|
+
if (fieldSelector) {
|
|
1335
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
606
1336
|
}
|
|
607
1337
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
608
1338
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -612,9 +1342,9 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
612
1342
|
options: localVarRequestOptions
|
|
613
1343
|
};
|
|
614
1344
|
},
|
|
615
|
-
|
|
616
|
-
assertParamExists("
|
|
617
|
-
const localVarPath = `/apis/
|
|
1345
|
+
updatethemeHaloRunV1alpha1Theme: async (name, theme, options = {}) => {
|
|
1346
|
+
assertParamExists("updatethemeHaloRunV1alpha1Theme", "name", name);
|
|
1347
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
618
1348
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
619
1349
|
let baseOptions;
|
|
620
1350
|
if (configuration) {
|
|
@@ -623,11 +1353,13 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
623
1353
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
624
1354
|
const localVarHeaderParameter = {};
|
|
625
1355
|
const localVarQueryParameter = {};
|
|
1356
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1357
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
626
1358
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
627
1359
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
628
1360
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
629
1361
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
630
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1362
|
+
localVarRequestOptions.data = serializeDataIfNeeded(theme, localVarRequestOptions, configuration);
|
|
631
1363
|
return {
|
|
632
1364
|
url: toPathString(localVarUrlObj),
|
|
633
1365
|
options: localVarRequestOptions
|
|
@@ -635,66 +1367,66 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
635
1367
|
}
|
|
636
1368
|
};
|
|
637
1369
|
};
|
|
638
|
-
const
|
|
639
|
-
const localVarAxiosParamCreator =
|
|
1370
|
+
const ThemeHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
1371
|
+
const localVarAxiosParamCreator = ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator(configuration);
|
|
640
1372
|
return {
|
|
641
|
-
async
|
|
642
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1373
|
+
async createthemeHaloRunV1alpha1Theme(theme, options) {
|
|
1374
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createthemeHaloRunV1alpha1Theme(theme, options);
|
|
643
1375
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
644
1376
|
},
|
|
645
|
-
async
|
|
646
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1377
|
+
async deletethemeHaloRunV1alpha1Theme(name, options) {
|
|
1378
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletethemeHaloRunV1alpha1Theme(name, options);
|
|
647
1379
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
648
1380
|
},
|
|
649
|
-
async
|
|
650
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1381
|
+
async getthemeHaloRunV1alpha1Theme(name, options) {
|
|
1382
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getthemeHaloRunV1alpha1Theme(name, options);
|
|
651
1383
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
652
1384
|
},
|
|
653
|
-
async
|
|
654
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1385
|
+
async listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
1386
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options);
|
|
655
1387
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
656
1388
|
},
|
|
657
|
-
async
|
|
658
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1389
|
+
async updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
1390
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatethemeHaloRunV1alpha1Theme(name, theme, options);
|
|
659
1391
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
660
1392
|
}
|
|
661
1393
|
};
|
|
662
1394
|
};
|
|
663
|
-
const
|
|
664
|
-
const localVarFp =
|
|
1395
|
+
const ThemeHaloRunV1alpha1ThemeApiFactory = function(configuration, basePath, axios) {
|
|
1396
|
+
const localVarFp = ThemeHaloRunV1alpha1ThemeApiFp(configuration);
|
|
665
1397
|
return {
|
|
666
|
-
|
|
667
|
-
return localVarFp.
|
|
1398
|
+
createthemeHaloRunV1alpha1Theme(theme, options) {
|
|
1399
|
+
return localVarFp.createthemeHaloRunV1alpha1Theme(theme, options).then((request) => request(axios, basePath));
|
|
668
1400
|
},
|
|
669
|
-
|
|
670
|
-
return localVarFp.
|
|
1401
|
+
deletethemeHaloRunV1alpha1Theme(name, options) {
|
|
1402
|
+
return localVarFp.deletethemeHaloRunV1alpha1Theme(name, options).then((request) => request(axios, basePath));
|
|
671
1403
|
},
|
|
672
|
-
|
|
673
|
-
return localVarFp.
|
|
1404
|
+
getthemeHaloRunV1alpha1Theme(name, options) {
|
|
1405
|
+
return localVarFp.getthemeHaloRunV1alpha1Theme(name, options).then((request) => request(axios, basePath));
|
|
674
1406
|
},
|
|
675
|
-
|
|
676
|
-
return localVarFp.
|
|
1407
|
+
listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
1408
|
+
return localVarFp.listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
677
1409
|
},
|
|
678
|
-
|
|
679
|
-
return localVarFp.
|
|
1410
|
+
updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
1411
|
+
return localVarFp.updatethemeHaloRunV1alpha1Theme(name, theme, options).then((request) => request(axios, basePath));
|
|
680
1412
|
}
|
|
681
1413
|
};
|
|
682
1414
|
};
|
|
683
|
-
class
|
|
684
|
-
|
|
685
|
-
return
|
|
1415
|
+
class ThemeHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
1416
|
+
createthemeHaloRunV1alpha1Theme(theme, options) {
|
|
1417
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).createthemeHaloRunV1alpha1Theme(theme, options).then((request) => request(this.axios, this.basePath));
|
|
686
1418
|
}
|
|
687
|
-
|
|
688
|
-
return
|
|
1419
|
+
deletethemeHaloRunV1alpha1Theme(name, options) {
|
|
1420
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).deletethemeHaloRunV1alpha1Theme(name, options).then((request) => request(this.axios, this.basePath));
|
|
689
1421
|
}
|
|
690
|
-
|
|
691
|
-
return
|
|
1422
|
+
getthemeHaloRunV1alpha1Theme(name, options) {
|
|
1423
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).getthemeHaloRunV1alpha1Theme(name, options).then((request) => request(this.axios, this.basePath));
|
|
692
1424
|
}
|
|
693
|
-
|
|
694
|
-
return
|
|
1425
|
+
listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
1426
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
695
1427
|
}
|
|
696
|
-
|
|
697
|
-
return
|
|
1428
|
+
updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
1429
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).updatethemeHaloRunV1alpha1Theme(name, theme, options).then((request) => request(this.axios, this.basePath));
|
|
698
1430
|
}
|
|
699
1431
|
}
|
|
700
1432
|
const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
@@ -709,6 +1441,8 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
709
1441
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
710
1442
|
const localVarHeaderParameter = {};
|
|
711
1443
|
const localVarQueryParameter = {};
|
|
1444
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1445
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
712
1446
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
713
1447
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
714
1448
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -730,6 +1464,8 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
730
1464
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
731
1465
|
const localVarHeaderParameter = {};
|
|
732
1466
|
const localVarQueryParameter = {};
|
|
1467
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1468
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
733
1469
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
734
1470
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
735
1471
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -749,6 +1485,8 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
749
1485
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
750
1486
|
const localVarHeaderParameter = {};
|
|
751
1487
|
const localVarQueryParameter = {};
|
|
1488
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1489
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
752
1490
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
753
1491
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
754
1492
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -757,7 +1495,7 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
757
1495
|
options: localVarRequestOptions
|
|
758
1496
|
};
|
|
759
1497
|
},
|
|
760
|
-
listv1alpha1ConfigMap: async (page, size,
|
|
1498
|
+
listv1alpha1ConfigMap: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
761
1499
|
const localVarPath = `/api/v1alpha1/configmaps`;
|
|
762
1500
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
763
1501
|
let baseOptions;
|
|
@@ -767,14 +1505,19 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
767
1505
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
768
1506
|
const localVarHeaderParameter = {};
|
|
769
1507
|
const localVarQueryParameter = {};
|
|
1508
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1509
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
770
1510
|
if (page !== void 0) {
|
|
771
1511
|
localVarQueryParameter["page"] = page;
|
|
772
1512
|
}
|
|
773
1513
|
if (size !== void 0) {
|
|
774
1514
|
localVarQueryParameter["size"] = size;
|
|
775
1515
|
}
|
|
776
|
-
if (
|
|
777
|
-
localVarQueryParameter["
|
|
1516
|
+
if (labelSelector) {
|
|
1517
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1518
|
+
}
|
|
1519
|
+
if (fieldSelector) {
|
|
1520
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
778
1521
|
}
|
|
779
1522
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
780
1523
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -795,6 +1538,8 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
795
1538
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
796
1539
|
const localVarHeaderParameter = {};
|
|
797
1540
|
const localVarQueryParameter = {};
|
|
1541
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1542
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
798
1543
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
799
1544
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
800
1545
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -822,8 +1567,8 @@ const V1alpha1ConfigMapApiFp = function(configuration) {
|
|
|
822
1567
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1ConfigMap(name, options);
|
|
823
1568
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
824
1569
|
},
|
|
825
|
-
async listv1alpha1ConfigMap(page, size,
|
|
826
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1ConfigMap(page, size,
|
|
1570
|
+
async listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options) {
|
|
1571
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options);
|
|
827
1572
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
828
1573
|
},
|
|
829
1574
|
async updatev1alpha1ConfigMap(name, configMap, options) {
|
|
@@ -844,8 +1589,8 @@ const V1alpha1ConfigMapApiFactory = function(configuration, basePath, axios) {
|
|
|
844
1589
|
getv1alpha1ConfigMap(name, options) {
|
|
845
1590
|
return localVarFp.getv1alpha1ConfigMap(name, options).then((request) => request(axios, basePath));
|
|
846
1591
|
},
|
|
847
|
-
listv1alpha1ConfigMap(page, size,
|
|
848
|
-
return localVarFp.listv1alpha1ConfigMap(page, size,
|
|
1592
|
+
listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options) {
|
|
1593
|
+
return localVarFp.listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
849
1594
|
},
|
|
850
1595
|
updatev1alpha1ConfigMap(name, configMap, options) {
|
|
851
1596
|
return localVarFp.updatev1alpha1ConfigMap(name, configMap, options).then((request) => request(axios, basePath));
|
|
@@ -862,8 +1607,8 @@ class V1alpha1ConfigMapApi extends BaseAPI {
|
|
|
862
1607
|
getv1alpha1ConfigMap(name, options) {
|
|
863
1608
|
return V1alpha1ConfigMapApiFp(this.configuration).getv1alpha1ConfigMap(name, options).then((request) => request(this.axios, this.basePath));
|
|
864
1609
|
}
|
|
865
|
-
listv1alpha1ConfigMap(page, size,
|
|
866
|
-
return V1alpha1ConfigMapApiFp(this.configuration).listv1alpha1ConfigMap(page, size,
|
|
1610
|
+
listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options) {
|
|
1611
|
+
return V1alpha1ConfigMapApiFp(this.configuration).listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
867
1612
|
}
|
|
868
1613
|
updatev1alpha1ConfigMap(name, configMap, options) {
|
|
869
1614
|
return V1alpha1ConfigMapApiFp(this.configuration).updatev1alpha1ConfigMap(name, configMap, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -881,6 +1626,8 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
881
1626
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
882
1627
|
const localVarHeaderParameter = {};
|
|
883
1628
|
const localVarQueryParameter = {};
|
|
1629
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1630
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
884
1631
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
885
1632
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
886
1633
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -902,6 +1649,8 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
902
1649
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
903
1650
|
const localVarHeaderParameter = {};
|
|
904
1651
|
const localVarQueryParameter = {};
|
|
1652
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1653
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
905
1654
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
906
1655
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
907
1656
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -921,6 +1670,8 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
921
1670
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
922
1671
|
const localVarHeaderParameter = {};
|
|
923
1672
|
const localVarQueryParameter = {};
|
|
1673
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1674
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
924
1675
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
925
1676
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
926
1677
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -929,7 +1680,7 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
929
1680
|
options: localVarRequestOptions
|
|
930
1681
|
};
|
|
931
1682
|
},
|
|
932
|
-
listv1alpha1PersonalAccessToken: async (page, size,
|
|
1683
|
+
listv1alpha1PersonalAccessToken: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
933
1684
|
const localVarPath = `/api/v1alpha1/personalaccesstokens`;
|
|
934
1685
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
935
1686
|
let baseOptions;
|
|
@@ -939,14 +1690,19 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
939
1690
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
940
1691
|
const localVarHeaderParameter = {};
|
|
941
1692
|
const localVarQueryParameter = {};
|
|
1693
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1694
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
942
1695
|
if (page !== void 0) {
|
|
943
1696
|
localVarQueryParameter["page"] = page;
|
|
944
1697
|
}
|
|
945
1698
|
if (size !== void 0) {
|
|
946
1699
|
localVarQueryParameter["size"] = size;
|
|
947
1700
|
}
|
|
948
|
-
if (
|
|
949
|
-
localVarQueryParameter["
|
|
1701
|
+
if (labelSelector) {
|
|
1702
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1703
|
+
}
|
|
1704
|
+
if (fieldSelector) {
|
|
1705
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
950
1706
|
}
|
|
951
1707
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
952
1708
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -967,6 +1723,8 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
967
1723
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
968
1724
|
const localVarHeaderParameter = {};
|
|
969
1725
|
const localVarQueryParameter = {};
|
|
1726
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1727
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
970
1728
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
971
1729
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
972
1730
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -994,8 +1752,8 @@ const V1alpha1PersonalAccessTokenApiFp = function(configuration) {
|
|
|
994
1752
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1PersonalAccessToken(name, options);
|
|
995
1753
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
996
1754
|
},
|
|
997
|
-
async listv1alpha1PersonalAccessToken(page, size,
|
|
998
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1PersonalAccessToken(page, size,
|
|
1755
|
+
async listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options) {
|
|
1756
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options);
|
|
999
1757
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1000
1758
|
},
|
|
1001
1759
|
async updatev1alpha1PersonalAccessToken(name, personalAccessToken, options) {
|
|
@@ -1016,8 +1774,8 @@ const V1alpha1PersonalAccessTokenApiFactory = function(configuration, basePath,
|
|
|
1016
1774
|
getv1alpha1PersonalAccessToken(name, options) {
|
|
1017
1775
|
return localVarFp.getv1alpha1PersonalAccessToken(name, options).then((request) => request(axios, basePath));
|
|
1018
1776
|
},
|
|
1019
|
-
listv1alpha1PersonalAccessToken(page, size,
|
|
1020
|
-
return localVarFp.listv1alpha1PersonalAccessToken(page, size,
|
|
1777
|
+
listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options) {
|
|
1778
|
+
return localVarFp.listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1021
1779
|
},
|
|
1022
1780
|
updatev1alpha1PersonalAccessToken(name, personalAccessToken, options) {
|
|
1023
1781
|
return localVarFp.updatev1alpha1PersonalAccessToken(name, personalAccessToken, options).then((request) => request(axios, basePath));
|
|
@@ -1034,8 +1792,8 @@ class V1alpha1PersonalAccessTokenApi extends BaseAPI {
|
|
|
1034
1792
|
getv1alpha1PersonalAccessToken(name, options) {
|
|
1035
1793
|
return V1alpha1PersonalAccessTokenApiFp(this.configuration).getv1alpha1PersonalAccessToken(name, options).then((request) => request(this.axios, this.basePath));
|
|
1036
1794
|
}
|
|
1037
|
-
listv1alpha1PersonalAccessToken(page, size,
|
|
1038
|
-
return V1alpha1PersonalAccessTokenApiFp(this.configuration).listv1alpha1PersonalAccessToken(page, size,
|
|
1795
|
+
listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options) {
|
|
1796
|
+
return V1alpha1PersonalAccessTokenApiFp(this.configuration).listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1039
1797
|
}
|
|
1040
1798
|
updatev1alpha1PersonalAccessToken(name, personalAccessToken, options) {
|
|
1041
1799
|
return V1alpha1PersonalAccessTokenApiFp(this.configuration).updatev1alpha1PersonalAccessToken(name, personalAccessToken, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1053,6 +1811,8 @@ const V1alpha1RoleApiAxiosParamCreator = function(configuration) {
|
|
|
1053
1811
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1054
1812
|
const localVarHeaderParameter = {};
|
|
1055
1813
|
const localVarQueryParameter = {};
|
|
1814
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1815
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1056
1816
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1057
1817
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1058
1818
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1074,6 +1834,8 @@ const V1alpha1RoleApiAxiosParamCreator = function(configuration) {
|
|
|
1074
1834
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1075
1835
|
const localVarHeaderParameter = {};
|
|
1076
1836
|
const localVarQueryParameter = {};
|
|
1837
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1838
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1077
1839
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1078
1840
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1079
1841
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1093,6 +1855,8 @@ const V1alpha1RoleApiAxiosParamCreator = function(configuration) {
|
|
|
1093
1855
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1094
1856
|
const localVarHeaderParameter = {};
|
|
1095
1857
|
const localVarQueryParameter = {};
|
|
1858
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1859
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1096
1860
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1097
1861
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1098
1862
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1101,7 +1865,7 @@ const V1alpha1RoleApiAxiosParamCreator = function(configuration) {
|
|
|
1101
1865
|
options: localVarRequestOptions
|
|
1102
1866
|
};
|
|
1103
1867
|
},
|
|
1104
|
-
listv1alpha1Role: async (page, size,
|
|
1868
|
+
listv1alpha1Role: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1105
1869
|
const localVarPath = `/api/v1alpha1/roles`;
|
|
1106
1870
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1107
1871
|
let baseOptions;
|
|
@@ -1111,14 +1875,19 @@ const V1alpha1RoleApiAxiosParamCreator = function(configuration) {
|
|
|
1111
1875
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1112
1876
|
const localVarHeaderParameter = {};
|
|
1113
1877
|
const localVarQueryParameter = {};
|
|
1878
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1879
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1114
1880
|
if (page !== void 0) {
|
|
1115
1881
|
localVarQueryParameter["page"] = page;
|
|
1116
1882
|
}
|
|
1117
1883
|
if (size !== void 0) {
|
|
1118
1884
|
localVarQueryParameter["size"] = size;
|
|
1119
1885
|
}
|
|
1120
|
-
if (
|
|
1121
|
-
localVarQueryParameter["
|
|
1886
|
+
if (labelSelector) {
|
|
1887
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1888
|
+
}
|
|
1889
|
+
if (fieldSelector) {
|
|
1890
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1122
1891
|
}
|
|
1123
1892
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1124
1893
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1139,6 +1908,8 @@ const V1alpha1RoleApiAxiosParamCreator = function(configuration) {
|
|
|
1139
1908
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1140
1909
|
const localVarHeaderParameter = {};
|
|
1141
1910
|
const localVarQueryParameter = {};
|
|
1911
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1912
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1142
1913
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1143
1914
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1144
1915
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1166,8 +1937,8 @@ const V1alpha1RoleApiFp = function(configuration) {
|
|
|
1166
1937
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1Role(name, options);
|
|
1167
1938
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1168
1939
|
},
|
|
1169
|
-
async listv1alpha1Role(page, size,
|
|
1170
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Role(page, size,
|
|
1940
|
+
async listv1alpha1Role(page, size, labelSelector, fieldSelector, options) {
|
|
1941
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Role(page, size, labelSelector, fieldSelector, options);
|
|
1171
1942
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1172
1943
|
},
|
|
1173
1944
|
async updatev1alpha1Role(name, role, options) {
|
|
@@ -1188,8 +1959,8 @@ const V1alpha1RoleApiFactory = function(configuration, basePath, axios) {
|
|
|
1188
1959
|
getv1alpha1Role(name, options) {
|
|
1189
1960
|
return localVarFp.getv1alpha1Role(name, options).then((request) => request(axios, basePath));
|
|
1190
1961
|
},
|
|
1191
|
-
listv1alpha1Role(page, size,
|
|
1192
|
-
return localVarFp.listv1alpha1Role(page, size,
|
|
1962
|
+
listv1alpha1Role(page, size, labelSelector, fieldSelector, options) {
|
|
1963
|
+
return localVarFp.listv1alpha1Role(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1193
1964
|
},
|
|
1194
1965
|
updatev1alpha1Role(name, role, options) {
|
|
1195
1966
|
return localVarFp.updatev1alpha1Role(name, role, options).then((request) => request(axios, basePath));
|
|
@@ -1206,8 +1977,8 @@ class V1alpha1RoleApi extends BaseAPI {
|
|
|
1206
1977
|
getv1alpha1Role(name, options) {
|
|
1207
1978
|
return V1alpha1RoleApiFp(this.configuration).getv1alpha1Role(name, options).then((request) => request(this.axios, this.basePath));
|
|
1208
1979
|
}
|
|
1209
|
-
listv1alpha1Role(page, size,
|
|
1210
|
-
return V1alpha1RoleApiFp(this.configuration).listv1alpha1Role(page, size,
|
|
1980
|
+
listv1alpha1Role(page, size, labelSelector, fieldSelector, options) {
|
|
1981
|
+
return V1alpha1RoleApiFp(this.configuration).listv1alpha1Role(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1211
1982
|
}
|
|
1212
1983
|
updatev1alpha1Role(name, role, options) {
|
|
1213
1984
|
return V1alpha1RoleApiFp(this.configuration).updatev1alpha1Role(name, role, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1225,6 +1996,8 @@ const V1alpha1RoleBindingApiAxiosParamCreator = function(configuration) {
|
|
|
1225
1996
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1226
1997
|
const localVarHeaderParameter = {};
|
|
1227
1998
|
const localVarQueryParameter = {};
|
|
1999
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2000
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1228
2001
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1229
2002
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1230
2003
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1246,6 +2019,8 @@ const V1alpha1RoleBindingApiAxiosParamCreator = function(configuration) {
|
|
|
1246
2019
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1247
2020
|
const localVarHeaderParameter = {};
|
|
1248
2021
|
const localVarQueryParameter = {};
|
|
2022
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2023
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1249
2024
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1250
2025
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1251
2026
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1265,6 +2040,8 @@ const V1alpha1RoleBindingApiAxiosParamCreator = function(configuration) {
|
|
|
1265
2040
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1266
2041
|
const localVarHeaderParameter = {};
|
|
1267
2042
|
const localVarQueryParameter = {};
|
|
2043
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2044
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1268
2045
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1269
2046
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1270
2047
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1273,7 +2050,7 @@ const V1alpha1RoleBindingApiAxiosParamCreator = function(configuration) {
|
|
|
1273
2050
|
options: localVarRequestOptions
|
|
1274
2051
|
};
|
|
1275
2052
|
},
|
|
1276
|
-
listv1alpha1RoleBinding: async (page, size,
|
|
2053
|
+
listv1alpha1RoleBinding: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1277
2054
|
const localVarPath = `/api/v1alpha1/rolebindings`;
|
|
1278
2055
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1279
2056
|
let baseOptions;
|
|
@@ -1283,14 +2060,19 @@ const V1alpha1RoleBindingApiAxiosParamCreator = function(configuration) {
|
|
|
1283
2060
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1284
2061
|
const localVarHeaderParameter = {};
|
|
1285
2062
|
const localVarQueryParameter = {};
|
|
2063
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2064
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1286
2065
|
if (page !== void 0) {
|
|
1287
2066
|
localVarQueryParameter["page"] = page;
|
|
1288
2067
|
}
|
|
1289
2068
|
if (size !== void 0) {
|
|
1290
2069
|
localVarQueryParameter["size"] = size;
|
|
1291
2070
|
}
|
|
1292
|
-
if (
|
|
1293
|
-
localVarQueryParameter["
|
|
2071
|
+
if (labelSelector) {
|
|
2072
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2073
|
+
}
|
|
2074
|
+
if (fieldSelector) {
|
|
2075
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1294
2076
|
}
|
|
1295
2077
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1296
2078
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1311,6 +2093,8 @@ const V1alpha1RoleBindingApiAxiosParamCreator = function(configuration) {
|
|
|
1311
2093
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1312
2094
|
const localVarHeaderParameter = {};
|
|
1313
2095
|
const localVarQueryParameter = {};
|
|
2096
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2097
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1314
2098
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1315
2099
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1316
2100
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1338,8 +2122,8 @@ const V1alpha1RoleBindingApiFp = function(configuration) {
|
|
|
1338
2122
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1RoleBinding(name, options);
|
|
1339
2123
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1340
2124
|
},
|
|
1341
|
-
async listv1alpha1RoleBinding(page, size,
|
|
1342
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1RoleBinding(page, size,
|
|
2125
|
+
async listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options) {
|
|
2126
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options);
|
|
1343
2127
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1344
2128
|
},
|
|
1345
2129
|
async updatev1alpha1RoleBinding(name, roleBinding, options) {
|
|
@@ -1360,8 +2144,8 @@ const V1alpha1RoleBindingApiFactory = function(configuration, basePath, axios) {
|
|
|
1360
2144
|
getv1alpha1RoleBinding(name, options) {
|
|
1361
2145
|
return localVarFp.getv1alpha1RoleBinding(name, options).then((request) => request(axios, basePath));
|
|
1362
2146
|
},
|
|
1363
|
-
listv1alpha1RoleBinding(page, size,
|
|
1364
|
-
return localVarFp.listv1alpha1RoleBinding(page, size,
|
|
2147
|
+
listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options) {
|
|
2148
|
+
return localVarFp.listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1365
2149
|
},
|
|
1366
2150
|
updatev1alpha1RoleBinding(name, roleBinding, options) {
|
|
1367
2151
|
return localVarFp.updatev1alpha1RoleBinding(name, roleBinding, options).then((request) => request(axios, basePath));
|
|
@@ -1378,8 +2162,8 @@ class V1alpha1RoleBindingApi extends BaseAPI {
|
|
|
1378
2162
|
getv1alpha1RoleBinding(name, options) {
|
|
1379
2163
|
return V1alpha1RoleBindingApiFp(this.configuration).getv1alpha1RoleBinding(name, options).then((request) => request(this.axios, this.basePath));
|
|
1380
2164
|
}
|
|
1381
|
-
listv1alpha1RoleBinding(page, size,
|
|
1382
|
-
return V1alpha1RoleBindingApiFp(this.configuration).listv1alpha1RoleBinding(page, size,
|
|
2165
|
+
listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options) {
|
|
2166
|
+
return V1alpha1RoleBindingApiFp(this.configuration).listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1383
2167
|
}
|
|
1384
2168
|
updatev1alpha1RoleBinding(name, roleBinding, options) {
|
|
1385
2169
|
return V1alpha1RoleBindingApiFp(this.configuration).updatev1alpha1RoleBinding(name, roleBinding, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1397,6 +2181,8 @@ const V1alpha1SettingApiAxiosParamCreator = function(configuration) {
|
|
|
1397
2181
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1398
2182
|
const localVarHeaderParameter = {};
|
|
1399
2183
|
const localVarQueryParameter = {};
|
|
2184
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2185
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1400
2186
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1401
2187
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1402
2188
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1418,6 +2204,8 @@ const V1alpha1SettingApiAxiosParamCreator = function(configuration) {
|
|
|
1418
2204
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1419
2205
|
const localVarHeaderParameter = {};
|
|
1420
2206
|
const localVarQueryParameter = {};
|
|
2207
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2208
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1421
2209
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1422
2210
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1423
2211
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1437,6 +2225,8 @@ const V1alpha1SettingApiAxiosParamCreator = function(configuration) {
|
|
|
1437
2225
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1438
2226
|
const localVarHeaderParameter = {};
|
|
1439
2227
|
const localVarQueryParameter = {};
|
|
2228
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2229
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1440
2230
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1441
2231
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1442
2232
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1445,7 +2235,7 @@ const V1alpha1SettingApiAxiosParamCreator = function(configuration) {
|
|
|
1445
2235
|
options: localVarRequestOptions
|
|
1446
2236
|
};
|
|
1447
2237
|
},
|
|
1448
|
-
listv1alpha1Setting: async (page, size,
|
|
2238
|
+
listv1alpha1Setting: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1449
2239
|
const localVarPath = `/api/v1alpha1/settings`;
|
|
1450
2240
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1451
2241
|
let baseOptions;
|
|
@@ -1455,14 +2245,19 @@ const V1alpha1SettingApiAxiosParamCreator = function(configuration) {
|
|
|
1455
2245
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1456
2246
|
const localVarHeaderParameter = {};
|
|
1457
2247
|
const localVarQueryParameter = {};
|
|
2248
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2249
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1458
2250
|
if (page !== void 0) {
|
|
1459
2251
|
localVarQueryParameter["page"] = page;
|
|
1460
2252
|
}
|
|
1461
2253
|
if (size !== void 0) {
|
|
1462
2254
|
localVarQueryParameter["size"] = size;
|
|
1463
2255
|
}
|
|
1464
|
-
if (
|
|
1465
|
-
localVarQueryParameter["
|
|
2256
|
+
if (labelSelector) {
|
|
2257
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2258
|
+
}
|
|
2259
|
+
if (fieldSelector) {
|
|
2260
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1466
2261
|
}
|
|
1467
2262
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1468
2263
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1483,6 +2278,8 @@ const V1alpha1SettingApiAxiosParamCreator = function(configuration) {
|
|
|
1483
2278
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1484
2279
|
const localVarHeaderParameter = {};
|
|
1485
2280
|
const localVarQueryParameter = {};
|
|
2281
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2282
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1486
2283
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1487
2284
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1488
2285
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1510,8 +2307,8 @@ const V1alpha1SettingApiFp = function(configuration) {
|
|
|
1510
2307
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1Setting(name, options);
|
|
1511
2308
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1512
2309
|
},
|
|
1513
|
-
async listv1alpha1Setting(page, size,
|
|
1514
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Setting(page, size,
|
|
2310
|
+
async listv1alpha1Setting(page, size, labelSelector, fieldSelector, options) {
|
|
2311
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Setting(page, size, labelSelector, fieldSelector, options);
|
|
1515
2312
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1516
2313
|
},
|
|
1517
2314
|
async updatev1alpha1Setting(name, setting, options) {
|
|
@@ -1532,8 +2329,8 @@ const V1alpha1SettingApiFactory = function(configuration, basePath, axios) {
|
|
|
1532
2329
|
getv1alpha1Setting(name, options) {
|
|
1533
2330
|
return localVarFp.getv1alpha1Setting(name, options).then((request) => request(axios, basePath));
|
|
1534
2331
|
},
|
|
1535
|
-
listv1alpha1Setting(page, size,
|
|
1536
|
-
return localVarFp.listv1alpha1Setting(page, size,
|
|
2332
|
+
listv1alpha1Setting(page, size, labelSelector, fieldSelector, options) {
|
|
2333
|
+
return localVarFp.listv1alpha1Setting(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1537
2334
|
},
|
|
1538
2335
|
updatev1alpha1Setting(name, setting, options) {
|
|
1539
2336
|
return localVarFp.updatev1alpha1Setting(name, setting, options).then((request) => request(axios, basePath));
|
|
@@ -1550,8 +2347,8 @@ class V1alpha1SettingApi extends BaseAPI {
|
|
|
1550
2347
|
getv1alpha1Setting(name, options) {
|
|
1551
2348
|
return V1alpha1SettingApiFp(this.configuration).getv1alpha1Setting(name, options).then((request) => request(this.axios, this.basePath));
|
|
1552
2349
|
}
|
|
1553
|
-
listv1alpha1Setting(page, size,
|
|
1554
|
-
return V1alpha1SettingApiFp(this.configuration).listv1alpha1Setting(page, size,
|
|
2350
|
+
listv1alpha1Setting(page, size, labelSelector, fieldSelector, options) {
|
|
2351
|
+
return V1alpha1SettingApiFp(this.configuration).listv1alpha1Setting(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1555
2352
|
}
|
|
1556
2353
|
updatev1alpha1Setting(name, setting, options) {
|
|
1557
2354
|
return V1alpha1SettingApiFp(this.configuration).updatev1alpha1Setting(name, setting, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1569,6 +2366,8 @@ const V1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
1569
2366
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1570
2367
|
const localVarHeaderParameter = {};
|
|
1571
2368
|
const localVarQueryParameter = {};
|
|
2369
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2370
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1572
2371
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1573
2372
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1574
2373
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1590,6 +2389,8 @@ const V1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
1590
2389
|
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1591
2390
|
const localVarHeaderParameter = {};
|
|
1592
2391
|
const localVarQueryParameter = {};
|
|
2392
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2393
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1593
2394
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1594
2395
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1595
2396
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1609,6 +2410,8 @@ const V1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
1609
2410
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1610
2411
|
const localVarHeaderParameter = {};
|
|
1611
2412
|
const localVarQueryParameter = {};
|
|
2413
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2414
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1612
2415
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1613
2416
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1614
2417
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1617,7 +2420,7 @@ const V1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
1617
2420
|
options: localVarRequestOptions
|
|
1618
2421
|
};
|
|
1619
2422
|
},
|
|
1620
|
-
listv1alpha1User: async (page, size,
|
|
2423
|
+
listv1alpha1User: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1621
2424
|
const localVarPath = `/api/v1alpha1/users`;
|
|
1622
2425
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1623
2426
|
let baseOptions;
|
|
@@ -1627,14 +2430,19 @@ const V1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
1627
2430
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1628
2431
|
const localVarHeaderParameter = {};
|
|
1629
2432
|
const localVarQueryParameter = {};
|
|
2433
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2434
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1630
2435
|
if (page !== void 0) {
|
|
1631
2436
|
localVarQueryParameter["page"] = page;
|
|
1632
2437
|
}
|
|
1633
2438
|
if (size !== void 0) {
|
|
1634
2439
|
localVarQueryParameter["size"] = size;
|
|
1635
2440
|
}
|
|
1636
|
-
if (
|
|
1637
|
-
localVarQueryParameter["
|
|
2441
|
+
if (labelSelector) {
|
|
2442
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2443
|
+
}
|
|
2444
|
+
if (fieldSelector) {
|
|
2445
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1638
2446
|
}
|
|
1639
2447
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1640
2448
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1655,6 +2463,8 @@ const V1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
1655
2463
|
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1656
2464
|
const localVarHeaderParameter = {};
|
|
1657
2465
|
const localVarQueryParameter = {};
|
|
2466
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2467
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1658
2468
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1659
2469
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1660
2470
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1682,8 +2492,8 @@ const V1alpha1UserApiFp = function(configuration) {
|
|
|
1682
2492
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1User(name, options);
|
|
1683
2493
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1684
2494
|
},
|
|
1685
|
-
async listv1alpha1User(page, size,
|
|
1686
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1User(page, size,
|
|
2495
|
+
async listv1alpha1User(page, size, labelSelector, fieldSelector, options) {
|
|
2496
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1User(page, size, labelSelector, fieldSelector, options);
|
|
1687
2497
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1688
2498
|
},
|
|
1689
2499
|
async updatev1alpha1User(name, user, options) {
|
|
@@ -1704,8 +2514,8 @@ const V1alpha1UserApiFactory = function(configuration, basePath, axios) {
|
|
|
1704
2514
|
getv1alpha1User(name, options) {
|
|
1705
2515
|
return localVarFp.getv1alpha1User(name, options).then((request) => request(axios, basePath));
|
|
1706
2516
|
},
|
|
1707
|
-
listv1alpha1User(page, size,
|
|
1708
|
-
return localVarFp.listv1alpha1User(page, size,
|
|
2517
|
+
listv1alpha1User(page, size, labelSelector, fieldSelector, options) {
|
|
2518
|
+
return localVarFp.listv1alpha1User(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1709
2519
|
},
|
|
1710
2520
|
updatev1alpha1User(name, user, options) {
|
|
1711
2521
|
return localVarFp.updatev1alpha1User(name, user, options).then((request) => request(axios, basePath));
|
|
@@ -1722,8 +2532,8 @@ class V1alpha1UserApi extends BaseAPI {
|
|
|
1722
2532
|
getv1alpha1User(name, options) {
|
|
1723
2533
|
return V1alpha1UserApiFp(this.configuration).getv1alpha1User(name, options).then((request) => request(this.axios, this.basePath));
|
|
1724
2534
|
}
|
|
1725
|
-
listv1alpha1User(page, size,
|
|
1726
|
-
return V1alpha1UserApiFp(this.configuration).listv1alpha1User(page, size,
|
|
2535
|
+
listv1alpha1User(page, size, labelSelector, fieldSelector, options) {
|
|
2536
|
+
return V1alpha1UserApiFp(this.configuration).listv1alpha1User(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1727
2537
|
}
|
|
1728
2538
|
updatev1alpha1User(name, user, options) {
|
|
1729
2539
|
return V1alpha1UserApiFp(this.configuration).updatev1alpha1User(name, user, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1746,4 +2556,4 @@ class Configuration {
|
|
|
1746
2556
|
}
|
|
1747
2557
|
}
|
|
1748
2558
|
|
|
1749
|
-
export {
|
|
2559
|
+
export { ApiHaloRunV1alpha1PluginApi, ApiHaloRunV1alpha1PluginApiAxiosParamCreator, ApiHaloRunV1alpha1PluginApiFactory, ApiHaloRunV1alpha1PluginApiFp, ApiHaloRunV1alpha1UserApi, ApiHaloRunV1alpha1UserApiAxiosParamCreator, ApiHaloRunV1alpha1UserApiFactory, ApiHaloRunV1alpha1UserApiFp, ApplesControllerApi, ApplesControllerApiAxiosParamCreator, ApplesControllerApiFactory, ApplesControllerApiFp, Configuration, CoreHaloRunV1alpha1LinkApi, CoreHaloRunV1alpha1LinkApiAxiosParamCreator, CoreHaloRunV1alpha1LinkApiFactory, CoreHaloRunV1alpha1LinkApiFp, CoreHaloRunV1alpha1LinkGroupApi, CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator, CoreHaloRunV1alpha1LinkGroupApiFactory, CoreHaloRunV1alpha1LinkGroupApiFp, PluginHaloRunV1alpha1PluginApi, PluginHaloRunV1alpha1PluginApiAxiosParamCreator, PluginHaloRunV1alpha1PluginApiFactory, PluginHaloRunV1alpha1PluginApiFp, PluginHaloRunV1alpha1ReverseProxyApi, PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator, PluginHaloRunV1alpha1ReverseProxyApiFactory, PluginHaloRunV1alpha1ReverseProxyApiFp, PluginStatusPhaseEnum, RunHaloTemplateV1alpha1AppleApi, RunHaloTemplateV1alpha1AppleApiAxiosParamCreator, RunHaloTemplateV1alpha1AppleApiFactory, RunHaloTemplateV1alpha1AppleApiFp, ThemeHaloRunV1alpha1ThemeApi, ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator, ThemeHaloRunV1alpha1ThemeApiFactory, ThemeHaloRunV1alpha1ThemeApiFp, V1alpha1ConfigMapApi, V1alpha1ConfigMapApiAxiosParamCreator, V1alpha1ConfigMapApiFactory, V1alpha1ConfigMapApiFp, V1alpha1PersonalAccessTokenApi, V1alpha1PersonalAccessTokenApiAxiosParamCreator, V1alpha1PersonalAccessTokenApiFactory, V1alpha1PersonalAccessTokenApiFp, V1alpha1RoleApi, V1alpha1RoleApiAxiosParamCreator, V1alpha1RoleApiFactory, V1alpha1RoleApiFp, V1alpha1RoleBindingApi, V1alpha1RoleBindingApiAxiosParamCreator, V1alpha1RoleBindingApiFactory, V1alpha1RoleBindingApiFp, V1alpha1SettingApi, V1alpha1SettingApiAxiosParamCreator, V1alpha1SettingApiFactory, V1alpha1SettingApiFp, V1alpha1UserApi, V1alpha1UserApiAxiosParamCreator, V1alpha1UserApiFactory, V1alpha1UserApiFp };
|