package
Version:
v1.1.1
Opens a new window with list of versions in this module.
Published: Jul 9, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 19
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
func WithConnect(address string, onClose func()) Opt
WithConnect connects to an existing shim
func WithStart(binary, address, daemonAddress, cgroup string, debug bool, exitHandler func()) Opt
WithStart executes a new shim process
Source Files
¶
Click to show internal directories.
Click to hide internal directories.