mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Clean up/make consistent the APIs for registering core components, make Docker an optional component at compile time (#1111)
This commit is contained in:
@@ -5,6 +5,7 @@ package defaultexts
|
||||
|
||||
import (
|
||||
// import all datastore/log/mq modules for runtime config
|
||||
_ "github.com/fnproject/fn/api/agent/drivers/docker"
|
||||
_ "github.com/fnproject/fn/api/datastore/sql"
|
||||
_ "github.com/fnproject/fn/api/datastore/sql/mysql"
|
||||
_ "github.com/fnproject/fn/api/datastore/sql/postgres"
|
||||
|
||||
@@ -13,6 +13,7 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/fnproject/fn/api/agent"
|
||||
_ "github.com/fnproject/fn/api/agent/drivers/docker"
|
||||
"github.com/fnproject/fn/api/datastore"
|
||||
"github.com/fnproject/fn/api/datastore/sql"
|
||||
_ "github.com/fnproject/fn/api/datastore/sql/sqlite"
|
||||
|
||||
Reference in New Issue
Block a user