-
Notifications
You must be signed in to change notification settings - Fork 2
/
syncerfactory_mock.go
52 lines (43 loc) · 1.85 KB
/
syncerfactory_mock.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// Code generated by MockGen. DO NOT EDIT.
// Source: ./pkg/apis/batch/syncerfactory.go
// Package batch is a generated GoMock package.
package batch
import (
reflect "reflect"
kube "github.com/equinor/radix-operator/pkg/apis/kube"
v1 "github.com/equinor/radix-operator/pkg/apis/radix/v1"
versioned "github.com/equinor/radix-operator/pkg/client/clientset/versioned"
gomock "github.com/golang/mock/gomock"
kubernetes "k8s.io/client-go/kubernetes"
)
// MockSyncerFactory is a mock of SyncerFactory interface.
type MockSyncerFactory struct {
ctrl *gomock.Controller
recorder *MockSyncerFactoryMockRecorder
}
// MockSyncerFactoryMockRecorder is the mock recorder for MockSyncerFactory.
type MockSyncerFactoryMockRecorder struct {
mock *MockSyncerFactory
}
// NewMockSyncerFactory creates a new mock instance.
func NewMockSyncerFactory(ctrl *gomock.Controller) *MockSyncerFactory {
mock := &MockSyncerFactory{ctrl: ctrl}
mock.recorder = &MockSyncerFactoryMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockSyncerFactory) EXPECT() *MockSyncerFactoryMockRecorder {
return m.recorder
}
// CreateSyncer mocks base method.
func (m *MockSyncerFactory) CreateSyncer(kubeclient kubernetes.Interface, kubeutil *kube.Kube, radixclient versioned.Interface, batch *v1.RadixBatch) Syncer {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CreateSyncer", kubeclient, kubeutil, radixclient, batch)
ret0, _ := ret[0].(Syncer)
return ret0
}
// CreateSyncer indicates an expected call of CreateSyncer.
func (mr *MockSyncerFactoryMockRecorder) CreateSyncer(kubeclient, kubeutil, radixclient, batch interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSyncer", reflect.TypeOf((*MockSyncerFactory)(nil).CreateSyncer), kubeclient, kubeutil, radixclient, batch)
}