@@ -84,8 +84,8 @@ func Install(ctx context.Context, name string, opts Options) (Plugin, error) {
84
84
func Start (ctx context.Context , name string , opts Options ) (Wait , error ) {
85
85
return defaultManager ().Start (ctx , name , opts )
86
86
}
87
- func RunWithURL (ctx context.Context , name string , opts Options ) error {
88
- return defaultManager ().RunWithURL (ctx , name , opts )
87
+ func Run (ctx context.Context , name string , opts Options ) error {
88
+ return defaultManager ().Run (ctx , name , opts )
89
89
}
90
90
func Upgrade (ctx context.Context , names []string ) error { return defaultManager ().Upgrade (ctx , names ) }
91
91
func Uninstall (ctx context.Context , name string ) error { return defaultManager ().Uninstall (ctx , name ) }
@@ -291,8 +291,8 @@ func (m *Manager) Start(ctx context.Context, name string, opts Options) (Wait, e
291
291
return wait , nil
292
292
}
293
293
294
- // RunWithURL runs the plugin
295
- func (m * Manager ) RunWithURL (ctx context.Context , name string , opts Options ) error {
294
+ // Run installs and runs the plugin
295
+ func (m * Manager ) Run (ctx context.Context , name string , opts Options ) error {
296
296
plugin , err := m .Install (ctx , name , opts )
297
297
if err != nil {
298
298
return xerrors .Errorf ("plugin install error: %w" , err )
0 commit comments