Documentation ¶
Overview ¶
Package portforward is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cli ¶
type Cli struct{}
Cli ...
func (*Cli) ForwardPodPortToLocal ¶
func (s *Cli) ForwardPodPortToLocal(options *options.DaemonOptions, podName string, remotePort, localPort int) (chan struct{}, context.Context, error)
ForwardPodPortToLocal ...
type CliInterface ¶
type CliInterface interface {
ForwardPodPortToLocal(options *options.DaemonOptions, podName string, remotePort, localPort int) (chan struct{}, context.Context, error)
}
CliInterface ...
type MockCliInterface ¶
type MockCliInterface struct {
// contains filtered or unexported fields
}
MockCliInterface is a mock of CliInterface interface.
func NewMockCliInterface ¶
func NewMockCliInterface(ctrl *gomock.Controller) *MockCliInterface
NewMockCliInterface creates a new mock instance.
func (*MockCliInterface) EXPECT ¶
func (m *MockCliInterface) EXPECT() *MockCliInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCliInterface) ForwardPodPortToLocal ¶
func (m *MockCliInterface) ForwardPodPortToLocal(options *options.DaemonOptions, podName string, remotePort, localPort int) (chan struct{}, context.Context, error)
ForwardPodPortToLocal mocks base method.
type MockCliInterfaceMockRecorder ¶
type MockCliInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockCliInterfaceMockRecorder is the mock recorder for MockCliInterface.
func (*MockCliInterfaceMockRecorder) ForwardPodPortToLocal ¶
func (mr *MockCliInterfaceMockRecorder) ForwardPodPortToLocal(options, podName, remotePort, localPort interface{}) *gomock.Call
ForwardPodPortToLocal indicates an expected call of ForwardPodPortToLocal.
Click to show internal directories.
Click to hide internal directories.