Documentation ¶
Index ¶
- func GenerateTemporaryKubeconfig(context string) (string, error)
- func GetClientSet(kubeconfigPath string) (*kubernetes.Clientset, error)
- func GetRawAPIConfig(kubeconfigPath string) (*api.Config, error)
- func OutputPods(podList []PodInfo, header []string)
- func PodList(cfg Config, wg *sync.WaitGroup, podlist *[]PodInfo)
- func PodLogs(cancelCtx context.Context, cfg Config, wg *sync.WaitGroup)
- type Config
- type PodInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateTemporaryKubeconfig ¶
Generate a temporary kubeconfig file
func GetClientSet ¶ added in v0.0.2
func GetClientSet(kubeconfigPath string) (*kubernetes.Clientset, error)
Create a new Clientset
func GetRawAPIConfig ¶ added in v0.0.2
Create a Rawconfig
func OutputPods ¶ added in v0.0.2
Print pod list as table
Types ¶
Click to show internal directories.
Click to hide internal directories.