class Pkgman::Target
Attributes
target[R]
Public Class Methods
new(runtime, target)
click to toggle source
# File lib/pkgman/target.rb, line 8 def initialize(runtime, target) @target = target case @target['image'] when 'centos' @driver = Targets::Centos.new(runtime, target) end end
Public Instance Methods
destroy()
click to toggle source
# File lib/pkgman/target.rb, line 24 def destroy @driver.container.destroy end
download(*args, &block)
click to toggle source
# File lib/pkgman/target.rb, line 20 def download(*args, &block) @driver.container.download(*args, &block) end
execute(*args, &block)
click to toggle source
# File lib/pkgman/target.rb, line 16 def execute(*args, &block) @driver.container.execute(*args, &block) end