open-nomad/ui/app/models/task.js
Alex Dadgar e5ec915ac3 sync
2017-09-19 10:08:23 -05:00

13 lines
323 B
JavaScript

import attr from 'ember-data/attr';
import Fragment from 'ember-data-model-fragments/fragment';
export default Fragment.extend({
name: attr('string'),
driver: attr('string'),
reservedMemory: attr('number'),
reservedCPU: attr('number'),
reservedDisk: attr('number'),
reservedEphemeralDisk: attr('number'),
});