package
1.5.0-alpha.0
Repository: https://github.com/qiujian16/kubernetes.git
Documentation: pkg.go.dev
# Functions
IsConflicting returns true if the provided error indicates a conflict exists between the original changes and the applied changes.
IsPreconditionFailed returns true if the provided error indicates a Delta precondition did not succeed.
NewDelta accepts two JSON or YAML documents and calculates the difference between them.
RequireKeyUnchanged creates a precondition function that fails if the provided key is present in the diff (indicating its value has changed).
RequireKeyUnchanged creates a precondition function that fails if the metadata.key is present in the diff (indicating its value has changed).
TestPreconditions test if preconditions hold given the edit.
# Variables
No description provided by the author
No description provided by the author
# Type aliases
PreconditionFunc is a test to verify that an incompatible change has occurred before an Apply can be successful.