Class: KubernetesReferences::ConfigMapEnvSource
- Defined in:
- lib/kubernetes_references/config_map/config_map_env_source.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#optional ⇒ Object
Returns the value of attribute optional.
Instance Method Summary collapse
- #_schema ⇒ Object
-
#initialize(obj) ⇒ ConfigMapEnvSource
constructor
A new instance of ConfigMapEnvSource.
Methods inherited from API
Constructor Details
#initialize(obj) ⇒ ConfigMapEnvSource
Returns a new instance of ConfigMapEnvSource.
7 8 9 |
# File 'lib/kubernetes_references/config_map/config_map_env_source.rb', line 7 def initialize(obj) _set!(obj) end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/kubernetes_references/config_map/config_map_env_source.rb', line 4 def name @name end |
#optional ⇒ Object
Returns the value of attribute optional.
5 6 7 |
# File 'lib/kubernetes_references/config_map/config_map_env_source.rb', line 5 def optional @optional end |
Instance Method Details
#_schema ⇒ Object
11 12 13 14 15 16 |
# File 'lib/kubernetes_references/config_map/config_map_env_source.rb', line 11 def _schema { name: @name, optional: @optional } end |