testing

package
v2.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertCreate

func AssertCreate(t *testing.T, ac k8sTesting.Action, resource string, namespace string, obj runtime.Object)

func AssertDelete

func AssertDelete(t *testing.T, ac k8sTesting.Action, resource string, namespace string, name string)

func AssertEqualObjects

func AssertEqualObjects(t *testing.T, expected runtime.Object, actual runtime.Object)

func AssertGet

func AssertGet(t *testing.T, ac k8sTesting.Action, resource string, namespace string, name string)

func AssertList

func AssertList(t *testing.T, ac k8sTesting.Action, resource string, namespace string, fieldSelector string, labelSelector string)

func AssertPatch

func AssertPatch(t *testing.T, ac k8sTesting.Action, resource string, namespace string, name string, patchType types.PatchType, data []byte)

func ConvertToUnstructured

func ConvertToUnstructured(obj runtime.Object) *unstructured.Unstructured

Types

This section is empty.

Jump to

Keyboard shortcuts

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