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

Method Sync

gitops-engine/pkg/engine/engine.go:38–38  ·  view source on GitHub ↗

Synchronizes resources in the cluster

(ctx context.Context, resources []*unstructured.Unstructured, isManaged func(r *cache.Resource) bool, revision string, namespace string, opts ...sync.SyncOpt)

Source from the content-addressed store, hash-verified

36 Run() (StopFunc, error)
37 // Synchronizes resources in the cluster
38 Sync(ctx context.Context, resources []*unstructured.Unstructured, isManaged func(r *cache.Resource) bool, revision string, namespace string, opts ...sync.SyncOpt) ([]common.ResourceSyncResult, error)
39}
40
41type gitOpsEngine struct {

Callers 15

TestSimpleHydratorFunction · 0.65
TestHydrateToFunction · 0.65
TestAddingAppFunction · 0.65
TestHydratorWithHelmFunction · 0.65
TestHydratorWithPluginFunction · 0.65

Implementers 1

gitOpsEnginegitops-engine/pkg/engine/engine.go

Calls

no outgoing calls

Tested by 15

TestSimpleHydratorFunction · 0.52
TestHydrateToFunction · 0.52
TestAddingAppFunction · 0.52
TestHydratorWithHelmFunction · 0.52
TestHydratorWithPluginFunction · 0.52