Documentation ¶ Index ¶ Constants func InitListFlags(cmd *cobra.Command) func ListPods(ctx context.Context) error func PrintPods(pods *corev1.PodList, writer io.Writer) type PodInfo Constants ¶ View Source const ( // Name pod name Name string = "Name" // Ready pod ready Ready string = "Ready" // Status pod status Status string = "Status" // Restart pod restart Restart string = "Restart" // Age pod age Age string = "Age" ) Variables ¶ This section is empty. Functions ¶ func InitListFlags ¶ func InitListFlags(cmd *cobra.Command) InitListFlags init list command flags. func ListPods ¶ func ListPods(ctx context.Context) error ListPods lists all pods details created by vcjob func PrintPods ¶ func PrintPods(pods *corev1.PodList, writer io.Writer) Types ¶ type PodInfo ¶ type PodInfo struct { Name string ReadyContainers string Status string Restarts string CreationTimestamp string } PodInfo holds information about a pod. Source Files ¶ View all Source files pod.go Click to show internal directories. Click to hide internal directories.