Class: Dapp::Config::ArtifactGroup

Inherits:
DimgGroup show all
Defined in:
lib/dapp/config/artifact_group.rb

Overview

ArtifactGroup

Instance Attribute Summary collapse

Attributes included from Dimg::InstanceMethods

#_artifact, #_builder, #_chef, #_git_artifact, #_install_dependencies, #_mount, #_setup_dependencies

Attributes inherited from DimgGroupBase

#_dimg_group

Instance Method Summary collapse

Methods inherited from DimgGroup

#artifact, #chef, #docker, #git, #mount, #shell

Methods included from Dimg::InstanceMethods

#_dev_mode, #_import_artifact, #artifact, #chef, #dev_mode, #docker, #git, #install_depends_on, #mount, #setup_depends_on, #shell

Methods inherited from DimgGroupBase

#_dimg, #dev_mode, #dimg, #dimg_group

Constructor Details

#initialize(project:) ⇒ ArtifactGroup

Returns a new instance of ArtifactGroup.



7
8
9
10
11
12
# File 'lib/dapp/config/artifact_group.rb', line 7

def initialize(project:)
  @_artifact_dependencies = []
  @_export = []

  super(project: project)
end

Instance Attribute Details

#_artifact_dependencies ⇒ Object (readonly)

Returns the value of attribute _artifact_dependencies.



5
6
7
# File 'lib/dapp/config/artifact_group.rb', line 5

def _artifact_dependencies
  @_artifact_dependencies
end

#_export ⇒ Object (readonly)

Returns the value of attribute _export.



5
6
7
# File 'lib/dapp/config/artifact_group.rb', line 5

def _export
  @_export
end

Instance Method Details

#_docker(&blk) ⇒ Object



18
19
20
# File 'lib/dapp/config/artifact_group.rb', line 18

def _docker(&blk)
  @_docker ||= Directive::Docker::Artifact.new(&blk)
end

#_shell(&blk) ⇒ Object



14
15
16
# File 'lib/dapp/config/artifact_group.rb', line 14

def _shell(&blk)
  @_shell ||= Directive::Shell::Artifact.new(&blk)
end