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

Method DeleteSubscriptionCalls

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

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

()

Source from the content-addressed store, hash-verified

166//
167// len(mockedEventClient.DeleteSubscriptionCalls())
168func (mock *EventClientMock) DeleteSubscriptionCalls() []struct {
169 Ctx context.Context
170 ID string
171} {
172 var calls []struct {
173 Ctx context.Context
174 ID string
175 }
176 mock.lockDeleteSubscription.RLock()
177 calls = mock.calls.DeleteSubscription
178 mock.lockDeleteSubscription.RUnlock()
179 return calls
180}
181
182// GetSubscription calls GetSubscriptionFunc.
183func (mock *EventClientMock) GetSubscription(ctx context.Context, id string) (*Subscription, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected