Class: Takelage::DockerContainerCheck
- Inherits:
-
SubCommandBase
- Object
- Thor
- SubCommandBase
- Takelage::DockerContainerCheck
- Includes:
- ConfigModule, DockerCheckDaemon, DockerCheckSocat, DockerContainerCheckExisting, DockerContainerCheckNetwork, DockerContainerCheckOrphaned, LoggingModule, SystemModule
- Defined in:
- lib/takelage/docker/container/check/cli.rb
Overview
takelage docker container check
Instance Method Summary collapse
-
#existing(container) ⇒ Object
Check if docker container is existing.
-
#network(network) ⇒ Object
Check if docker network is existing.
-
#orphaned(container) ⇒ Object
Check if docker container is orphaned.
Methods included from DockerContainerCheckOrphaned
#docker_container_check_orphaned
Methods included from DockerContainerCheckNetwork
#docker_container_check_network
Methods included from DockerContainerCheckExisting
#docker_container_check_existing
Methods included from DockerCheckSocat
Methods included from DockerCheckDaemon
Methods included from ConfigModule
#config, #configured?, #initialize_config
Methods included from SystemModule
#hash_to_yaml, #read_yaml_erb_file, #read_yaml_file, #rm_fr, #run, #run_and_exit, #run_and_fork, #try
Methods included from LoggingModule
Methods inherited from SubCommandBase
Instance Method Details
#existing(container) ⇒ Object
Check if docker container is existing.
25 26 27 |
# File 'lib/takelage/docker/container/check/cli.rb', line 25 def existing(container) exit docker_container_check_existing container end |
#network(network) ⇒ Object
Check if docker network is existing.
39 40 41 |
# File 'lib/takelage/docker/container/check/cli.rb', line 39 def network(network) exit docker_container_check_network network end |
#orphaned(container) ⇒ Object
Check if docker container is orphaned.
54 55 56 |
# File 'lib/takelage/docker/container/check/cli.rb', line 54 def orphaned(container) exit docker_container_check_orphaned container end |