Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
docker-companion
v0.5.1
Top Level Namespace
Companion
Bot
Commands
Command
Help
Down
Help
Images
Help
Logs
Help
Networks
Help
Projects
Help
Update
Help
Config
Matrix
Docker
Client
ConflictException
ConnectNetworkOptions
Container
CreateContainerOptions
EndpointConfig
Env
ExposedPorts
HostConfig
Mount
Type
PortBinding
RestartPolicy
Name
NetworkingConfig
Volumes
CreateContainerResponse
CreateImageResponse
CreateNetworkOptions
CreateNetworkResponse
Image
Local
Config
Network
Port
Type
Compose
File
Network
Service
Service
Port
RestartPolicy
Volume
Mode
Manager
ImageState
UpdateEvent
Project
ProjectUpdate
Built with Crystal 1.9.2
2023-10-08 13:21:58 UTC
enum
Companion::Docker::Compose::Service::RestartPolicy
Defined in:
docker/compose/compose.cr
Enum Members
No
=
0
Always
=
1
OnFailure
=
2
UnlessStopped
=
3
Instance Method Summary
#always?
#no?
#on_failure?
#unless_stopped?
Instance Method Detail
def
always?
#
[
View source
]
def
no?
#
[
View source
]
def
on_failure?
#
[
View source
]
def
unless_stopped?
#
[
View source
]