package restartmanager
import "github.com/dotcloud/docker/restartmanager"
Index ¶
Types ¶
type RestartManager ¶
type RestartManager interface { Cancel() error ShouldRestart(exitCode uint32) (bool, chan error, error) }
RestartManager defines object that controls container restarting rules.
func New ¶
func New(policy container.RestartPolicy) RestartManager
New returns a new restartmanager based on a policy.
Source Files ¶
- Version
- v1.11.0-rc3
- Published
- Apr 1, 2016
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 7 minutes ago –
Tools for package owners.