clean up hardcoded lsnr.sock refs, move iofs to /tmp (#1221)

* clean up hardcoded lsnr.sock refs

because what drivers.ContainerTask needs is another method, and we all know it

atoning for my sins the first time around. and yes, i refuse to use a cross
package exported constant (just think of the dep graphs)

* fix tests
This commit is contained in:
Reed Allman
2018-09-18 08:12:44 -07:00
committed by GitHub
parent 539d80cab2
commit 3a82790d99
7 changed files with 20 additions and 6 deletions

View File

@@ -170,6 +170,10 @@ type ContainerTask interface {
// UDSDockerPath to use to configure the unix domain socket. the drivers
// This is the mount point relative to the docker host.
UDSDockerPath() string
// UDSDockerDest is the destination mount point for uds path. it is the path
// of the directory where the sock file resides inside of the container.
UDSDockerDest() string
}
// Stat is a bucket of stats from a driver at a point in time for a certain task.