support configuration-based relative dirs (host and agent) for iofs (#1213)

* support configuration-based relative dirs (host and agent) for iofs mounts
* Send UDS requests as POST to <UDS>/call
This commit is contained in:
Owen Cliffe
2018-09-17 11:59:16 +01:00
committed by GitHub
parent a0ef26bdb7
commit 6567f6e8ef
6 changed files with 108 additions and 45 deletions

View File

@@ -162,9 +162,14 @@ type ContainerTask interface {
// more specific but it's easier to be lazy.
Extensions() map[string]string
// UDSPath to use to configure the unix domain socket. the drivers
// UDSAgentPath to use to configure the unix domain socket.
// This is the mount point relative to the agent
// abstractions have leaked so bad at this point it's a monsoon.
UDSPath() string
UDSAgentPath() string
// UDSDockerPath to use to configure the unix domain socket. the drivers
// This is the mount point relative to the docker host.
UDSDockerPath() string
}
// Stat is a bucket of stats from a driver at a point in time for a certain task.