Class: Kubeclient::Common::EntityList
- Inherits:
-
Array
- Object
- Array
- Kubeclient::Common::EntityList
- Defined in:
- lib/kubeclient/entity_list.rb
Overview
Kubernetes Entity List
Instance Attribute Summary collapse
-
#continue ⇒ Object
readonly
Returns the value of attribute continue.
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
-
#resourceVersion ⇒ Object
readonly
Returns the value of attribute resourceVersion.
Instance Method Summary collapse
-
#initialize(kind, resource_version, list, continue = nil) ⇒ EntityList
constructor
A new instance of EntityList.
- #last? ⇒ Boolean
Constructor Details
#initialize(kind, resource_version, list, continue = nil) ⇒ EntityList
Returns a new instance of EntityList.
8 9 10 11 12 13 14 |
# File 'lib/kubeclient/entity_list.rb', line 8 def initialize(kind, resource_version, list, continue = nil) @kind = kind # rubocop:disable Style/VariableName @resourceVersion = resource_version @continue = continue super(list) end |
Instance Attribute Details
#continue ⇒ Object (readonly)
Returns the value of attribute continue.
6 7 8 |
# File 'lib/kubeclient/entity_list.rb', line 6 def continue @continue end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind.
6 7 8 |
# File 'lib/kubeclient/entity_list.rb', line 6 def kind @kind end |
#resourceVersion ⇒ Object (readonly)
Returns the value of attribute resourceVersion.
6 7 8 |
# File 'lib/kubeclient/entity_list.rb', line 6 def resourceVersion @resourceVersion end |
Instance Method Details
#last? ⇒ Boolean
16 17 18 |
# File 'lib/kubeclient/entity_list.rb', line 16 def last? continue.nil? end |