1
2
3
4
5 package mocks
6
7 import (
8 context "context"
9 reflect "reflect"
10
11 types "edge-infra.dev/pkg/edge/api/types"
12 gomock "github.com/golang/mock/gomock"
13 )
14
15
16 type MockGcpClientService struct {
17 ctrl *gomock.Controller
18 recorder *MockGcpClientServiceMockRecorder
19 }
20
21
22 type MockGcpClientServiceMockRecorder struct {
23 mock *MockGcpClientService
24 }
25
26
27 func NewMockGcpClientService(ctrl *gomock.Controller) *MockGcpClientService {
28 mock := &MockGcpClientService{ctrl: ctrl}
29 mock.recorder = &MockGcpClientServiceMockRecorder{mock}
30 return mock
31 }
32
33
34 func (m *MockGcpClientService) EXPECT() *MockGcpClientServiceMockRecorder {
35 return m.recorder
36 }
37
38
39 func (m *MockGcpClientService) GetComputeClient(arg0 context.Context, arg1 string) (types.ComputeService, error) {
40 m.ctrl.T.Helper()
41 ret := m.ctrl.Call(m, "GetComputeClient", arg0, arg1)
42 ret0, _ := ret[0].(types.ComputeService)
43 ret1, _ := ret[1].(error)
44 return ret0, ret1
45 }
46
47
48 func (mr *MockGcpClientServiceMockRecorder) GetComputeClient(arg0, arg1 interface{}) *gomock.Call {
49 mr.mock.ctrl.T.Helper()
50 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetComputeClient", reflect.TypeOf((*MockGcpClientService)(nil).GetComputeClient), arg0, arg1)
51 }
52
53
54 func (m *MockGcpClientService) GetContainerClient(arg0 context.Context, arg1 string) (types.ContainerService, error) {
55 m.ctrl.T.Helper()
56 ret := m.ctrl.Call(m, "GetContainerClient", arg0, arg1)
57 ret0, _ := ret[0].(types.ContainerService)
58 ret1, _ := ret[1].(error)
59 return ret0, ret1
60 }
61
62
63 func (mr *MockGcpClientServiceMockRecorder) GetContainerClient(arg0, arg1 interface{}) *gomock.Call {
64 mr.mock.ctrl.T.Helper()
65 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetContainerClient", reflect.TypeOf((*MockGcpClientService)(nil).GetContainerClient), arg0, arg1)
66 }
67
68
69 func (m *MockGcpClientService) GetPubSubClient(arg0 context.Context, arg1 string) (types.PubSubService, error) {
70 m.ctrl.T.Helper()
71 ret := m.ctrl.Call(m, "GetPubSubClient", arg0, arg1)
72 ret0, _ := ret[0].(types.PubSubService)
73 ret1, _ := ret[1].(error)
74 return ret0, ret1
75 }
76
77
78 func (mr *MockGcpClientServiceMockRecorder) GetPubSubClient(arg0, arg1 interface{}) *gomock.Call {
79 mr.mock.ctrl.T.Helper()
80 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPubSubClient", reflect.TypeOf((*MockGcpClientService)(nil).GetPubSubClient), arg0, arg1)
81 }
82
83
84 func (m *MockGcpClientService) GetSecretClient(arg0 context.Context, arg1 string) (types.SecretManagerService, error) {
85 m.ctrl.T.Helper()
86 ret := m.ctrl.Call(m, "GetSecretClient", arg0, arg1)
87 ret0, _ := ret[0].(types.SecretManagerService)
88 ret1, _ := ret[1].(error)
89 return ret0, ret1
90 }
91
92
93 func (mr *MockGcpClientServiceMockRecorder) GetSecretClient(arg0, arg1 interface{}) *gomock.Call {
94 mr.mock.ctrl.T.Helper()
95 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSecretClient", reflect.TypeOf((*MockGcpClientService)(nil).GetSecretClient), arg0, arg1)
96 }
97
View as plain text