Versions in this module Expand all Collapse all v0 v0.0.2 Mar 2, 2021 Changes in this version + var TestLogger = logger.GetLogger("test") + func AssertCreate(t *testing.T, c *client.Client, resource kubernetes.ResourceObject) + func AssertFetchMustExist(t *testing.T, client *client.Client, resource kubernetes.ResourceObject) + func AssertFetchWithKeyMustExist(t *testing.T, client *client.Client, resource kubernetes.ResourceObject, ...) + func AssertReconcile(t *testing.T, r reconcile.Reconciler, instance metav1.Object) (result reconcile.Result) + func AssertReconcileMustNotRequeue(t *testing.T, r reconcile.Reconciler, instance metav1.Object) (result reconcile.Result) + func AssertReconcileMustRequeue(t *testing.T, r reconcile.Reconciler, instance metav1.Object) (result reconcile.Result) + func CreateFakeClient(objects []runtime.Object, imageObjs []runtime.Object, ...) *client.Client + func CreateFakeClientOnOpenShift(objects []runtime.Object, imageObjs []runtime.Object, ...) *client.Client + func CreateFakeDataIndex(namespace string) *v1beta1.KogitoSupportingService + func CreateFakeExplainabilityService(namespace string) *v1beta1.KogitoSupportingService + func CreateFakeJobsService(namespace string) *v1beta1.KogitoSupportingService + func CreateFakeKogitoInfinispan(namespace string) api.KogitoInfraInterface + func CreateFakeKogitoKafka(namespace string) api.KogitoInfraInterface + func CreateFakeKogitoKnative(namespace string) api.KogitoInfraInterface + func CreateFakeKogitoRuntime(namespace string) *v1beta1.KogitoRuntime + func CreateFakeMgmtConsole(namespace string) *v1beta1.KogitoSupportingService + func CreateFakeTaskConsole(namespace string) *v1beta1.KogitoSupportingService + func CreateFakeTrustyAIService(namespace string) *v1beta1.KogitoSupportingService + func CreateFakeTrustyUIService(namespace string) *v1beta1.KogitoSupportingService + func CreateImageStreams(imageName, namespace, ownerName, imageVersion string) (*v1.ImageStream, *v1.ImageStreamTag) + func GenerateShortUID(count int) string + func GenerateUID() types.UID + func HelperLoadBytes(t *testing.T, name string) []byte + func ToRuntimeObjects(resources ...resource.KubernetesResource) []runtime.Object + type FakeClientBuilder interface + AddBuildObjects func(buildObjs ...runtime.Object) FakeClientBuilder + AddImageObjects func(imageObjs ...runtime.Object) FakeClientBuilder + AddK8sObjects func(objects ...runtime.Object) FakeClientBuilder + Build func() *client.Client + OnOpenShift func() FakeClientBuilder + SupportOLM func() FakeClientBuilder + SupportPrometheus func() FakeClientBuilder + func NewFakeClientBuilder() FakeClientBuilder