MCPcopy Index your code
hub / github.com/cli/cli / DeleteCodespaceCalls

Method DeleteCodespaceCalls

pkg/cmd/codespace/mock_api.go:370–386  ·  view source on GitHub ↗

DeleteCodespaceCalls gets all the calls that were made to DeleteCodespace. Check the length with: len(mockedapiClient.DeleteCodespaceCalls())

()

Source from the content-addressed store, hash-verified

368//
369// len(mockedapiClient.DeleteCodespaceCalls())
370func (mock *apiClientMock) DeleteCodespaceCalls() []struct {
371 Ctx context.Context
372 Name string
373 OrgName string
374 UserName string
375} {
376 var calls []struct {
377 Ctx context.Context
378 Name string
379 OrgName string
380 UserName string
381 }
382 mock.lockDeleteCodespace.RLock()
383 calls = mock.calls.DeleteCodespace
384 mock.lockDeleteCodespace.RUnlock()
385 return calls
386}
387
388// EditCodespace calls EditCodespaceFunc.
389func (mock *apiClientMock) EditCodespace(ctx context.Context, codespaceName string, params *codespacesAPI.EditCodespaceParams) (*codespacesAPI.Codespace, error) {

Callers 1

TestDeleteFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestDeleteFunction · 0.76