mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user