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

Method StartCodespaceCalls

pkg/cmd/codespace/mock_api.go:944–956  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

942//
943// len(mockedapiClient.StartCodespaceCalls())
944func (mock *apiClientMock) StartCodespaceCalls() []struct {
945 Ctx context.Context
946 Name string
947} {
948 var calls []struct {
949 Ctx context.Context
950 Name string
951 }
952 mock.lockStartCodespace.RLock()
953 calls = mock.calls.StartCodespace
954 mock.lockStartCodespace.RUnlock()
955 return calls
956}
957
958// StopCodespace calls StopCodespaceFunc.
959func (mock *apiClientMock) StopCodespace(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