Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for containerName (0.22 sec)

  1. istioctl/pkg/describe/describe.go

    	return nil
    }
    
    func containerReady(pod *corev1.Pod, containerName string) (bool, error) {
    	for _, containerStatus := range pod.Status.ContainerStatuses {
    		if containerStatus.Name == containerName {
    			return containerStatus.Ready, nil
    		}
    	}
    	for _, containerStatus := range pod.Status.InitContainerStatuses {
    		if containerStatus.Name == containerName {
    			return containerStatus.Ready, nil
    		}
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top