Revision 7f0fd838 htools/Ganeti/Query/Node.hs

b/htools/Ganeti/Query/Node.hs
24 24
-}
25 25

  
26 26
module Ganeti.Query.Node
27
  ( NodeRuntime(..)
27
  ( NodeRuntime
28 28
  , nodeFieldsMap
29 29
  ) where
30 30

  
......
34 34

  
35 35
import Ganeti.Config
36 36
import Ganeti.Objects
37
import Ganeti.Rpc
37 38
import Ganeti.Query.Language
38 39
import Ganeti.Query.Common
39 40
import Ganeti.Query.Types
40 41

  
41
-- | Stub data type until we integrate the RPC.
42
data NodeRuntime = NodeRuntime
42
-- | NodeRuntime is the resulting type for NodeInfo call.
43
type NodeRuntime = Either RpcError RpcResultNodeInfo
43 44

  
44 45
-- | List of node live fields, all ignored for now (no RPC).
45 46
nodeLiveFieldsDefs :: [(FieldName, FieldTitle, FieldType, String, FieldDoc)]

Also available in: Unified diff