-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ability to map devices into containers when permitted for spawnpo…
…int daemon (closes #30)
- Loading branch information
Showing
7 changed files
with
37 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
package main | ||
|
||
type DaemonConfig struct { | ||
Entity string `yaml:"entity"` | ||
Alias string `yaml:"alias"` | ||
Path string `yaml:"path"` | ||
LocalRouter string `yaml:"localRouter"` | ||
ContainerRouter string `yaml:"containerRouter"` | ||
MemAlloc string `yaml:"memAlloc"` | ||
CPUShares uint64 `yaml:"cpuShares"` | ||
AllowHostNet bool `yaml:"allowHostNet"` | ||
Entity string `yaml:"entity"` | ||
Alias string `yaml:"alias"` | ||
Path string `yaml:"path"` | ||
LocalRouter string `yaml:"localRouter"` | ||
ContainerRouter string `yaml:"containerRouter"` | ||
MemAlloc string `yaml:"memAlloc"` | ||
CPUShares uint64 `yaml:"cpuShares"` | ||
AllowHostNet bool `yaml:"allowHostNet"` | ||
AllowDeviceMappings bool `yaml:"allowDeviceMappings"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters