(ctx context.Context, name string)
| 83 | } |
| 84 | |
| 85 | func (i *imlPluginService) GetDefine(ctx context.Context, name string) (*PluginDefine, error) { |
| 86 | define, err := i.defineStore.First(ctx, map[string]interface{}{ |
| 87 | "name": name, |
| 88 | }) |
| 89 | if err != nil { |
| 90 | return nil, err |
| 91 | } |
| 92 | return FromEntity(define), nil |
| 93 | |
| 94 | } |
| 95 | |
| 96 | func (i *imlPluginService) GetConfig(ctx context.Context, clusterId string, name string) (*Config, *PluginDefine, error) { |
| 97 |
nothing calls this directly
no test coverage detected