kube_testing

package
v15.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 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