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

Interface Updater

internal/util/update/update.go:64–66  ·  view source on GitHub ↗

Updater updates a local package

Source from the content-addressed store, hash-verified

62
63// Updater updates a local package
64type Updater interface {
65 Update(options UpdateOptions) error
66}
67
68var strategies = map[StrategyType]func() Updater{
69 AlphaGitPatch: func() Updater { return GitPatchUpdater{} },

Callers 2

UpdateMethod · 0.65
RunMethod · 0.65

Implementers 5

Clientpkg/client/client.go
FastForwardUpdaterinternal/util/update/fastforward.go
ReplaceUpdaterinternal/util/update/replace.go
ResourceMergeUpdaterinternal/util/update/resource-merge.go
GitPatchUpdaterinternal/util/update/gitpatch.go

Calls

no outgoing calls

Tested by

no test coverage detected