(subName string)
| 63 | return fmt.Sprintf("projects/%s/topics/%s", projectID, topicName) |
| 64 | } |
| 65 | func subscriptionPath(subName string) string { |
| 66 | return fmt.Sprintf("projects/%s/subscriptions/%s", projectID, subName) |
| 67 | } |
| 68 | |
| 69 | func createTopic(ctx context.Context, client *raw.Client, topicName string) (dt driver.Topic, cleanup func(), err error) { |
| 70 | _, err = client.TopicAdminClient.CreateTopic(ctx, &pubsubpb.Topic{Name: topicPath(topicName)}) |
no outgoing calls
no test coverage detected