package
99.0.0+incompatible
Repository: https://github.com/poy/knative-pkg.git
Documentation: pkg.go.dev
# Functions
CompareSetFields returns a list of field names that differ between x and y.
SafeDiff wraps cmp.Diff but recovers from panics and uses custom Comparers for: * k8s.io/apimachinery/pkg/api/resource.Quantity SafeDiff should be used instead of cmp.Diff in non-test code to protect the running process from crashing.
SafeEqual wraps cmp.Equal but recovers from panics and uses custom Comparers for: * k8s.io/apimachinery/pkg/api/resource.Quantity SafeEqual should be used instead of cmp.Equal in non-test code to protect the running process from crashing.
ShortDiff returns a zero-context, unified human-readable diff.
# Structs
FieldListReporter implements the cmp.Reporter interface.
ShortDiffReporter implements the cmp.Reporter interface.