proxy

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package proxy is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockContextHandler

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

MockContextHandler is a mock of ContextHandler interface.

func NewMockContextHandler

func NewMockContextHandler(ctrl *gomock.Controller) *MockContextHandler

NewMockContextHandler creates a new mock instance.

func (*MockContextHandler) EXPECT

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

func (*MockContextHandler) HandleContext

func (m *MockContextHandler) HandleContext(arg0 context.Context) context.Context

HandleContext mocks base method.

type MockContextHandlerMockRecorder

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

MockContextHandlerMockRecorder is the mock recorder for MockContextHandler.

func (*MockContextHandlerMockRecorder) HandleContext

func (mr *MockContextHandlerMockRecorder) HandleContext(arg0 interface{}) *gomock.Call

HandleContext indicates an expected call of HandleContext.

type MockForwardProxy

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

MockForwardProxy is a mock of ForwardProxy interface.

func NewMockForwardProxy

func NewMockForwardProxy(ctrl *gomock.Controller) *MockForwardProxy

NewMockForwardProxy creates a new mock instance.

func (*MockForwardProxy) Configure

func (m *MockForwardProxy) Configure(arg0 *proxy.Config) error

Configure mocks base method.

func (*MockForwardProxy) EXPECT

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

func (*MockForwardProxy) ResolveProxyInstance

func (m *MockForwardProxy) ResolveProxyInstance(ctx context.Context) error

ResolveProxyInstance mocks base method.

type MockForwardProxyMockRecorder

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

MockForwardProxyMockRecorder is the mock recorder for MockForwardProxy.

func (*MockForwardProxyMockRecorder) Configure

func (mr *MockForwardProxyMockRecorder) Configure(arg0 interface{}) *gomock.Call

Configure indicates an expected call of Configure.

func (*MockForwardProxyMockRecorder) ResolveProxyInstance

func (mr *MockForwardProxyMockRecorder) ResolveProxyInstance(ctx interface{}) *gomock.Call

ResolveProxyInstance indicates an expected call of ResolveProxyInstance.

type MockReverseProxy

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

MockReverseProxy is a mock of ReverseProxy interface.

func NewMockReverseProxy

func NewMockReverseProxy(ctrl *gomock.Controller) *MockReverseProxy

NewMockReverseProxy creates a new mock instance.

func (*MockReverseProxy) EXPECT

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

func (*MockReverseProxy) Replace

func (m *MockReverseProxy) Replace(arg0 net.Addr) (net.Addr, error)

Replace mocks base method.

type MockReverseProxyMockRecorder

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

MockReverseProxyMockRecorder is the mock recorder for MockReverseProxy.

func (*MockReverseProxyMockRecorder) Replace

func (mr *MockReverseProxyMockRecorder) Replace(arg0 interface{}) *gomock.Call

Replace indicates an expected call of Replace.

Jump to

Keyboard shortcuts

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