Documentation
¶
Overview ¶
Package mock_network is a generated GoMock package.
Index ¶
- type MockNetwork
- type MockNetworkMockRecorder
- func (mr *MockNetworkMockRecorder) Cidr() *gomock.Call
- func (mr *MockNetworkMockRecorder) Gateway() *gomock.Call
- func (mr *MockNetworkMockRecorder) Hostname() *gomock.Call
- func (mr *MockNetworkMockRecorder) IPNet() *gomock.Call
- func (mr *MockNetworkMockRecorder) Interface() *gomock.Call
- func (mr *MockNetworkMockRecorder) UserIP() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNetwork ¶
type MockNetwork struct {
// contains filtered or unexported fields
}
MockNetwork is a mock of Network interface.
func NewMockNetwork ¶
func NewMockNetwork(ctrl *gomock.Controller) *MockNetwork
NewMockNetwork creates a new mock instance.
func (*MockNetwork) EXPECT ¶
func (m *MockNetwork) EXPECT() *MockNetworkMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNetwork) Interface ¶
func (m *MockNetwork) Interface() *net.Interface
Interface mocks base method.
type MockNetworkMockRecorder ¶
type MockNetworkMockRecorder struct {
// contains filtered or unexported fields
}
MockNetworkMockRecorder is the mock recorder for MockNetwork.
func (*MockNetworkMockRecorder) Cidr ¶
func (mr *MockNetworkMockRecorder) Cidr() *gomock.Call
Cidr indicates an expected call of Cidr.
func (*MockNetworkMockRecorder) Gateway ¶
func (mr *MockNetworkMockRecorder) Gateway() *gomock.Call
Gateway indicates an expected call of Gateway.
func (*MockNetworkMockRecorder) Hostname ¶
func (mr *MockNetworkMockRecorder) Hostname() *gomock.Call
Hostname indicates an expected call of Hostname.
func (*MockNetworkMockRecorder) IPNet ¶
func (mr *MockNetworkMockRecorder) IPNet() *gomock.Call
IPNet indicates an expected call of IPNet.
func (*MockNetworkMockRecorder) Interface ¶
func (mr *MockNetworkMockRecorder) Interface() *gomock.Call
Interface indicates an expected call of Interface.
func (*MockNetworkMockRecorder) UserIP ¶
func (mr *MockNetworkMockRecorder) UserIP() *gomock.Call
UserIP indicates an expected call of UserIP.
Click to show internal directories.
Click to hide internal directories.