Add support for starting/stopping/killing a server via the API

This commit is contained in:
Dane Everitt
2019-04-05 22:55:48 -07:00
parent 134debd529
commit 7f50ff1f92
2 changed files with 74 additions and 1 deletions

View File

@@ -191,6 +191,10 @@ func FromConfiguration(data []byte, cfg DockerConfiguration) (*Server, error) {
return s, nil
}
func (s *Server) Environment() Environment {
return s.environment
}
func (s *Server) Filesystem() *Filesystem {
return s.fs
}