Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObjectDiff ¶
type ObjectDiff struct { OldObject *unstructured.Unstructured `json:"oldObject"` NewObject *unstructured.Unstructured `json:"newObject"` // contains filtered or unexported fields }
func BuildObjectDiff ¶
func BuildObjectDiff(oldObj, newObj *unstructured.Unstructured) (*ObjectDiff, error)
func (*ObjectDiff) PrettyPrintTo ¶
func (d *ObjectDiff) PrettyPrintTo(options PrettyPrintOptions, out io.Writer)
func (*ObjectDiff) PrintStructuredTo ¶
func (d *ObjectDiff) PrintStructuredTo(out io.Writer)
type PrettyPrintOptions ¶
Click to show internal directories.
Click to hide internal directories.