Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultHash = fnv.New64 DefaultMaxDepth = 20 )
Functions ¶
func HashMap ¶
HashMap computes a hash of unstructured object.
Object assumes k8s serializer format defined in k8s.io/apimachinery/pkg/runtime/serializer/json and k8s.io/apimachinery/pkg/apis/meta/v1/unstructured.
Supported values ¶
- string
- int64
- float64
- bool
- map[string]any
- []any
Types ¶
type InvalidTypeError ¶
InvalidValueTypeError
func (InvalidTypeError) Error ¶
func (e InvalidTypeError) Error() string
type MaxDepthError ¶
type MaxDepthError struct {
Path string
}
MaxDepthError indicates value that is nested above max depth
func (MaxDepthError) Error ¶
func (e MaxDepthError) Error() string
Click to show internal directories.
Click to hide internal directories.