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

Function newFakeController

controller/appcontroller_test.go:99–101  ·  view source on GitHub ↗
(ctx context.Context, data *fakeData, repoErr error)

Source from the content-addressed store, hash-verified

97}
98
99func newFakeController(ctx context.Context, data *fakeData, repoErr error) *ApplicationController {
100 return newFakeControllerWithResync(ctx, data, time.Minute, repoErr, nil)
101}
102
103func newFakeControllerWithResync(ctx context.Context, data *fakeData, appResyncPeriod time.Duration, repoErr, revisionPathsErr error) *ApplicationController {
104 var clust corev1.Secret

Callers 15

TestAutoSyncFunction · 0.85
TestAutoSyncAllowEmptyFunction · 0.85
TestSkipAutoSyncFunction · 0.85
TestFinalizeAppDeletionFunction · 0.85
TestNormalizeApplicationFunction · 0.85
TestHandleAppUpdatedFunction · 0.85

Calls 1

Tested by

no test coverage detected