Class: Dapp::Builder::Base
- Inherits:
-
Object
- Object
- Dapp::Builder::Base
- Defined in:
- lib/dapp/builder/base.rb
Overview
Base
Instance Attribute Summary collapse
-
#dimg ⇒ Object
readonly
Returns the value of attribute dimg.
Instance Method Summary collapse
- #before_build_check ⇒ Object
- #before_dimg_should_be_built_check ⇒ Object
- #before_install(_image) ⇒ Object
- #before_install? ⇒ Boolean
- #before_install_checksum ⇒ Object
- #before_setup(_image) ⇒ Object
- #before_setup? ⇒ Boolean
- #before_setup_checksum ⇒ Object
- #build_artifact(_image) ⇒ Object
- #build_artifact? ⇒ Boolean
- #build_artifact_checksum ⇒ Object
- #chef_cookbooks(_image) ⇒ Object
- #chef_cookbooks_checksum ⇒ Object
-
#initialize(dimg) ⇒ Base
constructor
A new instance of Base.
- #install(_image) ⇒ Object
- #install? ⇒ Boolean
- #install_checksum ⇒ Object
- #setup(_image) ⇒ Object
- #setup? ⇒ Boolean
- #setup_checksum ⇒ Object
Constructor Details
#initialize(dimg) ⇒ Base
Returns a new instance of Base.
7 8 9 |
# File 'lib/dapp/builder/base.rb', line 7 def initialize(dimg) @dimg = dimg end |
Instance Attribute Details
#dimg ⇒ Object (readonly)
Returns the value of attribute dimg.
5 6 7 |
# File 'lib/dapp/builder/base.rb', line 5 def dimg @dimg end |
Instance Method Details
#before_build_check ⇒ Object
11 12 |
# File 'lib/dapp/builder/base.rb', line 11 def before_build_check end |
#before_dimg_should_be_built_check ⇒ Object
14 15 |
# File 'lib/dapp/builder/base.rb', line 14 def before_dimg_should_be_built_check end |
#before_install(_image) ⇒ Object
21 22 23 |
# File 'lib/dapp/builder/base.rb', line 21 def before_install(_image) raise end |
#before_install? ⇒ Boolean
17 18 19 |
# File 'lib/dapp/builder/base.rb', line 17 def before_install? false end |
#before_install_checksum ⇒ Object
25 26 27 |
# File 'lib/dapp/builder/base.rb', line 25 def before_install_checksum raise end |
#before_setup(_image) ⇒ Object
33 34 35 |
# File 'lib/dapp/builder/base.rb', line 33 def before_setup(_image) raise end |
#before_setup? ⇒ Boolean
29 30 31 |
# File 'lib/dapp/builder/base.rb', line 29 def before_setup? false end |
#before_setup_checksum ⇒ Object
37 38 39 |
# File 'lib/dapp/builder/base.rb', line 37 def before_setup_checksum raise end |
#build_artifact(_image) ⇒ Object
69 70 71 |
# File 'lib/dapp/builder/base.rb', line 69 def build_artifact(_image) raise end |
#build_artifact? ⇒ Boolean
65 66 67 |
# File 'lib/dapp/builder/base.rb', line 65 def build_artifact? false end |
#build_artifact_checksum ⇒ Object
73 74 75 |
# File 'lib/dapp/builder/base.rb', line 73 def build_artifact_checksum raise end |
#chef_cookbooks(_image) ⇒ Object
77 78 |
# File 'lib/dapp/builder/base.rb', line 77 def chef_cookbooks(_image) end |
#chef_cookbooks_checksum ⇒ Object
80 81 82 |
# File 'lib/dapp/builder/base.rb', line 80 def chef_cookbooks_checksum [] end |
#install(_image) ⇒ Object
45 46 47 |
# File 'lib/dapp/builder/base.rb', line 45 def install(_image) raise end |
#install? ⇒ Boolean
41 42 43 |
# File 'lib/dapp/builder/base.rb', line 41 def install? false end |
#install_checksum ⇒ Object
49 50 51 |
# File 'lib/dapp/builder/base.rb', line 49 def install_checksum raise end |
#setup(_image) ⇒ Object
57 58 59 |
# File 'lib/dapp/builder/base.rb', line 57 def setup(_image) raise end |
#setup? ⇒ Boolean
53 54 55 |
# File 'lib/dapp/builder/base.rb', line 53 def setup? false end |
#setup_checksum ⇒ Object
61 62 63 |
# File 'lib/dapp/builder/base.rb', line 61 def setup_checksum raise end |