mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 08:19:40 +02:00
This commit is contained in:
parent
d2702d6d7b
commit
5bca9560c9
16 changed files with 278 additions and 10 deletions
|
@ -26,6 +26,12 @@ function ImageFactory($resource, API_ENDPOINT_ENDPOINTS, EndpointProvider, HttpR
|
|||
headers: { 'X-Registry-Auth': HttpRequestHelper.registryAuthenticationHeader },
|
||||
ignoreLoadingBar: true
|
||||
},
|
||||
download: {
|
||||
method: 'GET', params: {action:'get', names: '@names'},
|
||||
transformResponse: imageGetResponse,
|
||||
responseType: 'blob',
|
||||
ignoreLoadingBar: true
|
||||
},
|
||||
remove: {
|
||||
method: 'DELETE', params: {id: '@id', force: '@force'},
|
||||
isArray: true, transformResponse: deleteImageHandler
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue