Class: Porkadot::Assets::Certs

Inherits:
Object
  • Object
show all
Defined in:
lib/porkadot/assets/certs.rb

Defined Under Namespace

Classes: Etcd, FrontProxy, Kubernetes

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ Certs

Returns a new instance of Certs.



152
153
154
# File 'lib/porkadot/assets/certs.rb', line 152

def initialize config
  @global_config = config
end

Instance Attribute Details

#global_configObject (readonly)

Returns the value of attribute global_config.



150
151
152
# File 'lib/porkadot/assets/certs.rb', line 150

def global_config
  @global_config
end

Instance Method Details

#etcdObject



156
157
158
159
# File 'lib/porkadot/assets/certs.rb', line 156

def etcd
  @etcd ||= Porkadot::Assets::Certs::Etcd.new(self.global_config)
  return @etcd
end

#front_proxyObject



166
167
168
169
# File 'lib/porkadot/assets/certs.rb', line 166

def front_proxy
  @front_proxy ||= Porkadot::Assets::Certs::FrontProxy.new(self.global_config)
  return @front_proxy
end

#kubernetesObject



161
162
163
164
# File 'lib/porkadot/assets/certs.rb', line 161

def kubernetes
  @kubernetes ||= Porkadot::Assets::Certs::Kubernetes.new(self.global_config)
  return @kubernetes
end