mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Inverting deps on SQL, Log and MQ plugins to make them optional dependencies of extended servers, Removing some dead code that brought in unused dependencies Filtering out some non-linux transitive deps. (#1057)
* initial Db helper split - make SQL and datastore packages optional * abstracting log store * break out DB, MQ and log drivers as extensions * cleanup * fewer deps * fixing docker test * hmm dbness * updating db startup * Consolidate all your extensions into one convenient package * cleanup * clean up dep constraints
This commit is contained in:
14
api/server/defaultexts/defaultexts.go
Normal file
14
api/server/defaultexts/defaultexts.go
Normal file
@@ -0,0 +1,14 @@
|
||||
// defaultexts are the extensions that are auto-loaded in to the default fnserver binary
|
||||
// included here as a package to simplify inclusion in testing
|
||||
package defaultexts
|
||||
|
||||
import (
|
||||
_ "github.com/fnproject/fn/api/datastore/sql"
|
||||
_ "github.com/fnproject/fn/api/datastore/sql/mysql"
|
||||
_ "github.com/fnproject/fn/api/datastore/sql/postgres"
|
||||
_ "github.com/fnproject/fn/api/datastore/sql/sqlite"
|
||||
_ "github.com/fnproject/fn/api/logs/s3"
|
||||
_ "github.com/fnproject/fn/api/mqs/bolt"
|
||||
_ "github.com/fnproject/fn/api/mqs/memory"
|
||||
_ "github.com/fnproject/fn/api/mqs/redis"
|
||||
)
|
||||
@@ -16,6 +16,7 @@ import (
|
||||
"github.com/fnproject/fn/api/agent"
|
||||
"github.com/fnproject/fn/api/datastore"
|
||||
"github.com/fnproject/fn/api/datastore/sql"
|
||||
_ "github.com/fnproject/fn/api/datastore/sql/sqlite"
|
||||
"github.com/fnproject/fn/api/id"
|
||||
"github.com/fnproject/fn/api/logs"
|
||||
"github.com/fnproject/fn/api/models"
|
||||
|
||||
Reference in New Issue
Block a user