MCPcopy
hub / github.com/grafana/dskit / memcachedClientConfigDefaultValues

Function memcachedClientConfigDefaultValues

cache/memcached_client_test.go:575–581  ·  view source on GitHub ↗
(cfg *MemcachedClientConfig)

Source from the content-addressed store, hash-verified

573func (n nopAllocator) Put(_ *[]byte) {}
574
575func memcachedClientConfigDefaultValues(cfg *MemcachedClientConfig) {
576 // Init default values. We can't use flagext.DefaultValues() because MemcachedClientConfig
577 // does not implement any of the supported interfaces.
578 fs := flag.NewFlagSet("", flag.PanicOnError)
579 cfg.RegisterFlagsWithPrefix("", fs)
580 _ = fs.Parse([]string{})
581}

Callers 1

Calls 1

Tested by

no test coverage detected