(ctx context.Context, name string)
| 282 | } |
| 283 | |
| 284 | func (c client) DisablePlugin(ctx context.Context, name string) error { |
| 285 | r := pluginsv1.DisablePluginRequest_builder{}.Build() |
| 286 | r.SetName(name) |
| 287 | _, err := c.engineClient.DisablePlugin(ctx, connect.NewRequest(r)) |
| 288 | if isDialError(err) { |
| 289 | return fmt.Errorf("%w: %w", ErrSecretsEngineNotAvailable, err) |
| 290 | } |
| 291 | return err |
| 292 | } |
| 293 | |
| 294 | type PluginInfo struct { |
| 295 | Name api.Name |
nothing calls this directly
no test coverage detected