MCPcopy
hub / github.com/argoproj/argo-cd / forwardCacheClient

Struct forwardCacheClient

cmd/argocd/commands/headless/headless.go:43–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41)
42
43type forwardCacheClient struct {
44 namespace string
45 context string
46 init sync.Once
47 client cache.CacheClient
48 compression cache.RedisCompressionType
49 err error
50 redisHaProxyName string
51 redisName string
52 redisPassword string
53}
54
55func (c *forwardCacheClient) doLazy(action func(client cache.CacheClient) error) error {
56 c.init.Do(func() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected