(ctx context.Context, name string)
| 272 | } |
| 273 | |
| 274 | func (c client) EnablePlugin(ctx context.Context, name string) error { |
| 275 | r := pluginsv1.EnablePluginRequest_builder{}.Build() |
| 276 | r.SetName(name) |
| 277 | _, err := c.engineClient.EnablePlugin(ctx, connect.NewRequest(r)) |
| 278 | if isDialError(err) { |
| 279 | return fmt.Errorf("%w: %w", ErrSecretsEngineNotAvailable, err) |
| 280 | } |
| 281 | return err |
| 282 | } |
| 283 | |
| 284 | func (c client) DisablePlugin(ctx context.Context, name string) error { |
| 285 | r := pluginsv1.DisablePluginRequest_builder{}.Build() |
nothing calls this directly
no test coverage detected