package
Version:
v0.0.0-...-4af5f65
Opens a new window with list of versions in this module.
Published: Nov 23, 2017
License: Apache-2.0, CC-BY-4.0
Opens a new window with license information.
Imports: 22
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
WithLocal uses an in process shim
Client is a shim client containing the connection to a shim
New returns a new shim client
Close the cient connection
IsAlive returns true if the shim can be contacted.
NOTE: a negative answer doesn't mean that the process is gone.
KillShim kills the shim forcefully and wait for the process to disappear
StopShim signals the shim to exit and wait for the process to disappear
Opt is an option for a shim client configuration
WithConnect connects to an existing shim
func WithStart(binary, address, daemonAddress, cgroup string, nonewns, debug bool, exitHandler func()) Opt
WithStart executes a new shim process
Source Files
¶
Click to show internal directories.
Click to hide internal directories.