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