test

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PatchClient

func PatchClient(t *testing.T, action func(container *FakeContainer))

PatchClient ...

Types

type FakeContainer

type FakeContainer struct {
	FakeClientset               *k8sFake.Clientset
	CoreV1Client                corev1.CoreV1Interface
	MockStateResource           *mock.MockStateResource
	MockRecover                 *mock.MockRecover
	MockWfHook                  *mock.MockWfHook
	MockWfMetaLoader            *mock.MockWfMetaLoader
	MockWfRuntimeMementoStorage *mock.MockWfRuntimeMementoStorage
}

FakeContainer ...

func InitFakeContainer

func InitFakeContainer(t *testing.T) (container *FakeContainer)

InitFakeContainer ...

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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