hash

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComputeSpewHash

func ComputeSpewHash(objectToWrite interface{}) (uint32, error)

ComputeSpewHash computes the hash of a InstanceSpec using the spew library.

func SpewHashObject

func SpewHashObject(hasher hash.Hash, objectToWrite interface{}) error

SpewHashObject writes specified object to hash using the spew library which follows pointers and prints actual values of the nested objects ensuring the hash does not change when a pointer changes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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