( ctx context.Context, inputConfig bufconfig.InputConfig, functionOptions *functionOptions, )
| 913 | } |
| 914 | |
| 915 | func (c *controller) getImageForInputConfig( |
| 916 | ctx context.Context, |
| 917 | inputConfig bufconfig.InputConfig, |
| 918 | functionOptions *functionOptions, |
| 919 | ) (bufimage.Image, error) { |
| 920 | ref, err := c.buffetchRefParser.GetRefForInputConfig(ctx, inputConfig) |
| 921 | if err != nil { |
| 922 | return nil, err |
| 923 | } |
| 924 | return c.getImageForRef(ctx, ref, functionOptions) |
| 925 | } |
| 926 | |
| 927 | func (c *controller) getImageForRef( |
| 928 | ctx context.Context, |
no test coverage detected