Documentation ¶
Index ¶
- Variables
- func AssertContainsAllObjects[T runtime.Object](t *testing.T, expected []runtime.Object, in []T) bool
- func AssertContainsObjects[T runtime.Object](t *testing.T, expected runtime.Object, in []T) bool
- func AssertCreate(t *testing.T, ac k8sTesting.Action, resource string, namespace string, ...)
- func AssertDelete(t *testing.T, ac k8sTesting.Action, resource string, namespace string, ...)
- func AssertEqualObjects(t *testing.T, expected runtime.Object, actual runtime.Object) bool
- func AssertGenericAction(t *testing.T, ac k8sTesting.Action, verb string, resource string, ...)
- func AssertGet(t *testing.T, ac k8sTesting.Action, resource string, namespace string, ...)
- func AssertList(t *testing.T, ac k8sTesting.Action, resource string, namespace string, ...)
- func AssertPatch(t *testing.T, ac k8sTesting.Action, resource string, namespace string, ...)
- func AssertWatch(t *testing.T, ac k8sTesting.Action, resource string, namespace string, ...)
- func ConvertToUnstructured(obj runtime.Object) *unstructured.Unstructured
- func CreateFakeClient(ctx context.Context, objs ...runtime.Object) (context.Context, *dynamicFake.FakeDynamicClient)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func AssertContainsAllObjects ¶ added in v2.9.0
func AssertContainsObjects ¶ added in v2.9.0
func AssertCreate ¶
func AssertDelete ¶
func AssertEqualObjects ¶
func AssertGenericAction ¶ added in v2.9.0
func AssertGenericAction(t *testing.T, ac k8sTesting.Action, verb string, resource string, namespace string, predicate func(t *testing.T, ac k8sTesting.GenericAction))
func AssertList ¶
func AssertPatch ¶
func AssertWatch ¶ added in v2.9.0
func ConvertToUnstructured ¶
func ConvertToUnstructured(obj runtime.Object) *unstructured.Unstructured
func CreateFakeClient ¶ added in v2.8.0
func CreateFakeClient(ctx context.Context, objs ...runtime.Object) (context.Context, *dynamicFake.FakeDynamicClient)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.