hunk.code_window: 	if err != nil {
   		return err
   	}
   	return nil
   }
  
hunk.labels: keep keep keep add keep keep keep
hunk.after_edit:   if *flags.NoAuth && (*flags.AdminPassword != "") {
       return errNoAuthExcludeAdminPassword
     }
  
hunk.file_path: api/cli/cli.go
hunk.type: add
file: function ImageViewModel(data) {
    this.Id = data.Id;
    this.Tag = data.Tag;
    this.Repository = data.Repository;
    this.Created = data.Created;
    this.Checked = false;
    this.RepoTags = data.RepoTags;
    this.VirtualSize = data.VirtualSize;
  }
  