mirror of
https://github.com/docker/docs.git
synced 2026-03-30 07:48:52 +07:00
So other packages don't need to import the daemon package when they want to use this struct. Signed-off-by: David Calavera <david.calavera@gmail.com> Signed-off-by: Tibor Vass <tibor@docker.com>
12 lines
362 B
Go
12 lines
362 B
Go
// +build linux freebsd
|
|
|
|
package daemon
|
|
|
|
import "github.com/docker/docker/container"
|
|
|
|
// excludeByIsolation is a platform specific helper function to support PS
|
|
// filtering by Isolation. This is a Windows-only concept, so is a no-op on Unix.
|
|
func excludeByIsolation(container *container.Container, ctx *listContext) iterationAction {
|
|
return includeContainer
|
|
}
|