Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockConn
- func (m *MockConn) Close() error
- func (m *MockConn) EXPECT() *MockConnMockRecorder
- func (m *MockConn) LocalAddr() net.Addr
- func (m *MockConn) Read(arg0 []byte) (int, error)
- func (m *MockConn) RemoteAddr() net.Addr
- func (m *MockConn) SetDeadline(arg0 time.Time) error
- func (m *MockConn) SetReadDeadline(arg0 time.Time) error
- func (m *MockConn) SetWriteDeadline(arg0 time.Time) error
- func (m *MockConn) Write(arg0 []byte) (int, error)
- type MockConnMockRecorder
- func (mr *MockConnMockRecorder) Close() *gomock.Call
- func (mr *MockConnMockRecorder) LocalAddr() *gomock.Call
- func (mr *MockConnMockRecorder) Read(arg0 interface{}) *gomock.Call
- func (mr *MockConnMockRecorder) RemoteAddr() *gomock.Call
- func (mr *MockConnMockRecorder) SetDeadline(arg0 interface{}) *gomock.Call
- func (mr *MockConnMockRecorder) SetReadDeadline(arg0 interface{}) *gomock.Call
- func (mr *MockConnMockRecorder) SetWriteDeadline(arg0 interface{}) *gomock.Call
- func (mr *MockConnMockRecorder) Write(arg0 interface{}) *gomock.Call
- type MockDialer
- type MockDialerMockRecorder
- type MockTunnel
- func (m *MockTunnel) Accept() (net.Conn, error)
- func (m *MockTunnel) Addr() net.Addr
- func (m *MockTunnel) Close() error
- func (m *MockTunnel) CloseWithContext(arg0 context.Context) error
- func (m *MockTunnel) EXPECT() *MockTunnelMockRecorder
- func (m *MockTunnel) ForwardsTo() string
- func (m *MockTunnel) ID() string
- func (m *MockTunnel) Labels() map[string]string
- func (m *MockTunnel) Metadata() string
- func (m *MockTunnel) Proto() string
- func (m *MockTunnel) Session() ngrok.Session
- func (m *MockTunnel) URL() string
- type MockTunnelMockRecorder
- func (mr *MockTunnelMockRecorder) Accept() *gomock.Call
- func (mr *MockTunnelMockRecorder) Addr() *gomock.Call
- func (mr *MockTunnelMockRecorder) Close() *gomock.Call
- func (mr *MockTunnelMockRecorder) CloseWithContext(arg0 interface{}) *gomock.Call
- func (mr *MockTunnelMockRecorder) ForwardsTo() *gomock.Call
- func (mr *MockTunnelMockRecorder) ID() *gomock.Call
- func (mr *MockTunnelMockRecorder) Labels() *gomock.Call
- func (mr *MockTunnelMockRecorder) Metadata() *gomock.Call
- func (mr *MockTunnelMockRecorder) Proto() *gomock.Call
- func (mr *MockTunnelMockRecorder) Session() *gomock.Call
- func (mr *MockTunnelMockRecorder) URL() *gomock.Call
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) EXPECT ¶
func (m *MockConn) EXPECT() *MockConnMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockConn) SetDeadline ¶
SetDeadline mocks base method
func (*MockConn) SetReadDeadline ¶
SetReadDeadline mocks base method
func (*MockConn) SetWriteDeadline ¶
SetWriteDeadline 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 ¶
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) 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) Labels ¶
func (m *MockTunnel) Labels() map[string]string
Labels 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 ¶
func (mr *MockTunnelMockRecorder) ID() *gomock.Call
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