Change a type of collection of strategies for NodePreparer

This commit is contained in:
gmarek
2016-10-24 11:42:08 +02:00
parent 40b66e178b
commit aeba0f1dc4
6 changed files with 21 additions and 16 deletions

View File

@@ -608,6 +608,11 @@ waitLoop:
return nil
}
type CountToStrategy struct {
Count int
Strategy PrepareNodeStrategy
}
type TestNodePreparer interface {
PrepareNodes() error
CleanupNodes() error