initializeCore loads the core type definitions only
(ctx context.Context, dag *dagger.Client)
| 23 | |
| 24 | // initializeCore loads the core type definitions only |
| 25 | func initializeCore(ctx context.Context, dag *dagger.Client) (rdef *moduleDef, rerr error) { |
| 26 | def := &moduleDef{} |
| 27 | |
| 28 | if err := def.loadTypeDefs(ctx, dag); err != nil { |
| 29 | return nil, err |
| 30 | } |
| 31 | |
| 32 | return def, nil |
| 33 | } |
| 34 | |
| 35 | // initializeWorkspace loads type definitions from the workspace. |
| 36 | // Modules are already served by the engine at connect time. |
no test coverage detected