mocks

package
v3.50.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2018 License: MIT Imports: 9 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.

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 DNSClient added in v1.1.0

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

DNSClient is a mock of Client interface

func NewDNSClient added in v1.1.0

func NewDNSClient(ctrl *gomock.Controller) *DNSClient

NewDNSClient creates a new mock instance

func (*DNSClient) Close added in v1.1.0

func (m *DNSClient) Close() error

Close mocks base method

func (*DNSClient) EXPECT added in v1.1.0

func (m *DNSClient) EXPECT() *DNSClientMockRecorder

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

func (*DNSClient) LookupIP added in v1.1.0

func (m *DNSClient) LookupIP(arg0 string) ([]net.IP, error)

LookupIP mocks base method

func (*DNSClient) Start added in v1.1.0

func (m *DNSClient) Start() error

Start mocks base method

func (*DNSClient) Type added in v1.1.0

func (m *DNSClient) Type() interface{}

Type mocks base method

type DNSClientMockRecorder added in v1.1.0

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

DNSClientMockRecorder is the mock recorder for DNSClient

func (*DNSClientMockRecorder) Close added in v1.1.0

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

Close indicates an expected call of Close

func (*DNSClientMockRecorder) LookupIP added in v1.1.0

func (mr *DNSClientMockRecorder) LookupIP(arg0 interface{}) *gomock.Call

LookupIP indicates an expected call of LookupIP

func (*DNSClientMockRecorder) Start added in v1.1.0

func (mr *DNSClientMockRecorder) Start() *gomock.Call

Start indicates an expected call of Start

func (*DNSClientMockRecorder) Type added in v1.1.0

func (mr *DNSClientMockRecorder) Type() *gomock.Call

Type indicates an expected call of Type

type MuxClientWorkerFactory added in v1.1.0

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

MuxClientWorkerFactory is a mock of ClientWorkerFactory interface

func NewMuxClientWorkerFactory added in v1.1.0

func NewMuxClientWorkerFactory(ctrl *gomock.Controller) *MuxClientWorkerFactory

NewMuxClientWorkerFactory creates a new mock instance

func (*MuxClientWorkerFactory) Create added in v1.1.0

func (m *MuxClientWorkerFactory) Create() (*mux.ClientWorker, error)

Create mocks base method

func (*MuxClientWorkerFactory) EXPECT added in v1.1.0

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

type MuxClientWorkerFactoryMockRecorder added in v1.1.0

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

MuxClientWorkerFactoryMockRecorder is the mock recorder for MuxClientWorkerFactory

func (*MuxClientWorkerFactoryMockRecorder) Create added in v1.1.0

Create indicates an expected call of Create

type ProxyInbound added in v1.1.0

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

ProxyInbound is a mock of Inbound interface

func NewProxyInbound added in v1.1.0

func NewProxyInbound(ctrl *gomock.Controller) *ProxyInbound

NewProxyInbound creates a new mock instance

func (*ProxyInbound) EXPECT added in v1.1.0

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

func (*ProxyInbound) Network added in v1.1.0

func (m *ProxyInbound) Network() net.NetworkList

Network mocks base method

func (*ProxyInbound) Process added in v1.1.0

func (m *ProxyInbound) Process(arg0 context.Context, arg1 net.Network, arg2 internet.Connection, arg3 routing.Dispatcher) error

Process mocks base method

type ProxyInboundMockRecorder added in v1.1.0

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

ProxyInboundMockRecorder is the mock recorder for ProxyInbound

func (*ProxyInboundMockRecorder) Network added in v1.1.0

func (mr *ProxyInboundMockRecorder) Network() *gomock.Call

Network indicates an expected call of Network

func (*ProxyInboundMockRecorder) Process added in v1.1.0

func (mr *ProxyInboundMockRecorder) Process(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Process indicates an expected call of Process

type ProxyOutbound added in v1.1.0

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

ProxyOutbound is a mock of Outbound interface

func NewProxyOutbound added in v1.1.0

func NewProxyOutbound(ctrl *gomock.Controller) *ProxyOutbound

NewProxyOutbound creates a new mock instance

func (*ProxyOutbound) EXPECT added in v1.1.0

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

func (*ProxyOutbound) Process added in v1.1.0

func (m *ProxyOutbound) Process(arg0 context.Context, arg1 *vio.Link, arg2 internet.Dialer) error

Process mocks base method

type ProxyOutboundMockRecorder added in v1.1.0

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

ProxyOutboundMockRecorder is the mock recorder for ProxyOutbound

func (*ProxyOutboundMockRecorder) Process added in v1.1.0

func (mr *ProxyOutboundMockRecorder) Process(arg0, arg1, arg2 interface{}) *gomock.Call

Process indicates an expected call of Process

type Reader added in v1.1.0

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

Reader is a mock of Reader interface

func NewReader added in v1.1.0

func NewReader(ctrl *gomock.Controller) *Reader

NewReader creates a new mock instance

func (*Reader) EXPECT added in v1.1.0

func (m *Reader) EXPECT() *ReaderMockRecorder

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

func (*Reader) Read added in v1.1.0

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

Read mocks base method

type ReaderMockRecorder added in v1.1.0

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

ReaderMockRecorder is the mock recorder for Reader

func (*ReaderMockRecorder) Read added in v1.1.0

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

Read indicates an expected call of Read

type Writer added in v1.1.0

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

Writer is a mock of Writer interface

func NewWriter added in v1.1.0

func NewWriter(ctrl *gomock.Controller) *Writer

NewWriter creates a new mock instance

func (*Writer) EXPECT added in v1.1.0

func (m *Writer) EXPECT() *WriterMockRecorder

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

func (*Writer) Write added in v1.1.0

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

Write mocks base method

type WriterMockRecorder added in v1.1.0

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

WriterMockRecorder is the mock recorder for Writer

func (*WriterMockRecorder) Write added in v1.1.0

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

Write indicates an expected call of Write

Jump to

Keyboard shortcuts

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