Versions in this module Expand all Collapse all v1 v1.4.0-rc1 Oct 19, 2018 v1.3.0 Oct 11, 2018 Changes in this version + const DaemonRestartBackoffMin + const DaemonRestartHealthy + const DaemonRestartMaxWait + const EnvProxyID + const EnvProxyToken + const EnvSidecarFor + const ManagerCoalescePeriod + const ManagerQuiescentPeriod + const ManagerSnapshotPeriod + type Daemon struct + Command *exec.Cmd + Logger *log.Logger + PidPath string + ProxyID string + ProxyToken string + func (p *Daemon) Close() error + func (p *Daemon) Equal(raw Proxy) bool + func (p *Daemon) MarshalSnapshot() map[string]interface{} + func (p *Daemon) Start() error + func (p *Daemon) Stop() error + func (p *Daemon) UnmarshalSnapshot(m map[string]interface{}) error + type Manager struct + AllowRoot bool + CoalescePeriod time.Duration + DataDir string + Logger *log.Logger + ProxyEnv []string + QuiescentPeriod time.Duration + SnapshotPeriod time.Duration + State *local.State + func NewManager() *Manager + func (m *Manager) Close() error + func (m *Manager) Kill() error + func (m *Manager) Restore(path string) error + func (m *Manager) Run() + func (m *Manager) Snapshot(path string) error + func (m *Manager) SnapshotPath() string + type Noop struct + func (p *Noop) Close() error + func (p *Noop) Equal(Proxy) bool + func (p *Noop) MarshalSnapshot() map[string]interface{} + func (p *Noop) Start() error + func (p *Noop) Stop() error + func (p *Noop) UnmarshalSnapshot(map[string]interface{}) error + type Proxy interface + Close func() error + Equal func(Proxy) bool + MarshalSnapshot func() map[string]interface{} + Start func() error + Stop func() error + UnmarshalSnapshot func(map[string]interface{}) error