mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
fn: allow specified docker networks in functions (#982)
* fn: allow specified docker networks in functions If FN_DOCKER_NETWORK is specified with a list of networks, then agent driver picks the least used network to place functions on. * add mutex comment
This commit is contained in:
@@ -190,7 +190,8 @@ const (
|
||||
)
|
||||
|
||||
type Config struct {
|
||||
Docker string `json:"docker"`
|
||||
Docker string `json:"docker"`
|
||||
DockerNetworks string `json:"docker_networks"`
|
||||
// TODO CPUShares should likely be on a per container basis
|
||||
CPUShares int64 `json:"cpu_shares"`
|
||||
ServerVersion string `json:"server_version"`
|
||||
|
||||
Reference in New Issue
Block a user