Discover Packages
k8s.io/apimachinery
pkg
util
dump
package
Version:
v0.32.0-rc.1
Opens a new window with list of versions in this module.
Published: Sep 20, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 24
Opens a new window with list of known importers.
Documentation
Documentation
¶
func ForHash(a interface{}) string
ForHash keeps the original Spew.Sprintf format to ensure the same checksum
func OneLine(a interface{}) string
OneLine outputs the object in one line
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
¶
Click to show internal directories.
Click to hide internal directories.