Class: Bcome::Node::Kube::Estate
- Defined in:
- lib/objects/node/kube/estate.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- #child_node_klass ⇒ Object
- #get_child_config_from_line(raw_line) ⇒ Object
-
#get_child_node_command ⇒ Object
CONTAINS NAMESPACES.
Methods inherited from Base
#build, #initialize, #parent, #parse, #run
Constructor Details
This class inherits a constructor from Bcome::Node::Kube::Base
Instance Method Details
#child_node_klass ⇒ Object
10 11 12 |
# File 'lib/objects/node/kube/estate.rb', line 10 def child_node_klass ::Bcome::Kube::Node::Namespace end |
#get_child_config_from_line(raw_line) ⇒ Object
14 15 16 17 |
# File 'lib/objects/node/kube/estate.rb', line 14 def get_child_config_from_line(raw_line) name, active, age = raw_line.split("\s") { name: name, active: active, age: age } end |
#get_child_node_command ⇒ Object
CONTAINS NAMESPACES
6 7 8 |
# File 'lib/objects/node/kube/estate.rb', line 6 def get_child_node_command 'get namespaces' end |