// RemoveImage removes a image from hyperd
RemoveImage removes a image from hyperd
// RemoveImage removes a image from hyperd
func (c *Client) RemoveImage(image, tag string) error {
	ctx, cancel := getContextWithTimeout(hyperContextTimeout)
	defer cancel()
	repoSep := ":"
	if strings.Index(tag, ":") > 0 {
		repoSep = "@"
	}
	_, err := c.client.ImageRemove(ctx, &types.ImageRemoveRequest{Image: fmt.Sprintf("%s%s%s", image, repoSep, tag), Force: true})
	return err
}
func ( c * Client ) RemoveImage ( image , tag string ) error { ctx , cancel := getContextWithTimeout ( hyperContextTimeout ) defer cancel ( ) repoSep := " " if strings . Index ( tag , " " ) > 0 { repoSep = " " } _ , err := c . client . ImageRemove ( ctx , & types . ImageRemoveRequest { Image : fmt . Sprintf ( " " , image , repoSep , tag ) , Force : true } ) return err }
RemoveImage removes a image from hyperd
RemoveImage removes a image from hyperd
// check if tag is digest