func DescribePod()

in cluster/cluster.go [153:160]


func DescribePod(client kubernetes.Interface, podName string, namespace string) (*v1.Pod, error) {
	pod, err := client.CoreV1().Pods(namespace).Get(context.Background(), podName, metav1.GetOptions{})
	if err != nil {
		err = fmt.Errorf("error getting pods: %v", err)
		return nil, err
	}
	return pod, nil
}