Versions in this module Expand all Collapse all v2 v2.23.1 Jan 23, 2025 v2.23.0 Jan 22, 2025 Changes in this version + const DefaultCacheTTL + var DeployedResourcesTotal = prometheus.NewCounterVec(prometheus.CounterOpts{ ... }, []string{ ... }) + func MergeDeployments(source *unstructured.Unstructured, target *unstructured.Unstructured) error + func NewAction(opts ...ActionOpts) actions.Fn + func RemoveDeploymentsResources(obj *unstructured.Unstructured) error + type Action struct + type ActionOpts func(*Action) + func WithAnnotation(name string, value string) ActionOpts + func WithAnnotations(values map[string]string) ActionOpts + func WithCache(opts ...CacheOpt) ActionOpts + func WithFieldOwner(value string) ActionOpts + func WithLabel(name string, value string) ActionOpts + func WithLabels(values map[string]string) ActionOpts + func WithMode(value Mode) ActionOpts + type Cache struct + func (r *Cache) Add(original *unstructured.Unstructured, modified *unstructured.Unstructured) error + func (r *Cache) Has(original *unstructured.Unstructured, modified *unstructured.Unstructured) (bool, error) + func (r *Cache) Sync() + type CacheOpt func(*Cache) + func WithTTL(ttl time.Duration) CacheOpt + type Mode string + const ModePatch + const ModeSSA + const PlatformFieldOwner