Documentation ¶
Overview ¶
Package mock_reverseproxy is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInstance ¶ added in v1.1.0
type MockInstance struct {
// contains filtered or unexported fields
}
MockInstance is a mock of Instance interface.
func NewMockInstance ¶ added in v1.1.0
func NewMockInstance(ctrl *gomock.Controller) *MockInstance
NewMockInstance creates a new mock instance.
func (*MockInstance) EXPECT ¶ added in v1.1.0
func (m *MockInstance) EXPECT() *MockInstanceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInstance) Shutdown ¶ added in v1.1.0
func (m *MockInstance) Shutdown(arg0 context.Context) error
Shutdown mocks base method.
func (*MockInstance) URL ¶ added in v1.1.0
func (m *MockInstance) URL() *url.URL
URL mocks base method.
type MockInstanceMockRecorder ¶ added in v1.1.0
type MockInstanceMockRecorder struct {
// contains filtered or unexported fields
}
MockInstanceMockRecorder is the mock recorder for MockInstance.
func (*MockInstanceMockRecorder) Shutdown ¶ added in v1.1.0
func (mr *MockInstanceMockRecorder) Shutdown(arg0 interface{}) *gomock.Call
Shutdown indicates an expected call of Shutdown.
func (*MockInstanceMockRecorder) URL ¶ added in v1.1.0
func (mr *MockInstanceMockRecorder) URL() *gomock.Call
URL indicates an expected call of URL.
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) Run ¶ added in v0.4.0
func (m *MockInterface) Run(arg0 reverseproxy.Option, arg1 chan<- reverseproxy.Instance) error
Run mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) Run ¶ added in v0.4.0
func (mr *MockInterfaceMockRecorder) Run(arg0, arg1 interface{}) *gomock.Call
Run indicates an expected call of Run.