mock_network

package
v1.15.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_network is a generated GoMock package.

Index

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) Cidr

func (m *MockNetwork) Cidr() string

Cidr mocks base method.

func (*MockNetwork) EXPECT

func (m *MockNetwork) EXPECT() *MockNetworkMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockNetwork) Gateway

func (m *MockNetwork) Gateway() net.IP

Gateway mocks base method.

func (*MockNetwork) Hostname

func (m *MockNetwork) Hostname() string

Hostname mocks base method.

func (*MockNetwork) IPNet

func (m *MockNetwork) IPNet() *net.IPNet

IPNet mocks base method.

func (*MockNetwork) Interface

func (m *MockNetwork) Interface() *net.Interface

Interface mocks base method.

func (*MockNetwork) UserIP

func (m *MockNetwork) UserIP() net.IP

UserIP 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL