package
0.0.0-20210624121128-6b231d83a5d4
Repository: https://github.com/tkestack/kube-jarvis.git
Documentation: pkg.go.dev

# Functions

ExplorePod explore a component from k8s pods if exec is not nil, a bare explore will be used for fetching component command line arguments if bare explore failed, command line argument find in pod will be used.
GetPodArgs try get args from pod.
NewAuto create a ComponentConfig with default value.
NewBare create and int a StaticPods ComponentExecutor.
NewLabelExp create and init a LabelExp Component.
NewStaticPods create and int a StaticPods ComponentExecutor.

# Constants

TypeAuto is the type of Auto explore.
TypeBare is the type of Bare explore.
TypeLabel is the type of Label explore.
TypeStaticPod is the type of StaticPod explore.

# Structs

Auto is a component explorer that can try to explore component information by multiple methods.
Bare get component information by executing cmd on node.
LabelExp get select pod with labels and try get component from.
StaticPods get component information from static pod.

# Interfaces

Explorer get component information.