object

package
v0.0.0-...-44dad58 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Canonical

Canonical returns a canonicalized version of the object - that is, one that has the same name, spec and non-HNC labels and annotations, but with the status and all other metadata cleared (including, notably, the namespace). The resulting object is suitable to be copied into a new namespace, or two canonicalized objects are suitable for being compared via reflect.DeepEqual.

As a side effect, the label and annotation maps are always initialized in the returned value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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