Class: Porkadot::Assets::Certs
- Inherits:
-
Object
- Object
- Porkadot::Assets::Certs
- Defined in:
- lib/porkadot/assets/certs.rb
Defined Under Namespace
Classes: Etcd, FrontProxy, Kubernetes
Instance Attribute Summary collapse
-
#global_config ⇒ Object
readonly
Returns the value of attribute global_config.
Instance Method Summary collapse
- #etcd ⇒ Object
- #front_proxy ⇒ Object
-
#initialize(config) ⇒ Certs
constructor
A new instance of Certs.
- #kubernetes ⇒ Object
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_config ⇒ Object (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
#etcd ⇒ Object
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_proxy ⇒ Object
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 |
#kubernetes ⇒ Object
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 |