Implement opcode summary support
This implements in the Haskell codebase the opcode summary. As opposed to Python, we always use custom code for formatting, since we don't want to use dynamic attribute lookup. To test this properly, we need to change MetaOpCode to record-syntax, so that we get accessor functions. Signed-off-by:Iustin Pop <iustin@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
Showing
- htest/Test/Ganeti/OpCodes.hs 8 additions, 4 deletionshtest/Test/Ganeti/OpCodes.hs
- htools/Ganeti/OpCodes.hs 71 additions, 3 deletionshtools/Ganeti/OpCodes.hs
- htools/Ganeti/OpParams.hs 1 addition, 0 deletionshtools/Ganeti/OpParams.hs
- htools/Ganeti/Query/Language.hs 1 addition, 0 deletionshtools/Ganeti/Query/Language.hs
Loading
Please register or sign in to comment