| 10 | ) |
| 11 | |
| 12 | type BaseClient interface { |
| 13 | // Provider returns the name of the provider |
| 14 | Provider() string |
| 15 | |
| 16 | // Context returns the context of the provider |
| 17 | Context() string |
| 18 | |
| 19 | // RefreshOptions updates the options |
| 20 | RefreshOptions(ctx context.Context, userOptions []string, reconfigure bool) error |
| 21 | |
| 22 | // Status retrieves the workspace status |
| 23 | Status(ctx context.Context, options StatusOptions) (Status, error) |
| 24 | |
| 25 | // Stop stops the workspace |
| 26 | Stop(ctx context.Context, options StopOptions) error |
| 27 | |
| 28 | // Delete deletes the workspace |
| 29 | Delete(ctx context.Context, options DeleteOptions) error |
| 30 | } |
| 31 | |
| 32 | type Client interface { |
| 33 | BaseClient |
no outgoing calls
no test coverage detected