mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 21:35:23 +02:00
feat(registry): inspect repository images (#3121)
* feat(registry): inspect repository images * fix(registry): tag inspect column sorting
This commit is contained in:
parent
2445a5aed5
commit
f67e866e7e
6 changed files with 268 additions and 1 deletions
|
@ -0,0 +1,14 @@
|
|||
export function RegistryImageDetailsViewModel(data) {
|
||||
this.Id = data.id;
|
||||
this.Parent = data.parent;
|
||||
this.Created = data.created;
|
||||
this.DockerVersion = data.docker_version;
|
||||
this.Os = data.os;
|
||||
this.Architecture = data.architecture;
|
||||
this.Author = data.author;
|
||||
this.Command = data.config.Cmd;
|
||||
this.Entrypoint = data.container_config.Entrypoint ? data.container_config.Entrypoint : '';
|
||||
this.ExposedPorts = data.container_config.ExposedPorts ? Object.keys(data.container_config.ExposedPorts) : [];
|
||||
this.Volumes = data.container_config.Volumes ? Object.keys(data.container_config.Volumes) : [];
|
||||
this.Env = data.container_config.Env ? data.container_config.Env : [];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue