ssh

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package ssh is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cli added in v0.1.0

type Cli struct{}

Cli ...

func (*Cli) TunnelToRemote added in v0.1.0

func (s *Cli) TunnelToRemote(localTun int, remoteHost, privateKeyPath string, remoteSSHPort int) *exec.Cmd

type CliInterface added in v0.1.0

type CliInterface interface {
	TunnelToRemote(localTun int, remoteHost, privateKeyPath string, remoteSSHPort int) *exec.Cmd
}

CliInterface ...

type MockCliInterface added in v0.1.0

type MockCliInterface struct {
	// contains filtered or unexported fields
}

MockCliInterface is a mock of CliInterface interface.

func NewMockCliInterface added in v0.1.0

func NewMockCliInterface(ctrl *gomock.Controller) *MockCliInterface

NewMockCliInterface creates a new mock instance.

func (*MockCliInterface) EXPECT added in v0.1.0

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

func (*MockCliInterface) TunnelToRemote added in v0.1.0

func (m *MockCliInterface) TunnelToRemote(localTun int, remoteHost, privateKeyPath string, remoteSSHPort int) *exec.Cmd

TunnelToRemote mocks base method.

type MockCliInterfaceMockRecorder added in v0.1.0

type MockCliInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockCliInterfaceMockRecorder is the mock recorder for MockCliInterface.

func (*MockCliInterfaceMockRecorder) TunnelToRemote added in v0.1.0

func (mr *MockCliInterfaceMockRecorder) TunnelToRemote(localTun, remoteHost, privateKeyPath, remoteSSHPort interface{}) *gomock.Call

TunnelToRemote indicates an expected call of TunnelToRemote.

Jump to

Keyboard shortcuts

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