package
0.39.3
Repository: https://github.com/googlecontainertools/kpt.git
Documentation: pkg.go.dev

# Functions

MergeSubPackages merges the Kptfiles in the nested subdirectories of the root package and also sets the setter definitions in updated to match with locally set values so the the resources are correctly identified and merged.
replaceNonKRMFiles replaces the non KRM files in localDir with the corresponding files in updatedDir, it also deletes non KRM files and sub dirs which are present in localDir and not in updatedDir.

# Constants

AlphaGitPatch will merge upstream changes using `git format-patch` and `git am`.
Default defaults to the recommended strategy, which is FailOnChanges.
FastForward will fail the package update if the local package contents do not match the contents for the remote repository at the commit it was fetched from.
ForceDeleteReplace will delete the existing local package and replace the contents with a new version fetched from a remote repository.
No description provided by the author

# Variables

No description provided by the author

# Structs

Command updates the contents of a local package to a different version.
Updater updates a package to a new upstream version.
Updater updates a package to a new upstream version.
Updater updates a package to a new upstream version.
ResourceMergeUpdater updates a package by fetching the original and updated source packages, and performing a 3-way merge of the Resources.
No description provided by the author

# Interfaces

Updater updates a local package.

# Type aliases

DiffError is returned if the local package and upstream package contents do not match.
StrategyType controls the update strategy to use when the local package has been modifed from its original remote source.