blob: 97cac8e2f2e129a44bade77e9d6886c02c380a28 (
plain)
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
// Code generated by MockGen. DO NOT EDIT.
// Source: git.sigsum.org/log-go/internal/node/handler (interfaces: Config)
// Package handler is a generated GoMock package.
package handler
import (
reflect "reflect"
time "time"
gomock "github.com/golang/mock/gomock"
)
// MockConfig is a mock of Config interface.
type MockConfig struct {
ctrl *gomock.Controller
recorder *MockConfigMockRecorder
}
// MockConfigMockRecorder is the mock recorder for MockConfig.
type MockConfigMockRecorder struct {
mock *MockConfig
}
// NewMockConfig creates a new mock instance.
func NewMockConfig(ctrl *gomock.Controller) *MockConfig {
mock := &MockConfig{ctrl: ctrl}
mock.recorder = &MockConfigMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockConfig) EXPECT() *MockConfigMockRecorder {
return m.recorder
}
// Deadline mocks base method.
func (m *MockConfig) Deadline() time.Duration {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Deadline")
ret0, _ := ret[0].(time.Duration)
return ret0
}
// Deadline indicates an expected call of Deadline.
func (mr *MockConfigMockRecorder) Deadline() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Deadline", reflect.TypeOf((*MockConfig)(nil).Deadline))
}
// LogID mocks base method.
func (m *MockConfig) LogID() string {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "LogID")
ret0, _ := ret[0].(string)
return ret0
}
// LogID indicates an expected call of LogID.
func (mr *MockConfigMockRecorder) LogID() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogID", reflect.TypeOf((*MockConfig)(nil).LogID))
}
// Prefix mocks base method.
func (m *MockConfig) Prefix() string {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Prefix")
ret0, _ := ret[0].(string)
return ret0
}
// Prefix indicates an expected call of Prefix.
func (mr *MockConfigMockRecorder) Prefix() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Prefix", reflect.TypeOf((*MockConfig)(nil).Prefix))
}
|