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

New returns a new restartmanager based on a policy.

Source Files

restartmanager.go

Version
v1.11.0-rc4
Published
Apr 7, 2016
Platform
js/wasm
Imports
4 packages
Last checked
2 minutes ago

Tools for package owners.