(ctx context.Context, module string)
| 283 | } |
| 284 | |
| 285 | func (i *imlDynamicModule) Render(ctx context.Context, module string) (map[string]interface{}, error) { |
| 286 | d, has := driver.Get(module) |
| 287 | if !has { |
| 288 | return nil, fmt.Errorf("module %s not found", module) |
| 289 | } |
| 290 | return d.Define().Render(), nil |
| 291 | } |
| 292 | |
| 293 | func (i *imlDynamicModule) PluginInfo(ctx context.Context, module string, clusterIds ...string) (*dynamic_module_dto.PluginInfo, error) { |
| 294 | d, has := driver.Get(module) |