...
1
2
3
4
5 package mocks
6
7 import (
8 context "context"
9 reflect "reflect"
10
11 model "edge-infra.dev/pkg/edge/api/graph/model"
12 gomock "github.com/golang/mock/gomock"
13 )
14
15
16 type MockCABundleService struct {
17 ctrl *gomock.Controller
18 recorder *MockCABundleServiceMockRecorder
19 }
20
21
22 type MockCABundleServiceMockRecorder struct {
23 mock *MockCABundleService
24 }
25
26
27 func NewMockCABundleService(ctrl *gomock.Controller) *MockCABundleService {
28 mock := &MockCABundleService{ctrl: ctrl}
29 mock.recorder = &MockCABundleServiceMockRecorder{mock}
30 return mock
31 }
32
33
34 func (m *MockCABundleService) EXPECT() *MockCABundleServiceMockRecorder {
35 return m.recorder
36 }
37
38
39 func (m *MockCABundleService) GetCABundle(arg0 context.Context, arg1, arg2 string) (*model.CaBundle, error) {
40 m.ctrl.T.Helper()
41 ret := m.ctrl.Call(m, "GetCABundle", arg0, arg1, arg2)
42 ret0, _ := ret[0].(*model.CaBundle)
43 ret1, _ := ret[1].(error)
44 return ret0, ret1
45 }
46
47
48 func (mr *MockCABundleServiceMockRecorder) GetCABundle(arg0, arg1, arg2 interface{}) *gomock.Call {
49 mr.mock.ctrl.T.Helper()
50 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCABundle", reflect.TypeOf((*MockCABundleService)(nil).GetCABundle), arg0, arg1, arg2)
51 }
52
View as plain text