Class: Dapp::Kube::Kubernetes::Manager::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/dapp/kube/kubernetes/manager/base.rb

Direct Known Subclasses

Container, Deployment, Job, Pod

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dapp, name) ⇒ Base

Returns a new instance of Base.



8
9
10
11
# File 'lib/dapp/kube/kubernetes/manager/base.rb', line 8

def initialize(dapp, name)
  @dapp = dapp
  @name = name
end

Instance Attribute Details

#dappObject (readonly)

Returns the value of attribute dapp.



5
6
7
# File 'lib/dapp/kube/kubernetes/manager/base.rb', line 5

def dapp
  @dapp
end

#nameObject (readonly)

Returns the value of attribute name.



6
7
8
# File 'lib/dapp/kube/kubernetes/manager/base.rb', line 6

def name
  @name
end