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

Struct MockCacheClient

util/cache/mocks/cacheclient.go:12–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10)
11
12type MockCacheClient struct {
13 mock.Mock
14 BaseCache cache.CacheClient
15 ReadDelay time.Duration
16 WriteDelay time.Duration
17}
18
19func (c *MockCacheClient) Rename(oldKey string, newKey string, expiration time.Duration) error {
20 args := c.Called(oldKey, newKey, expiration)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected