Revision 4ba5f148
ID | 4ba5f1487862301d5c28891c7b628d1cb059d95a |
Parent | a5e58418 |
Child | 8072af6c |
harep: pure function to detect brokeness with instances
Add a 'detectBroken' function that determines whether an instance is in an
unhealthy state, and what's needed to repair it. The repair is specified as
an AutoRepairType constant, and a list of opcodes. The opcodes will only be
executed (in following patches) if the repair type is allowed by the policy.
Signed-off-by: Dato Simó <dato@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Files
- added
- modified
- copied
- renamed
- deleted