package
Version:
v0.8.1
Opens a new window with list of versions in this module.
Published: Nov 16, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package restart is the container restart-policy vocabulary.
Policy is an Engine / Compose restart policy name.
const (
No Policy = "no"
OnFailure Policy = "on-failure"
Always Policy = "always"
UnlessStopped Policy = "unless-stopped"
)
All returns every known restart policy.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.