( ctx context.Context, input string, options ...FunctionOption, )
| 334 | } |
| 335 | |
| 336 | func (c *controller) GetImage( |
| 337 | ctx context.Context, |
| 338 | input string, |
| 339 | options ...FunctionOption, |
| 340 | ) (_ bufimage.Image, retErr error) { |
| 341 | defer c.handleFileAnnotationSetRetError(&retErr) |
| 342 | functionOptions := newFunctionOptions(c) |
| 343 | for _, option := range options { |
| 344 | option(functionOptions) |
| 345 | } |
| 346 | return c.getImage(ctx, input, functionOptions) |
| 347 | } |
| 348 | |
| 349 | func (c *controller) GetImageForInputConfig( |
| 350 | ctx context.Context, |
nothing calls this directly
no test coverage detected