98bd72a44e
1. `vaultError` and `failedSibling` are safe to remove see https://github.com/hashicorp/nomad/blob/64e9cf9/nomad/structs/structs.go#L3979-L3986
29 lines
771 B
JavaScript
29 lines
771 B
JavaScript
import Fragment from 'ember-data-model-fragments/fragment';
|
|
import attr from 'ember-data/attr';
|
|
import { fragmentOwner } from 'ember-data-model-fragments/attributes';
|
|
|
|
export default Fragment.extend({
|
|
state: fragmentOwner(),
|
|
|
|
type: attr('string'),
|
|
signal: attr('number'),
|
|
exitCode: attr('number'),
|
|
|
|
time: attr('date'),
|
|
timeNanos: attr('number'),
|
|
|
|
downloadError: attr('string'),
|
|
driverError: attr('string'),
|
|
driverMessage: attr('string'),
|
|
killError: attr('string'),
|
|
killReason: attr('string'),
|
|
killTimeout: attr('number'),
|
|
restartReason: attr('string'),
|
|
setupError: attr('string'),
|
|
startDelay: attr('number'),
|
|
taskSignal: attr('string'),
|
|
taskSignalReason: attr('string'),
|
|
validationError: attr('string'),
|
|
message: attr('string'),
|
|
});
|