package
0.0.0-20200321120002-dd2de08144c3
Repository: https://github.com/wuka1/docker.git
Documentation: pkg.go.dev
# Functions
New returns a Daemon instance to be used for testing.
SignalDaemonDump sends a signal to the daemon to write a dump file.
WithDockerdBinary sets the dockerd binary to the specified one.
WithEnvironment sets options from internal/test/environment.Execution struct.
WithExperimental sets the daemon in experimental mode.
WithInit sets the daemon init.
WithSwarmDataPathPort sets the swarm datapath port to use for swarm mode.
WithSwarmDefaultAddrPool sets the swarm default address pool to use for swarm mode.
WithSwarmDefaultAddrPoolSubnetSize sets the subnet length mask of swarm default address pool to use for swarm mode.
WithSwarmListenAddr sets the swarm listen addr to use for swarm mode.
WithSwarmPort sets the swarm port to use for swarm mode.
# Constants
DefaultSwarmPort is the default port use for swarm in the tests.
# Variables
SockRoot holds the path of the default docker integration daemon socket.
# Type aliases
ConfigConstructor defines a swarm config constructor.
NodeConstructor defines a swarm node constructor.
SecretConstructor defines a swarm secret constructor.
ServiceConstructor defines a swarm service constructor function.
SpecConstructor defines a swarm spec constructor.