Class: Takeltau::DockerImage
- Inherits:
-
SubCommandBase
- Object
- Thor
- SubCommandBase
- Takeltau::DockerImage
- Includes:
- ConfigModule, DockerCheckDaemon, DockerImageUpdate, LoggingModule, SystemModule
- Defined in:
- lib/takeltau/docker/image/cli.rb
Overview
tau docker image
Instance Method Summary collapse
-
#initialize(args = [], local_options = {}, configuration = {}) ⇒ DockerImage
constructor
Initialize takelage docker image.
-
#update ⇒ Object
Get latest remote docker container.
Methods included from DockerImageUpdate
Methods included from DockerCheckDaemon
Methods included from ConfigModule
#config, #configured?, #initialize_config
Methods included from SystemModule
#command_available_else_error?, #hash_to_yaml, #read_yaml_erb_file, #read_yaml_file, #rm_fr, #run, #run_and_capture, #run_and_exit, #run_and_fork, #try, #write_file
Methods included from LoggingModule
Methods inherited from SubCommandBase
Constructor Details
#initialize(args = [], local_options = {}, configuration = {}) ⇒ DockerImage
Initialize takelage docker image
13 14 15 16 17 18 19 20 21 |
# File 'lib/takeltau/docker/image/cli.rb', line 13 def initialize(args = [], = {}, configuration = {}) # initialize thor parent class super @docker_user = config.active['docker_user'] @docker_repo = config.active['docker_repo'] @docker_tag = config.active['docker_tag'] @docker_registry = config.active['docker_registry'] end |
Instance Method Details
#update ⇒ Object
Get latest remote docker container.
36 37 38 |
# File 'lib/takeltau/docker/image/cli.rb', line 36 def update exit docker_image_update end |