Documentation ¶
Overview ¶
Package forward is a generated GoMock package.
Index ¶
- func NewForwarder(view ui.View, proxy proxy.Proxy, project *config.Project) *forwarder
- type Forwarder
- type ForwarderType
- type MockForwarder
- type MockForwarderMockRecorder
- type MockForwarderType
- func (m *MockForwarderType) EXPECT() *MockForwarderTypeMockRecorder
- func (m *MockForwarderType) Forward() error
- func (m *MockForwarderType) GetForwardType() string
- func (m *MockForwarderType) GetReadyChannel() chan struct{}
- func (m *MockForwarderType) GetStopChannel() chan struct{}
- func (m *MockForwarderType) Stop() error
- type MockForwarderTypeMockRecorder
- func (mr *MockForwarderTypeMockRecorder) Forward() *gomock.Call
- func (mr *MockForwarderTypeMockRecorder) GetForwardType() *gomock.Call
- func (mr *MockForwarderTypeMockRecorder) GetReadyChannel() *gomock.Call
- func (mr *MockForwarderTypeMockRecorder) GetStopChannel() *gomock.Call
- func (mr *MockForwarderTypeMockRecorder) Stop() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Forwarder ¶
type Forwarder interface { ForwardAll() Stop() }
Forwarder represents all kinds of forwarders (Kubernetes, others...)
type ForwarderType ¶
type MockForwarder ¶
type MockForwarder struct {
// contains filtered or unexported fields
}
MockForwarder is a mock of Forwarder interface.
func NewMockForwarder ¶
func NewMockForwarder(ctrl *gomock.Controller) *MockForwarder
NewMockForwarder creates a new mock instance.
func (*MockForwarder) EXPECT ¶
func (m *MockForwarder) EXPECT() *MockForwarderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockForwarder) ForwardAll ¶
func (m *MockForwarder) ForwardAll()
ForwardAll mocks base method.
type MockForwarderMockRecorder ¶
type MockForwarderMockRecorder struct {
// contains filtered or unexported fields
}
MockForwarderMockRecorder is the mock recorder for MockForwarder.
func (*MockForwarderMockRecorder) ForwardAll ¶
func (mr *MockForwarderMockRecorder) ForwardAll() *gomock.Call
ForwardAll indicates an expected call of ForwardAll.
func (*MockForwarderMockRecorder) Stop ¶
func (mr *MockForwarderMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
type MockForwarderType ¶
type MockForwarderType struct {
// contains filtered or unexported fields
}
MockForwarderType is a mock of ForwarderType interface.
func NewMockForwarderType ¶
func NewMockForwarderType(ctrl *gomock.Controller) *MockForwarderType
NewMockForwarderType creates a new mock instance.
func (*MockForwarderType) EXPECT ¶
func (m *MockForwarderType) EXPECT() *MockForwarderTypeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockForwarderType) Forward ¶
func (m *MockForwarderType) Forward() error
Forward mocks base method.
func (*MockForwarderType) GetForwardType ¶
func (m *MockForwarderType) GetForwardType() string
GetForwardType mocks base method.
func (*MockForwarderType) GetReadyChannel ¶
func (m *MockForwarderType) GetReadyChannel() chan struct{}
GetReadyChannel mocks base method.
func (*MockForwarderType) GetStopChannel ¶
func (m *MockForwarderType) GetStopChannel() chan struct{}
GetStopChannel mocks base method.
type MockForwarderTypeMockRecorder ¶
type MockForwarderTypeMockRecorder struct {
// contains filtered or unexported fields
}
MockForwarderTypeMockRecorder is the mock recorder for MockForwarderType.
func (*MockForwarderTypeMockRecorder) Forward ¶
func (mr *MockForwarderTypeMockRecorder) Forward() *gomock.Call
Forward indicates an expected call of Forward.
func (*MockForwarderTypeMockRecorder) GetForwardType ¶
func (mr *MockForwarderTypeMockRecorder) GetForwardType() *gomock.Call
GetForwardType indicates an expected call of GetForwardType.
func (*MockForwarderTypeMockRecorder) GetReadyChannel ¶
func (mr *MockForwarderTypeMockRecorder) GetReadyChannel() *gomock.Call
GetReadyChannel indicates an expected call of GetReadyChannel.
func (*MockForwarderTypeMockRecorder) GetStopChannel ¶
func (mr *MockForwarderTypeMockRecorder) GetStopChannel() *gomock.Call
GetStopChannel indicates an expected call of GetStopChannel.
func (*MockForwarderTypeMockRecorder) Stop ¶
func (mr *MockForwarderTypeMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.