class Bcome::Node::Kube::Pod
Public Instance Methods
child_node_klass()
click to toggle source
# File lib/objects/node/kube/pod.rb, line 11 def child_node_klass ::Bcome::Kube::Node::Container end
get_child_config_from_line(raw_line)
click to toggle source
# File lib/objects/node/kube/pod.rb, line 19 def get_child_config_from_line(raw_line) name = raw_line.split("\s") { name: name } end
get_child_node_command()
click to toggle source
CONTAINS CONTAINERS
# File lib/objects/node/kube/pod.rb, line 7 def get_child_node_command "get pods #{name} -n #{parent.name} -o jsonpath=‘{.spec.containers[*].name}’" end
name()
click to toggle source
# File lib/objects/node/kube/pod.rb, line 15 def name @config[:name] end