Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPods ¶
func CheckPods( ctx context.Context, kubeconfigPath, namespace string, opts metav1.ListOptions, f func(context.Context, *corev1.Pod) error) error
CheckPods will firstly get a list of Pods by given list options. Then it will perform the action defined by the function parameter to deal with each Pod.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.