MCPcopy
hub / github.com/kptdev/kpt / ResourceMergeUpdater

Struct ResourceMergeUpdater

internal/util/update/resource-merge.go:41–41  ·  view source on GitHub ↗

ResourceMergeUpdater updates a package by fetching the original and updated source packages, and performing a 3-way merge of the Resources.

Source from the content-addressed store, hash-verified

39// ResourceMergeUpdater updates a package by fetching the original and updated source
40// packages, and performing a 3-way merge of the Resources.
41type ResourceMergeUpdater struct{}
42
43func (u ResourceMergeUpdater) Update(options UpdateOptions) error {
44 g := options.KptFile.Upstream.Git

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected