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

Method Run

controller/cache/cache.go:150–150  ·  view source on GitHub ↗

Starts watching resources of each controlled cluster.

(ctx context.Context)

Source from the content-addressed store, hash-verified

148 GetNamespaceTopLevelResources(server *appv1.Cluster, namespace string) (map[kube.ResourceKey]appv1.ResourceNode, error)
149 // Starts watching resources of each controlled cluster.
150 Run(ctx context.Context) error
151 // Returns information about monitored clusters
152 GetClustersInfo() []clustercache.ClusterInfo
153 // Init must be executed before cache can be used

Callers 15

Test_IsDefinedFunction · 0.65
Test_ReadPluginConfigFunction · 0.65
TestMatchRepositoryFunction · 0.65
TestGenerateManifestFunction · 0.65
TestEnvironFunction · 0.65
RunMethod · 0.65

Implementers 3

liveStateCachecontroller/cache/cache.go
LiveStateCachecontroller/cache/mocks/LiveStateCache.
LiveStateCache_Expectercontroller/cache/mocks/LiveStateCache.

Calls

no outgoing calls

Tested by 15

Test_IsDefinedFunction · 0.52
Test_ReadPluginConfigFunction · 0.52
TestMatchRepositoryFunction · 0.52
TestGenerateManifestFunction · 0.52
TestEnvironFunction · 0.52