gitops-engine

module
v0.0.0-...-fb6a46c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2026 License: Apache-2.0

README

GitOps Engine

Various GitOps operators address different use-cases and provide different user experiences but all have similar set of core features. This library implements core GitOps features:

  • Kubernetes resource cache ✅
  • Resources reconciliation ✅
  • Sync Planning ✅
  • Access to Git repositories
  • Manifest Generation

Usage

This library is mainly designed to be used by the Argo CD project. However, it can also be used by other projects that need GitOps features.

To use the library, add it as a dependency in your Go module:

go get github.com/argoproj/argo-cd/gitops-engine

Directories

Path Synopsis
internal
pkg
cache
Package cache provides a caching layer for Kubernetes cluster resources with support for hierarchical parent-child relationships, including cross-namespace relationships between cluster-scoped parents and namespaced children.
Package cache provides a caching layer for Kubernetes cluster resources with support for hierarchical parent-child relationships, including cross-namespace relationships between cluster-scoped parents and namespaced children.
diff
The package provide functions that allows to compare set of Kubernetes resources using the logic equivalent to `kubectl diff`.
The package provide functions that allows to compare set of Kubernetes resources using the logic equivalent to `kubectl diff`.
diff/internal/fieldmanager
Package fieldmanager is a special package as its main purpose is to expose the dependencies required by structured-merge-diff library to calculate diffs when server-side apply option is enabled.
Package fieldmanager is a special package as its main purpose is to expose the dependencies required by structured-merge-diff library to calculate diffs when server-side apply option is enabled.
sync
Package implements Kubernetes resources synchronization and provides the following main features:
Package implements Kubernetes resources synchronization and provides the following main features:
utils/kube
Package kube provides helper utilities common for kubernetes
Package kube provides helper utilities common for kubernetes
utils/tracing/tracer_testing
Package tracer_testing is a generated GoMock package.
Package tracer_testing is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL