open-nomad/ui/app/models/job-plan.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
383 B
JavaScript
Raw Normal View History

import Model from '@ember-data/model';
import { attr } from '@ember-data/model';
import { fragmentArray } from 'ember-data-model-fragments/attributes';
import { hasMany } from '@ember-data/model';
export default class JobPlan extends Model {
@attr() diff;
2021-12-28 16:08:12 +00:00
@fragmentArray('placement-failure', { defaultValue: () => [] })
failedTGAllocs;
@hasMany('allocation') preemptions;
}