Safe Haskell | Safe-Infered |
---|
Common functionality for htools-related unittests.
- nullISpec :: ISpec
- nullIPolicy :: IPolicy
- defGroup :: Group
- defGroupList :: List
- defGroupAssoc :: Map String Gdx
- createInstance :: Int -> Int -> Int -> Instance
- makeSmallCluster :: Node -> Int -> List
- setInstanceSmallerThanNode :: Node -> Instance -> Instance
Helpers
Null iPolicy, and by null we mean very liberal.
Default group, as a (singleton) List
.
defGroupAssoc :: Map String GdxSource
Default group, as a string map.
createInstance :: Int -> Int -> Int -> InstanceSource
Create an instance given its spec.
makeSmallCluster :: Node -> Int -> ListSource
Create a small cluster by repeating a node spec.
setInstanceSmallerThanNode :: Node -> Instance -> InstanceSource
Update an instance to be smaller than a node.