Class: Dapp::Dimg::Config::Directive::DimgGroup

Inherits:
Base show all
Includes:
Dapp::Dimg::Config::Directive::Dimg::InstanceMethods, DimgGroupBase
Defined in:
lib/dapp/dimg/config/directive/dimg_group.rb

Direct Known Subclasses

ArtifactGroup

Instance Attribute Summary

Attributes included from Dapp::Dimg::Config::Directive::Dimg::InstanceMethods

#_ansible, #_artifact, #_artifact_groups, #_builder, #_chef, #_docker, #_from_dimg, #_from_dimg_artifact, #_git_artifact, #_mount, #_shell

Instance Method Summary collapse

Methods included from Dapp::Dimg::Config::Directive::Dimg::InstanceMethods

#_context_artifact_groups, #_import_artifact, #artifacts_after_parsing!, #import

Methods included from DimgGroupBase

#_dimg, #_dimg_group, #dimg, #dimg_group

Methods inherited from Base

#clone_to_artifact

Methods inherited from Config::Directive::Base

#clone, #encode_with, #initialize

Constructor Details

This class inherits a constructor from Dapp::Config::Directive::Base

Instance Method Details

#artifact(name = nil, &blk) ⇒ Object



24
25
26
27
# File 'lib/dapp/dimg/config/directive/dimg_group.rb', line 24

def artifact(name = nil, &blk)
  check_dimg_group_directive_order(:artifact)
  super
end

#chef(&blk) ⇒ Object



9
10
11
12
# File 'lib/dapp/dimg/config/directive/dimg_group.rb', line 9

def chef(&blk)
  check_dimg_directive_order(:chef)
  super
end

#docker(&blk) ⇒ Object



19
20
21
22
# File 'lib/dapp/dimg/config/directive/dimg_group.rb', line 19

def docker(&blk)
  check_dimg_directive_order(:docker)
  super
end

#git(url = nil, &blk) ⇒ Object



29
30
31
32
# File 'lib/dapp/dimg/config/directive/dimg_group.rb', line 29

def git(url = nil, &blk)
  check_dimg_directive_order(:git)
  super
end

#mount(to, &blk) ⇒ Object



34
35
36
37
# File 'lib/dapp/dimg/config/directive/dimg_group.rb', line 34

def mount(to, &blk)
  check_dimg_directive_order(:mount)
  super
end

#shell(&blk) ⇒ Object



14
15
16
17
# File 'lib/dapp/dimg/config/directive/dimg_group.rb', line 14

def shell(&blk)
  check_dimg_directive_order(:shell)
  super
end