Sha256: 02677588cf6a2fc64b30e1c4c9893c6f3648fa25bd658379f3d500002fd69743
Contents?: true
Size: 1.19 KB
Versions: 2
Compression:
Stored size: 1.19 KB
Contents
# frozen_string_literal: true module Takelage # takelage mutagen check class MutagenCheck < SubCommandBase include LoggingModule include SystemModule include ConfigModule include DockerCheckDaemon include DockerContainerCheckExisting include DockerContainerCheckNetwork include DockerContainerCommand include DockerContainerLib include DockerSocketLib include DockerSocketScheme include DockerSocketStart include MutagenCheckDaemon # Initialize mutagen check def initialize(args = [], local_options = {}, configuration = {}) # initialize thor parent class super args, local_options, configuration @workdir = Dir.getwd inside = _docker_container_lib_check_matrjoschka @hostname = inside ? ENV['HOSTNAME'] : _docker_container_lib_hostname @hostlabel = "hostname=#{@hostname}" end # # mutagen check daemon # desc 'daemon', 'Check if mutagen host conenction is available' long_desc <<-LONGDESC.gsub("\n", "\x5") Check if mutagen host conenction is available LONGDESC # Check if mutagen host conenction is available. def daemon exit mutagen_check_daemon end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
takelage-0.28.26 | lib/takelage/mutagen/check/cli.rb |
takelage-0.28.24 | lib/takelage/mutagen/check/cli.rb |