()
| 46 | } |
| 47 | |
| 48 | func MockKBAgentClientDefault() { |
| 49 | MockKBAgentClient(func(recorder *kbacli.MockClientMockRecorder) { |
| 50 | recorder.Action(gomock.Any(), gomock.Any()).DoAndReturn(func(ctx context.Context, req kbagentproto.ActionRequest) (kbagentproto.ActionResponse, error) { |
| 51 | return kbagentproto.ActionResponse{}, nil |
| 52 | }).AnyTimes() |
| 53 | }) |
| 54 | } |
| 55 | |
| 56 | func MockKBAgentClient4HScale(testCtx *testutil.TestContext, clusterKey types.NamespacedName, compName, podAnnotationKey4Test string, replicas int) { |
| 57 | MockKBAgentClient(func(recorder *kbacli.MockClientMockRecorder) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…