Class: Pangea::Kubernetes::Types::AddonConfig
- Inherits:
-
Resources::BaseAttributes
- Object
- Resources::BaseAttributes
- Pangea::Kubernetes::Types::AddonConfig
- Defined in:
- lib/pangea/kubernetes/types.rb
Overview
Addon configuration
Instance Method Summary collapse
Instance Method Details
#to_h ⇒ Object
114 115 116 117 118 119 |
# File 'lib/pangea/kubernetes/types.rb', line 114 def to_h hash = { name: name, enabled: enabled } hash[:version] = version if version hash[:config] = config if config.any? hash end |