refactor scheduler factory to use plugin architecture style like credentialprovider and cloudprovider for configuring priority functions and fit predicates

This commit is contained in:
Mike Danese
2014-12-09 20:25:45 -08:00
parent 7c66ebe2e0
commit 4850bdbe63
9 changed files with 329 additions and 102 deletions

View File

@@ -43,7 +43,7 @@ func TestCreate(t *testing.T) {
defer server.Close()
client := client.NewOrDie(&client.Config{Host: server.URL, Version: testapi.Version()})
factory := NewConfigFactory(client)
factory.Create(nil, nil)
factory.Create()
}
func TestCreateLists(t *testing.T) {