package dump
import "k8s.io/apimachinery/pkg/util/dump"
Index ¶
- func ForHash(a interface{}) string
- func OneLine(a interface{}) string
- func Pretty(a interface{}) string
Functions ¶
func ForHash ¶
func ForHash(a interface{}) string
ForHash keeps the original Spew.Sprintf format to ensure the same checksum
func OneLine ¶
func OneLine(a interface{}) string
OneLine outputs the object in one line
func Pretty ¶
func Pretty(a interface{}) string
Pretty wrap the spew.Sdump with Indent, and disabled methods like error() and String() The output may change over time, so for guaranteed output please take more direct control
Source Files ¶
dump.go
- Version
- v0.33.0 (latest)
- Published
- Apr 11, 2025
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 2 days ago –
Tools for package owners.