Registry /
utility / banzaicloud-k8s-objectmatcher
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
objectmatcher
✓ github.com/banzaicloud/k8s-objectmatcher
Calculates a patch between two Kubernetes objects.
package main
import (
"github.com/banzaicloud/k8s-objectmatcher/patch"
corev1 "k8s.io/api/core/v1"
)
func main() {
old := &corev1.Pod{}
new := &corev1.Pod{}
p, _ := patch.DefaultPatchMaker.Calculate(old, new)
_ = p
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
1.8.0latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.