forward

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package forward is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewForwarder

func NewForwarder(view ui.View, proxy proxy.Proxy, project *config.Project) *forwarder

NewForwarder instancites a Forwarder struct from configuration data

Types

type Forwarder

type Forwarder interface {
	ForwardAll()
	Stop()
}

Forwarder represents all kinds of forwarders (Kubernetes, others...)

type ForwarderType

type ForwarderType interface {
	GetForwardType() string
	Forward() error
	Stop() error
	GetReadyChannel() chan struct{}
	GetStopChannel() chan struct{}
}

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

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

func (*MockForwarder) ForwardAll

func (m *MockForwarder) ForwardAll()

ForwardAll mocks base method.

func (*MockForwarder) Stop

func (m *MockForwarder) Stop()

Stop 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

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

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.

func (*MockForwarderType) Stop

func (m *MockForwarderType) Stop() error

Stop 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

Stop indicates an expected call of Stop.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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