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