Class: Dapp::Dimg::Builder::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/dapp/dimg/builder/base.rb

Direct Known Subclasses

Chef, Ruby2Go

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dimg) ⇒ Base

Returns a new instance of Base.



6
7
8
# File 'lib/dapp/dimg/builder/base.rb', line 6

def initialize(dimg)
  @dimg = dimg
end

Instance Attribute Details

#dimgObject (readonly)

Returns the value of attribute dimg.



4
5
6
# File 'lib/dapp/dimg/builder/base.rb', line 4

def dimg
  @dimg
end

Instance Method Details

#before_build_checkObject



10
11
# File 'lib/dapp/dimg/builder/base.rb', line 10

def before_build_check
end

#before_dimg_should_be_built_checkObject



13
14
# File 'lib/dapp/dimg/builder/base.rb', line 13

def before_dimg_should_be_built_check
end

#before_install(_image) ⇒ Object



20
21
22
# File 'lib/dapp/dimg/builder/base.rb', line 20

def before_install(_image)
  raise
end

#before_install?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/dapp/dimg/builder/base.rb', line 16

def before_install?
  false
end

#before_install_checksumObject



24
25
26
# File 'lib/dapp/dimg/builder/base.rb', line 24

def before_install_checksum
  raise
end

#before_setup(_image) ⇒ Object



32
33
34
# File 'lib/dapp/dimg/builder/base.rb', line 32

def before_setup(_image)
  raise
end

#before_setup?Boolean

Returns:

  • (Boolean)


28
29
30
# File 'lib/dapp/dimg/builder/base.rb', line 28

def before_setup?
  false
end

#before_setup_checksumObject



36
37
38
# File 'lib/dapp/dimg/builder/base.rb', line 36

def before_setup_checksum
  raise
end

#build_artifact(_image) ⇒ Object



68
69
70
# File 'lib/dapp/dimg/builder/base.rb', line 68

def build_artifact(_image)
  raise
end

#build_artifact?Boolean

Returns:

  • (Boolean)


64
65
66
# File 'lib/dapp/dimg/builder/base.rb', line 64

def build_artifact?
  false
end

#build_artifact_checksumObject



72
73
74
# File 'lib/dapp/dimg/builder/base.rb', line 72

def build_artifact_checksum
  raise
end

#install(_image) ⇒ Object



44
45
46
# File 'lib/dapp/dimg/builder/base.rb', line 44

def install(_image)
  raise
end

#install?Boolean

Returns:

  • (Boolean)


40
41
42
# File 'lib/dapp/dimg/builder/base.rb', line 40

def install?
  false
end

#install_checksumObject



48
49
50
# File 'lib/dapp/dimg/builder/base.rb', line 48

def install_checksum
  raise
end

#setup(_image) ⇒ Object



56
57
58
# File 'lib/dapp/dimg/builder/base.rb', line 56

def setup(_image)
  raise
end

#setup?Boolean

Returns:

  • (Boolean)


52
53
54
# File 'lib/dapp/dimg/builder/base.rb', line 52

def setup?
  false
end

#setup_checksumObject



60
61
62
# File 'lib/dapp/dimg/builder/base.rb', line 60

def setup_checksum
  raise
end