Class: Kubeclient::Common::EntityList

Inherits:
Array
  • Object
show all
Defined in:
lib/kubeclient/entity_list.rb

Overview

Kubernetes Entity List

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(kind, resource_version, list) ⇒ EntityList

Returns a new instance of EntityList.



8
9
10
11
12
13
# File 'lib/kubeclient/entity_list.rb', line 8

def initialize(kind, resource_version, list)
  @kind = kind
  # rubocop:disable Style/VariableName
  @resourceVersion = resource_version
  super(list)
end

Instance Attribute Details

#kindObject (readonly)

Returns the value of attribute kind.



6
7
8
# File 'lib/kubeclient/entity_list.rb', line 6

def kind
  @kind
end

#resourceVersionObject (readonly)

Returns the value of attribute resourceVersion.



6
7
8
# File 'lib/kubeclient/entity_list.rb', line 6

def resourceVersion
  @resourceVersion
end