(ctx context.Context, name string)
| 225 | } |
| 226 | |
| 227 | func (m *mockApiClient) StartCodespace(ctx context.Context, name string) error { |
| 228 | if m.onStartCodespace == nil { |
| 229 | panic("onStartCodespace not set and StartCodespace was called") |
| 230 | } |
| 231 | |
| 232 | return m.onStartCodespace() |
| 233 | } |
| 234 | |
| 235 | func (m *mockApiClient) GetCodespace(ctx context.Context, name string, includeConnection bool) (*api.Codespace, error) { |
| 236 | if m.onGetCodespace == nil { |
nothing calls this directly
no outgoing calls
no test coverage detected