package
Version:
v1.0.0-beta.3
Opens a new window with list of versions in this module.
Published: Nov 8, 2017
License: Apache-2.0, CC-BY-4.0
Opens a new window with license information.
Imports: 21
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.