Sha256: 36109dc0b99682fc49735071bb465c3a1fda1e3c56f659fcff74daf87c245276
Contents?: true
Size: 1.27 KB
Versions: 15
Compression:
Stored size: 1.27 KB
Contents
module Takelage # takelage docker image tag check class DockerImageTagCheck < SubCommandBase include LoggingModule include SystemModule include ConfigModule include DockerImageTagListModule include DockerImageTagCheckModule # Initialize takelage docker image tag check def initialize(args = [], local_options = {}, configuration = {}) # initialize thor parent class super args, local_options, configuration @docker_repo = config.active['docker_repo'] @docker_image = config.active['docker_image'] @docker_tagsurl = config.active['docker_tagsurl'] end # # docker image tag check local # desc 'local [TAG]', 'Check if local docker image [TAG] exists' long_desc <<-LONGDESC.gsub("\n", "\x5") Check if local docker image tag exists LONGDESC # Check if local docker image tag exists. def local(tag) exit docker_image_tag_check_local tag end # # docker image tag check remote # desc 'remote [TAG]', 'Check if remote docker image [TAG] exists' long_desc <<-LONGDESC.gsub("\n", "\x5") Check if remote docker image tag exists LONGDESC # Check if remote docker image tag exists. def remote(tag) exit docker_image_tag_check_remote tag end end end
Version data entries
15 entries across 15 versions & 1 rubygems