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

Method ListSubscriptionsCalls

pkg/cmd/event/client/client_mock.go:240–252  ·  view source on GitHub ↗

ListSubscriptionsCalls gets all the calls that were made to ListSubscriptions. Check the length with: len(mockedEventClient.ListSubscriptionsCalls())

()

Source from the content-addressed store, hash-verified

238//
239// len(mockedEventClient.ListSubscriptionsCalls())
240func (mock *EventClientMock) ListSubscriptionsCalls() []struct {
241 Ctx context.Context
242 Limit int
243} {
244 var calls []struct {
245 Ctx context.Context
246 Limit int
247 }
248 mock.lockListSubscriptions.RLock()
249 calls = mock.calls.ListSubscriptions
250 mock.lockListSubscriptions.RUnlock()
251 return calls
252}
253
254// OpenStream calls OpenStreamFunc.
255func (mock *EventClientMock) OpenStream(ctx context.Context, id string) (io.ReadCloser, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected