kubernetesk8s.io/kubernetes/test/utils/format Index | Files

package format

import "k8s.io/kubernetes/test/utils/format"

Package format is an extension of Gomega's format package which improves printing of objects that can be serialized well as YAML, like the structs in the Kubernetes API.

Just importing it is enough to activate this special YAML support in Gomega.

Index

Functions

func Object

func Object(object interface{}, indentation uint) string

Object makes Gomega's format.Object available without having to import that package.

Source Files

format.go

Version
v1.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
4 packages
Last checked
3 hours ago

Tools for package owners.