LoadModelWithContext reads a ConfigDetails and returns a fully loaded configuration as a yaml dictionary
(ctx context.Context, configDetails types.ConfigDetails, options ...func(*Options))
| 361 | |
| 362 | // LoadModelWithContext reads a ConfigDetails and returns a fully loaded configuration as a yaml dictionary |
| 363 | func LoadModelWithContext(ctx context.Context, configDetails types.ConfigDetails, options ...func(*Options)) (map[string]any, error) { |
| 364 | opts := ToOptions(&configDetails, options) |
| 365 | return loadModelWithContext(ctx, &configDetails, opts) |
| 366 | } |
| 367 | |
| 368 | // LoadModelWithContext reads a ConfigDetails and returns a fully loaded configuration as a yaml dictionary |
| 369 | func loadModelWithContext(ctx context.Context, configDetails *types.ConfigDetails, opts *Options) (map[string]any, error) { |
no test coverage detected
searching dependent graphs…