MCPcopy Create free account
hub / github.com/google/go-cloud / MakeNonexistentSubscription

Method MakeNonexistentSubscription

pubsub/gcppubsub/gcppubsub_test.go:131–133  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

129}
130
131func (h *harness) MakeNonexistentSubscription(ctx context.Context) (driver.Subscription, func(), error) {
132 return openSubscription(h.subClient, path.Join("projects", projectID, "subscriptions", "nonexistent-subscription"), nil), func() {}, nil
133}
134
135func (h *harness) Close() {
136 h.pubClient.Close()

Callers

nothing calls this directly

Calls 1

openSubscriptionFunction · 0.70

Tested by

no test coverage detected