MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / Render

Method Render

module/dynamic-module/iml.go:285–291  ·  view source on GitHub ↗
(ctx context.Context, module string)

Source from the content-addressed store, hash-verified

283}
284
285func (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
293func (i *imlDynamicModule) PluginInfo(ctx context.Context, module string, clusterIds ...string) (*dynamic_module_dto.PluginInfo, error) {
294 d, has := driver.Get(module)

Callers

nothing calls this directly

Calls 3

GetFunction · 0.92
RenderMethod · 0.65
DefineMethod · 0.65

Tested by

no test coverage detected