Class: Dapp::Deployment::Config::Directive::App

Inherits:
Base show all
Includes:
InstanceMethods, Mod::Jobs
Defined in:
lib/dapp/deployment/config/directive/app.rb,
lib/dapp/deployment/config/directive/app/instance_methods.rb

Defined Under Namespace

Modules: InstanceMethods

Instance Attribute Summary collapse

Attributes included from InstanceMethods

#_dimg, #_expose, #_migrate, #_namespace

Instance Method Summary collapse

Methods included from Mod::Jobs

#to_kube_default_job_pods

Methods included from InstanceMethods

#dimg, #expose, included, #migrate, #namespace

Methods inherited from Base

#hostname_pattern

Methods inherited from Config::Directive::Base

#clone, #encode_with

Constructor Details

#initialize(name, dapp:) ⇒ App

Returns a new instance of App.



11
12
13
14
# File 'lib/dapp/deployment/config/directive/app.rb', line 11

def initialize(name, dapp:)
  self._name = name
  super(dapp: dapp)
end

Instance Attribute Details

#_nameObject

Returns the value of attribute _name.



9
10
11
# File 'lib/dapp/deployment/config/directive/app.rb', line 9

def _name
  @_name
end