// GetPodList get a list of Pods
GetPodList get a list of Pods
// GetPodList get a list of Pods
func (c *Client) GetPodList() ([]*types.PodListResult, error) {
	ctx, cancel := getContextWithTimeout(hyperContextTimeout)
	defer cancel()
	request := types.PodListRequest{}
	podList, err := c.client.PodList(ctx, &request)
	if err != nil {
		return nil, err
	}
	return podList.PodList, nil
}
func ( c * Client ) GetPodList ( ) ( [ ] * types . PodListResult , error ) { ctx , cancel := getContextWithTimeout ( hyperContextTimeout ) defer cancel ( ) request := types . PodListRequest { } podList , err := c . client . PodList ( ctx , & request ) if err != nil { return nil , err } return podList . PodList , nil }
GetPodList get a list of Pods
GetPodList get a list of Pods