MCPcopy Create free account
hub / github.com/cli/cli / CreateCodespaceCalls

Method CreateCodespaceCalls

pkg/cmd/codespace/mock_api.go:330–342  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

328//
329// len(mockedapiClient.CreateCodespaceCalls())
330func (mock *apiClientMock) CreateCodespaceCalls() []struct {
331 Ctx context.Context
332 Params *codespacesAPI.CreateCodespaceParams
333} {
334 var calls []struct {
335 Ctx context.Context
336 Params *codespacesAPI.CreateCodespaceParams
337 }
338 mock.lockCreateCodespace.RLock()
339 calls = mock.calls.CreateCodespace
340 mock.lockCreateCodespace.RUnlock()
341 return calls
342}
343
344// DeleteCodespace calls DeleteCodespaceFunc.
345func (mock *apiClientMock) DeleteCodespace(ctx context.Context, name string, orgName string, userName string) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected