2021-05-27 15:19:19 +00:00
|
|
|
declare type AnvilStatusHost = {
|
2021-05-27 23:17:13 +00:00
|
|
|
state: 'offline' | 'booted' | 'crmd' | 'in_ccm' | 'online';
|
2021-05-26 20:51:23 +00:00
|
|
|
host_uuid: string;
|
|
|
|
host_name: string;
|
2021-04-08 14:35:01 +00:00
|
|
|
state_percent: number;
|
|
|
|
state_message: string;
|
2021-05-14 19:39:10 +00:00
|
|
|
removable: boolean;
|
2021-04-08 14:35:01 +00:00
|
|
|
};
|
|
|
|
|
2021-02-16 22:50:01 +00:00
|
|
|
declare type AnvilStatus = {
|
2021-03-25 15:02:50 +00:00
|
|
|
anvil_state: 'optimal' | 'not_ready' | 'degraded';
|
2021-05-27 15:19:19 +00:00
|
|
|
hosts: Array<AnvilStatusHost>;
|
2021-02-16 22:50:01 +00:00
|
|
|
};
|