( ctx context.Context, workspace bufworkspace.Workspace, options ...FunctionOption, )
| 360 | } |
| 361 | |
| 362 | func (c *controller) GetImageForWorkspace( |
| 363 | ctx context.Context, |
| 364 | workspace bufworkspace.Workspace, |
| 365 | options ...FunctionOption, |
| 366 | ) (_ bufimage.Image, retErr error) { |
| 367 | defer c.handleFileAnnotationSetRetError(&retErr) |
| 368 | functionOptions := newFunctionOptions(c) |
| 369 | for _, option := range options { |
| 370 | option(functionOptions) |
| 371 | } |
| 372 | return c.getImageForWorkspace(ctx, workspace, functionOptions) |
| 373 | } |
| 374 | |
| 375 | func (c *controller) GetTargetImageWithConfigsAndCheckClient( |
| 376 | ctx context.Context, |
nothing calls this directly
no test coverage detected