// Delete deletes the node group on the cloud provider side.
// This will be executed only for autoprovisioned node groups, once their size drops to 0.
Delete deletes the node group on the cloud provider side.
This will be executed only for autoprovisioned node groups, once their size drops to 0.
// Delete deletes the node group on the cloud provider side . // This will be executed only for autoprovisioned node groups once their size drops to 0 .
func (mig *GkeMig) Delete() error {
	if mig.exist && mig.autoprovisioned {
		return mig.gkeManager.DeleteNodePool(mig)
	}
	return fmt.Errorf("Cannot delete non-autoprovisioned node group")
}
func ( mig * GkeMig ) Delete ( ) error { if mig . exist && mig . autoprovisioned { return mig . gkeManager . DeleteNodePool ( mig ) } return fmt . Errorf ( " " ) }
Delete deletes the node group on the cloud provider side.
Delete deletes the node group on the cloud provider side .