anvil/striker-ui/types/AnvilStatus.d.ts

14 lines
331 B
TypeScript
Raw Normal View History

declare type AnvilStatusHost = {
state: 'offline' | 'booted' | 'crmd' | 'in_ccm' | 'online';
host_uuid: string;
host_name: string;
2021-04-08 14:35:01 +00:00
state_percent: number;
state_message: string;
removable: boolean;
2021-04-08 14:35:01 +00:00
};
2021-02-16 22:50:01 +00:00
declare type AnvilStatus = {
anvil_state: 'optimal' | 'not_ready' | 'degraded';
hosts: Array<AnvilStatusHost>;
2021-02-16 22:50:01 +00:00
};