(ctx context.Context, id string)
| 308 | } |
| 309 | |
| 310 | func (i *imlStrategyModule) Disable(ctx context.Context, id string) error { |
| 311 | stop := true |
| 312 | return i.strategyService.Save(ctx, id, &strategy.Edit{IsStop: &stop}) |
| 313 | } |
| 314 | |
| 315 | func (i *imlStrategyModule) Publish(ctx context.Context, driver string, scope string, target string) error { |
| 316 | d, has := strategy_driver.GetDriver(driver) |