File tree Expand file tree Collapse file tree 3 files changed +401
-135
lines changed
Expand file tree Collapse file tree 3 files changed +401
-135
lines changed Original file line number Diff line number Diff line change @@ -318,25 +318,6 @@ export async function getContainersStats(): Promise<any> {
318318 return response . data
319319}
320320
321- /**
322- * Fetch logs of a given container.
323- * @param {string } containerName The name of the container
324- * @param {function } progressHandler The progress handler for the download
325- * @param {AbortSignal } cancelToken The cancel token for the request
326- */
327- export async function getContainerLogs (
328- containerName : string ,
329- progressHandler : ( event : any ) => void ,
330- cancelToken : AbortSignal | undefined ,
331- ) : Promise < any > {
332- await back_axios ( {
333- method : 'GET' ,
334- url : `${ KRAKEN_API_V2_URL } /container/${ containerName } /log` ,
335- onDownloadProgress : progressHandler ,
336- signal : cancelToken ,
337- } )
338- }
339-
340321/**
341322 * Upload a tar file containing a Docker image and extract metadata
342323 * @param {File } file The tar file to upload
@@ -426,7 +407,6 @@ export default {
426407 restartExtension,
427408 listContainers,
428409 getContainersStats,
429- getContainerLogs,
430410 uploadExtensionTarFile,
431411 keepTemporaryExtensionAlive,
432412 finalizeExtension,
You can’t perform that action at this time.
0 commit comments