/
funcs.go
50 lines (41 loc) · 1.62 KB
/
funcs.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
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/gardener/gardener/pkg/controllermanager/controller/shoot/mock (interfaces: NewCronWithLocation)
// Package mock is a generated GoMock package.
package mock
import (
reflect "reflect"
time "time"
shoot "github.com/gardener/gardener/pkg/controllermanager/controller/shoot"
gomock "github.com/golang/mock/gomock"
)
// MockNewCronWithLocation is a mock of NewCronWithLocation interface.
type MockNewCronWithLocation struct {
ctrl *gomock.Controller
recorder *MockNewCronWithLocationMockRecorder
}
// MockNewCronWithLocationMockRecorder is the mock recorder for MockNewCronWithLocation.
type MockNewCronWithLocationMockRecorder struct {
mock *MockNewCronWithLocation
}
// NewMockNewCronWithLocation creates a new mock instance.
func NewMockNewCronWithLocation(ctrl *gomock.Controller) *MockNewCronWithLocation {
mock := &MockNewCronWithLocation{ctrl: ctrl}
mock.recorder = &MockNewCronWithLocationMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockNewCronWithLocation) EXPECT() *MockNewCronWithLocationMockRecorder {
return m.recorder
}
// Do mocks base method.
func (m *MockNewCronWithLocation) Do(arg0 *time.Location) shoot.Cron {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Do", arg0)
ret0, _ := ret[0].(shoot.Cron)
return ret0
}
// Do indicates an expected call of Do.
func (mr *MockNewCronWithLocationMockRecorder) Do(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Do", reflect.TypeOf((*MockNewCronWithLocation)(nil).Do), arg0)
}