2013-06-18 19:08:17 -09:00
|
|
|
|
|
|
|
function ImageViewModel(data) {
|
|
|
|
this.Id = data.Id;
|
|
|
|
this.Tag = data.Tag;
|
|
|
|
this.Repository = data.Repository;
|
|
|
|
this.Created = data.Created;
|
|
|
|
this.Checked = false;
|
2013-12-13 10:26:58 -08:00
|
|
|
this.RepoTags = data.RepoTags;
|
2013-06-18 19:08:17 -09:00
|
|
|
}
|
2013-06-19 12:39:33 -09:00
|
|
|
|
|
|
|
function ContainerViewModel(data) {
|
|
|
|
this.Id = data.Id;
|
|
|
|
this.Image = data.Image;
|
|
|
|
this.Command = data.Command;
|
|
|
|
this.Created = data.Created;
|
|
|
|
this.SizeRw = data.SizeRw;
|
|
|
|
this.Status = data.Status;
|
|
|
|
this.Checked = false;
|
2013-12-13 10:05:35 -08:00
|
|
|
this.Names = data.Names;
|
2013-06-19 12:39:33 -09:00
|
|
|
}
|