Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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.
Click to show internal directories.
Click to hide internal directories.