summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole3/frontend/src/app/model/image.ts
blob: 2a85299f8f0df43004dfa8650b317d869781a99e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { Resource } from 'globunet-angular/core/models/api/resource';
import {Repository} from './repository';

export class PartitionInfo {
  numDisk: number;
  numPartition: number;
  partitionCode: string;
  filesystem: string;
  osName: string;
}

export class Image extends Resource {
  public canonicalName: string = '';
  public repository: Repository = new Repository();
  public description: string = '';
  public comments: string = '';
  public revision: string;
  public createdAt: Date;
  public partitionInfo: PartitionInfo;
}