module DockerTools
Constants
- VERSION
Attributes
name[RW]
Public Class Methods
default_dependency_fallback_tag()
click to toggle source
# File lib/docker_tools.rb, line 10 def default_dependency_fallback_tag 'latest' end
default_no_pull()
click to toggle source
# File lib/docker_tools.rb, line 18 def default_no_pull false end
dependency_fallback_tag()
click to toggle source
# File lib/docker_tools.rb, line 34 def dependency_fallback_tag @dependency_fallback_tag ||= env_dependency_fallback_tag || default_dependency_fallback_tag end
dependency_fallback_tag=(new_dependency_fallback_tag)
click to toggle source
# File lib/docker_tools.rb, line 38 def dependency_fallback_tag=(new_dependency_fallback_tag) @dependency_fallback_tag = new_dependency_fallback_tag end
env_dependency_fallback_tag()
click to toggle source
# File lib/docker_tools.rb, line 14 def env_dependency_fallback_tag ENV['DOCKER_DEPENDENCY_FALLBACK_TAG'] end
env_no_pull()
click to toggle source
# File lib/docker_tools.rb, line 22 def env_no_pull ENV['DOCKER_NO_PULL'] end
image_timeout()
click to toggle source
# File lib/docker_tools.rb, line 42 def image_timeout @image_timeout = 1000 end
image_timeout=(new_image_timeout)
click to toggle source
# File lib/docker_tools.rb, line 46 def image_timeout=(new_image_timeout) @image_timeout = new_image_timeout end
no_pull()
click to toggle source
# File lib/docker_tools.rb, line 26 def no_pull @no_pull ||= env_no_pull || default_no_pull end
no_pull=(new_no_pull)
click to toggle source
# File lib/docker_tools.rb, line 30 def no_pull=(new_no_pull) @no_pull = new_no_pull end
Private Instance Methods
default_dependency_fallback_tag()
click to toggle source
# File lib/docker_tools.rb, line 10 def default_dependency_fallback_tag 'latest' end
default_no_pull()
click to toggle source
# File lib/docker_tools.rb, line 18 def default_no_pull false end
dependency_fallback_tag()
click to toggle source
# File lib/docker_tools.rb, line 34 def dependency_fallback_tag @dependency_fallback_tag ||= env_dependency_fallback_tag || default_dependency_fallback_tag end
dependency_fallback_tag=(new_dependency_fallback_tag)
click to toggle source
# File lib/docker_tools.rb, line 38 def dependency_fallback_tag=(new_dependency_fallback_tag) @dependency_fallback_tag = new_dependency_fallback_tag end
env_dependency_fallback_tag()
click to toggle source
# File lib/docker_tools.rb, line 14 def env_dependency_fallback_tag ENV['DOCKER_DEPENDENCY_FALLBACK_TAG'] end
env_no_pull()
click to toggle source
# File lib/docker_tools.rb, line 22 def env_no_pull ENV['DOCKER_NO_PULL'] end
image_timeout()
click to toggle source
# File lib/docker_tools.rb, line 42 def image_timeout @image_timeout = 1000 end
image_timeout=(new_image_timeout)
click to toggle source
# File lib/docker_tools.rb, line 46 def image_timeout=(new_image_timeout) @image_timeout = new_image_timeout end
no_pull()
click to toggle source
# File lib/docker_tools.rb, line 26 def no_pull @no_pull ||= env_no_pull || default_no_pull end
no_pull=(new_no_pull)
click to toggle source
# File lib/docker_tools.rb, line 30 def no_pull=(new_no_pull) @no_pull = new_no_pull end