// GetPodInfo gets pod info by podID
GetPodInfo gets pod info by podID
// GetPodInfo gets pod info by podID
func (c *Client) GetPodInfo(podID string) (*types.PodInfo, error) {
	ctx, cancel := getContextWithTimeout(hyperContextTimeout)
	defer cancel()
	request := types.PodInfoRequest{
		PodID: podID,
	}
	pod, err := c.client.PodInfo(ctx, &request)
	if err != nil {
		return nil, err
	}
	return pod.PodInfo, nil
}
func ( c * Client ) GetPodInfo ( podID string ) ( * types . PodInfo , error ) { ctx , cancel := getContextWithTimeout ( hyperContextTimeout ) defer cancel ( ) request := types . PodInfoRequest { PodID : podID , } pod , err := c . client . PodInfo ( ctx , & request ) if err != nil { return nil , err } return pod . PodInfo , nil }
GetPodInfo gets pod info by podID
GetPodInfo gets pod info by podID