mocks

package
v0.0.0-...-a36a61a Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockConn

type MockConn struct {
	// contains filtered or unexported fields
}

MockConn is a mock of Conn interface

func NewMockConn

func NewMockConn(ctrl *gomock.Controller) *MockConn

NewMockConn creates a new mock instance

func (*MockConn) Close

func (m *MockConn) Close() error

Close mocks base method

func (*MockConn) EXPECT

func (m *MockConn) EXPECT() *MockConnMockRecorder

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

func (*MockConn) LocalAddr

func (m *MockConn) LocalAddr() net.Addr

LocalAddr mocks base method

func (*MockConn) Read

func (m *MockConn) Read(arg0 []byte) (int, error)

Read mocks base method

func (*MockConn) RemoteAddr

func (m *MockConn) RemoteAddr() net.Addr

RemoteAddr mocks base method

func (*MockConn) SetDeadline

func (m *MockConn) SetDeadline(arg0 time.Time) error

SetDeadline mocks base method

func (*MockConn) SetReadDeadline

func (m *MockConn) SetReadDeadline(arg0 time.Time) error

SetReadDeadline mocks base method

func (*MockConn) SetWriteDeadline

func (m *MockConn) SetWriteDeadline(arg0 time.Time) error

SetWriteDeadline mocks base method

func (*MockConn) Write

func (m *MockConn) Write(arg0 []byte) (int, error)

Write mocks base method

type MockConnMockRecorder

type MockConnMockRecorder struct {
	// contains filtered or unexported fields
}

MockConnMockRecorder is the mock recorder for MockConn

func (*MockConnMockRecorder) Close

func (mr *MockConnMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockConnMockRecorder) LocalAddr

func (mr *MockConnMockRecorder) LocalAddr() *gomock.Call

LocalAddr indicates an expected call of LocalAddr

func (*MockConnMockRecorder) Read

func (mr *MockConnMockRecorder) Read(arg0 interface{}) *gomock.Call

Read indicates an expected call of Read

func (*MockConnMockRecorder) RemoteAddr

func (mr *MockConnMockRecorder) RemoteAddr() *gomock.Call

RemoteAddr indicates an expected call of RemoteAddr

func (*MockConnMockRecorder) SetDeadline

func (mr *MockConnMockRecorder) SetDeadline(arg0 interface{}) *gomock.Call

SetDeadline indicates an expected call of SetDeadline

func (*MockConnMockRecorder) SetReadDeadline

func (mr *MockConnMockRecorder) SetReadDeadline(arg0 interface{}) *gomock.Call

SetReadDeadline indicates an expected call of SetReadDeadline

func (*MockConnMockRecorder) SetWriteDeadline

func (mr *MockConnMockRecorder) SetWriteDeadline(arg0 interface{}) *gomock.Call

SetWriteDeadline indicates an expected call of SetWriteDeadline

func (*MockConnMockRecorder) Write

func (mr *MockConnMockRecorder) Write(arg0 interface{}) *gomock.Call

Write indicates an expected call of Write

type MockDialer

type MockDialer struct {
	// contains filtered or unexported fields
}

MockDialer is a mock of Dialer interface

func NewMockDialer

func NewMockDialer(ctrl *gomock.Controller) *MockDialer

NewMockDialer creates a new mock instance

func (*MockDialer) DialContext

func (m *MockDialer) DialContext(arg0 context.Context, arg1, arg2 string) (net.Conn, error)

DialContext mocks base method

func (*MockDialer) EXPECT

func (m *MockDialer) EXPECT() *MockDialerMockRecorder

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

type MockDialerMockRecorder

type MockDialerMockRecorder struct {
	// contains filtered or unexported fields
}

MockDialerMockRecorder is the mock recorder for MockDialer

func (*MockDialerMockRecorder) DialContext

func (mr *MockDialerMockRecorder) DialContext(arg0, arg1, arg2 interface{}) *gomock.Call

DialContext indicates an expected call of DialContext

type MockTunnel

type MockTunnel struct {
	// contains filtered or unexported fields
}

MockTunnel is a mock of Tunnel interface

func NewMockTunnel

func NewMockTunnel(ctrl *gomock.Controller) *MockTunnel

NewMockTunnel creates a new mock instance

func (*MockTunnel) Accept

func (m *MockTunnel) Accept() (net.Conn, error)

Accept mocks base method

func (*MockTunnel) Addr

func (m *MockTunnel) Addr() net.Addr

Addr mocks base method

func (*MockTunnel) Close

func (m *MockTunnel) Close() error

Close mocks base method

func (*MockTunnel) CloseWithContext

func (m *MockTunnel) CloseWithContext(arg0 context.Context) error

CloseWithContext mocks base method

func (*MockTunnel) EXPECT

func (m *MockTunnel) EXPECT() *MockTunnelMockRecorder

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

func (*MockTunnel) ForwardsTo

func (m *MockTunnel) ForwardsTo() string

ForwardsTo mocks base method

func (*MockTunnel) ID

func (m *MockTunnel) ID() string

ID mocks base method

func (*MockTunnel) Labels

func (m *MockTunnel) Labels() map[string]string

Labels mocks base method

func (*MockTunnel) Metadata

func (m *MockTunnel) Metadata() string

Metadata mocks base method

func (*MockTunnel) Proto

func (m *MockTunnel) Proto() string

Proto mocks base method

func (*MockTunnel) Session

func (m *MockTunnel) Session() ngrok.Session

Session mocks base method

func (*MockTunnel) URL

func (m *MockTunnel) URL() string

URL mocks base method

type MockTunnelMockRecorder

type MockTunnelMockRecorder struct {
	// contains filtered or unexported fields
}

MockTunnelMockRecorder is the mock recorder for MockTunnel

func (*MockTunnelMockRecorder) Accept

func (mr *MockTunnelMockRecorder) Accept() *gomock.Call

Accept indicates an expected call of Accept

func (*MockTunnelMockRecorder) Addr

func (mr *MockTunnelMockRecorder) Addr() *gomock.Call

Addr indicates an expected call of Addr

func (*MockTunnelMockRecorder) Close

func (mr *MockTunnelMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockTunnelMockRecorder) CloseWithContext

func (mr *MockTunnelMockRecorder) CloseWithContext(arg0 interface{}) *gomock.Call

CloseWithContext indicates an expected call of CloseWithContext

func (*MockTunnelMockRecorder) ForwardsTo

func (mr *MockTunnelMockRecorder) ForwardsTo() *gomock.Call

ForwardsTo indicates an expected call of ForwardsTo

func (*MockTunnelMockRecorder) ID

ID indicates an expected call of ID

func (*MockTunnelMockRecorder) Labels

func (mr *MockTunnelMockRecorder) Labels() *gomock.Call

Labels indicates an expected call of Labels

func (*MockTunnelMockRecorder) Metadata

func (mr *MockTunnelMockRecorder) Metadata() *gomock.Call

Metadata indicates an expected call of Metadata

func (*MockTunnelMockRecorder) Proto

func (mr *MockTunnelMockRecorder) Proto() *gomock.Call

Proto indicates an expected call of Proto

func (*MockTunnelMockRecorder) Session

func (mr *MockTunnelMockRecorder) Session() *gomock.Call

Session indicates an expected call of Session

func (*MockTunnelMockRecorder) URL

func (mr *MockTunnelMockRecorder) URL() *gomock.Call

URL indicates an expected call of URL

Jump to

Keyboard shortcuts

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