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 ¶
func (m *MockContextHandler) EXPECT() *MockContextHandlerMockRecorder
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 ¶
func (m *MockForwardProxy) EXPECT() *MockForwardProxyMockRecorder
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 ¶
func (m *MockReverseProxy) EXPECT() *MockReverseProxyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.
type MockWithMiddleware ¶ added in v0.8.0
type MockWithMiddleware struct {
// contains filtered or unexported fields
}
MockWithMiddleware is a mock of WithMiddleware interface.
func NewMockWithMiddleware ¶ added in v0.8.0
func NewMockWithMiddleware(ctrl *gomock.Controller) *MockWithMiddleware
NewMockWithMiddleware creates a new mock instance.
func (*MockWithMiddleware) EXPECT ¶ added in v0.8.0
func (m *MockWithMiddleware) EXPECT() *MockWithMiddlewareMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWithMiddleware) ProxyMiddleware ¶ added in v0.8.0
func (m *MockWithMiddleware) ProxyMiddleware() endpoint.Middleware
ProxyMiddleware mocks base method.
type MockWithMiddlewareMockRecorder ¶ added in v0.8.0
type MockWithMiddlewareMockRecorder struct {
// contains filtered or unexported fields
}
MockWithMiddlewareMockRecorder is the mock recorder for MockWithMiddleware.
func (*MockWithMiddlewareMockRecorder) ProxyMiddleware ¶ added in v0.8.0
func (mr *MockWithMiddlewareMockRecorder) ProxyMiddleware() *gomock.Call
ProxyMiddleware indicates an expected call of ProxyMiddleware.