k8s

package
v0.0.0-...-9c67f8c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllPodProcess

func GetAllPodProcess(kubeconfig string, nodeName string, namespace string, podName string) (map[v1.ContainerStatus][]*process.Process, error)

GetAllPodProcess get all processes from a pod

func GetContainersFromPod

func GetContainersFromPod(kubeconfig string, nodeName string, namespace string, podName string) ([]v1.ContainerStatus, error)

GetContainersFromPod get containerStatuses from pod spec

func GetSidecarAndServiceProcess

func GetSidecarAndServiceProcess(kubeconfig string, nodeName string, namespace string, podName string) ([]*process.Process, []*process.Process, error)

GetSidecarAndServiceProcess get single sidecar process and single service process

func PreflightCheck

func PreflightCheck(kubeconfig string) (string, string, string, string, error)

PreflightCheck does preflight checks before interacting with k8s

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL