class Bcome::Node::Kube::Namespace

Public Instance Methods

child_node_klass() click to toggle source
# File lib/objects/node/kube/namespace.rb, line 11
def child_node_klass
  ::Bcome::Kube::Node::Pod
end
get_child_config_from_line(raw_line) click to toggle source
# File lib/objects/node/kube/namespace.rb, line 15
def get_child_config_from_line(raw_line)
  name, ready, status, restarts, age = raw_line.split("\s")
  { name: name, ready: ready, status: status, reastarts: restarts, age: age }
end
get_child_node_command() click to toggle source

CONTAINS PODS

# File lib/objects/node/kube/namespace.rb, line 7
def get_child_node_command
  "get pods -n #{name}"
end
name() click to toggle source
# File lib/objects/node/kube/namespace.rb, line 20
def name
  @config[:name]
end