( ctx context.Context, inputConfig bufconfig.InputConfig, options ...FunctionOption, )
| 347 | } |
| 348 | |
| 349 | func (c *controller) GetImageForInputConfig( |
| 350 | ctx context.Context, |
| 351 | inputConfig bufconfig.InputConfig, |
| 352 | options ...FunctionOption, |
| 353 | ) (_ bufimage.Image, retErr error) { |
| 354 | defer c.handleFileAnnotationSetRetError(&retErr) |
| 355 | functionOptions := newFunctionOptions(c) |
| 356 | for _, option := range options { |
| 357 | option(functionOptions) |
| 358 | } |
| 359 | return c.getImageForInputConfig(ctx, inputConfig, functionOptions) |
| 360 | } |
| 361 | |
| 362 | func (c *controller) GetImageForWorkspace( |
| 363 | ctx context.Context, |
nothing calls this directly
no test coverage detected