Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrRuntimeUnknown = fmt.Errorf("无法确定容器运行时类型")
)
Functions ¶
func GetCurrentNode ¶
func GetCurrentNode(client *kubernetes.Clientset) (*v1.Node, error)
func GetPodsOnNode ¶
Types ¶
type ContainerRuntime ¶
type ContainerRuntime string
var (
RuntimeDocker ContainerRuntime = "docker"
)
func GetRuntime ¶
func GetRuntime(node *v1.Node) (ContainerRuntime, error)
type PodPidQuery ¶
func NewPodPidQuery ¶
func NewPodPidQuery(node *v1.Node) (PodPidQuery, error)
Click to show internal directories.
Click to hide internal directories.