MCPcopy Index your code
hub / github.com/coder/coder / PublisherWithIngestURL

Function PublisherWithIngestURL

enterprise/coderd/usage/publisher.go:112–116  ·  view source on GitHub ↗

PublisherWithIngestURL sets the ingest URL to use for publishing usage events.

(ingestURL string)

Source from the content-addressed store, hash-verified

110// PublisherWithIngestURL sets the ingest URL to use for publishing usage
111// events.
112func PublisherWithIngestURL(ingestURL string) TallymanPublisherOption {
113 return func(p *tallymanPublisher) {
114 p.ingestURL = ingestURL
115 }
116}
117
118// PublisherWithInitialDelay sets the initial delay for the publisher.
119func PublisherWithInitialDelay(initialDelay time.Duration) TallymanPublisherOption {

Callers 6

TestIntegrationFunction · 0.92
TestPublisherClaimExpiryFunction · 0.92

Calls

no outgoing calls

Tested by 6

TestIntegrationFunction · 0.74
TestPublisherClaimExpiryFunction · 0.74