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 {
FakeClient client.Client
FakeClientset *k8sFake.Clientset
MockManager *mock.MockManager
MockClassQuery *mock.MockIClassQuery
MockEngineParamsClassQuery *mock.MockIEngineParamsClassQuery
MockEngineParamsTemplateQuery *mock.MockIEngineParamsTemplateQuery
MockMinorVersionQuery *mock.MockIMinorVersionQuery
Ctrl *Controller
MockSmsServer *httptest.Server
MockCmServer *httptest.Server
CoreV1Client corev1.CoreV1Interface
ExecInPodGuard *PatchGuard
}
FakeContainer ...
func InitFakeContainer ¶
func InitFakeContainer(t *testing.T) (container *FakeContainer)
InitFakeContainer ...
Click to show internal directories.
Click to hide internal directories.