Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
emcfarlane committed Dec 11, 2024
1 parent 45ee6f1 commit 45f312e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions private/buf/bufctl/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,6 @@ type Controller interface {
defaultMessageEncoding buffetch.MessageEncoding,
options ...FunctionOption,
) error
// GetCheckRunnerProvider gets a CheckRunnerProvider for the given input.
//
// The returned RunnerProvider will be able to run lint and breaking checks
// using the PluginConfigs declared in the input buf.yaml. The input
// provided will resolve to a Workspace, and the remote PluginConfigs
// Refs will be resolved to the PluginKeys from the buf.lock file.
GetCheckRunnerProviderForWorkspace(
ctx context.Context,
workspace bufworkspace.Workspace,
Expand Down Expand Up @@ -397,6 +391,9 @@ func (c *controller) GetTargetImageWithConfigs(
return nil, nil, err
}
imageWithConfigs, err = c.buildTargetImageWithConfigs(ctx, workspace, functionOptions)
if err != nil {
return nil, nil, err
}
pluginConfigs = workspace.PluginConfigs()
pluginKeys = workspace.RemotePluginKeys()
case buffetch.MessageRef:
Expand Down

0 comments on commit 45f312e

Please sign in to comment.