kmp

package
v0.0.0-...-b04c094 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package kmp wraps github.com/google/go-cmp with custom Comparers for frequently used kubernetes resources that have unexported fields.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SafeDiff

func SafeDiff(x, y interface{}, opts ...cmp.Option) (diff string, err error)

SafeDiff wraps cmp.Diff but recovers from panics and uses custom Comparers for: * k8s.io/apimachinery/pkg/api/resource.Quantity

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL