kube_testing

package
v17.3.7 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ObjsToYAML

func ObjsToYAML(t *testing.T, objs ...runtime.Object) []byte

func ToUnstructured

func ToUnstructured(t *testing.T, obj runtime.Object) *unstructured.Unstructured

func TransformToUnstructured

func TransformToUnstructured() cmp.Option

TransformToUnstructured transforms runtime.Object instances into unstructured.Unstructured to facilitate comparisons. This makes it possible to compare a typed object with its unstructured representation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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