// Implementation of the Cloud interface
Implementation of the Cloud interface
// Implementation of the Cloud interface
func (cloud GCECloud) DeleteInstance(name string, zone string) error {
	op, err := cloud.service.Instances.Delete(cloud.projectId, zone, name).Do()
	if err != nil {
		log.Printf("Got compute.Operation, err: %#v, %v", op, err)
		return err
	}
	return cloud.waitForOp(op, zone)
}
func ( cloud GCECloud ) DeleteInstance ( name string , zone string ) error { op , err := cloud . service . Instances . Delete ( cloud . projectId , zone , name ) . Do ( ) if err != nil { log . Printf ( " " , op , err ) return err } return cloud . waitForOp ( op , zone ) }
Implementation of the Cloud interface
Implementation of the Cloud interface