// RemovePod removes a pod by podID
RemovePod removes a pod by podID
// RemovePod removes a pod by podID
func (c *Client) RemovePod(podID string) error {
	ctx, cancel := getContextWithTimeout(hyperContextTimeout)
	defer cancel()
	resp, err := c.client.PodRemove(
		ctx,
		&types.PodRemoveRequest{PodID: podID},
	)
	if err != nil {
		if isPodNotFoundError(err, podID) || (resp != nil && resp.Code == errorCodePodNotFound) {
			return nil
		}
		return err
	}
	return nil
}
func ( c * Client ) RemovePod ( podID string ) error { ctx , cancel := getContextWithTimeout ( hyperContextTimeout ) defer cancel ( ) resp , err := c . client . PodRemove ( ctx , & types . PodRemoveRequest { PodID : podID } , ) if err != nil { if isPodNotFoundError ( err , podID ) || ( resp != nil && resp . Code == errorCodePodNotFound ) { return nil } return err } return nil }
RemovePod removes a pod by podID
RemovePod removes a pod by podID