portforward

package
v0.2.1-beta1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2021 License: MIT Imports: 17 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

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