This repository has been archived by the owner on Jan 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 481
/
mock_info_interface.go
90 lines (75 loc) · 2.58 KB
/
mock_info_interface.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
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
78
79
80
81
82
83
84
85
86
87
88
89
90
// Code generated by MockGen. DO NOT EDIT.
// Source: ../../pkg/cluster/info.go
// Package fake is a generated GoMock package.
package fake
import (
reflect "reflect"
gomock "github.com/golang/mock/gomock"
)
// MockInfoInterface is a mock of InfoInterface interface.
type MockInfoInterface struct {
ctrl *gomock.Controller
recorder *MockInfoInterfaceMockRecorder
}
// MockInfoInterfaceMockRecorder is the mock recorder for MockInfoInterface.
type MockInfoInterfaceMockRecorder struct {
mock *MockInfoInterface
}
// NewMockInfoInterface creates a new mock instance.
func NewMockInfoInterface(ctrl *gomock.Controller) *MockInfoInterface {
mock := &MockInfoInterface{ctrl: ctrl}
mock.recorder = &MockInfoInterfaceMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockInfoInterface) EXPECT() *MockInfoInterfaceMockRecorder {
return m.recorder
}
// Cluster mocks base method.
func (m *MockInfoInterface) Cluster() string {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Cluster")
ret0, _ := ret[0].(string)
return ret0
}
// Cluster indicates an expected call of Cluster.
func (mr *MockInfoInterfaceMockRecorder) Cluster() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Cluster", reflect.TypeOf((*MockInfoInterface)(nil).Cluster))
}
// Context mocks base method.
func (m *MockInfoInterface) Context() string {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Context")
ret0, _ := ret[0].(string)
return ret0
}
// Context indicates an expected call of Context.
func (mr *MockInfoInterfaceMockRecorder) Context() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockInfoInterface)(nil).Context))
}
// Server mocks base method.
func (m *MockInfoInterface) Server() string {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Server")
ret0, _ := ret[0].(string)
return ret0
}
// Server indicates an expected call of Server.
func (mr *MockInfoInterfaceMockRecorder) Server() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Server", reflect.TypeOf((*MockInfoInterface)(nil).Server))
}
// User mocks base method.
func (m *MockInfoInterface) User() string {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "User")
ret0, _ := ret[0].(string)
return ret0
}
// User indicates an expected call of User.
func (mr *MockInfoInterfaceMockRecorder) User() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "User", reflect.TypeOf((*MockInfoInterface)(nil).User))
}